
So how about coming up with a different one aimed at this problem - like @toolchain for example.Hu wrote:No, @system is the set of packages that all ebuilds can assume are installed.
Looks a lot to me like enforcing is on the table.sam_ wrote: .....
I can also imagine that if we get to the point where we can make CET enforced by default, it might be required, but that's a long way off.
....
Exactly so.NeddySeagoon wrote:ipic,
Nothing is enforced, only recommended. The further you stray from the beaten path, the less sympathy and help you are likely to get. That's not a reason to not do it, as long as you understand you can keep the pieces if it breaks.
I still use a static /dev, separate /usr and root in LVM, all without an initrd. I'm old any cynical, I know that that when it breaks, I won't even get a shoulder to cry on.
I had to add an initrd to mount /usr the other day but I was warned beforehand, so when it broke, it was just another entry on the syslinux menu.
"Because I can" is an excellent reason to do something with Gentoo
That's exactly what I was wishing for above. However, it doesn't exist today.ipic wrote:So how about coming up with a different one aimed at this problem - like @toolchain for example.
Support means different things to different people. Nobody expects that they can get a helpful response by a guaranteed deadline after submission, as might be available with a commercial support contract issued by a major vendor. Reports about build failures may or may not get aid here or on the bug tracker. As a notable counterexample, I refer you to Forced to update the old system, where a concerted effort from multiple forum posters managed to update a system that had been neglected for years, and the system owner was not able to solve the update problems unaided.ipic wrote:What I'm finding confusing about this is that people on this thread really seem to think that one can get support from Gentoo when something breaks.
This has never been the case. If an e-build fails to build, one can submit a bug that may, eventually, be looked at by someone, who is 90% likely to tell you it's your problem. In the mean time, you find patches and sort it yourself.
That depends on why it fails to work. If Gentoo broke it with a bad customization, Gentoo may be the place to see it fixed. In some cases, the Gentoo developer will have a better understanding of the package and its upstream than you do, and can facilitate seeking upstream help.ipic wrote:If a runtime fails to work - looking for Gentoo support is by definition pointless - upstream is where the help or otherwise will come from.
All of those are things you build with the toolchain, so a hypothetical @toolchain would rebuild them, just as --emptytree @world does rebuild them. The @toolchain target would skip rebuilding Python documentation, reinstalling pure-Perl packages, etc. That saves a bit of time, but not much, because most of the time is spent emerging the packages that @toolchain will choose to rebuild.ipic wrote:And, packages such as Freecad, Kicad, Libreoffice, Chromium, anything to do with Qt, etc, etc take many, many hours to *each* to build. Not sure where the "you wouldn't save much time over --emptytree" comes from either.
Just to report that I have used this approach on my bare metal machine - the one with the 2000 odd packages.ipic wrote:Take a note of all CHOST related settings as per the wiki page on changing CHOST
Follow the instructions up to step 15.
Check the CHOST settings as above, and confirm that NOTHING HAS CHANGED.
If that is the case, instead of an --emptytree rebuild, do this:rebootCode: Select all
emerge -uNDpv --with-bdeps y @world emerge -uND --with-bdeps y --jobs --keep-going --quiet-fail y @world
Code: Select all
[27] default/linux/amd64/23.0/desktop/plasma (stable)Code: Select all
[8] default/linux/amd64/17.1/desktop/plasma (exp)

Code: Select all
[1] https://wiki.g.o/wiki/Project:Toolchain/23.0_profile_transition
[2] https://wiki.g.o/wiki/Project:Toolchain/23.0_profile_timeline
[3] https://www.gentoo.org/support/news-items/2019-06-05-amd64-17-1-profiles-are-now-stable.html
[4] https://www.gentoo.org/support/news-items/2022-12-01-systemd-usrmerge.html
[5] https://wiki.g.o/wiki/Project:Toolchain/23.0_update_table
[6] https://wiki.g.o/wiki/Changing_the_CHOST_variable#Verifying_things_workAs I explained above, the filesystem on which /usr resides is the "separate /usr" discussion. The "split /usr" vs "merged /usr" discussion is about whether /bin is a symlink to /usr/bin. As to whether you should move, I suggest that you follow the upgrade table, and handle "merged /usr" when the Gentoo developers explicitly instruct you to do so, and not sooner.UlvHare wrote:Do I need to move to merged-usr () from my currentCode: Select all
[27] default/linux/amd64/23.0/desktop/plasma (stable)if I have /usr in the same partition as /? Are there any benefits in it for "normal user"? I mean not a developer, just work (R, QGIS) and enjoy ebooks and films. But widely using ebuilds from zugaina.Code: Select all
[8] default/linux/amd64/17.1/desktop/plasma (exp)

Indeedflysideways wrote:Four of the six provided links are broken herefrom https://wiki.gentoo.org/wiki/Project:To ... structions .Code: Select all
[1] https://wiki.g.o/wiki/Project:Toolchain/23.0_profile_transition [2] https://wiki.g.o/wiki/Project:Toolchain/23.0_profile_timeline [3] https://www.gentoo.org/support/news-items/2019-06-05-amd64-17-1-profiles-are-now-stable.html [4] https://www.gentoo.org/support/news-items/2022-12-01-systemd-usrmerge.html [5] https://wiki.g.o/wiki/Project:Toolchain/23.0_update_table [6] https://wiki.g.o/wiki/Changing_the_CHOST_variable#Verifying_things_work
Otherwise, the instructions were adequate for me to follow to a successful resolution.
Thanks @Gentoo Devs
Code: Select all
emerge --ask --emptytree --exclude "sys-devel/gcc sys-devel/binutils sys-libs/glibc sys-kernel/linux-firmware sys-kernel/gentoo-sources sys-kernel/linux-headers sys-apps/baselayout dev-build/libtool" @worldGreat article.sam_ wrote:It wasn't for the sake of it and it isn't pointless. And a rebuild in general is not some sort of super rare event. I've started writing up why at https://wiki.gentoo.org/wiki/User:Sam/D ... mptytree[b][/b].
This is what I'm planning to do. Seems no sense to re-emerge packages with no binaries to build. With that in mind I'm screening out some populous groups of non-binary ebuilds with some use of qlist from portage-utils:figueroa wrote:Sam_, your explanations and your patience are greatly appreciated. I haven't found the instructions difficult to follow. But, I have a question.
On an old x86 openrc system (CHOST="i686-pc-linux-gnu" with an AMD Phenom CPU) migrating from [5] to [28], and having just compiled binutils, gcc, and glibc with no CHOST or version changes, would it be sound to use selected excludes in the --emptytree rebuild in order to speed things up.On this system, with no binary packages or other complications, just rebuilding gcc takes two hours, so I can probably save quite a few electrons with those excludes.Code: Select all
emerge --ask --emptytree --exclude "sys-devel/gcc sys-devel/binutils sys-libs/glibc sys-kernel/linux-firmware sys-kernel/gentoo-sources sys-kernel/linux-headers sys-apps/baselayout dev-build/libtool" @world
Code: Select all
emerge -eav --keep-going --exclude "gcc glibc binutils libtool linux-firmware linux-headers gentoo-sources intel-microcode baselayout $(qlist -IC -- -bin) $(qlist -IC acct-) $(qlist -IC virtual/)" @worldSounds like it's not essential but like you I'll probably do it anyway. The decision taken must be applied also to any external modules of course (e.g. virtualbox-modules in my case).figueroa wrote: Finally, after migration, shouldn't the kernel be rebuilt also?
I have had that build failing on me the last 2-3 (~monthly) upgrade cycles. I haven't needed the app in some time so haven't cared but maybe one of us should file a bug at some point, when there's nothing else to dofigueroa wrote: 3. After 24 hours doing emerge --emptytree, it failed on Audacity. I did emerge --skipfirst --resume and the remainder finished in another two hours.
Code: Select all
if ! use split-usr && ! use prefix-guest; then
sed \
-e 's|:/usr/sbin:|:|g' \
-e 's|:/sbin:|:|g' \
-e 's|:/bin:|:|g' \
-i etc/env.d/50baselayout || die
fiI think none of both ... the reason of your problem was this:thrashed wrote:[...] do you know, if it was a bad coincidence and an emerge of sys-apps/baselayout-2.14-r2 would have broken my system anyway or did my "emerge -avuDN --with-bdeps y world" instead of the recommended "emerge --ask --emptytree @world" after changing my profile from 17.1 to 23.0 broke my system?
Coming from an OpenRC-split-usr profile needs switching to default/linux/amd64/23.0/split-usr ... you have done the migration to 23.0 AND the migration from split-usr to merged-usr together (=not good) ...thrashed wrote:yesterday i migrated from "default/linux/amd64/17.1" to "default/linux/amd64/23.0"

You should have chosen default/linux/amd64/23.0/split-usr instead. Your original profile was a split /usr one. The 23.0 ones that don't have "split-usr" in the name have merged /usr by default.thrashed wrote:yesterday i migrated from "default/linux/amd64/17.1" to "default/linux/amd64/23.0"
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though
Code: Select all
[45] default/linux/amd64/23.0/split-usr (stable)