public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] A way to prevent useless rebuild?
@ 2013-01-20 12:22 Pacho Ramos
  2013-01-20 12:34 ` Arfrever Frehtes Taifersar Arahesis
  0 siblings, 1 reply; 2+ messages in thread
From: Pacho Ramos @ 2013-01-20 12:22 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

I noticed "go" USE flag was masked on gcc:4.6, the problem is that I
just compiled it a week ago with USE="-go"... then, I would like to know
if there is a way to prevent it from being rebuild again :| (It will
take some time in my currently running system but on other machines I
maintain it will take hours)

For the future, wouldn't be possible (probably on a new eapi) to
indicate in some way to the package manager that:
(masked USE flag) is equivalent to (-USE flag) or (+USE flag)?

Maybe some indication in profiles masking file like:
$(category)/$(package) go (-go) -> it would indicate that, if version to
be rebuild was compiled with "-go", no rebuilding is really needed

What do you think?

Thanks a lot

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-portage-dev] A way to prevent useless rebuild?
  2013-01-20 12:22 [gentoo-portage-dev] A way to prevent useless rebuild? Pacho Ramos
@ 2013-01-20 12:34 ` Arfrever Frehtes Taifersar Arahesis
  0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis @ 2013-01-20 12:34 UTC (permalink / raw
  To: Gentoo Portage Development

[-- Attachment #1: Type: Text/Plain, Size: 604 bytes --]

2013-01-20 13:22:42 Pacho Ramos napisał(a):
> I noticed "go" USE flag was masked on gcc:4.6, the problem is that I
> just compiled it a week ago with USE="-go"... then, I would like to know
> if there is a way to prevent it from being rebuild again :| (It will
> take some time in my currently running system but on other machines I
> maintain it will take hours)

sed -e "s/\(^\| \)go\($\| \)/\1\2/;s/^ //;s/  / /g;s/ $//" -i /var/db/pkg/sys-devel/gcc-4.6.3/IUSE
touch /var/db/pkg/sys-devel/gcc-4.6.3
touch /var/db/pkg/sys-devel
touch /var/db/pkg

-- 
Arfrever Frehtes Taifersar Arahesis

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-20 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-20 12:22 [gentoo-portage-dev] A way to prevent useless rebuild? Pacho Ramos
2013-01-20 12:34 ` Arfrever Frehtes Taifersar Arahesis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox