1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA256 |
3 |
|
4 |
On 30/06/12 05:30 AM, Zac Medico wrote: |
5 |
> On 06/30/2012 01:46 AM, Torsten Veller wrote: |
6 |
>> * Ian Stakenvicius <axs@g.o>: |
7 |
>>> FYI, all the work subslotting the perl stuff doesn't work yet, |
8 |
>>> so it's probably best to wait a few days before trying it out. |
9 |
>> |
10 |
>> Perl modules have to be rebuilt if dev-lang/perl's useflags are |
11 |
>> changed. |
12 |
>> |
13 |
>> That would make dev-lang/perl's SLOT depend on users USE flags |
14 |
>> settings which is forbidden. Or will it work for sub-slot part? |
15 |
>> SLOT="0/5.16(?ithreads:-ithreads)(?debug:-debug)" |
16 |
> |
17 |
> Maybe this useflags synchronization thing is best managed with the |
18 |
> existing USE deps support? So, if something interacts with perls |
19 |
> ithreads and debug flags, its dependency should be something like |
20 |
> dev-lang/perl[ithreads=][debug=]. |
21 |
|
22 |
I think this makes a lot of sense too -- use-flag synchronization |
23 |
would probably be best handled outside of SLOT, otherwise we'd have to |
24 |
implement dynamic slots to get this properly supported. |
25 |
|
26 |
Now, that being said, it might be worthwhile if perl-module was |
27 |
expanded a bit in relation to the *DEPEND it adds -- having a |
28 |
PERL_MODULE_USES var or something, that could automatically append to |
29 |
IUSE (if necessary) and set the use-deps on dev-lang/perl, would make |
30 |
this a fairly simple implementation I think. |
31 |
|
32 |
Do all packages need to be rebuilt when some of these use flags |
33 |
change? Maybe auto-appending those particular flags (ithreads, debug) |
34 |
to IUSE and putting them on the dev-lang/perl dep is all that'll be |
35 |
needed, if this is the case. |
36 |
|
37 |
- ----- |
38 |
|
39 |
On an semi-related note, I have noticed that there are a fair number |
40 |
of ebuilds in the tree that are using perl-module at EAPI=4 and have |
41 |
'perl? (dev-lang/perl)' in *DEPEND, but are not setting |
42 |
GENTOO_DEPEND_ON_PERL=no before their inherit (and so perl is ALWAYS a |
43 |
dep). I'm thinking of filing bugs against all of these... |
44 |
|
45 |
- ----- |
46 |
|
47 |
Finally, thanks for testing!! I hope to improve the overlay a bit by |
48 |
the middle of next week, including a script that'll patch /var/db/pkg |
49 |
to simulate 4-slot-abi always existing (so one doesn't have to emerge |
50 |
- -e @world to get their environment ready to test). |
51 |
|
52 |
-----BEGIN PGP SIGNATURE----- |
53 |
Version: GnuPG v2.0.19 (GNU/Linux) |
54 |
|
55 |
iF4EAREIAAYFAk/vM28ACgkQ2ugaI38ACPAXlAD+KvzYGYMaTbgYS3eT6ADGzhEv |
56 |
4+ehZ4PQ+9fNEyBMpn8A/2GXQqWY9erx+Dd8FL/jwk8KbReJoMwfffPEWCe38rfW |
57 |
=4DDP |
58 |
-----END PGP SIGNATURE----- |