Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199635 - dev-lang/perl-5.8.8-r3 @INC path broken due to
Summary: dev-lang/perl-5.8.8-r3 @INC path broken due to
Status: RESOLVED DUPLICATE of bug 199518
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Highest blocker (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-19 07:08 UTC by Robin Johnson
Modified: 2007-11-19 07:23 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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-19 07:08:03 UTC
The latest update to Perl (r2 to r3) broke perl on my x86 machine.
Specifically, the @INC path has changed, and anything installed in the old vendor_perl location is no longer found. Notice how /usr/lib/perl5/ is no longer in ANY of the @INC entries.

newton-int / # equery f SGMLSpm |grep '\.pm'
/usr/lib/perl5/vendor_perl/5.8.8/SGMLS.pm
/usr/lib/perl5/vendor_perl/5.8.8/SGMLS/Output.pm
/usr/lib/perl5/vendor_perl/5.8.8/SGMLS/Refs.pm
newton-int / # perl -MSGMLS::Output
Can't locate SGMLS/Output.pm in @INC (@INC contains: /etc/perl /usr/lib/vendor_perl/5.8.8/i686-linux /usr/lib/vendor_perl/5.8.8 /usr/lib/vendor_perl /usr/lib/site_perl/5.8.8/i686-linux /usr/lib/site_perl/5.8.8 /usr/lib/site_perl /usr/lib/5.8.8/i686-linux /usr/lib/5.8.8 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-19 07:11:18 UTC
My amd64 and ppc64-32ul machines work fine with the patch, it's just my x86 box that has broken.

Portage 2.1.3.19 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.21-rc6-mm1 i686)
=================================================================
System uname: 2.6.21-rc6-mm1 i686 AMD Athlon(tm) XP 2500+
Timestamp of tree: Unknown
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.3.6-r2, 2.4.4-r4, 2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/confcache:  0.4.2-r1
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -Os -pipe"
DISTDIR="/home/gentoo/distfiles"
FEATURES="assume-digests autoaddcvs buildpkg ccache collision-protect cvs digest distlocks lmirror metadata-transfer mirror parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en en_CA en_US en_GB en_ZA"
MAKEOPTS="-j2"
PKGDIR="/home/gentoo/packages/newton-int"
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="/dev/shm"
PORTDIR="/code/gentoo/gentoo-cvs/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage-layman/flameeyes-overlay-private /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi aio alsa amd ao apm ares async automount avi berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo calendar caps cdb cdda cdr cgi clamav clearpasswd cli cpdflib cracklib crypt cscope ctype cups curl curlwrappers daap dbus device-mapper divx4linux dmx doc dri dts dv dvd dvdr dvdread dynagraph emboss encode ethereal exif expat f77 fam fame fastcgi ffmpeg fftw firefox flac flash foomaticdb fortran fpx frxp gcj gd gdbm geoip gif glitz glx gmp gnokii gnults gnuplot gnutls gpm graphviz gs gstreamer gzip hal hpn ical iconv imap imlib innodb insecure-savers ipalias ipod ipv6 irda isdnlog jack jack-tmpfs java javadoc jbig joystick jpeg jpeg2k lcms ldap libnotify libsamplerate libwww linuxthreads-tls live logitech-mouse lzo mad maildir mbox mcal md5sum midi mikmod mjpeg mmx mmxext mod motif mozilla mozplugin mp3 mpeg mpm-prefork mudflap multicall musicbrainz mysql ncurses netjack network nptl nptlonly nsplugin numeric nvidia objc offensive ogg oggvorbis openexr opengl openmp osd pam pcap pcre pda pdf pdflib perl pg-intdatetime pic plotutils png pnp portaudio ppds pppd pulseaudio python qmail quicktime quotas rdesktop readline real reflection rtc ruby samba scanner screen sdl session shout skins slang slp sms sndfile snmp socks5 speex spell spl sqlite sse ssl stream svg swat syslog t1lib tcltk tetex theora tiff truetype truetype-fonts type1 type1-fonts ungif unicode usb userlocales utf8 v4l v4l2 vcd vhosts vidix vim-syntax vlm vorbis win32codecs winbind wmf wxwindows x86 xanim xcb xchatdccserver xcomposite xinerama xml xml2 xorg xosd xrandr xscreensaver xv xvid xvmc yv12 zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="evdev keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_CA en_US en_GB en_ZA" USERLAND="GNU" VIDEO_CARDS="dummy nv nvidia vga vesa none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-19 07:15:14 UTC
This has broken every Perl application on my system :-(.

# perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=linux, osvers=2.6.21-rc6-mm1, archname=i686-linux
    uname='linux newton-int 2.6.21-rc6-mm1 #1 sun apr 8 19:14:08 pdt 2007 i686 amd athlon(tm) xp 2500+ authenticamd 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=athlon-xp -O2 -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 5.8.7 5.8.7/i686-linux  -Dcf_by=Gentoo -Ud_csh -Dusenm -Di_ndbm -Di_gdbm -Di_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 -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-march=athlon-xp -O2 -pipe',
    cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement'
    ccversion='', gccversion='4.1.2 (Gentoo 4.1.2)', 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 -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.6.1'
  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: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
  Built under linux
  Compiled at Nov 18 2007 20:36:15
  @INC:
    /etc/perl
    /usr/lib/vendor_perl/5.8.8/i686-linux
    /usr/lib/vendor_perl/5.8.8
    /usr/lib/vendor_perl
    /usr/lib/site_perl/5.8.8/i686-linux
    /usr/lib/site_perl/5.8.8
    /usr/lib/site_perl
    /usr/lib/5.8.8/i686-linux
    /usr/lib/5.8.8
    /usr/local/lib/site_perl
    .
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-19 07:23:49 UTC
Dupe of 199518

*** This bug has been marked as a duplicate of bug 199518 ***