Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem compiling dev-lang/perl-5.8.8-r2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Siftah
n00b
n00b


Joined: 16 Jun 2003
Posts: 39
Location: Manchester, UK

PostPosted: Fri May 18, 2007 11:59 am    Post subject: Problem compiling dev-lang/perl-5.8.8-r2 Reply with quote

Help, I'm having real problems trying to compile perl-5.8.8-r2 and there doesn't seem to be any alternative eBuilds available.

I've tried changing a few gcc parameters, such as the optimisations, -mtune=powerpc or -mtune=g4 both seem to fail. I can't fathom whether any thing else obvious is missing, any clues?

Quote:

Making x2p stuff
make[1]: Entering directory `/var/tmp/portage/dev-lang/perl-5.8.8-r2/work/perl-5.8.8/x2p'
`sh cflags "optimize='-O1 -mtune=powerpc -fno-strict-aliasing -pipe -fomit-frame-pointer'" hash.o` -DPERL_FOR_X2P hash.c
CCCMD = powerpc-unknown-linux-gnu-gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O1 -mtune=powerpc -fno-strict-aliasing -pipe -fomit-frame-pointer
`sh cflags "optimize='-O1 -mtune=powerpc -fno-strict-aliasing -pipe -fomit-frame-pointer'" str.o` -DPERL_FOR_X2P str.c
CCCMD = powerpc-unknown-linux-gnu-gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O1 -mtune=powerpc -fno-strict-aliasing -pipe -fomit-frame-pointer
`sh cflags "optimize='-O1 -mtune=powerpc -fno-strict-aliasing -pipe -fomit-frame-pointer'" util.o` -DPERL_FOR_X2P util.c
CCCMD = powerpc-unknown-linux-gnu-gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O1 -mtune=powerpc -fno-strict-aliasing -pipe -fomit-frame-pointer
`sh cflags "optimize='-O1 -mtune=powerpc -fno-strict-aliasing -pipe -fomit-frame-pointer'" walk.o` -DPERL_FOR_X2P walk.c
CCCMD = powerpc-unknown-linux-gnu-gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O1 -mtune=powerpc -fno-strict-aliasing -pipe -fomit-frame-pointer
`sh cflags "optimize='-O1 -mtune=powerpc -fno-strict-aliasing -pipe -fomit-frame-pointer'" a2p.o` a2p.c
CCCMD = powerpc-unknown-linux-gnu-gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O1 -mtune=powerpc -fno-strict-aliasing -pipe -fomit-frame-pointer
powerpc-unknown-linux-gnu-gcc -o a2p -L/usr/local/lib hash.o str.o util.o walk.o a2p.o -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
../miniperl -I../lib find2perl.PL
Extracting find2perl (with variable substitutions)

make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.8.8-r2/work/perl-5.8.8/x2p'

Making B (dynamic)
Writing Makefile for B::C
Writing Makefile for B
make[1]: Entering directory `/var/tmp/portage/dev-lang/perl-5.8.8-r2/work/perl-5.8.8/ext/B'
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.8.8-r2/work/perl-5.8.8/ext/B'
make[1]: Entering directory `/var/tmp/portage/dev-lang/perl-5.8.8-r2/work/perl-5.8.8/ext/B'
cp B/Stash.pm ../../lib/B/Stash.pm
cp B/Asmdata.pm ../../lib/B/Asmdata.pm
cp B/C.pm ../../lib/B/C.pm
cp B/Deparse.pm ../../lib/B/Deparse.pm
cp B/Debug.pm ../../lib/B/Debug.pm
cp B/cc_harness ../../lib/B/cc_harness
cp B.pm ../../lib/B.pm
cp B/Bblock.pm ../../lib/B/Bblock.pm
cp B/Terse.pm ../../lib/B/Terse.pm
cp B/Assembler.pm ../../lib/B/Assembler.pm
cp B/CC.pm ../../lib/B/CC.pm
cp O.pm ../../lib/O.pm
cp B/Concise.pm ../../lib/B/Concise.pm
cp B/Lint.pm ../../lib/B/Lint.pm
cp B/Showlex.pm ../../lib/B/Showlex.pm
cp B/Bytecode.pm ../../lib/B/Bytecode.pm
cp B/Disassembler.pm ../../lib/B/Disassembler.pm
cp B/assemble ../../lib/B/assemble
cp B/Xref.pm ../../lib/B/Xref.pm
cp B/Stackobj.pm ../../lib/B/Stackobj.pm
cp B/makeliblinks ../../lib/B/makeliblinks
cp B/disassemble ../../lib/B/disassemble
make[2]: Entering directory `/var/tmp/portage/dev-lang/perl-5.8.8-r2/work/perl-5.8.8/ext/B/C'
../../../../../../../../../var/tmp/portage/dev-lang/perl-5.8.8-r2/work/perl-5.8.8/miniperl "-I../../../lib" "-I../../../lib" ../../../lib/ExtUtils/xsubpp -typemap ../../../lib/ExtUtils/typemap C.xs > C.xsc && mv C.xsc C.c
/bin/sh: ../../../../../../../../../var/tmp/portage/dev-lang/perl-5.8.8-r2/work/perl-5.8.8/miniperl: No such file or directory
make[2]: *** [C.c] Error 127
make[2]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.8.8-r2/work/perl-5.8.8/ext/B/C'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.8.8-r2/work/perl-5.8.8/ext/B'
make: *** [lib/auto/B/B.so] Error 2

!!! ERROR: dev-lang/perl-5.8.8-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3338: Called src_compile
perl-5.8.8-r2.ebuild, line 280: Called die

!!! Unable to make
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-lang/perl-5.8.8-r2/temp/build.log'.

_________________
http://www.siftah.com
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri May 18, 2007 12:09 pm    Post subject: Reply with quote

Can we have your emerge --info details? Is this an upgrade or a new install? Did you remove perl from your system?

It looks like it can't find miniperl which it uses to bootstrap into the new perl. Are there any problems further back in the build?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Siftah
n00b
n00b


Joined: 16 Jun 2003
Posts: 39
Location: Manchester, UK

PostPosted: Fri May 18, 2007 1:14 pm    Post subject: Reply with quote

JoseJX wrote:
Can we have your emerge --info details?


Quote:

cephalopods ~ # emerge --info
Portage 2.1.2.2 (default-linux/ppc/ppc32/2007.0/G4, gcc-4.1.1, unavailable, 2.6.20-gentoo-r5 ppc)
=================================================================
System uname: 2.6.20-gentoo-r5 ppc 7400, altivec supported
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 18 May 2007 01:47:01 +0000
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.61
sys-devel/automake: 1.10
sys-devel/binutils: 2.17
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=powerpc -fno-strict-aliasing -pipe -fomit-frame-pointer"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mtune=powerpc -fno-strict-aliasing -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl altivec berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog libg++ midi ncurses nls nptl nptlonly pcre perl ppc pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="chips dummy fbdev glint imstt mach64 mga nv r128 radeon s3 s3virge savage sisusb tdfx trident v4l voodoo"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


JoseJX wrote:
Is this an upgrade or a new install? Did you remove perl from your system?


It's a new install - I did a fresh stage3 install using the install-ppc-minimal-2007.0.iso image and then with portage-20070514.tar.bz2 and stage3-g4-2007.0.tar.bz2
(The machine is an old PowerMac G4, "Silver" motherboard, blue case model).

I haven't removed Perl, just really did an emerge-webrsync this morning (no SSH access to do an rsync) and then tried to emerge squid which pulled in perl and a bunch of other stuff as a dependency.

JoseJX wrote:
It looks like it can't find miniperl which it uses to bootstrap into the new perl. Are there any problems further back in the build?


Not that I can see, the full build.log for Perl is here though: http://www.siftah.com/junk/build.log

Thanks for looking!
_________________
http://www.siftah.com
Back to top
View user's profile Send private message
Siftah
n00b
n00b


Joined: 16 Jun 2003
Posts: 39
Location: Manchester, UK

PostPosted: Fri May 18, 2007 1:25 pm    Post subject: Reply with quote

Hold on...

I think I've just realised what's going on here, it looks like my seperate /var/ partition has mounted bizarrely, this is probably what's causing the problem.

I shall rectify this first and then see what happens :)
_________________
http://www.siftah.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum