Have Perl 5.8.0 installed ebuild contains the lines: src_install () { eval `perl '-V:package'` eval `perl '-V:version'` running these manually: miaka SGMLSpm # perl '-V:package' package='perl5'; miaka SGMLSpm # perl '-V:version' version='5.8.0'; but when the ebuild runs it seems 5.6.1 is used in a mkdir command and this fails. emerge -p clean doesn't show a sign of previous installed perl 5.6.1 nor is there anything outside /usr/portage, /var/cache/edb/dep and /var/tmp/portage found with "locate perl-5.6"
Adding dependancies to this bug. The 5.8 ebuild needs to be rewritten from scratch (in progress), there were inconsistancies in the ebuild that are breaking the "successfull" installs. Also added the bug report for general module support in 5.8.
SGMLSpm-1.03-r2.ebuild has been masked in portage. Please test and let me know if this helps. It worked in perl 5.6.1 and perl 5.8.0. I changed the make line to be less ambiguous since it was losing the version variable.
Ronald, Have you had an opportunity to test the masked -r2 of this module to see if it corrects your problem?
I noticed something that could be an issue, but I'm not certain. During the src_unpack() phase, the ebuild copies a makefile provided in the files directory. That makefile contains a hard-coded referance to perl 5.6.1. I dunno if it makes a difference, but it could...
Sorry, one more thing, I noticed in the ebuild that you did: "make ${S}/Makefile" If you are explicitly referring to a makefile, you must pass "-f" as in: "make -f ${S}/Makefile" otherwise the make program gets confused and will not build what you want it to. After fixing that, it works great now!
Nicholas, Thanks for the catch! Will fix and commit the correction in a bit. Mike
-r3 has been commited to portage, masked. This revision addresses all of the hardcoded reference I could find in the Makefile that is distributed with SGMLSpm. It also fixes a few ancillary issues, like the messed up paths that get shipped with it. Let me know if this works for either of you, I've tested this in perl 5.6.1 and 5.8 without any *installation* problems (don't know about usability:). It now installs to /usr/lib/perl5/site_perl/${version} <-- 5.6.1 or 5.8.0, depending on your perl. There are no pods distributed with this module, so you will not see it added to perllocal.pod.
-r3 has been unmasked in portage.