Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 97645
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PPC Porters <ppc@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Herbert <herbert.fischer@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ext-posix-makefile.txt /var/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX/Makefile text/plain Kevin Bowling 2005-07-22 09:23 0000 25.27 KB Details
ext-posix-makefile_pl.txt /var/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX/Makefile.PL text/plain Kevin Bowling 2005-07-22 09:23 0000 4.99 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 97645 depends on: Show dependency tree
Bug 97645 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-01 12:43 0000
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 From Michael Cummings (RETIRED) 2005-07-01 17:44:06 0000 -------
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 From Herbert 2005-07-01 18:22:49 0000 -------
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 From Carsten Lohrke 2005-07-02 06:01:26 0000 -------
Using a symlink is a bad in this case, see e.g. Bug 79388.

------- Comment #4 From Herbert 2005-07-02 10:22:53 0000 -------
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 From Herbert 2005-07-07 10:51:16 0000 -------
I've tryed a lot of things and searches and I got nothing. I'm still getting
the
same error.

------- Comment #6 From Herbert 2005-07-07 12:23:38 0000 -------
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 From Joe Jezak 2005-07-08 19:46:01 0000 -------
Well, perhaps starting clean will help.  Try: emerge -e world to rebuild your
system.

------- Comment #8 From Herbert 2005-07-13 06:55:58 0000 -------
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 From Joe Jezak 2005-07-14 09:48:30 0000 -------
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 From Herbert 2005-07-14 12:04:42 0000 -------
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 From Joe Jezak 2005-07-14 12:51:32 0000 -------
Oops, sorry, I meant emerge system -Dupv

:p

------- Comment #12 From Herbert 2005-07-14 12:55:56 0000 -------
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 From Joe Jezak 2005-07-16 10:21:03 0000 -------
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 From Kevin Bowling 2005-07-19 14:43:58 0000 -------
I'm encountering the same bug on my PPC machine.

------- Comment #15 From Kevin Bowling 2005-07-19 15:31:29 0000 -------
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 From Michael Cummings (RETIRED) 2005-07-22 04:05:54 0000 -------
*** Bug 99037 has been marked as a duplicate of this bug. ***

------- Comment #17 From Kevin Bowling 2005-07-22 07:29:42 0000 -------
Ran 'perl-cleaner reallyall' per dev suggestion.  Same error on emerge of
5.8.6.

------- Comment #18 From Kevin Bowling 2005-07-22 09:23:15 0000 -------
Created an attachment (id=64066) [details]
/var/tmp/portage/perl-5.8.6-r5/work/perl-5.8.6/ext/POSIX/Makefile

perl POSIX makefile

------- Comment #19 From Kevin Bowling 2005-07-22 09:23:31 0000 -------
Created an attachment (id=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 From Kevin Bowling 2005-07-22 10:00:52 0000 -------
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 From Brett 2005-07-27 13:53:52 0000 -------
Same issue as Herbert

------- Comment #22 From Kevin Bowling 2005-07-27 15:19:47 0000 -------
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 From Kevin Bowling 2005-08-04 15:25:17 0000 -------
  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 From Herbert 2005-08-08 06:07:48 0000 -------
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 From Herbert 2005-08-08 07:15:33 0000 -------
        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 From Herbert 2005-08-08 07:50:45 0000 -------
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 From Herbert 2005-08-08 10:29:09 0000 -------
I removed the option "-mpowerpc-gpopt" from CFLAGS and perl emerged
successfully!

------- Comment #28 From Herbert 2005-08-09 06:00:33 0000 -------
Reopened bug because I'm not shure if this (remove that option from CFLAGS) can
be done without harming the entire system.

------- Comment #29 From Joe Jezak 2005-08-10 13:51:50 0000 -------
We can simply strip that cflag, on machines that suppport those extensions, the
corresponding -mcpu/-mtune settings will include it automatically.

------- Comment #30 From Joe Jezak 2005-09-01 10:06:21 0000 -------
CFLAG filter is in the ebuild now.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug