1 |
>> emerge -1 --usepkg --pretend --verbose pkg_spec_from_equery |
2 |
>> |
3 |
>> then the change in USE-Flags are showen and my _correct_ binarys are used. |
4 |
>> |
5 |
> |
6 |
> There's probably a good reason for it being the way it is, but it |
7 |
> doesn't sound as transparent as we might like. |
8 |
|
9 |
yes may be... if so, I would like to know the reason :-) |
10 |
|
11 |
|
12 |
> A further interesting scenario might be to have a binary package |
13 |
> available built with different USE flags to those on the target machine, |
14 |
> and seeing if it gets installed or not. I guess it shouldn't. But then |
15 |
> there's the CFLAGS issue as well, and I'm even more unsure how that's |
16 |
> supposed to be handled. |
17 |
|
18 |
If you build a binary with different USE flags then on the target it |
19 |
would be merged as ebuild and not as binary. But this seems only to work |
20 |
with --usepkg not with --getbinpkg. ?? CFLAGS handling is done in the same |
21 |
way like USE flags. You can use the tbz2tool to split your binary into |
22 |
data (tar) and info (text). In this info-text is every thing stored like |
23 |
USe, CFALGS, .... |
24 |
|
25 |
> I'm still pretty new to Gentoo, but is this perhaps related to the |
26 |
> feature I've read about (and maybe misremembered) regarding only |
27 |
> packages that you explicity emerge going into world (dependencies |
28 |
> don't)? I wonder if you'd see different results if you explicitly |
29 |
> emerged cups rather than it having been implicity emerged due to a |
30 |
> dependency. By doing the emerge you described you've 'promoted' those |
31 |
> packages from implicit to explicit emerge. |
32 |
|
33 |
Hm... yes every time you type emege .... it will be recorded in the |
34 |
world-file, expect emerge --oneshot (-1)... so my explicit merge will not |
35 |
be recorded in world it stays what it was before (world or dependency). |
36 |
|
37 |
So I understand --usepkg in this way to use binary if all USE/C flags etc |
38 |
match. If not fallback to ebuilds. So I know I have the right binary pkgs, |
39 |
why does: |
40 |
|
41 |
emerge -uDpv --newuse world |
42 |
|
43 |
and |
44 |
|
45 |
emerge -uDpv --newuse --usepkg world |
46 |
|
47 |
show different results? |
48 |
|
49 |
Sascha. |
50 |
-- |
51 |
gentoo-user@g.o mailing list |