Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348415 - >=sys-devel/autogen-5.11.3 fails test getopts
Summary: >=sys-devel/autogen-5.11.3 fails test getopts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-11 11:14 UTC by Xake
Modified: 2011-05-16 06:55 UTC (History)
2 users (show)

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


Attachments
5.11.5 build.log (build.log,54.35 KB, text/plain)
2010-12-29 21:42 UTC, Theo Chatzimichos (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2010-12-11 11:14:07 UTC
I have tested autogen-5.11.2 to autogen-5.11.4 and all fails this test with the following:


>run_ag> /var/tmp/portage/sys-devel/autogen-5.11.4/work/autogen-5.11.4/agen5/autogen -L/var/tmp/portage/sys-devel/autogen-5.11.4/work/autogen-5.11.4/autoopts/tpl -L/var/tmp/portage/sys-devel/autogen-5.11.4/work/autogen-5.11.4/autoopts/tpl -m -L/var/tmp/portage/sys-devel/autogen-5.11.4/work/autogen-5.11.4/autoopts/test/testdir/getopt-tmpd -T getopt.tpl getopt.def
/bin/sh: /usr/bin/autoopts-config: /old-home/ROOT/usr/local/bin/bash: bad interpreter: No such file or directory
/bin/sh: /usr/bin/autoopts-config: /old-home/ROOT/usr/local/bin/bash: bad interpreter: No such file or directory
/var/tmp/portage/sys-devel/autogen-5.11.4/work/autogen-5.11.4/autoopts/test/testdir/getopt-tmpd/ccShb5xx.o: In function `main':
/var/tmp/portage/sys-devel/autogen-5.11.4/work/autogen-5.11.4/autoopts/test/testdir/getopt-tmpd/.ag-kdSzML/test_getopt.c:370: undefined reference to `optionProcess'
/var/tmp/portage/sys-devel/autogen-5.11.4/work/autogen-5.11.4/autoopts/test/testdir/getopt-tmpd/.ag-kdSzML/test_getopt.c:371: undefined reference to `optionPutShell'
/var/tmp/portage/sys-devel/autogen-5.11.4/work/autogen-5.11.4/autoopts/test/testdir/getopt-tmpd/ccShb5xx.o:(.data.rel+0x98): undefined reference to `optionUsage'
/var/tmp/portage/sys-devel/autogen-5.11.4/work/autogen-5.11.4/autoopts/test/testdir/getopt-tmpd/ccShb5xx.o:(.data.rel+0x388): undefined reference to `optionVersionStderr'
collect2: ld returned 1 exit status
Killing AutoGen 6415:  cannot compile /var/tmp/portage/sys-devel/autogen-5.11.4/work/autogen-5.11.4/autoopts/test/testdir/getopt-tmpd/.ag-kdSzML/test_getopt.c


So apparently it tries to compile that file without linking against libopts...
I do not know if this is something that only breaks with the hardened setup that always binds with "-z,now". 


# emerge --info
Portage 2.2.0_alpha7 (hardened/linux/amd64, gcc-4.5.1, glibc-2.12.1-r3, 2.6.35-hardened-r7 x86_64)
=================================================================
System uname: Linux-2.6.35-hardened-r7-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 10 Dec 2010 11:00:22 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.3 [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 3.1.3
dev-util/ccache:     3.1.3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo hardened-dev gamerlay-stable x11 mozilla gnome Mine
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb -mtune=native"
DISTDIR="/var/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/os/Linux/distributions/gentoo"
INSTALL_MASK="*.la"
LANG="sv_SE.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--warn-once,--hash-style=gnu"
LINGUAS="sv en"
MAKEOPTS="-j16 -l15"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY="/var/overlays/layman/hardened-development /var/overlays/layman/gamerlay /var/overlays/layman/x11 /var/overlays/layman/mozilla /var/overlays/layman/gnome /var/overlays/mine"
SYNC="rsync://liten.csbnet.se/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 amr amrnb amrwb applet archive asyncns avahi bash-completion bluetooth branding bzip2 cairo caps ccache cdaudio cdda cdr cleartype cli clutter connection-sharing consolekit coverart cracklib crypt cups cxx dbus device-mapper devicekit devkit dhcpcd digitalradio djvu dri dts dvd dvdr dvi eds enca encode eselect evo exif faac faad fat fbcondecor ffmpeg fftw flac fontconfig fuse gdbm gdm gdu gif gimp glib gmp gnome gnome-keyring gphoto2 gpm grammar graphite gsf gsm gstreamer gtk gudev hardened hpn ical iconv iconvacl icq icu id3tag idn ieee1394 iptc ipv6 jabber jack java6 jingle jpeg jpeg2k justify kate kvm lcms libffi libnotify libsamplerate logrotate lvm lvm2 lzma mad maps math matroska md mdadm midi mms mmx mmxext mng moonlight mp2 mp3 mpeg mpi msn mtp mudflap multilib musepack musicbrainz nautilus ncurses network-cron networkmanager nfs nls nntp nptl nptlonly ntfs ntp offensive ogg openal opencore-amr opengl openmp openntpd ots pam pango parted pcre pdf perl pic pidgin playlist png policykit pppd pulseaudio python qt3support quicktime raw readline rrdcgi rtmp samba schroedinger sensord session smp sms speex spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs test tex theora thesaurus threads tiff totem truetype udev unicode upnp urandom usb userlocales v4l2 vaapi vhook videos vim-syntax vorbis webkit wmf x264 xcb xcomposite xmp xmpp xorg xrandr xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv en" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-14 16:34:14 UTC
How about 5.11.5?

 autogen-5.11.5.tar.gz           13-Dec-2010 15:04  1.3M  
Comment 2 Xake 2010-12-14 16:59:59 UTC
(In reply to comment #1)
> How about 5.11.5?
> 
>  autogen-5.11.5.tar.gz           13-Dec-2010 15:04  1.3M  
> 

Thanks for the suggestion, that version works.:-)
Comment 3 Xake 2010-12-14 17:27:35 UTC
After some testing I may have to clarify that the issue may not be a clean tests-fail-issue:

With autogen-5.11.1 installed on system autogen-5.11.4 does not pass testsuit, however autogen-5.11.5 does.
With autogen-5.11.[45] installed both versions seems to pass.

So it seems that some versions (at least the earlier) runs tests against the installed autogen and fails. If this is what is fixed, or if it is something other that changed and that the tests passes now is just a fortunate side-effect I do not know.
Comment 4 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-12-29 21:42:55 UTC
Created attachment 258399 [details]
5.11.5 build.log

i have 5.11.1 installed, and tests fail for 5.11.[345], I'm attaching the build.log of 5.11.5
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2011-05-16 06:55:49 UTC
Thank you Theo. Closing this bug as FIXED per comment 2.