Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293758 - sys-devel/libtool-2.2.6b: test "46: lt_dlopen archive" fails
Summary: sys-devel/libtool-2.2.6b: test "46: lt_dlopen archive" fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 297407 300760 338102 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-19 20:58 UTC by Yaroslav Isakov
Modified: 2014-10-28 01:29 UTC (History)
14 users (show)

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


Attachments
emerge --info output (ei,3.81 KB, text/plain)
2009-11-19 20:59 UTC, Yaroslav Isakov
Details
testsuite.log (testsuite.log,96.51 KB, text/plain)
2009-11-19 20:59 UTC, Yaroslav Isakov
Details
emerge --info output (emerge.out,5.09 KB, text/plain)
2009-11-22 09:52 UTC, Patrick Kursawe (RETIRED)
Details
build log test 16 and 74 failed (20100222-171445.log,43.94 KB, text/plain)
2010-02-22 17:36 UTC, Bjoern Thorwirth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Isakov 2009-11-19 20:58:48 UTC
46: lt_dlopen archive FAILED (lt_dlopen_a.at:95)
Comment 1 Yaroslav Isakov 2009-11-19 20:59:13 UTC
Created attachment 210640 [details]
emerge --info output
Comment 2 Yaroslav Isakov 2009-11-19 20:59:57 UTC
Created attachment 210641 [details]
testsuite.log
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2009-11-22 09:52:14 UTC
Created attachment 210860 [details]
emerge --info output

Same problem here.
Comment 4 Joshua Pettett 2009-12-08 18:15:43 UTC
This test passes with sandbox disabled.
Comment 5 SpanKY gentoo-dev 2009-12-18 16:01:16 UTC
*** Bug 297407 has been marked as a duplicate of this bug. ***
Comment 6 Claes 2009-12-28 12:40:44 UTC
Same error, removing sandbox from features did not help.

# emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/server, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 28 Dec 2009 07:45:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O1 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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 /etc/udev/rules.d"
CXXFLAGS="-march=native -O1 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms splitdebug strict test unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.df.lth.se/pub/gentoo/ http://ftp.ing.umu.se/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.uni-c.dk/pub/gentoo/ http://ftp.klid.dk/ftp/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/letharion"
SYNC="rsync://94.247.168.189/gentoo-portage"
USE="acl amd64 apache2 bash-completion bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 ldap mmx modules mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session snmp spl sse sse2 ssl symlink sysfs tcpd truetype unicode xml xorg 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



testsuite.log
17. duplicate_deps.at:25: testing ...
libtool: compile:  x86_64-pc-linux-gnu-gcc -march=native -O1 -pipe -ggdb -c a1.c  -fPIC -DPIC -o .libs/a1.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -march=native -O1 -pipe -ggdb -c a1.c -o a1.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -march=native -O1 -pipe -ggdb -c a2.c  -fPIC -DPIC -o .libs/a2.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -march=native -O1 -pipe -ggdb -c a2.c -o a2.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -march=native -O1 -pipe -ggdb -c b1.c  -fPIC -DPIC -o .libs/b1.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -march=native -O1 -pipe -ggdb -c b1.c -o b1.o >/dev/null 2>&1
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/liba.a .libs/a1.o .libs/a2.o
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/liba.a
libtool: link: ( cd ".libs" && rm -f "liba.la" && ln -s "../liba.la" "liba.la" )
libtool: link: (cd .libs/libb.lax/liba.a && x86_64-pc-linux-gnu-ar x "/var/tmp/portage/sys-devel/libtool-2.2.6b/work/libtool-2.2.6b/tests/testsuite.dir/17/./.libs/liba.a")
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libb.a .libs/b1.o   .libs/libb.lax/liba.a/a1.o .libs/libb.lax/liba.a/a2.o
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libb.a
libtool: link: rm -fr .libs/libb.lax
libtool: link: ( cd ".libs" && rm -f "libb.la" && ln -s "../libb.la" "libb.la" )
./duplicate_deps.at:58: $LIBTOOL --mode=link --tag=CC \
     $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT liba.la libb.la
Not enabling shell tracing (command contains an embedded newline)
stderr:
stdout:
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O1 -pipe -ggdb -Wl,-O1 -Wl,--no-as-needed -o main main.o  ./.libs/liba.a ./.libs/libb.a
./duplicate_deps.at:61: ./main; lt_status=$?; if test $lt_status -eq 0; then :;
      elif test "X$host" != "X$build" && \
           { test -x "./main" || test -x "./main"$EXEEXT; }
      then (exit 77); else (exit $lt_status); fi
Not enabling shell tracing (command contains an embedded newline)
libtool: link: rm -fr  .libs/libb.a .libs/libb.la
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libb.a .libs/b1.o
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libb.a
libtool: link: ( cd ".libs" && rm -f "libb.la" && ln -s "../libb.la" "libb.la" )
./duplicate_deps.at:66: $LIBTOOL --mode=link --tag=CC \
     $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT liba.la libb.la liba.la \
     && exit 77
Not enabling shell tracing (command contains an embedded newline)
stderr:
./.libs/liba.a(a1.o): In function `a1':
/var/tmp/portage/sys-devel/libtool-2.2.6b/work/libtool-2.2.6b/tests/testsuite.dir/17/a1.c:2: undefined reference to `b1'
collect2: ld returned 1 exit status
stdout:
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O1 -pipe -ggdb -Wl,-O1 -Wl,--no-as-needed -o main main.o  ./.libs/libb.a ./.libs/liba.a
./duplicate_deps.at:72: $LIBTOOL --mode=link --preserve-dup-deps --tag=CC \
     $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT liba.la libb.la liba.la
Not enabling shell tracing (command contains an embedded newline)
stderr:
./.libs/liba.a(a1.o): In function `a1':
/var/tmp/portage/sys-devel/libtool-2.2.6b/work/libtool-2.2.6b/tests/testsuite.dir/17/a1.c:2: undefined reference to `b1'
collect2: ld returned 1 exit status
stdout:
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O1 -pipe -ggdb -Wl,-O1 -Wl,--no-as-needed -o main main.o  ./.libs/libb.a ./.libs/liba.a
./duplicate_deps.at:72: exit code was 1, expected 0
17. duplicate_deps.at:25: 17. preserve duplicate convenience deps (duplicate_deps.at:25): expected failure (duplicate_deps.at:72)
Comment 7 Andreas Schürch gentoo-dev 2010-01-11 15:12:48 UTC
This version indeed runs (at least also here) through the tests (nr. 46 is the bad one) on x86 and amd64 as long as FEATURES="-sandbox" is set! 

libsandbox:  Can't dlopen libc: (null)
It seems that sandbox hates me anyway! ;-)

That test wasn't existent in 2.2.6a... Maybe we should just disable that specific test instead of sandbox as a whole, as "dlopen libc" seems to be problematic from within the sandbox! (see the app-forensics/aide ebuild for example)

It could be done in the ebuild with a simple 'export TESTSUITEFLAGS="1-45 47-75"' which worked for me even with the sandbox enabled on x86 and amd64 ! :-)
Comment 8 n.reyrolle 2010-01-15 09:14:20 UTC
For information, same error here (on x86), but compiles fine without sandbox feature.

Comment 9 Claes 2010-02-09 21:41:43 UTC
I stated that removing sandbox from features didn't help, but I see now that my FEATURES still contains sandbox. Not sure where it's coming from, but my post #6 can be disregarded
Comment 10 Yaroslav Isakov 2010-02-09 22:07:32 UTC
Test is ok with sandbox-2.2
Comment 11 Bjoern Thorwirth 2010-02-22 17:36:58 UTC
Created attachment 220715 [details]
build log test 16 and 74 failed

test 16 and 74 are failing here with sandbox-2.2
Comment 12 Bjoern Thorwirth 2010-02-22 17:37:37 UTC
Error during set creation: Redefinition of set 'kde' (sections: 'usersets', 'kde sets')
Portage 2.2_rc63-r1 (unavailable, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-tuxonice-r1 x86_64)
=================================================================
System uname: Linux-2.6.32-tuxonice-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 22 Feb 2010 09:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.5.4-r4, 2.6.4-r99
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.18-r4
sys-devel/gcc:       3.3.6-r1, 3.4.6-r2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j5"
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"
PORTDIR_OVERLAY="/usr/local/portage/local-overlay /usr/local/portage/layman/python /usr/local/portage/layman/pythonhead /usr/local/portage/layman/gnome /usr/local/portage/layman/java-overlay /usr/local/portage/layman/pro-audio /usr/local/portage/layman/sunrise /usr/local/portage/layman/wolf31o2 /usr/local/portage/layman/science /usr/local/portage/layman/ladi /usr/local/portage/layman/multilib /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/xemacs /usr/local/portage/layman/enlightenment /usr/local/portage/layman/kde /usr/local/portage/layman/sage-on-gentoo /usr/local/portage/layman/jyujin"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aac aalib accessibility acl acpi ada alsa amarok amd64 apache2 audiofile authdaemond avahi bash-completion berkdb bidi bindist blas bluetooth branding bzip2 cairo caps cblas cdda cdr chm clearcase cli config_wizard consolekit cpudetection cracklib crypt css cups curl cxx dbus dga djvu dri dssi dts dv dvb dvd dvdr dvdread dvi eds emacs emboss encode esd etk evo ewl extraicons extramodules fam fame fat fbcon fbcondecor fbsplash ffmpeg fftw flac flash fluidsynth foomaticdb fortran fuse gd gdbm gif glitz gnome gnome-keyring gnutls gphoto2 gpm gs gsm gstreamer gtk hal hdaps iconv icq id3 ieee1394 imagemagick imap inkjar inotify ipv6 irc irda jabber jack jackmidi java jfs jingle joystick jpeg kde kipi kqemu ladspa lame laptop lash latex lcd lcms ldap libcaca libnotify libwww live lm_sensors lv2 lzo mad mail maildir matroska midi mikmod mmx mng modules mono mp3 mp4 mpeg mpi mudflap multilib musepack musicbrainz nautilus ncurses network new-login nls nptl nptlonly nsplugin ntfs nv nvidia obex ogg ole openal openexr opengl openmp oss pam pascal pch pcmcia pcre pdf perl php pmu png povray ppds pppd pulseaudio python qt3 qt3support qt4 quicktime quotas radio rar rdesktop readline reflection reiser4 reiserfs rss ruby samba sasl scanner sdl session shout skins slp smp sms sndfile speex spell spl sql sqlite sse sse2 ssl ssse3 startup-notification stream subversion svg sysfs tcpd test theora threads thunar tiff tk truetype tta unicode usb vcd visualization voice vorbis vst wavpack weather wifi winbind wma wmf wxwindows x264 xcb xfs xine xinerama xiph xml xorg xosd xpm xprint xscreensaver xsl 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 13 Ryan Hill (RETIRED) gentoo-dev 2010-02-25 05:17:53 UTC
*** Bug 300760 has been marked as a duplicate of this bug. ***
Comment 14 Robert Piro 2010-02-28 11:46:26 UTC
(In reply to comment #6)
> Same error, removing sandbox from features did not help.

amd64: Same here. Adding -sandbox to the FEATURE variable did not help. 

Apart form that, since about half a year, nothing compiles right. Always test issues. (Python 2.6.4 as well. I shall file a bug) Sometimes I have to wait months before being able to install the newest version, because I get errors over errors and have to wait for new package versions.

It seems to me, that at least for the amd64-branch there is a dependency with sandbox-2.2. Please set libtools-2.2.6b back to testing. 
Comment 15 Jeremy Murphy 2010-06-25 02:31:01 UTC
What about looking at stabilizing 2.2.8?  There are no open bugs as yet.
Comment 16 Luca Lesinigo 2010-08-27 15:20:16 UTC
Using FEATURES=-sandbox will make it pass the tests on my gentoo/amd64 hardened system.

~ # emerge --info
Portage 2.1.8.3 (hardened/linux/amd64/10.0/no-multilib, gcc-4.3.4, glibc-2.11.2-r0, 2.6.31-gentoo-r6-domU x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-domU-x86_64-Intel-R-_Xeon-R-_CPU_X3323_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 22 Aug 2010 16:00:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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="-pipe -O2 -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 augeas bash-completion bcmath berkdb bzip2 cgi cli cracklib crypt ctype cups curl cxx diskio dri filter gd gdbm hardened iconv iproute2 ipv6 justify mfd-rewrites mmx modules mudflap mysql mysqli ncurses nethack nls nptl nptlonly offensive openmp pam pcre perl pic pppd python readline reflection rrdtool rss ruby session snmp sockets spl sse sse2 ssl subversion suhosin svg sysfs unicode urandom vhosts vim-syntax xml xorg 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="alias auth_basic authn_file authz_host autoindex cgi dav dav_fs deflate dir env filter headers log_config logio mime mime_magic proxy proxy_http setenvif so status unique_id" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 17 Luca Lesinigo 2010-09-02 15:10:05 UTC
Did some tests: both libtool-2.2.6b and libtool-2.2.8-r1 will fail with FEATURES="test sandbox" and will emerge correctly with FEATURES="test -sandbox" on both amd64 and hppa platforms.

In every case the failing test is test_dlopen. On amd64 with hardened/no-multilib profile it does not change anything when using the 'vanilla' gcc profile in place of the standard hardened one.

Hope this helps.
Comment 18 SpanKY gentoo-dev 2010-09-20 16:36:14 UTC
*** Bug 338102 has been marked as a duplicate of this bug. ***
Comment 19 Luca Lesinigo 2010-09-22 12:02:24 UTC
libtool-2.2.10 fails the same test under the same circumstances as previous versions, on gentoo/amd64
Comment 20 Myckel Habets (work) 2010-09-22 12:19:33 UTC
(In reply to comment #19)
> libtool-2.2.10 fails the same test under the same circumstances as previous
> versions, on gentoo/amd64
> 

A new sandbox is in the process of being stabilized (see bug 338092). That seems to fix this bug. You might want to try and test it for amd64.
Comment 21 Myckel Habets (work) 2010-09-22 12:20:42 UTC
(In reply to comment #20)
> (In reply to comment #19)
> > libtool-2.2.10 fails the same test under the same circumstances as previous
> > versions, on gentoo/amd64
> > 
> 
> A new sandbox is in the process of being stabilized (see bug 338092). That
> seems to fix this bug. You might want to try and test it for amd64.
> 

Oops, wrong bug. It's bug 338113.
Comment 22 Luca Lesinigo 2010-09-27 09:44:11 UTC
sys-devel/libtool-2.2.10 (stable on amd64) emerges fine on hardened/linux/amd64/10.0/no-multilib after upgrading to sys-apps/sandbox-2.3-r1 (it's already stable on amd64) using FEATURES="sandbox test". I won't bother checking if 2.2.6b is ok too since the newer version has already been marked stable.
Comment 23 SpanKY gentoo-dev 2014-10-28 01:29:15 UTC
should be fixed w/libtool-2.4.x which is stable now