When compiling perl with the "minimal" use flag, some needed libraries (ex Data::Dumper") are not left intact. The reason comes down to lines ~450 in the ebuild (for 5.8.7-r1) which read similar to this: ${prVA}/auto/Cwd/Cwd.$(get_libname) $(get_libname) returns a dot with the extension - so the files being masked contain two dots... remove the preceding "." before $(get_libname) and all works fine Reproducible: Always Steps to Reproduce: 1. 2. 3. You cannot compile lots of stuff without data::dumper. So this is pretty important to get fixed.
Created attachment 71420 [details, diff] Fix for perl minimal build This patch fixes the perl minimal build
Created attachment 71750 [details, diff] Modified fix I confirm the issue. The proposed fix is OK and I modified it to cache the result to a local variable (saves a little bit of CPU time and space and less error-prone). Changing OS from Linux to All as get_libname, used to get the dynamic library file extension, returns a different string depending on the operating system (for now OSX vs Linux/FreeBSD).
Oops, I cannot change the OS field.
Created attachment 74213 [details, diff] perl-5.8.7-r3.ebuild.patch Same as "Modified patch" but for perl-5.8.7-r3. As mentioned, this bug prevents alot of important packages. It actually prevents the system to be (re)built so it would be nice if someone could check it out and commit it to portage.
fixed!