Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97645 - perl and groff doesn't emerges on PPC
Summary: perl and groff doesn't emerges on PPC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: Highest blocker (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
: 99037 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-01 12:43 UTC by Herbert
Modified: 2005-09-01 10:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX/Makefile (ext-posix-makefile.txt,25.27 KB, text/plain)
2005-07-22 09:23 UTC, Kevin Bowling
Details
/var/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX/Makefile.PL (ext-posix-makefile_pl.txt,4.99 KB, text/plain)
2005-07-22 09:23 UTC, Kevin Bowling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Herbert 2005-07-01 12:43:13 UTC
I'm doing an emerge world and perl-5.8.5-r5 doesn't successfully compiles. Here
are the last few lines of the emerge before the error:

        Making Opcode (dynamic)
Writing Makefile for Opcode
make[1]: Entering directory
`/mnt/disk2/tmp/portage/perl-5.8.5-r5/work/perl-5.8.5/ext/Opcode'
make[1]: Leaving directory
`/mnt/disk2/tmp/portage/perl-5.8.5-r5/work/perl-5.8.5/ext/Opcode'
make[1]: Entering directory
`/mnt/disk2/tmp/portage/perl-5.8.5-r5/work/perl-5.8.5/ext/Opcode'
cp Safe.pm ../../lib/Safe.pm
cp Opcode.pm ../../lib/Opcode.pm
cp ops.pm ../../lib/ops.pm
../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp  -typemap
../../lib/ExtUtils/typemap  Opcode.xs > Opcode.xsc && mv Opcode.xsc Opcode.c
powerpc-gentoo-linux-gnu-gcc -c   -DDEBUGGING -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -pipe -mpowerpc-gpopt -mcpu=604
-mmultiple -mstring   -DVERSION=\"1.05\" -DXS_VERSION=\"1.03\" -fPIC "-I../.." 
 Opcode.c
Running Mkbootstrap for Opcode ()
chmod 644 Opcode.bs
rm -f ../../lib/auto/Opcode/Opcode.so
LD_RUN_PATH="" powerpc-gentoo-linux-gnu-gcc  -shared -L/usr/local/lib Opcode.o 
-o ../../lib/auto/Opcode/Opcode.so
chmod 755 ../../lib/auto/Opcode/Opcode.so
cp Opcode.bs ../../lib/auto/Opcode/Opcode.bs
chmod 644 ../../lib/auto/Opcode/Opcode.bs
make[1]: Leaving directory
`/mnt/disk2/tmp/portage/perl-5.8.5-r5/work/perl-5.8.5/ext/Opcode'

        Making POSIX (dynamic)
Processing hints file hints/linux.pl
Note (probably harmless): No library found for -lposix
Note (probably harmless): No library found for -lcposix
Writing Makefile for POSIX
ext/util/make_ext: line 123:  3238 Illegal instruction     ../$depth/miniperl
-I../$depth/lib Makefile.PL INSTALLDIRS=perl PERL_CORE=1 $passthru
make[1]: Entering directory
`/mnt/disk2/tmp/portage/perl-5.8.5-r5/work/perl-5.8.5/ext/POSIX'
make[1]: Leaving directory
`/mnt/disk2/tmp/portage/perl-5.8.5-r5/work/perl-5.8.5/ext/POSIX'
make[1]: Entering directory
`/mnt/disk2/tmp/portage/perl-5.8.5-r5/work/perl-5.8.5/ext/POSIX'
cp POSIX.pod ../../lib/POSIX.pod
cp POSIX.pm ../../lib/POSIX.pm
AutoSplitting ../../lib/POSIX.pm (../../lib/auto/POSIX)
../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp
-noprototypes -typemap ../../lib/ExtUtils/typemap -typemap typemap  POSIX.xs >
POSIX.xsc && mv POSIX.xsc POSIX.c
powerpc-gentoo-linux-gnu-gcc -c   -DDEBUGGING -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSTRUCT_TM_HASZONE -DHINT_SC_EXIST
-O1 -pipe -mpowerpc-gpopt -mcpu=604 -mmultiple -mstring   -DVERSION=\"1.08\"
-DXS_VERSION=\"1.08\" -fPIC "-I../.."   POSIX.c
POSIX.xs: In function `int_macro_int':
POSIX.xs:408: error: `PERL_constant_ISIV' undeclared (first use in this function)
POSIX.xs:408: error: (Each undeclared identifier is reported only once
POSIX.xs:408: error: for each function it appears in.)
POSIX.xs:545: error: `PERL_constant_NOTFOUND' undeclared (first use in this
function)
POSIX.xs: In function `XS_POSIX_int_macro_int':
POSIX.xs:818: error: `PERL_constant_NOTFOUND' undeclared (first use in this
function)
POSIX.xs:824: error: `PERL_constant_NOTDEF' undeclared (first use in this function)
POSIX.xs:831: error: `PERL_constant_ISIV' undeclared (first use in this function)
make[1]: *** [POSIX.o] Error 1
make[1]: Leaving directory
`/mnt/disk2/tmp/portage/perl-5.8.5-r5/work/perl-5.8.5/ext/POSIX'
make: *** [lib/auto/POSIX/POSIX.so] Error 2

!!! ERROR: dev-lang/perl-5.8.5-r5 failed.
!!! Function src_compile, Line 244, Exitcode 2
!!! Unable to make
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1. emerge world
Actual Results:  
Perl does not compile.

Expected Results:  
perl emerges successfully.

emerge info
Portage 2.0.51.19 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1,
2.6.9-gentoo-r1 ppc)
=================================================================
System uname: 2.6.9-gentoo-r1 ppc 604r
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 28 2005, 23:35:39)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.4_p6, 1.9.5, 1.5, 1.8.5-r3, 1.6.3
sys-devel/binutils:  2.15.90.0.3-r5
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mpowerpc-gpopt -mcpu=604 -mmultiple -mstring"
CHOST="powerpc-gentoo-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mpowerpc-gpopt -mcpu=604 -mmultiple -mstring"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X alsa bash-completion berkdb bitmap-fonts cdr crypt cups curl emboss
fortran gd gdbm gif gnome gpm gtk gtk2 ipv6 java jpeg kde libwww motif mp3 mpeg
ncurses nls oggvorbis opengl pam pdflib perl png python qt readline snmp spell
ssl tcltk tcpd truetype truetype-fonts type1-fonts unicode xml2 xprint xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-07-01 17:44:06 UTC
Random (but maybe relevant?) question - in your emerge info you have  
PORTAGE_TMPDIR="/var/tmp" - but in your output you are very obviously running 
from /mnt/disk2/tmp - is that a ppc thing, or do you have something funky going 
on here? I also wonder why the posix libraries aren't being found (it may say 
harmless, but it isn't harmless if immediately following not finding them it 
tries to compile POSIX support and fails imho) 
Comment 2 Herbert 2005-07-01 18:22:49 UTC
I did a symbolic link from /mnt/disk2/tmp to /var/tmp because I need more room 
to do some emerges. Is this wrong?

About the POSIX libs, I think "emerge depclean" did a lot more than expected 
but I don't know how to fix this.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-02 06:01:26 UTC
Using a symlink is a bad in this case, see e.g. Bug 79388.
Comment 4 Herbert 2005-07-02 10:22:53 UTC
Now I correctly configured PORTAGE_TMPDIR and the perl's emerging problem still
persists. I'm thinking that's something related to the POSIX libs, but I don't
know how to fix this.
Comment 5 Herbert 2005-07-07 10:51:16 UTC
I've tryed a lot of things and searches and I got nothing. I'm still getting the
same error.
Comment 6 Herbert 2005-07-07 12:23:38 UTC
I tryed to emerge perl 5.8.5-r5, 5.8.6-r5 and 5.8.7 and all three versions give
me this error!
Comment 7 Joe Jezak (RETIRED) gentoo-dev 2005-07-08 19:46:01 UTC
Well, perhaps starting clean will help.  Try: emerge -e world to rebuild your
system.
Comment 8 Herbert 2005-07-13 06:55:58 UTC
Well... I'm trying to do the "emerge -e world" but now I get stuck when emerging
groff 1.19.1-r2.

It seems that groff's build is stuck in an endless loop and prints lots of this
message bellow:

grops:<standard input> (<standard input>):1748: missing argument

When I press Ctrl-C I got the following errors that my help finding the problem:

make[2]: *** Deleting file `pic.ps'
make[2]: *** [pic.ps] Error 130
make[1]: *** [doc] Interrupt
make: *** [all] Interrupt

/usr/portage/sys-apps/groff/groff-1.19.1-r2.ebuild: src_compile aborted; exiting.
Comment 9 Joe Jezak (RETIRED) gentoo-dev 2005-07-14 09:48:30 UTC
Removing perl from CC as it has nothing to do with them.

Herbert, can you try emerge system -Duepv and tell us if any of those packages
have an N instead of an R?
Comment 10 Herbert 2005-07-14 12:04:42 UTC
These are the packages that I would merge, in order:

Calculating system dependencies  . ...done!
[ebuild  N    ] sys-devel/patch-2.5.9-r1  -build -static 0 kB 
[ebuild  N    ] app-arch/bzip2-1.0.3-r4  -build -static 0 kB 
[ebuild  N    ] app-arch/cpio-2.6-r4  +nls 0 kB 
[ebuild  N    ] sys-libs/gpm-1.20.1-r4  -emacs (-selinux) 0 kB 
[ebuild  N    ] sys-libs/ncurses-5.4-r6  -bootstrap -build -debug -doc +gpm
-minimal -nocxx +unicode 0 kB 
[ebuild  N    ] app-shells/bash-3.0-r12  -bashlogger -build +nls 0 kB 
[ebuild  N    ] sys-devel/binutils-config-1.8-r4  0 kB 
[ebuild  N    ] sys-devel/gnuconfig-20050324  0 kB 
[ebuild  N    ] sys-devel/binutils-2.15.90.0.3-r5  -multislot -multitarget +nls
-test 0 kB 
[ebuild  N    ] sys-devel/m4-1.4.2-r1  +nls 0 kB 
[ebuild  N    ] sys-devel/bison-1.875d  +nls -static 0 kB 
[ebuild  N    ] sys-apps/sed-4.1.4  -bootstrap -build +nls -static 0 kB 
[ebuild  N    ] sys-devel/gcc-config-1.3.11-r4  0 kB 
[ebuild  N    ] sys-apps/texinfo-4.8  -build +nls -static 0 kB 
[ebuild  N    ] sys-libs/zlib-1.2.2-r1  -build 0 kB 
[ebuild  N    ] sys-devel/gcc-3.4.4  -altivec -bootstrap -boundschecking -build
+fortran -gcj -gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls
-nocxx -nopie -nossp -objc -static 0 kB 
[ebuild  N    ] sys-kernel/linux-headers-2.6.8.1-r4  0 kB 
[ebuild  N    ] sys-libs/glibc-2.3.4.20041102-r1  -build -erandom -hardened
(-multilib) +nls -nomalloccheck -nptl -nptlonly -pic (-selinux) -userlocales 0 kB 
[ebuild  N    ] sys-devel/gettext-0.14.4  -doc -emacs +nls 0 kB 
[ebuild  N    ] app-arch/gzip-1.3.5-r8  -build +nls -pic -static 323 kB 
[ebuild  N    ] app-arch/tar-1.15.1  -build -bzip2 +nls -static 0 kB 
[ebuild  N    ] dev-lang/tcl-8.4.9  -threads 0 kB 
[ebuild  N    ] sys-libs/lib-compat-1.4  -sdl 3,090 kB 
[ebuild  N    ] dev-python/python-fchksum-1.7.1  0 kB 
[ebuild  N    ] sys-libs/readline-5.0-r2  0 kB 
[ebuild  N    ] sys-libs/gdbm-1.8.3-r1  +berkdb 223 kB 
[ebuild  N    ] sys-devel/flex-2.5.4a-r5  -build -static 372 kB 
[ebuild  N    ] sys-devel/bc-1.06-r6  +readline -static 0 kB 
[ebuild  N    ] sys-apps/diffutils-2.8.7-r1  +nls -static 0 kB 
[ebuild  N    ] dev-libs/openssl-0.9.7e-r1  -bindist -emacs -test 0 kB 
[ebuild  N    ] dev-libs/expat-1.95.8  -test 0 kB 
[ebuild  N    ] dev-lang/python-2.3.5  -X* +berkdb -bootstrap -build -doc +gdbm
-ipv6* +ncurses -nocxx +readline +ssl +tcltk -ucs2 0 kB 
[ebuild  N    ] dev-java/java-config-1.2.9  0 kB 
[ebuild  N    ] dev-java/ibm-jdk-bin-1.4.2  -X* -browserplugin -doc -javacomm
-mozilla 57,815 kB 
[ebuild  N    ] sys-libs/db-4.2.52_p2  -bootstrap -doc +java -nocxx +tcltk 0 kB 
[ebuild  N    ] sys-apps/groff-1.19.1-r2  -X* 0 kB 
[ebuild  N    ] sys-process/cronbase-0.3.2  0 kB 
[ebuild  N    ] sys-apps/man-1.6-r1  +nls 0 kB 
[ebuild  N    ] sys-devel/libperl-5.8.6-r1  +berkdb -debug +gdbm -ithreads
-nocxx 0 kB 
[ebuild  N    ] dev-lang/perl-5.8.6-r5  +berkdb -build -debug -doc +gdbm
-ithreads -minimal -perlsuid 0 kB 
[ebuild  N    ] app-admin/perl-cleaner-1.01  3 kB 
[ebuild  N    ] net-misc/iputils-021109-r3  -doc -ipv6 -static 418 kB 
[ebuild  N    ] dev-libs/popt-1.7-r1  +nls 561 kB 
[ebuild  N    ] sys-apps/debianutils-2.13.1-r1  -build -static 0 kB 
[ebuild  N    ] sys-apps/portage-2.0.51.19  -build (-selinux) 0 kB 
*** Please update portage to the above version before proceeding.
    Failure to do so may result in failed or improper merges.
    A simple 'emerge -u portage' is sufficient.

[ebuild  N    ] net-misc/rsync-2.6.0-r5  -acl -build -livecd -static 458 kB 
[ebuild  N    ] sys-devel/autoconf-2.13  0 kB 
[ebuild  N    ] sys-devel/autoconf-wrapper-2-r1  0 kB 
[ebuild  N    ] sys-devel/autoconf-2.59-r6  -emacs 0 kB 
[ebuild  N    ] net-misc/wget-1.9.1-r5  -build -debug -ipv6 +nls -socks5 +ssl
-static 1,327 kB 
[ebuild  N    ] sys-apps/sysvinit-2.86  -bootstrap -build -ibm (-selinux)
-static 100 kB 
[ebuild  N    ] dev-perl/Locale-gettext-1.03  3 kB 
[ebuild  N    ] sys-apps/help2man-1.33.1  +nls 73 kB 
[ebuild  N    ] sys-devel/automake-1.5  0 kB 
[ebuild  N    ] sys-devel/automake-1.9.5  0 kB 
[ebuild  N    ] sys-devel/automake-1.6.3  0 kB 
[ebuild  N    ] sys-devel/automake-1.7.9-r1  0 kB 
[ebuild  N    ] sys-devel/automake-1.4_p6  0 kB 
[ebuild  N    ] sys-devel/automake-wrapper-1-r1  0 kB 
[ebuild  N    ] sys-devel/automake-1.8.5-r3  0 kB 
[ebuild  N    ] sys-apps/coreutils-5.2.1-r6  -acl -build +nls (-selinux) -static
4,259 kB 
[ebuild  N    ] sys-apps/baselayout-1.11.12-r4  -bootstrap -build -static
+unicode 152 kB 
[ebuild  N    ] sys-apps/file-4.12  -build +python 404 kB 
[ebuild  N    ] sys-apps/findutils-4.1.20-r1  (-afs) -build +nls (-selinux)
-static 759 kB 
[ebuild  N    ] sys-apps/gawk-3.1.3-r2  -build +nls 2,029 kB 
[ebuild  N    ] sys-apps/grep-2.5.1-r7  -build +nls -pcre -static 0 kB 
[ebuild  N    ] sys-apps/kbd-1.12-r5  +nls 867 kB 
[ebuild  N    ] sys-apps/less-382-r2  258 kB 
[ebuild  N    ] sys-apps/man-pages-2.02  0 kB 
[ebuild  N    ] sys-apps/net-tools-1.60-r11  -build +nls -static 220 kB 
[ebuild  N    ] sys-process/procps-3.2.4-r3  (-n32) 269 kB 
[ebuild  N    ] sys-devel/libtool-1.5.18-r1  0 kB 
[ebuild  N    ] sys-process/psmisc-21.5  +nls (-selinux) 373 kB 
[ebuild  N    ] sys-libs/cracklib-2.8.3-r1  469 kB 
[ebuild  N    ] dev-util/pkgconfig-0.15.0  -hardened 596 kB 
[ebuild  N    ] sys-libs/pam-0.78-r2  +berkdb -nis -pam_chroot -pam_console
-pam_timestamp -pwdb (-selinux) 6,345 kB 
[ebuild  N    ] sys-apps/shadow-4.0.7-r3  +nls +pam (-selinux) -skey 995 kB 
[ebuild  N    ] sys-apps/pam-login-3.17  -livecd +nls (-selinux) 154 kB 
[ebuild  N    ] sys-apps/which-2.16  122 kB 
[ebuild  N    ] sys-devel/make-3.80-r1  -build -hardened +nls -static 899 kB 
[ebuild  N    ] sys-libs/com_err-1.37  +nls 0 kB 
[ebuild  N    ] sys-libs/ss-1.37  +nls 0 kB 
[ebuild  N    ] sys-fs/e2fsprogs-1.37-r1  +nls -static 0 kB 
[ebuild  N    ] sys-fs/devfsd-1.3.25-r8  41 kB 
[ebuild  N    ] app-editors/nano-1.3.7  -build -debug -justify +ncurses +nls
-nomac -slang +spell +unicode 0 kB 
[ebuild  N    ] sys-apps/module-init-tools-3.0-r2  347 kB 
[ebuild  N    ] sys-apps/tcp-wrappers-7.6-r8  -ipv6 115 kB 
[ebuild  N    ] net-misc/openssh-3.9_p1-r2  -X509 -chroot -hpn -ipv6 -kerberos
-ldap -nocxx +pam (-selinux) -sftplogging -skey -smartcard -static +tcpd 834 kB 
[ebuild  N    ] sys-apps/busybox-1.00-r4  -debug -floppyboot -make-symlinks
-netboot -savedconfig -static 1,108 kB 
[ebuild  N    ] sys-apps/hdparm-5.9  38 kB 
[ebuild  N    ] app-crypt/hashalot-0.3  0 kB 
[ebuild  N    ] sys-apps/util-linux-2.12i-r1  +crypt +nls +pam +perl (-selinux)
-static 0 kB 
[ebuild  N    ] sys-libs/pwdb-0.62  (-selinux) 130 kB 
[ebuild  N    ] media-libs/libpng-1.2.8  -doc 0 kB 
[ebuild  N    ] media-libs/freetype-2.1.9-r1  -bindist -doc +zlib 0 kB 
[ebuild  N    ] x11-misc/ttmkfdir-3.0.9-r3  0 kB 
[ebuild  N    ] media-libs/fontconfig-2.2.3  0 kB 
[ebuild  N    ] x11-base/xorg-x11-6.8.2-r2  (-3dfx) (-3dnow) +bitmap-fonts -cjk
-debug -dlloader -dmx -doc -font-server -insecure-drivers -ipv6 -minimal (-mmx)
+nls -nocxx -opengl +pam -sdk (-sse) -static +truetype-fonts +type1-fonts
(-uclibc) -xprint -xv 170 kB 
[ebuild  N    ] dev-lang/tk-8.4.9  -threads 0 kB 
[ebuild  N    ] sys-fs/hfsutils-3.2.6-r3  +tcltk 202 kB 
[ebuild  N    ] app-arch/rpm2targz-9.0-r3  2 kB 
[ebuild  N    ] sys-apps/utempter-0.5.5.5-r1  0 kB 
[ebuild  N    ] x11-terms/xterm-200-r3  -Xaw3d -toolbar +truetype +unicode 0 kB 
[ebuild  N    ] sys-fs/hfsplusutils-1.0.4-r1  181 kB 
[ebuild  N    ] sys-fs/mac-fdisk-0.1-r2  72 kB 

Total size of downloads: 87,196 kB
Comment 11 Joe Jezak (RETIRED) gentoo-dev 2005-07-14 12:51:32 UTC
Oops, sorry, I meant emerge system -Dupv

:p
Comment 12 Herbert 2005-07-14 12:55:56 UTC
These are the packages that I would merge, in order:

Calculating system dependencies  . ...done!
[ebuild     U ] app-arch/gzip-1.3.5-r8 [1.3.5-r5] -build +nls -pic -static 323 kB 
[ebuild     U ] sys-apps/man-1.6-r1 [1.6] +nls 0 kB 
[ebuild     UD] sys-devel/libperl-5.8.6-r1 [5.8.7] +berkdb -debug +gdbm
-ithreads -nocxx 0 kB 
[ebuild     U ] dev-lang/perl-5.8.6-r5 [5.8.5-r2] +berkdb -build -debug -doc
+gdbm -ithreads -minimal -perlsuid 0 kB 
[ebuild  N    ] app-admin/perl-cleaner-1.01  3 kB 
[ebuild     U ] net-misc/rsync-2.6.0-r5 [2.6.0-r3] -acl -build -livecd -static
458 kB 
[ebuild     U ] net-misc/wget-1.9.1-r5 [1.9-r2] -build -debug -ipv6 +nls -socks5
+ssl -static 1,327 kB 
[ebuild  N    ] dev-perl/Locale-gettext-1.03  3 kB 
[ebuild     U ] sys-apps/help2man-1.33.1 [1.29] +nls 73 kB 
[ebuild     U ] sys-apps/coreutils-5.2.1-r6 [5.2.1-r2] -acl -build +nls
(-selinux) -static 4,259 kB 
[ebuild  N    ] sys-apps/sysvinit-2.86  -bootstrap -build -ibm (-selinux)
-static 100 kB 
[ebuild     U ] sys-apps/baselayout-1.11.12-r4 [1.9.4-r6] -bootstrap -build
-static +unicode* 152 kB 
[ebuild     U ] sys-apps/kbd-1.12-r5 [1.12-r3] +nls 867 kB 
[ebuild     U ] sys-apps/net-tools-1.60-r11 [1.60-r9] -build +nls -static 220 kB 
[ebuild     U ] sys-process/procps-3.2.4-r3 [3.2.4-r1] (-n32) 269 kB 
[ebuild     U ] sys-process/psmisc-21.5 [21.4] +nls (-selinux) 373 kB 
[ebuild     U ] sys-libs/cracklib-2.8.3-r1 [2.7-r11] 469 kB 
[ebuild     U ] sys-libs/pam-0.78-r2 [0.77-r6] +berkdb -nis -pam_chroot
-pam_console -pam_timestamp -pwdb (-selinux) 6,345 kB 
[ebuild     U ] sys-apps/shadow-4.0.7-r3 [4.0.4.1-r4] +nls +pam (-selinux) -skey
995 kB 
[ebuild     U ] sys-apps/pam-login-3.17 [3.14] -livecd +nls (-selinux) 154 kB 
[ebuild     U ] net-misc/openssh-3.9_p1-r2 [3.9_p1-r1] -X509 -chroot -hpn -ipv6
-kerberos -ldap -nocxx +pam (-selinux) -sftplogging -skey -smartcard -static
+tcpd 834 kB 
[ebuild  N    ] sys-apps/busybox-1.00-r4  -debug -floppyboot -make-symlinks
-netboot -savedconfig -static 1,108 kB 
[ebuild     U ] sys-apps/hdparm-5.9 [5.7-r1] 38 kB 
[ebuild     U ] x11-base/xorg-x11-6.8.2-r2 [6.8.2-r1] (-3dfx) (-3dnow)
+bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers
-ipv6* -minimal (-mmx) +nls -nocxx -opengl* +pam -sdk (-sse) -static
+truetype-fonts +type1-fonts (-uclibc) -xprint* -xv* 170 kB 
[ebuild     U ] app-arch/rpm2targz-9.0-r3 [9.0-r2] 2 kB 

Total size of downloads: 18,553 kB
Comment 13 Joe Jezak (RETIRED) gentoo-dev 2005-07-16 10:21:03 UTC
Okay, I don't see anything wrong there. :(  Can you attach your emerge log
(/var/log/emerge.log)?  Please attach it as a file, not as a comment.

Also, try emerge -ev system and see if that helps.
Comment 14 Kevin Bowling 2005-07-19 14:43:58 UTC
I'm encountering the same bug on my PPC machine.
Comment 15 Kevin Bowling 2005-07-19 15:31:29 UTC
43p-ppc ~ # emerge info
Portage 2.0.51.19 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1,
2.6.12-gentoo-r4 ppc)
=================================================================
System uname: 2.6.12-gentoo-r4 ppc 604r
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 11 2005, 15:08:50)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.5
sys-devel/binutils:  2.15.90.0.3-r5
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=604e -mpowerpc-gpopt -mpowerpc-gfxopt -mbig-endian -mstring
-mmultiple -fsigned-char -fomit-frame-pointer -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=604e -mpowerpc-gpopt -mpowerpc-gfxopt -mbig-endian -mstring
-mmultiple -fsigned-char -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.ITDNet.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc aim alsa apache apache2 apm authdaemond berkdb bitmap-fonts clamav
crypt cups curl emboss fam fortran ftp gd gif gpm gtk gtk2 icq imap ipv6 jpeg
kde ldap libwww motif mp3 mpeg mpm-prefork msn mysql mysqli ncurses nls nptl
nptlonly oggvorbis opengl oscar pam pcre pdflib perl php png python qt readline
samba sasl simplexml snmp sockets spell spl sqlite ssl svg tcpd tiff truetype
truetype-fonts type1-fonts unicode userlocales vhosts xml2 xprint xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Comment 16 Michael Cummings (RETIRED) gentoo-dev 2005-07-22 04:05:54 UTC
*** Bug 99037 has been marked as a duplicate of this bug. ***
Comment 17 Kevin Bowling 2005-07-22 07:29:42 UTC
Ran 'perl-cleaner reallyall' per dev suggestion.  Same error on emerge of 5.8.6.
Comment 18 Kevin Bowling 2005-07-22 09:23:15 UTC
Created attachment 64066 [details]
/var/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX/Makefile

perl POSIX makefile
Comment 19 Kevin Bowling 2005-07-22 09:23:31 UTC
Created attachment 64067 [details]
/var/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX/Makefile.PL

perl POSIX makefile.PL
Comment 20 Kevin Bowling 2005-07-22 10:00:52 UTC
43p-ppc POSIX # perl
/var/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX/Makefile.PL
Processing hints file hints/linux.pl
Note (probably harmless): No library found for -lposix
Note (probably harmless): No library found for -lcposix
Writing Makefile for POSIX

Comment 21 Brett 2005-07-27 13:53:52 UTC
Same issue as Herbert
Comment 22 Kevin Bowling 2005-07-27 15:19:47 UTC
43p-ppc POSIX # cd /var/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX/
43p-ppc POSIX # make
powerpc-unknown-linux-gnu-gcc -c   -DDEBUGGING -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSTRUCT_TM_HASZONE -DHINT_SC_EXIST
-O1 -mcpu=604e -mpowerpc-gpopt -mpowerpc-gfxopt -mstring -mmultiple
-fomit-frame-pointer -pipe   -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPIC
"-I../.."   POSIX.c
POSIX.xs: In function `int_macro_int':
POSIX.xs:408: error: `PERL_constant_ISIV' undeclared (first use in this function)
POSIX.xs:408: error: (Each undeclared identifier is reported only once
POSIX.xs:408: error: for each function it appears in.)
POSIX.xs:545: error: `PERL_constant_NOTFOUND' undeclared (first use in this
function)
POSIX.xs: In function `XS_POSIX_int_macro_int':
POSIX.xs:818: error: `PERL_constant_NOTFOUND' undeclared (first use in this
function)
POSIX.xs:824: error: `PERL_constant_NOTDEF' undeclared (first use in this function)
POSIX.xs:831: error: `PERL_constant_ISIV' undeclared (first use in this function)
make: *** [POSIX.o] Error 1
Comment 23 Kevin Bowling 2005-08-04 15:25:17 UTC
  Dropping in to confirm that the July 28th "files/perl-reorder-INC.patch" has
no effect on this particular bug (exact same compile output).  SSH to an
affected machine availible on request :-).
Comment 24 Herbert 2005-08-08 06:07:48 UTC
I was away for some time and now I'm trying to fix this again. I synced and
tryed to emerge world today again, but on another PPC server, and I got the same
error as before.

Anything new on this bug?
Comment 25 Herbert 2005-08-08 07:15:33 UTC
        Making POSIX (dynamic)
Processing hints file hints/linux.pl
Note (probably harmless): No library found for -lposix
Note (probably harmless): No library found for -lcposix
Can't locate auto/POSIX/autosplit.ix in @INC (@INC contains: ../../lib /etc/perl
/usr/lib/perl5/site_perl/5.8.6/powerpc-linux /usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.2/powerpc-linux
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.4/powerpc-linux
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.5/powerpc-linux
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/powerpc-linux
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.2/powerpc-linux /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.5/powerpc-linux /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.6/powerpc-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl
.) at ../../lib/AutoLoader.pm line 160.
 at POSIX.pm line 7
Writing Makefile for POSIX
ext/util/make_ext: line 123:  3136 Illegal instruction     ../$depth/miniperl
-I../$depth/lib Makefile.PL INSTALLDIRS=perl PERL_CORE=1 $passthru
make[1]: Entering directory
`/mnt/disk2/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX'
make[1]: Leaving directory
`/mnt/disk2/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX'
make[1]: Entering directory
`/mnt/disk2/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX'
cp POSIX.pod ../../lib/POSIX.pod
cp POSIX.pm ../../lib/POSIX.pm
AutoSplitting ../../lib/POSIX.pm (../../lib/auto/POSIX)
../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp
-noprototypes -typemap ../../lib/ExtUtils/typemap -typemap typemap  POSIX.xs >
POSIX.xsc && mv POSIX.xsc POSIX.c
powerpc-gentoo-linux-gnu-gcc -c   -DDEBUGGING -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSTRUCT_TM_HASZONE -DHINT_SC_EXIST
-O1 -pipe -mpowerpc-gpopt -mcpu=604 -mmultiple -mstring   -DVERSION=\"1.08\"
-DXS_VERSION=\"1.08\" -fPIC "-I../.."   POSIX.c
POSIX.xs: In function `int_macro_int':
POSIX.xs:408: error: `PERL_constant_ISIV' undeclared (first use in this function)
POSIX.xs:408: error: (Each undeclared identifier is reported only once
POSIX.xs:408: error: for each function it appears in.)
POSIX.xs:545: error: `PERL_constant_NOTFOUND' undeclared (first use in this
function)
POSIX.xs: In function `XS_POSIX_int_macro_int':
POSIX.xs:818: error: `PERL_constant_NOTFOUND' undeclared (first use in this
function)
POSIX.xs:824: error: `PERL_constant_NOTDEF' undeclared (first use in this function)
POSIX.xs:831: error: `PERL_constant_ISIV' undeclared (first use in this function)
make[1]: *** [POSIX.o] Error 1
make[1]: Leaving directory
`/mnt/disk2/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX'
make: *** [lib/auto/POSIX/POSIX.so] Error 2

!!! ERROR: dev-lang/perl-5.8.6-r5 failed.
!!! Function src_compile, Line 254, Exitcode 2
!!! Unable to make
!!! If you need support, post the topmost build error, NOT this status message.
Comment 26 Herbert 2005-08-08 07:50:45 UTC
I'm doing some tests to isolate the problem. For now I discovered that the
guilty for this bug is an "Illegal instruction" error. Here are my steps:

# pwd
/mnt/disk2/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX

# ../../miniperl -I../../lib Makefile.PL INSTALLDIRS=perl PERL_CORE=1
Processing hints file hints/linux.pl
Note (probably harmless): No library found for -lposix
Note (probably harmless): No library found for -lcposix
Writing Makefile for POSIX
Illegal instruction
================= 

I also executed the last command with strace and got these last few lines:

open("../../lib/auto/POSIX/autosplit.ix", O_RDONLY|O_LARGEFILE) = 4
ioctl(4, TCGETS or TCGETS, 0x7fffdd90)  = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(4, 0, [0], SEEK_CUR)            = 0
read(4, "# Index created by AutoSplit for"..., 4096) = 2265
brk(0x10428000)                         = 0x10428000
read(4, "", 4096)                       = 0
close(4)                                = 0
_llseek(3, 1443, [1443], SEEK_SET)      = 0
_llseek(3, 0, [1443], SEEK_CUR)         = 0
close(3)                                = 0
write(1, "Writing Makefile for POSIX\n", 27Writing Makefile for POSIX
) = 27
lstat64("Makefile", {st_mode=S_IFREG|0644, st_size=25772, ...}) = 0
unlink("Makefile")                      = 0
lstat64("MakeMaker.tmp", 0x1010fc30)    = -1 ENOENT (No such file or directory)
lstat64("", 0x1010fc30)                 = -1 ENOENT (No such file or directory)
open("MakeMaker.tmp", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
ioctl(3, TCGETS or TCGETS, 0x7fffe500)  = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
write(3, "# This Makefile is for the POSIX"..., 4096) = 4096
write(3, "(PERL) \"-I$(PERL_LIB)\" \"-I$(PERL"..., 4096) = 4096
write(3, "akeMaker const_cccmd section:\nCC"..., 4096) = 4096
write(3, "_DEP)\n\t$(RM_F) $@\n\tLD_RUN_PATH=\""..., 4096) = 4096
write(3, "\n\t$(PREOP)\n\t$(TO_UNIX)\n\t$(TAR) $"..., 4096) = 4096
write(3, ")/perllocal.pod\n\n\nuninstall :: u"..., 4096) = 4096
write(3, "ST_LIB)\" \"-I$(INST_ARCHLIB)\" $(T"..., 1196) = 1196
close(3)                                = 0
chmod("Makefile", 0666)                 = -1 ENOENT (No such file or directory)
lstat64("Makefile", 0x1010fc30)         = -1 ENOENT (No such file or directory)
rename("MakeMaker.tmp", "Makefile")     = 0
chmod("Makefile", 0644)                 = 0
open("const-c.inc", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
ioctl(3, TCGETS or TCGETS, 0x7fffe500)  = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
open("const-xs.inc", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 4
ioctl(4, TCGETS or TCGETS, 0x7fffe500)  = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(4, 0, [0], SEEK_CUR)            = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
brk(0x10449000)                         = 0x10449000
--- SIGILL (Illegal instruction) @ 0 (0) ---
+++ killed by SIGILL +++
Comment 27 Herbert 2005-08-08 10:29:09 UTC
I removed the option "-mpowerpc-gpopt" from CFLAGS and perl emerged successfully!
Comment 28 Herbert 2005-08-09 06:00:33 UTC
Reopened bug because I'm not shure if this (remove that option from CFLAGS) can
be done without harming the entire system.
Comment 29 Joe Jezak (RETIRED) gentoo-dev 2005-08-10 13:51:50 UTC
We can simply strip that cflag, on machines that suppport those extensions, the
corresponding -mcpu/-mtune settings will include it automatically.
Comment 30 Joe Jezak (RETIRED) gentoo-dev 2005-09-01 10:06:21 UTC
CFLAG filter is in the ebuild now.