Gentoo Archives: gentoo-user

From: Daniel Pielmeier <billie@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] What's up with the "hardened" USE flag?
Date: Mon, 04 Jul 2011 12:39:58
Message-Id: CAJnEOsj+xAam8DshmEE+p-ZWfuDdrPY5sZppEc54bz-VycGn7g@mail.gmail.com
In Reply to: Re: [gentoo-user] What's up with the "hardened" USE flag? by Andrea Conti
1 2011/7/4 Andrea Conti <alyf@××××.net>:
2 > Hello,
3 >
4 >> Everyone will get this. The culprit is a change in the
5 >> pax-utils.eclass [1]. Which adds USE="hardened to every consumer" of
6 >> the eclass.
7 >
8 > That's IUSE, not USE. USE flags are not touched (at least on
9 > non-hardened systems), so the change is only picked up by emerge if you
10 > use the --new-use option.
11
12 IUSE~=USE [1]
13
14 >> It changes nothing for non hardened users but forces a
15 >> rebuild of the affected packages.
16 >
17 > If you're positively sure that a package's USE flags did not change
18 > since when it was last compiled, you can avoid recompiling by adding (or
19 > removing) the "hardened" flag in /var/db/pkg/<category>/<package>/IUSE.
20
21 Please do not use such hacks, use --changed-use to avoid a rebuild
22 instead of --new-use like Neil suggested.
23
24 Anyway the change in the eclass was reverted, so everything is fine again.
25
26 [1] http://devmanual.gentoo.org/ebuild-writing/variables/index.html
27
28 --
29 Regards,
30 Daniel

Replies

Subject Author
Re: [gentoo-user] What's up with the "hardened" USE flag? Andrea Conti <alyf@××××.net>