Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63875 - emerge epm-0.8.8 (and other) fail with perl error msg
Summary: emerge epm-0.8.8 (and other) fail with perl error msg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Sparc Linux
: High major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 04:49 UTC by Martin Hierling
Modified: 2004-12-28 12:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Hierling 2004-09-13 04:49:21 UTC
root@nomad ~ # emerge epm
Calculating dependencies ...done!
>>> emerge (1 of 1) app-portage/epm-0.8.8 to /
>>> md5 src_uri ;-) epm-0.8.8.tar.gz
>>> Unpacking source...
>>> Unpacking epm-0.8.8.tar.gz to /var/tmp/portage/epm-0.8.8/work
>>> Source unpacked.
Perl v5.4.0 required--this is only v5.8.2, stopped at /usr/lib/perl5/5.8.2/vars.pm line 3.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.2/vars.pm line 3.
Compilation failed in require at /usr/lib/perl5/5.8.2/Getopt/Long.pm line 37.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.2/Getopt/Long.pm line 37.
Compilation failed in require at /usr/bin/pod2man line 15.
BEGIN failed--compilation aborted at /usr/bin/pod2man line 15.

!!! ERROR: app-portage/epm-0.8.8 failed.
!!! Function src_compile, Line 15, Exitcode 9
!!! pod2man failed

-----
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
Perl v5.4.0 required--this is only v5.8.2, stopped at -e line 1.
configure: error: perl 5.005 or better is required

!!! ERROR: sys-devel/automake-1.8.5-r1 failed.
!!! Function src_compile, Line 133, Exitcode 1
!!! configure 1.7x failed


so i cant emerge anything that uses perl... 
and Perl v5.4.0 required--this is only v5.8.2, that 5.8x shoud fit.


Reproducible: Always
Steps to Reproduce:
1. emerge epm
2.
3.

Actual Results:  
!!! ERROR: app-portage/epm-0.8.8 failed.
!!! Function src_compile, Line 15, Exitcode 9
!!! pod2man failed



root@nomad ~ # emerge info
Portage 2.0.50-r11 (default-sparc64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.4.27-sparc)
=================================================================
System uname: 2.4.27-sparc sparc64 sun4u
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=ultrasparc"
CHOST="sparc-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="arts avi berkdb bitmap-fonts crypt cups encode esd fbcon foomaticdb
gd-external gdbm gif imlib jpeg ldap libwww mad maildir mikmod motif mysql
ncurses nls oggvorbis opengl oss pam pdflib perl png python readline sdl slang
sparc spell ssl tcpd tiff truetype xml2 xmms xprint xv zlib"

baselayout-1.10.4 and baselayout-1.9.4-r3, same result.
Comment 1 Martin Hierling 2004-09-13 05:08:15 UTC
some other affected packages:
root@nomad ~ # emerge dev-perl/Net-Daemon
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/Net-Daemon-0.37 to /
>>> Downloading http://gentoo.osuosl.org/distfiles/Net-Daemon-0.37.tar.gz
--14:01:40--  http://gentoo.osuosl.org/distfiles/Net-Daemon-0.37.tar.gz
           => `/usr/portage/distfiles/Net-Daemon-0.37.tar.gz'
Resolving gentoo.osuosl.org... 140.211.166.134
Connecting to gentoo.osuosl.org[140.211.166.134]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30,228 [application/x-gzip]

100%[====================================>] 30,228        50.72K/s

14:01:41 (50.59 KB/s) - `/usr/portage/distfiles/Net-Daemon-0.37.tar.gz' saved [30228/30228]

>>> md5 src_uri ;-) Net-Daemon-0.37.tar.gz
>>> Unpacking source...
>>> Unpacking Net-Daemon-0.37.tar.gz to /var/tmp/portage/Net-Daemon-0.37/work
>>> Source unpacked.
Perl v5.4.0 required--this is only v5.8.2, stopped at /usr/lib/perl5/5.8.2/ExtUtils/MakeMaker.pm line 3.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.2/ExtUtils/MakeMaker.pm line 3.
Compilation failed in require at Makefile.PL line 6.
BEGIN failed--compilation aborted at Makefile.PL line 6.
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-perl/Net-Daemon-0.37 failed.
!!! Function perl-module_src_compile, Line 60, Exitcode 2
!!! compilation failed

dev-perl/Storable-2.09

PerlVersion:
root@nomad ~ # perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration:
  Platform:
    osname=linux, osvers=2.4.26-sparc-r1, archname=sparc-linux
    uname='linux ayanami 2.4.26-sparc-r1 #1 sat jun 5 09:44:00 art 2004 sparc64 sun4u ti ultrasparc iii (sabre) gnulinux '
    config_args='-des -Darchname=sparc-linux -Dcccdlflags=-fPIC -Dccdlflags=-rdynamic -Dcc=gcc -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth=  -Doptimize=-O2 -mcpu=ultrasparc -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Dscriptdir=/usr/bin -Dman3ext=3pm -Dcf_by=Gentoo -Ud_csh -Di_db -Ui_ndbm -Ud_longdbl'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -mcpu=ultrasparc',
    cppflags='-DPERL5 -fno-strict-aliasing'
    ccversion='', gccversion='3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=undef, longdblsize=
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lpthread -lnsl -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Jun 25 2004 09:21:20
  @INC:
    /etc/perl
    /usr/lib/perl5/site_perl/5.8.2/sparc-linux
    /usr/lib/perl5/site_perl/5.8.2
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.2/sparc-linux
    /usr/lib/perl5/vendor_perl/5.8.2
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.2/sparc-linux
    /usr/lib/perl5/5.8.2
    /usr/local/lib/site_perl


this is basicly an unpacked stage3 2004.2 for sparc64.
Comment 2 Martin Hierling 2004-09-13 08:11:05 UTC
i can provide access to this maschine from a specific IP
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-10-06 12:40:27 UTC
This has nothing to do with epm specifically.  These are perl issues.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2004-10-06 14:32:53 UTC
matt,

will follow up with out outside the bug. page me on irc.freenode.net if you get a chance (um...nick is...mcummings)

this looks like a broken box (perl wise). epm isn't the problem - emerges fine on my sparc.
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2004-10-07 13:12:40 UTC
Martin (sorry about the matt before) - there is something seriously wrong on your /var partition. I don't know enough to diagnose it, but this isn't perl specific. I have unmerged perl and libperl. Currently, libperl is installed and I am trying again to get perl to install. libperl took 3 tries, and the problems had nothing to do with the compile. At one point, it failed/locked attempting to read and copy files from /var. I wish I could tell you more, but I don't know if its something simple about the way the drive is setup, or something about the drive itself. I'll keep checking in until perl is installed correctly, but I would expect other ebuilds to fail with similarly bizarre results.
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2004-10-07 16:09:54 UTC
Retraction: tried using /gentoo2/var/tmp as the PORTDIR_TMP, same problem - inconsistent as ever though. (repeated attempts at make test managed to work a little bit)
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2004-10-09 07:15:00 UTC
Martin,

This box needs to be rebuilt, or at least have a complete stage1 rebuilt on it. This isn't a problem with perl - from an attempted emerge of glibc & gcc:

cp/typeck.o differs
make[1]: *** [compare-lean] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.4-r1/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.3.4-r1 failed.
!!! Function src_compile, Line 555, Exitcode 2
!!! (no error message)


(the original message is in nohup.out in /root/)

The block of perl source that started all of this is an attempt to do some floating point math comparissons. But even backtracking to gcc/glibc compilation isn't working. We can either keep this ticket open and add at least the sparc team (given the arch), or we can close it and have you open a new ticket once you get a chance (I realize your not available until mid-week next week).

Sorry,

Mike
Comment 8 Martin Hierling 2004-12-28 12:51:12 UTC
Mike,

this was a CPU Bug, after running SUNs VTS Suite (extensive Hardware Tests) we got 2 new CPUs and now everything is fine.

thanks for your time debugging this ...

regards Martin