Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344553 - dev-lang/perl-5.12.2-r2 can't locate Zlib/autosplit.ix
Summary: dev-lang/perl-5.12.2-r2 can't locate Zlib/autosplit.ix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-07 17:24 UTC by Marcin Mirosław
Modified: 2010-11-08 19:29 UTC (History)
0 users

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


Attachments
build.log (build.log.bz2,41.51 KB, application/bzip2)
2010-11-07 19:29 UTC, Marcin Mirosław
Details
perlemerge (perlemerge.bz2,54.21 KB, application/bzip2)
2010-11-08 09:21 UTC, Marcin Mirosław
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2010-11-07 17:24:06 UTC
First of all, i'm completly not familiar with perl so i'm not sure is this really bug. When I restart spamassassin i;m getting in log:

 spamd[12069]: Can't locate /usr/lib/perl5/5.12.2/auto/Compress/Zlib/autosplit.ix in @INC (@INC conta
ins: .. /etc/mail/spamassassin lib /usr/lib/perl5/vendor_perl/5.12.2/i686-linux /usr/lib/perl5/vendor_perl/5.12.2 /etc/perl /usr/lib/perl5/s
ite_perl/5.12.2/i686-linux /usr/lib/perl5/site_perl/5.12.2 /usr/lib/perl5/5.12.2/i686-linux /usr/lib/perl5/5.12.2 /usr/lib/perl5/site_perl /
usr/lib/perl5/vendor_perl /usr/local/lib/site_perl) at /usr/lib/perl5/5.12.2/AutoLoader.pm line 169

I've got Compress/Zlib/autosplit.ix in:
# ls -lah /usr/lib/perl5/5.12.2/i686-linux/auto/Compress/Raw/Zlib/
autosplit.ix  Zlib.so

I suppose that Autoloader.pm is looking for autosplit.ox in wrong dir (or correct dir isn't in PATH)

Reproducible: Always




# emerge --info
Portage 2.1.8.3 (hardened/linux/x86/10.0, gcc-4.4.5, glibc-2.11.2-r3, 2.6.35-hardened-r5 i686)
=================================================================
System uname: Linux-2.6.35-hardened-r5-i686-Intel-R-_Celeron-R-_CPU_2.40GHz-with-gentoo-1.12.14
Timestamp of tree: Sun, 07 Nov 2010 10:35:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mtune=native -mfpmath=sse -fpeel-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -mtune=native -mfpmath=sse -fpeel-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl en"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--compress-level=0"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local /usr/local/portage/miro"
SYNC="rsync://192.168.2.6/gentoo-portage"
USE="acl acpi activefilter apache2 ares async automount bash-completion bzip2 caps chroot clamav clamd clamdtop cli contentcache cracklib crypt ctype cxx dri dsn erandom exiscan exiscan-acl extras fam ftp gif gmp gnutls gocr graphite gzip hardened iconv idn imap innodb iproute2 ipv6 jpeg json justify kqemu logrotate logwatch lzo maildir memlimit mhash mime mmap mmx mmxext modules mouse mudflap ncurses network-cron nls nntp nptl nptlonly ocrad openmp openssl pam pcre pic png posix pppd profile readline recode reiserfs session smp snmp spell sse sse2 ssl suhosin svg sysfs syslog threads threadsafe tiff tools unicode unzip urandom vhosts vim-pager vim-syntax x86 xattr xml xmlreader zip 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic auth_digest authn_anon authn_default authn_file authz_default authz_groupfile authz_host autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers imagemap info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="sis" XTABLES_ADDONS="geoip ipp2p psd tarpit"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2010-11-07 17:33:10 UTC
Did you run perl-cleaner after upgrading perl?
Comment 2 Marcin Mirosław 2010-11-07 17:41:59 UTC
Yes, i did. But if i wouldn't did this, should'nt it works? Those files belongs to dev-lang/perl , not to any CPAN:
# equery b /usr/lib/perl5/5.12.2/i686-linux/auto/Compress/Raw/Zlib/autosplit.ix
[ Searching for file(s) /usr/lib/perl5/5.12.2/i686-linux/auto/Compress/Raw/Zlib/autosplit.ix in *... ]
dev-lang/perl-5.12.2-r2 (/usr/lib/perl5/5.12.2/i686-linux/auto/Compress/Raw/Zlib/autosplit.ix)

# equery b /usr/lib/perl5/5.12.2/AutoLoader.pm
[ Searching for file(s) /usr/lib/perl5/5.12.2/AutoLoader.pm in *... ]
dev-lang/perl-5.12.2-r2 (/usr/lib/perl5/5.12.2/AutoLoader.pm)
Comment 3 Marcin Mirosław 2010-11-07 17:46:05 UTC
BTW, should be perl-cleanner run if version is changed only from -r1 to -r2?
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2010-11-07 18:43:11 UTC
(In reply to comment #2)
> Yes, i did. But if i wouldn't did this, should'nt it works? Those files belongs
> to dev-lang/perl

You are right. I 

My perl installs:
auto/Compress/Zlib/autosplit.ix

Do you have the build log of your perl?


(In reply to comment #3)
> BTW, should be perl-cleanner run if version is changed only from -r1 to -r2?

No, not needed.
Comment 5 Marcin Mirosław 2010-11-07 19:29:01 UTC
Created attachment 253553 [details]
build.log

I've emerged perl, problem still appears, so i'm attaching buil.log .
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2010-11-08 07:21:18 UTC
  /usr/lib/perl5/5.12.2/i686-linux/auto/Compress/Zlib/autosplit.ix
  /usr/lib/perl5/5.12.2/i686-linux/auto/Compress/Raw/Zlib/autosplit.ix

is printed during install.

Can you attach the log from `emerge -v perl`?
Comment 7 Marcin Mirosław 2010-11-08 09:20:35 UTC
(In reply to comment #6)
> Can you attach the log from `emerge -v perl`?
 

And those files exists in filesystem:
# ls  /usr/lib/perl5/5.12.2/i686-linux/auto/Compress/Raw/Zlib/autosplit.ix
/usr/lib/perl5/5.12.2/i686-linux/auto/Compress/Raw/Zlib/autosplit.ix
# ls /usr/lib/perl5/5.12.2/i686-linux/auto/Compress/Zlib/autosplit.ix
/usr/lib/perl5/5.12.2/i686-linux/auto/Compress/Zlib/autosplit.ix

> Can you attach the log from `emerge -v perl`?
You really mean `emerge -v perl` or `emerge -pv perl`?
If second one:
# emerge -pv perl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-lang/perl-5.12.2-r2  USE="-berkdb -build -debug -doc -gdbm -ithreads" 0 kB

If you really mean `emerge -v perl` i made:
# emerge -1v perl 2>&1 >perlemerge

Comment 8 Marcin Mirosław 2010-11-08 09:21:17 UTC
Created attachment 253593 [details]
perlemerge
Comment 9 Torsten Veller (RETIRED) gentoo-dev 2010-11-08 10:47:51 UTC
So Compress::Zlib is in
   /usr/lib/perl5/5.12.2/Compress/Zlib.pm
but the autosplit.ix file is in
   /usr/lib/perl5/5.12.2/i686-linux/auto/Compress/Zlib/autosplit.ix


The output of spamd looks like:
| perl -e 'require "/usr/lib/perl5/5.12.2/auto/Compress/Zlib/autosplit.ix";'
while
| perl -e 'require "auto/Compress/Zlib/autosplit.ix";'
should work.

Don't know what's the problem here. I can't reproduce it.
Comment 10 Torsten Veller (RETIRED) gentoo-dev 2010-11-08 13:31:41 UTC
Okay, I can confirm the bug and it was already filed upstream:

http://rt.perl.org/rt3/Public/Bug/Display.html?id=74088
Comment 11 Marcin Mirosław 2010-11-08 13:43:22 UTC
Great, i couldn't reproduce it on diffrent host.
Comment 12 Torsten Veller (RETIRED) gentoo-dev 2010-11-08 19:08:08 UTC
Fixed in perl-5.12.2-r3.
Thanks.
Comment 13 Marcin Mirosław 2010-11-08 19:29:38 UTC
Thanks.