1 |
On 1 July 2012 05:12, Ian Stakenvicius <axs@g.o> wrote: |
2 |
> Do all packages need to be rebuilt when some of these use flags |
3 |
> change? Maybe auto-appending those particular flags (ithreads, debug) |
4 |
> to IUSE and putting them on the dev-lang/perl dep is all that'll be |
5 |
> needed, if this is the case. |
6 |
|
7 |
|
8 |
Not all packages need rebuilding, but *every* package with XS parts |
9 |
need rebuilding, as code built with DEBUG/ITHREADS enabled will not |
10 |
execute on perls with different DEBUG/ITHREADS options. ( And as a |
11 |
preventative measure, they're installed in entirely different dirs ) |
12 |
|
13 |
@INC: |
14 |
/etc/perl |
15 |
/usr/local/lib64/perl5/5.16.0/x86_64-linux <- binary |
16 |
/usr/local/lib64/perl5/5.16.0 |
17 |
/usr/lib64/perl5/vendor_perl/5.16.0/x86_64-linux <-- binary |
18 |
/usr/lib64/perl5/vendor_perl/5.16.0 |
19 |
/usr/lib64/perl5/5.16.0/x86_64-linux <-- binary |
20 |
/usr/lib64/perl5/5.16.0 |
21 |
. |
22 |
|
23 |
. |
24 |
|
25 |
( At least, the dir name switching used to be a thing, I can't see it |
26 |
in the code anymore so I could be wrong, I don't tend to twiddle those |
27 |
USE flags often ) |
28 |
|
29 |
Also, it would appear that in some cases ( ie: dev-perl/Mouse ) , they |
30 |
don't install any binary code , but the .pm files themselves are |
31 |
installed into the x86_64-linux folder, which, if that path is removed |
32 |
from @INC when you rebuild perl with different USE flags, will break |
33 |
them, despite not having any binary code. |
34 |
|
35 |
But either way, if "SlotABI" is supposed to convey "A change that can |
36 |
occur to a package that means other packages that were built on it |
37 |
need to be rebuilt" , then this is something we need. |
38 |
|
39 |
-- |
40 |
Kent |
41 |
|
42 |
perl -e "print substr( \"edrgmaM SPA NOcomil.ic\\@tfrken\", \$_ * 3, |
43 |
3 ) for ( 9,8,0,7,1,6,5,4,3,2 );" |
44 |
|
45 |
http://kent-fredric.fox.geek.nz |