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