Summary: | perl-5.8.0-r9 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Henry R. Bent <henry.r.bent> |
Component: | New packages | Assignee: | J Robert Ray <jrray> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.4_rc2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
output from "emerge perl"
perl-5.6.1-r9 ebuild log |
Description
Henry R. Bent
2003-01-27 00:52:32 UTC
Please provide the output of 'emerge info' for starters. ageispolis # emerge info Portage 2.0.46-r9 (default-x86-1.4, gcc-which: no gcc in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/opt/intel/compiler60/ia32/bin:/opt/Acrobat5:/opt/RealPlayer8:/usr/X11R6/bin:/opt/blackdown-jre-1.3.1/bin:/usr/qt/3/bin:/usr/qt/2/bin:/usr/kde/3/bin) sh: line 1: -dumpversion: command not found, glibc-2.2.5-r2,2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r9 i686 GenuineIntel GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss apm avi cups gif java kde libg++ libwww mikmod mpeg nls pdflib quicktime spell truetype xml2 xv gdbm berkdb slang readline arts svga tcltk guile sdl gpm pam python esd imlib oggvorbis gnome cdr -3dfx -3dnow aalib bonobo crypt dga encode ggi gphoto2 gtk jpeg mmx motif mozilla ncurses opengl perl plotutils png -qt qtmt samba sse ssl tcpd tiff X xmms zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentiumpro -O3 -malign-double -pipe" CXXFLAGS="-march=pentiumpro -O3 -malign-double -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" gcc-which: no gcc in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/opt/intel/compiler60/ia32/bin:/opt/Acrobat5:/opt/RealPlayer8:/usr/X11R6/bin:/opt/blackdown-jre-1.3.1/bin:/usr/qt/3/bin:/usr/qt/2/bin:/usr/kde/3/bin) sh: line 1: -dumpversion: command not found That's a little strange, try 'env-update' and 'source /etc/profile' and try emerge info again. Then 'emerge perl &> perl.log' and bzip2 perl.log and attach. Created attachment 7700 [details]
output from "emerge perl"
After "env-update" here is the only changed line from "emerge info": Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.2.5-r2,2.3.1-r2) I'm seconding this bug...and I'd suggest upgrading the severity. It's a showstopper to me. I've finished the installation, but can't merge many packages because they depend on perl. I'd attach the output, but it's exactly as above. So far I have isolated the source of the error but not the cause. In ext/B there is a subdirectory called C. It tries to do something similar to "cd `pwd`/C" but the cwd() function is returning an empty string on your computer. So it is trying to "cd /C", hence the message: Couldn't change to directory /C: No such file or directory at Makefile.PL line 18 Can you think of anything about your computer that might make it different from any other? When I diff the output of your emerge with the output of mine, I see no differences of consequence. Your emerge is missing the -'ed lines. Please try to merge perl with the sandbox disabled just to see if it makes a difference: FEATURES=-sandbox emerge perl I'm also curious to know if you can successfully emerge an earlier revision of perl, such as: emerge /usr/portage/sys-devel/perl/perl-5.8.0-r8.ebuild Have you been able to merge any perl 5.8 ebuild? "Your emerge is missing the -'ed lines." Er, ignore that. Building without the sandbox has the same results. Same with -r8 and -r7 (will try more later). Jay, are you able to build perl 5.6? Created attachment 7785 [details]
perl-5.6.1-r9 ebuild log
The perl-5.6.1-r9 ebuild fails as well. btw...for me the problems are
occurring on a fresh install of 1.4_rc2.
Also, 5.6.1 throws a different access violation. Briefly (entire log attached above): /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlcygwin.1 /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perldos.1 Executable pod/pod2man not found. /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlepoc.1 /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlhpux.1 /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlmachten.1 /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlmacos.1 /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlmpeix.1 /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlos2.1 /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlos390.1 /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlsolaris.1 /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlvmesa.1 /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlvos.1 /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlwin32.1 /var/tmp/portage/perl-5.6.1-r9/image//usr/share/man/man1/perlvms.1 make[1]: *** [install.man] Error 2 make[1]: Leaving directory `/var/tmp/portage/perl-5.6.1-r9/work/perl-5.6.1' make: *** [install] Error 2 !!! ERROR: sys-devel/perl-5.6.1-r9 failed. !!! Function src_install, Line 187, Exitcode 2 !!! Unable to make install --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-perl-5.6.1-r9-26935.log" mkdir: /for_find rmdir: /fa/faa rmdir: /fa/fab/faba rmdir: /fa/fab rmdir: /fa rmdir: /fb/fba rmdir: /fb rmdir: /for_find -------------------------------------------------------------------------------- Please remove -malign-double from your CFLAGS and try merging again, thanks. You hit on the problem, and I have to say I'm rather embarassed by the solution. I just set my compilation flags to nothing more than "-O2" and it works fine. I'm not sure if this counts as an official resolution, but it probably does. I will update the ebuild to filter the malign-double flag, thanks. perl 5.8 and libperl have been updated to filter these flags, reopen this bug if you continue to have problems. |