When emerging the above package, I get compile errors that appear to be related to the makefile. Initial error is as follows: >>> emerge (1 of 1) dev-perl/SGMLSpm-1.03-r4 to / >>> md5 src_uri ;-) SGMLSpm-1.03ii.tar.gz >>> Unpacking source... >>> Unpacking SGMLSpm-1.03ii.tar.gz to /var/tmp/portage/SGMLSpm-1.03-r4/work >>> Source unpacked. if [ ! -d /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.6.1/SGMLS ]; then\ mkdir /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.6.1/SGMLS; \ chmod a+x /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.6.1/SGMLS; \ fi sed -e 's!/usr/bin/perl!/usr/bin/perl!' sgmlspl.pl > /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/bin/sgmlspl mkdir: cannot create directory `/var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.6.1/SGMLS': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.6.1/SGMLS': No such file or directory /bin/sh: line 1: /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/bin/sgmlspl: No such file or directory make: *** [/var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.6.1/SGMLS] Error 1 make: *** Waiting for unfinished jobs.... make: *** [/var/tmp/portage/SGMLSpm-1.03-r4/image//usr/bin/sgmlspl] Error 1 This appears to be a failure in the ebuild, there should be a sed step that changes the 5.6.1 to the installed perl version (5.8.2 in my case) If I manually change this in files/SGMLSpm-1.03-Makefile (relative to the ebuild), the above problem goes away, but the following happens: >>> emerge (1 of 1) dev-perl/SGMLSpm-1.03-r4 to / >>> md5 src_uri ;-) SGMLSpm-1.03ii.tar.gz >>> Unpacking source... >>> Unpacking SGMLSpm-1.03ii.tar.gz to /var/tmp/portage/SGMLSpm-1.03-r4/work >>> Source unpacked. if [ ! -d /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.8.2/SGMLS ]; then\ mkdir /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.8.2/SGMLS; \ chmod a+x /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.8.2/SGMLS; \ fi sed -e 's!/usr/bin/perl!/usr/bin/perl!' sgmlspl.pl > /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/bin/sgmlspl mkdir: cannot create directory `/var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.8.2/SGMLS': No such file or directory chmod: failed to get attributes of `/var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.8.2/SGMLS': No such file or directory /bin/sh: line 1: /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/bin/sgmlspl: No such file or directory make: *** [/var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.8.2/SGMLS] Error 1 make: *** Waiting for unfinished jobs.... make: *** [/var/tmp/portage/SGMLSpm-1.03-r4/image//usr/bin/sgmlspl] Error 1 As it stands, I can't get this to build directly, I'll build with cpan and then emerge -inject to get round it. Reproducible: Always Steps to Reproduce: 1. emerge dev-perl/SGMLSpm Actual Results: failures as described above Expected Results: built correctly
same problem here, gentoo/ppc also. please fix this, allready saw the ebuild and something like: if [ ! -d /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.6.1/SGMLS ]; then\ mkdir /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.6.1/SGMLS; \ chmod a+x /var/tmp/portage/SGMLSpm-1.03-r4/image//usr/lib/perl5/site_perl/5.6.1/SGMLS; \ isn't there... waiting for this to emerge gnome :/ greets, miguel
dev-perl/SGMLSpm-1.03-r5 doesn't have this problem, please unmask this version. (its ~ppc)
r5 wouldn't build either on ppc so I injected the package from CPAN. My steps are below for anyone having trouble. perl -MCPAN -e shell cpan>fetch SGMLS cpan>exit # Extract the source and change to root source dir # Edit the Makefile PERL5DIR=/usr/lib/perl5/site_perl/5.8.4/powerpc-linux make install # Inject the package into portage echo dev-perl/SGMLSpm-1.03-r4 >> /etc/portage/profile/package.provided This got me over the hump when building Gnome 2.8... but its still building.
I managed to install the package by applying the following patch to /usr/portage/dev-perl/SGMLSpm/files/SGMLSpm-1.03-Makefile. Use at your own risk:) --- SGMLSpm-1.03-Makefile.orig 2004-11-20 14:13:00.665883336 +0100 +++ SGMLSpm-1.03-Makefile 2004-11-20 14:12:41.216840040 +0100 @@ -53,10 +53,12 @@ dist: ${DIST} ${BINDIR}/sgmlspl: sgmlspl.pl + mkdir -p ${BINDIR} sed -e 's!/usr/bin/perl!${PERL}!' sgmlspl.pl > ${BINDIR}/sgmlspl chmod a+x,a+r ${BINDIR}/sgmlspl ${PERL5DIR}/SGMLS.pm: SGMLS.pm + mkdir -p ${PERL5DIR} cp SGMLS.pm ${PERL5DIR}/SGMLS.pm chmod a+r ${PERL5DIR}/SGMLS.pm @@ -67,6 +69,7 @@ fi ${MODULEDIR}/Output.pm: Output.pm + mkdir -p ${MODULEDIR} cp Output.pm ${MODULEDIR}/Output.pm chmod a+r ${MODULEDIR}/Output.pm
r5 built fine for me on ppc - I think you should make unmask r5 for ppc.
I added keyword "ppc" to my ebuild for r5 and successfully emerge -e world, so I think it can be bumped and this bug closed.
closing - r5 is unmasked for all platforms