Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283503 - Unable to build perl-core/version-0.77.01
Summary: Unable to build perl-core/version-0.77.01
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-02 11:48 UTC by Ivan Iraci
Modified: 2009-09-03 14:11 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 Ivan Iraci 2009-09-02 11:48:31 UTC
'emerge perl-core/version-0.77.01' dies 

Reproducible: Always

Steps to Reproduce:
1. emerge perl-core/version
2. kabooom



>>> Emerging (5 of 9) perl-core/version-0.77.01
 * version-0.7701.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                          [ ok ]
 * checking ebuild checksums ;-) ...                                                              [ ok ]
 * checking auxfile checksums ;-) ...                                                             [ ok ]
 * checking miscfile checksums ;-) ...                                                            [ ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking version-0.7701.tar.gz to /var/tmp/portage/perl-core/version-0.77.01/work
>>> Source unpacked in /var/tmp/portage/perl-core/version-0.77.01/work
>>> Preparing source in /var/tmp/portage/perl-core/version-0.77.01/work/version-0.7701 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/perl-core/version-0.77.01/work/version-0.7701 ...
 * Using Module::Build
Creating custom builder _build/lib/MyModuleBuilder.pm in _build/lib
Too early to specify a build action '-s'.  Do 'Build -s' instead.
 *
 * ERROR: perl-core/version-0.77.01 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 2910:  Called perl-module_src_configure
 *             environment, line 2630:  Called perl-module_src_prep
 *             environment, line 2684:  Called die
 * The specific snippet of code:
 *           perl Build.PL --installdirs=vendor --libdoc= --destdir="${D}" --create_packlist=0 ${myconf} <<< "${pm_echovar}" || die "Unable to build! (are you using USE=\"build\"?)";
 *  The die message:
 *   Unable to build! (are you using USE="build"?)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/perl-core/version-0.77.01/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/perl-core/version-0.77.01/temp/environment'.
 *
Comment 1 David Abbott (RETIRED) gentoo-dev 2009-09-02 22:20:24 UTC
Please post emerge --info
attach the build log
are you using perl-Module-Build-0.35
Comment 2 Ivan Iraci 2009-09-03 08:03:30 UTC
(In reply to comment #1)
> Please post emerge --info

Portage 2.2_rc40 (default/linux/amd64/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 03 Sep 2009 07:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r5
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-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.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -mtune=core2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-Os -mtune=core2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.mirrors.tds.net/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="it"
MAKEOPTS="-s -j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
USE="7zip X a52 aac aalib accessibility acl acpi ada aiglx alsa amd64 arts artswrappersuid asterisk audiofile avahi bash-completion beagle berkdb branding browserplugin bzip2 cairo canvas cdda cdr cdrkit cjk cli commercial cracklib crypt css cups dbox2 dbus dga divx4linux djvu dlloader dri dts dv dvb dvd dvdr dvdread dvi eds evo exif exscalibar fat ffmpeg firefox flac foomatic-db fortran freetype fuse gcj gdbm gif gimpprint glitz glut gnokii gnome gnome-keyring gnutls gphoto2 gpm gsm gtk2 hal hfs iconv ieee1394 immqt-bc ipod ipv6 irda isdnlog jack java java6 jfs jingle joystick jpeg jpeg2k kde kdehiddenvisibility kdgraphics kerberos keyring kig-scripting kipi ladspa lame lcd ldap libcaca libnotify lirc live livecd lm_sensors logitech-mouse mad mailwrapper mbrola mikmod mmx mono moznocompose moznoirc moznomail mozsvg mp3 mp3rtp mpeg mudflap multilib musepack musicbrainz nautilus ncurses nls nntp nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis on-the-fly-crypt openexr opengl openmp pam pam_chroot pam_timestamp pcmcia pcre pda pdf perforce perl png povray ppds pppd pulseaudio pwdb python qt qt3support rdesktop readline reflection reiser4 reiserfs remote rtsp ruby samba scanner semantic-desktop session shout skins sms sndfile soundtouch speedo speex spl sse sse2 ssl startup-notification stats stream svg symlink sysfs tcpd theora tiff timidity truetype udev unichrome unicode usb v4l v4l2 vcd visualization vlm vorbis wifi wxwindows x264 xfs xine xinerama xml xml2 xorg xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="audio audio_alsa" NETBEANS_MODULES="apisupport harness ide java nb websvccommon mobility profiler cnd gsf j2ee uml visualweb groovy identity php soa webcommon xml enterprise dlight ergonomics ruby" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nv v4l vesa vga vmware nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

(I skipped CONFIG_PROTECT, CONFIG_PROTECT_MASK and PORTDIR_OVERLAY, because I don't think they would be of any use for you)

> attach the build log

>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking version-0.7701.tar.gz to /var/tmp/portage/perl-core/version-0.77.01/work
>>> Source unpacked in /var/tmp/portage/perl-core/version-0.77.01/work
>>> Preparing source in /var/tmp/portage/perl-core/version-0.77.01/work/version-0.7701 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/perl-core/version-0.77.01/work/version-0.7701 ...
 * Using Module::Build
Creating custom builder _build/lib/MyModuleBuilder.pm in _build/lib
Too early to specify a build action '-s'.  Do 'Build -s' instead.
 * 
 * ERROR: perl-core/version-0.77.01 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 2915:  Called perl-module_src_configure
 *             environment, line 2635:  Called perl-module_src_prep
 *             environment, line 2689:  Called die
 * The specific snippet of code:
 *           perl Build.PL --installdirs=vendor --libdoc= --destdir="${D}" --create_packlist=0 ${myconf} <<< "${pm_echovar}" || die "Unable to build! (are you using USE=\"build\"?)";
 *  The die message:
 *   Unable to build! (are you using USE="build"?)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/perl-core/version-0.77.01/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/perl-core/version-0.77.01/temp/environment'.
 * 


> are you using perl-Module-Build-0.35

Yes. 

Comment 3 Torsten Veller (RETIRED) gentoo-dev 2009-09-03 08:59:21 UTC
(In reply to comment #2)

> LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"

Pay more attention when you break your LDFLAGS.

> (I skipped CONFIG_PROTECT, CONFIG_PROTECT_MASK and PORTDIR_OVERLAY, because I
> don't think they would be of any use for you)

I also gave only minimal support.
Comment 4 Ivan Iraci 2009-09-03 12:49:42 UTC
(In reply to comment #3)

> > LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" 
> Pay more attention when you break your LDFLAGS.

Ok, the problem was the "-s" flag.
But this is THE ONLY package I met complaining about "--strip-all" (why?) in over 7 years, and I have emerged tons of ebuilds on several servers, laptops and workstations...
So I'm tempted to think that there is something wrong in this ebuild and not in the flag itself.
By the way, since "-s" is not really necessary, I removed it and PEACE.
Comment 5 Torsten Veller (RETIRED) gentoo-dev 2009-09-03 14:11:30 UTC
(In reply to comment #4)
> (In reply to comment #3)
> 
> > > LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" 
> > Pay more attention when you break your LDFLAGS.
> 
> Ok, the problem was the "-s" flag.
> But this is THE ONLY package I met complaining about "--strip-all" (why?)

-Wl,-s would be --strip-all. And if you use that, it doesn't fail.

There is no other package failing because perl-core/version is the only Module::Build perl package that tries to use LDFLAGS.

And there is a quoting problem: If you set
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-s"
all flags are passed. Else the first space separates and the
rest is passed as argument to ./Build (like -s).

This is related to bug 233354 and i'll remove the extra_linker_flags from perl-core/version again.
So no more LDFLAGS for Module::Build packages until someone comes with a proper solution.