Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127796 - bytes.pm did not return a true value at [...]/Data/Dumper.pm
Summary: bytes.pm did not return a true value at [...]/Data/Dumper.pm
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard: it's something broken in /usr/lib/per...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-27 15:42 UTC by a user
Modified: 2007-02-25 13:33 UTC (History)
1 user (show)

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 a user 2006-03-27 15:42:19 UTC
shadow, autoconf (because of autom4te), and possibly more packages fail with this error:

"""
bytes.pm did not return a true value at /usr/lib/perl5/5.8.7/i686-linux/Data/Dumper.pm line 626.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.7/i686-linux/Data/Dumper.pm line 626.
Compilation failed in require at /usr/share/autoconf/Autom4te/C4che.pm line 35.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/C4che.pm line 35.
Compilation failed in require at /usr/bin/autom4te-2.59 line 39.
BEGIN failed--compilation aborted at /usr/bin/autom4te-2.59 line 39.
"""

"""
Portage 2.0.54 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r0, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
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="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.xxx.net/gentoo-portage"
USE="x86 hardened userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
"""
Comment 1 a user 2006-03-27 15:43:16 UTC
perl = 5.8.7, current ebuild
Comment 2 a user 2006-03-28 13:01:30 UTC
after wiping /usr/lib/perl5 and binary-remerging perl, everything seems fine. i didn't keep the offending tree because i suck.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2006-03-29 02:45:17 UTC
(In reply to comment #2)
> after wiping /usr/lib/perl5 and binary-remerging perl, everything seems fine. i
> didn't keep the offending tree because i suck.
> 

then there's nothing we can do to debug what went wrong. if you emerged from binary, make sure /usr/lib/perl5/<perl-version>/<arch>-linux/Config.pm has values that match what you have in make.conf as far as cflags, etc.
Comment 4 a user 2006-03-29 07:51:37 UTC
i realized i had another copy of the image. when i remerge perl, Config.pm is updated, but there are no CFLAGS.
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2006-03-29 13:40:14 UTC
Please paste perl -V output.
Comment 6 a user 2006-03-29 14:13:52 UTC
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=linux, osvers=2.6.16-rc6-skas3-v9-pre8-g60a6dc55-dirty, archname=i686-linux
    uname='linux minerva 2.6.16-rc6-skas3-v9-pre8-g60a6dc55-dirty #2 sun mar 19 19:59:31 est 2006 i686 gnulinux '
    config_args='-des -Darchname=i686-linux -Dcccdlflags=-fPIC -Dccdlflags=-rdynamic -Dcc=i686-pc-linux-gnu-gcc -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth=  -Doptimize=-march=pentium3 -O3 -pipe -Duselargefiles -Dd_semctl_semun -Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1 -Dinstallman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dinc_version_list=5.8.0 5.8.0/i686-linux 5.8.2 5.8.2/i686-linux 5.8.4 5.8.4/i686-linux 5.8.5 5.8.5/i686-linux 5.8.6 5.8.6/i686-linux  -Dcf_by=Gentoo -Ud_csh -Ui_ndbm -Ui_gdbm -Ui_db'
    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='i686-pc-linux-gnu-gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-march=pentium3 -O3 -pipe',
    cppflags='-fno-strict-aliasing -pipe'
    ccversion='', gccversion='4.1.0 (Gentoo 4.1.0)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='i686-pc-linux-gnu-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.4.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.4'
  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 Mar 29 2006 09:22:31
  @INC:
    /etc/perl
    /usr/lib/perl5/site_perl/5.8.7/i686-linux
    /usr/lib/perl5/site_perl/5.8.7
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.7/i686-linux
    /usr/lib/perl5/vendor_perl/5.8.7
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/5.8.7/i686-linux
    /usr/lib/perl5/5.8.7
    /usr/local/lib/site_perl
    .
Comment 7 Yuval Yaari (RETIRED) gentoo-dev 2006-04-12 13:05:46 UTC
Could you please attach bytes.pm (`perldoc -l bytes` to figure out where it is) ?
I'm just wondering if bytes.pm is actually b0rked...
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 13:33:06 UTC
Well, get back to us; see comment #7.