* [gentoo-catalyst] concerning USE flags
@ 2008-03-06 12:28 Lanza Fabrizio
2008-03-06 13:16 ` Andrew Gaffney
2008-03-06 13:20 ` Steve Dommett
0 siblings, 2 replies; 4+ messages in thread
From: Lanza Fabrizio @ 2008-03-06 12:28 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]
Hi, I'm sorry if this question might have been asked a thousand times,
but I cannot find a solution. I also read the howtos that I could find,
included the documentation that is currently removed from the gentoo
site.
The question is, where do I tell Catalyst the correct USE flags for a
specific program?
I tried in portage.config. It did not catch it.
I put it in
/var/tmp/catalyst/tmp/mycd/livecd-stage1.../etc/portage/package.use.
Same.
I put it in
/var/tmp/catalyst/tmp/mycd/livecd-stage2.../etc/portage/package.use.
Same.
I know that Catalyst does not read package.use as expected. But I don't
see how to do then.
I suspected that, if I run catalyst again without removing the whole
livecd-stage, it won't rebuild my package with the new USE flags. So, I
removed the whole livecd-stage2, modified the USE flags, added my
package that needed a rebuild with the correct flags, and rebuilt
livecd-stage2 completely. But still it was built with the wrong flags
and failed.
I will appreciate if you can point me to the right direction.
Thank you!
[-- Attachment #2: Type: text/html, Size: 2579 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-catalyst] concerning USE flags
2008-03-06 12:28 [gentoo-catalyst] concerning USE flags Lanza Fabrizio
@ 2008-03-06 13:16 ` Andrew Gaffney
2008-03-06 14:24 ` R: " Lanza Fabrizio
2008-03-06 13:20 ` Steve Dommett
1 sibling, 1 reply; 4+ messages in thread
From: Andrew Gaffney @ 2008-03-06 13:16 UTC (permalink / raw
To: gentoo-catalyst
Lanza Fabrizio wrote:
> Hi, I'm sorry if this question might have been asked a thousand times,
> but I cannot find a solution. I also read the howtos that I could find,
> included the documentation that is currently removed from the gentoo site.
>
> The question is, where do I tell Catalyst the correct USE flags for a
> specific program?
>
> I tried in portage.config. It did not catch it.
> I put it in
> /var/tmp/catalyst/tmp/mycd/livecd-stage1.../etc/portage/package.use. Same.
> I put it in
> /var/tmp/catalyst/tmp/mycd/livecd-stage2.../etc/portage/package.use. Same.
>
> I know that Catalyst does not read package.use as expected. But I don't
> see how to do then.
>
> I suspected that, if I run catalyst again without removing the whole
> livecd-stage, it won't rebuild my package with the new USE flags. So, I
> removed the whole livecd-stage2, modified the USE flags, added my
> package that needed a rebuild with the correct flags, and rebuilt
> livecd-stage2 completely. But still it was built with the wrong flags
> and failed.
>
> I will appreciate if you can point me to the right direction.
> Thank you!
Are you using 'livecd/use: -* ...' in your spec? if so, this will cause portage
to completely ignore package.use. This is "normal" behavior and has nothing to
do with catalyst.
--
Andrew Gaffney http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer Catalyst/Installer + x86 release coordinator
--
gentoo-catalyst@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-catalyst] concerning USE flags
2008-03-06 12:28 [gentoo-catalyst] concerning USE flags Lanza Fabrizio
2008-03-06 13:16 ` Andrew Gaffney
@ 2008-03-06 13:20 ` Steve Dommett
1 sibling, 0 replies; 4+ messages in thread
From: Steve Dommett @ 2008-03-06 13:20 UTC (permalink / raw
To: gentoo-catalyst
On Thursday 06 March 2008, Lanza Fabrizio wrote:
> The question is, where do I tell Catalyst the correct USE flags for a
> specific program?
In a package.use files in the portage_confdir specified in your .spec files.
> I removed the whole livecd-stage2, modified the USE flags, added my
> package that needed a rebuild with the correct flags, and rebuilt
> livecd-stage2 completely. But still it was built with the wrong flags
> and failed.
Did you also delete Catalyst's autoresume points? The '-a' switch does this.
Cheers,
Steve.
--
gentoo-catalyst@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* R: [gentoo-catalyst] concerning USE flags
2008-03-06 13:16 ` Andrew Gaffney
@ 2008-03-06 14:24 ` Lanza Fabrizio
0 siblings, 0 replies; 4+ messages in thread
From: Lanza Fabrizio @ 2008-03-06 14:24 UTC (permalink / raw
To: gentoo-catalyst
>Are you using 'livecd/use: -* ...' in your spec? if so, this will cause
portage
to completely ignore package.use. This is "normal" behavior and has
nothing to
do with catalyst.
Yes, I use 'livecd/use: -* ...' in livecd-stage1. I forgot to mention: I
also have put my new USE flags in livecd/use, but it still caught the
old flags, apparently. I didn't rm the whole livecd-stage1 though. I
just re-run catalyst over it.
I also tried removing the package from livecd-stage1 from portage db of
installed packages:
rm -fr
/var/tmp/catalyst/tmp/mycd/livecd-stage2.../var/db/pkg/mygroup/mypkg/
That should have forced a recompile of mypkg, but I suspect that
catalyst might still find the previous compilation and thus just do a
'make install'.
Do you think I should recompile the whole livecd-stage1?
Is there a way to selectively remove specific package
objects/compilation? I couldn't find where they are stored.
>In a package.use files in the portage_confdir specified in your .spec
files.
Yes. My spec file contains this:
portage_confdir: /usr/src/mycd/portage.config
In portage.config I have package.use
>Did you also delete Catalyst's autoresume points? The '-a' switch does
this.
Yes, I did, but I run rm -fr
/var/tmp/catalyst/tmp/mycd/.autoresume...(livecd2)/
Thank you for your input. I'm starting to see some new possibilities. I
will keep you informed about the solution that will work.
--
gentoo-catalyst@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-03-06 14:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-06 12:28 [gentoo-catalyst] concerning USE flags Lanza Fabrizio
2008-03-06 13:16 ` Andrew Gaffney
2008-03-06 14:24 ` R: " Lanza Fabrizio
2008-03-06 13:20 ` Steve Dommett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox