Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Freetype/harfbuzz, still circular?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Fri Nov 26, 2021 9:53 pm    Post subject: Freetype/harfbuzz, still circular? Reply with quote

Has the freetype/harfbuzz circular dep mess been fixed in Portage yet? I'm still seeing this issue when setting up a new catalyst build for stage4.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2719

PostPosted: Sat Nov 27, 2021 5:08 am    Post subject: Reply with quote

Portage doesn't have the ability to do some kind of intermediate step by itself, and the need for this step isn't going anywhere as long as they depend on each others which doesn't seem like is going to change (with USE=harfbuzz that is)

But to mitigate the issue there was:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa556416160e9ad6bafd733a64789627f36f1b2
And there's still the help page:
https://wiki.gentoo.org/wiki/User:Sam/Portage_help/Circular_dependencies

An option could've been to have one ebuild build both and kept updated but that's kind of messy.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Sun Nov 28, 2021 1:45 am    Post subject: Reply with quote

In addition to what Ionen said, this is part of why we now have the new 'desktop' stages - to make life easier for users.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Sun Nov 28, 2021 9:42 pm    Post subject: Reply with quote

Oh, cool. Where are the desktop stages? I'd like to check them out, see if they're a good fit to use for Gentoo Studio.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2719

PostPosted: Sun Nov 28, 2021 11:41 pm    Post subject: Reply with quote

audiodef wrote:
Oh, cool. Where are the desktop stages? I'd like to check them out, see if they're a good fit to use for Gentoo Studio.

They're shown on the normal download page for amd64 under advanced choices (says "desktop profile"):

https://www.gentoo.org/downloads/
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Mon Nov 29, 2021 12:39 am    Post subject: Reply with quote

Thanks. I see it now. So what's the difference between the desktop stage and the default stage and choosing the dekstop profile as early as possible in the install?
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Mon Nov 29, 2021 12:47 am    Post subject: Reply with quote

audiodef wrote:
Thanks. I see it now. So what's the difference between the desktop stage and the default stage and choosing the dekstop profile as early as possible in the install?


Nothing! It just has a bunch of the packages which your steps pull in already built (and also, IIRC, has rust-bin and such installed which means source Rust won't get pulled in unless you ask for it).

Still very new though. Suggestions welcome.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2719

PostPosted: Mon Nov 29, 2021 2:02 am    Post subject: Reply with quote

Yeah, switching to desktop profile still involves some rebuilding and extra dependencies (saves time), and freetype/harfbuzz are already installed saving from potential circular flag juggling.

The stage3 is around twice the size.

Next desktop system I happen to setup I'll likely use it.

sam_ wrote:
(and also, IIRC, has rust-bin and such installed which means source Rust won't get pulled in unless you ask for it).
That'd sound nice to me, but looks like it has normal rust looking at current *20211128T170532Z.tar.xz.CONTENTS.gz (/var/db/pkg/dev-lang/rust-1.56.1/).

I often feel like it wouldn't hurt to be the default on virtual/rust, even if it goes a bit against what you'd normally expect on Gentoo (not that I mind compiling it on non-test systems with decent hardware) -- but no strong opinion on this, opting out source still feels more right than opting out -bin.. but non-bin rust does bother users often.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Mon Nov 29, 2021 2:41 pm    Post subject: Reply with quote

The rust-bin thing is a terrific idea. I'm always masking rust in favor of rust-bin. I'll check it out for a Gentoo Studio stage4 build and let you know if I have any suggestions.

sam_ wrote:
audiodef wrote:
Thanks. I see it now. So what's the difference between the desktop stage and the default stage and choosing the dekstop profile as early as possible in the install?


Nothing! It just has a bunch of the packages which your steps pull in already built (and also, IIRC, has rust-bin and such installed which means source Rust won't get pulled in unless you ask for it).

Still very new though. Suggestions welcome.

_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Thu Dec 02, 2021 7:27 pm    Post subject: Reply with quote

Ionen wrote:
Yeah, switching to desktop profile still involves some rebuilding and extra dependencies (saves time), and freetype/harfbuzz are already installed saving from potential circular flag juggling.

The stage3 is around twice the size.

Next desktop system I happen to setup I'll likely use it.

sam_ wrote:
(and also, IIRC, has rust-bin and such installed which means source Rust won't get pulled in unless you ask for it).
That'd sound nice to me, but looks like it has normal rust looking at current *20211128T170532Z.tar.xz.CONTENTS.gz (/var/db/pkg/dev-lang/rust-1.56.1/).

I often feel like it wouldn't hurt to be the default on virtual/rust, even if it goes a bit against what you'd normally expect on Gentoo (not that I mind compiling it on non-test systems with decent hardware) -- but no strong opinion on this, opting out source still feels more right than opting out -bin.. but non-bin rust does bother users often.


rust-bin should now be used instead of rust by default in the desktop stages. No change to the virtual for observers.

This saves folks from suddenly building Rust when they do a world upgrade as it'll start off with rust-bin satisfying the virtual and upgrade that in future instead. Can switch with emerge --oneshot dev-lang/rust if they want it from source.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Sat Dec 04, 2021 5:10 pm    Post subject: Reply with quote

I just used the desktop stage3 as the seed for a catalyst build, and when I got to stage4, the freetype/harfbuzz merry-go-round is still there. Is this something that can be fixed?
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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