Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to install Gentoo desktop due to freetype and harfbuz
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Moonlight-_-_-
n00b
n00b


Joined: 01 Aug 2021
Posts: 3

PostPosted: Sun Aug 01, 2021 7:00 pm    Post subject: Unable to install Gentoo desktop due to freetype and harfbuz Reply with quote

Greetings good people,

I'm installing Gentoo for the first time, and I have encountered a problem.
In short, emerge found a circular dependency between 'freetype' and 'harfbuzz' when trying to update the '@world set' for the first time. I know that this problem has at least two or more post about it, but I tried all the solutions and they didn't work. I've chosen a simple 'desktop' profile using eselect.

I can't post the code because I'm currently installing the system on my computer. If it helps, here is a list of all commands I have tried so far (I've actually tried many more, but I don't remember all of them):

Code:
emerge --ask --verbose --update --deep --newuse @world

^-- emerge tells me to add the 'harfbuzz' use flag.
Code:
USE="harfbuzz" emerge --ask --verbose --update --deep --newuse @world

^-- circular dependency: harfbuzz --> freetype --> harfbuzz
Code:
USE="-harfbuzz -truetype" emerge --oneshot harfbuzz freetype

^-- emerge tells me to add both harfbuzz and truetype use flag
Code:
USE="harfbuzz truetype" emerge --oneshot harfbuzz freetype

^-- circular dependency (also without '--oneshot')

I don't have any use flag set in my /etc/portage/make.conf .

Sorry if I tried crazy things or the problem is too simple for a post. If you need more information I'll answer as soon as I can.

Thanks in advance.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sun Aug 01, 2021 7:08 pm    Post subject: Reply with quote

Moonlight-_-_-

Welcome to Gentoo.

Please post the error message from portage. As you don't have a GUI yet, use wgetpaste.
Code:
wgetpaste -c 'emerge --pretend --verbose --update --deep --newuse @world'
will put everything on the web and give you a URL which you can share.
There will be no on screen output until the URL.

That's why its --pretend and not --ask because if it works, you would never see the question at the end of the output.

You will need to
Code:
emerge wgetpaste

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun Aug 01, 2021 7:08 pm    Post subject: Reply with quote

Hi
Plz try
Code:

eselect profile set 1
env-update
USE="-truetype" emerge -1av freetype harfbuzz
USE="truetype harfbuzz" emerge -1av freetype harfbuzz
echo "media-libs/freetype   harfbuzz" > /etc/portage/package.use/freetype
eselect profile set <some-desktop>
env-update
emerge -uDNav @world

for more plz see
https://forums.gentoo.org/viewtopic-t-1138672-postdays-0-postorder-asc-start-25.html
Since you are still ar initial stages-- to err on the side of caution add also these before the rebuild@world
Code:

emerge -1av libxcrypt virtual/libcrypt ### there were reports of a circular dependency involving these and glibc
emerge -1av rust-bin ### if you prefer to avoid lengthy rust install later on

_________________
:)


Last edited by alamahant on Sun Aug 01, 2021 7:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
Moonlight-_-_-
n00b
n00b


Joined: 01 Aug 2021
Posts: 3

PostPosted: Sun Aug 01, 2021 7:35 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Moonlight-_-_-

Welcome to Gentoo.

Please post the error message from portage. As you don't have a GUI yet, use wgetpaste.
Code:
wgetpaste -c 'emerge --pretend --verbose --update --deep --newuse @world'
will put everything on the web and give you a URL which you can share.
There will be no on screen output until the URL.



Thanks for the response, here is the url: https://dpaste.com/ETBV9C65R
Back to top
View user's profile Send private message
Moonlight-_-_-
n00b
n00b


Joined: 01 Aug 2021
Posts: 3

PostPosted: Sun Aug 01, 2021 7:46 pm    Post subject: Reply with quote

alamahant wrote:

Since you are still ar initial stages-- to err on the side of caution add also these before the rebuild@world
Code:

emerge -1av libxcrypt virtual/libcrypt ### there were reports of a circular dependency involving these and glibc
emerge -1av rust-bin ### if you prefer to avoid lengthy rust install later on


Thanks, the above commands worked, but I didn't see the edit: should I Ctrl-C the @world build?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun Aug 01, 2021 7:47 pm    Post subject: Reply with quote

Only for rust apparently.
Maybe just leave it.its up to you.
_________________
:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum