Re: [gentoo-user] What's up with the hardened USE flag?
2011/7/4 Nikos Chantziaras rea...@arcor.de: After syncing, some heavy packages wanted to rebuild because of the hardened USE flag. (I don't use the hardened profile, but they wanted to rebuild anyway.) Really heavy stuff including libreoffice and firefox-5. It took a few hours. Then, next resync, and the same packages want to rebuild again because of the hardened USE flag :-/ Anyone else getting this? These are big packages needing hours to get built. Everyone will get this. The culprit is a change in the pax-utils.eclass [1]. Which adds USE=hardened to every consumer of the eclass. It changes nothing for non hardened users but forces a rebuild of the affected packages. This unfortunate change was reverted [2] shortly afterwards, so everybody who did the recompile including me :) has to do it again. [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/pax-utils.eclass?r1=1.11r2=1.12 [2] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/pax-utils.eclass?r1=1.12r2=1.13 -- Regards, Daniel
Re: [gentoo-user] What's up with the hardened USE flag?
On Mon, 04 Jul 2011 04:26:19 +0300, Nikos Chantziaras wrote: After syncing, some heavy packages wanted to rebuild because of the hardened USE flag. (I don't use the hardened profile, but they wanted to rebuild anyway.) Really heavy stuff including libreoffice and firefox-5. It took a few hours. Then, next resync, and the same packages want to rebuild again because of the hardened USE flag :-/ What profile and arch are you using? What arguments are you using to emerge? I used to see this sort of behaviour occasionally with --newuse, when it picked up USE flag changes unrelated to my system. Switching to --changed-use stopped it, and I've not seen anything with hardened. -- Neil Bothwick A seminar on time travel will be held 2 weeks ago. signature.asc Description: PGP signature
Re: [gentoo-user] What's up with the hardened USE flag?
Hello, Everyone will get this. The culprit is a change in the pax-utils.eclass [1]. Which adds USE=hardened to every consumer of the eclass. That's IUSE, not USE. USE flags are not touched (at least on non-hardened systems), so the change is only picked up by emerge if you use the --new-use option. It changes nothing for non hardened users but forces a rebuild of the affected packages. If you're positively sure that a package's USE flags did not change since when it was last compiled, you can avoid recompiling by adding (or removing) the hardened flag in /var/db/pkg/category/package/IUSE. andrea
Re: [gentoo-user] What's up with the hardened USE flag?
2011/7/4 Andrea Conti a...@alyf.net: Hello, Everyone will get this. The culprit is a change in the pax-utils.eclass [1]. Which adds USE=hardened to every consumer of the eclass. That's IUSE, not USE. USE flags are not touched (at least on non-hardened systems), so the change is only picked up by emerge if you use the --new-use option. IUSE~=USE [1] It changes nothing for non hardened users but forces a rebuild of the affected packages. If you're positively sure that a package's USE flags did not change since when it was last compiled, you can avoid recompiling by adding (or removing) the hardened flag in /var/db/pkg/category/package/IUSE. Please do not use such hacks, use --changed-use to avoid a rebuild instead of --new-use like Neil suggested. Anyway the change in the eclass was reverted, so everything is fine again. [1] http://devmanual.gentoo.org/ebuild-writing/variables/index.html -- Regards, Daniel
Re: [gentoo-user] What's up with the hardened USE flag?
That's IUSE, not USE. IUSE~=USE [1] Um, yes. It's what I wrote. [editing saved IUSE by hand] Please do not use such hacks I know it's a hack, and I was not recommending it as a general-purpose solution. use --changed-use to avoid a rebuild instead of --new-use like Neil suggested. This only works if you *permanently* switch to --changed-use, otherwise you'll just postpone things to next time you use --new-use. Anyway the change in the eclass was reverted, so everything is fine again. Except for those who were lucky enough to do a sync+rebuild before the change was reverted. I'm not complaining, really, just stating things. andrea
Re: [gentoo-user] What's up with the hardened USE flag?
2011/7/4 Andrea Conti a...@alyf.net: That's IUSE, not USE. IUSE~=USE [1] Um, yes. It's what I wrote. Just wanted to state that the use flags _have changed_ because of the IUSE=hardened injection in the eclass. The whole changeset itself has not effect for non hardened users but forcing a rebuild because of changed flags. I translate That's IUSE, not USE to IUSE!=USE With IUSE~=USE I wanted to say that it is somewhat the same. IUSE is a list of all USE flags including USE_EXPAND flags like video_cards_smth but not arch flags like x86 or amd64. Anyway if I do IUSE=FLAG in an eclass this flag will show up in any consumer of the eclass because it is cumulative and this forces a rebuild with --new-use. use --changed-use to avoid a rebuild instead of --new-use like Neil suggested. This only works if you *permanently* switch to --changed-use, otherwise you'll just postpone things to next time you use --new-use. I know I am not a fan of --changed-use myself thus I accepted the rebuild of openoffice,icedtea,thunderbird etc. and today I rebuild it again :) -- Regards, Daniel
Re: [gentoo-user] What's up with the hardened USE flag?
On Mon, 4 Jul 2011 16:57:55 +0200, Daniel Pielmeier wrote: use --changed-use to avoid a rebuild instead of --new-use like Neil suggested. This only works if you *permanently* switch to --changed-use, otherwise you'll just postpone things to next time you use --new-use. I haven't used --new-use for years. What's the point of rebuilding packages just because irrelevant USE flags have changed? I know I am not a fan of --changed-use myself Why not? I see no downside to it but I'm willing to be educated. -- Neil Bothwick ... if (pot.coffee == EMPTY) { programmer-brain = OFF }; signature.asc Description: PGP signature
[gentoo-user] What's up with the hardened USE flag?
After syncing, some heavy packages wanted to rebuild because of the hardened USE flag. (I don't use the hardened profile, but they wanted to rebuild anyway.) Really heavy stuff including libreoffice and firefox-5. It took a few hours. Then, next resync, and the same packages want to rebuild again because of the hardened USE flag :-/ Anyone else getting this? These are big packages needing hours to get built.
Re: [gentoo-user] What's up with the hardened USE flag?
Nikos Chantziaras rea...@arcor.de [11-07-04 04:08]: After syncing, some heavy packages wanted to rebuild because of the hardened USE flag. (I don't use the hardened profile, but they wanted to rebuild anyway.) Really heavy stuff including libreoffice and firefox-5. It took a few hours. Then, next resync, and the same packages want to rebuild again because of the hardened USE flag :-/ Anyone else getting this? These are big packages needing hours to get built. Here the same...currently compiling :-/