Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133869 - dev-perl/String-ShellQuote-1.00-r1 fails to compile
Summary: dev-perl/String-ShellQuote-1.00-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-20 06:25 UTC by Christian Schlotter
Modified: 2006-08-20 03:16 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 Christian Schlotter 2006-05-20 06:25:05 UTC
Hi!

When trying to emerge dev-perl/String-ShellQuote (either with minimal use flag set or unset), the process fails with the following message:

>>> Unpacking String-ShellQuote-1.00.tar.gz to /var/tmp/portage/String-ShellQuote-1.00-r1/work
>>> Source unpacked.
 * Using ExtUtils::MakeMaker
Checking if your kit is complete...
Looks good
Writing Makefile for String::ShellQuote
Can't locate AutoSplit.pm in @INC (@INC contains: /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/5.8.4 /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /usr/local/lib/site_perl .) at /usr/lib/perl5/5.8.7/ExtUtils/Install.pm line 418.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.7/ExtUtils/Install.pm line 418.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [pm_to_blib] Error 2

Some information about my system (note that I have installed perl with the minimal use flag set):
# emerge --info
Portage 2.0.54-r2 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.4.32-xbox i686)
=================================================================
System uname: 2.4.32-xbox i686 Celeron (Coppermine)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.10
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="-O2 -march=pentium3 -fomit-frame-pointer"
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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 acl alsa apm bitmap-fonts bzip2 cdb cli crypt curl dri eds emboss encode expat foomaticdb fortran gdbm gif gstreamer isdnlog libg++ libwww mmx mp3 ncurses ogg pam pcre pdflib pppd python readline reflection samba session spell spl sse ssl tcpd tiff truetype-fonts type1-fonts vorbis xml2 xorg zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

Best regards
Christian
Comment 1 Christian Schlotter 2006-05-20 13:26:58 UTC
The problem definitely has to do with the perl USE="minimal" install.  I recompiled it with USE="-minimal" and String-ShellQuote compiled flawlessly.
Comment 2 Christian Hartmann (RETIRED) gentoo-dev 2006-05-21 11:45:05 UTC
What version of perl do you have installed? Could you please check if there is a /usr/lib/perl5/*/AutoSplit.pm file around on your system?
Comment 3 Christian Schlotter 2006-05-21 12:29:17 UTC
(In reply to comment #2)
> What version of perl do you have installed? Could you please check if there is
> a /usr/lib/perl5/*/AutoSplit.pm file around on your system?

I have installed perl 5.8.7-r3.  The file /usr/lib/perl5/5.8.7/AutoSplit.pm is present, if perl is installed without the "minimal" USE flag.  However, it is not present when compiling with the "minimal" use flag.





On a side note: Can
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2006-05-21 18:00:09 UTC
(In reply to comment #3)
> I have installed perl 5.8.7-r3.  The file /usr/lib/perl5/5.8.7/AutoSplit.pm is
> present, if perl is installed without the "minimal" USE flag.  However, it is
> not present when compiling with the "minimal" use flag.

This is one of the reasons minimal was taken out of perl as a use flag...what to chop out and what not to chop out wasn't even an art let alone a science. If you emerge perl without the minimal flag (which you can't do with more recent copies of the ebuild anyway) does your problem continue?
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2006-05-21 18:02:55 UTC
minimal was removed from 5.8.8 for this (and other similar reasons). i'll be posting a bug to get it marked stable soon.
Comment 6 Christian Schlotter 2006-05-21 23:34:37 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I have installed perl 5.8.7-r3.  The file /usr/lib/perl5/5.8.7/AutoSplit.pm is
> > present, if perl is installed without the "minimal" USE flag.  However, it is
> > not present when compiling with the "minimal" use flag.
> 
> This is one of the reasons minimal was taken out of perl as a use flag...what
> to chop out and what not to chop out wasn't even an art let alone a science. If
> you emerge perl without the minimal flag (which you can't do with more recent
> copies of the ebuild anyway) does your problem continue?

No, it doesn't continue.  For me the problem is solved, I just installed perl without the "minimum" USE flag.
Comment 7 Yuval Yaari (RETIRED) gentoo-dev 2006-08-20 03:16:13 UTC
dev-lang/perl-5.8.8-r2 no longer has the "minimal" USE flag, and is already stable, thus closing :-)