Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202263 - sys-devel/autogen-5.9.2 fails tests on ppc64
Summary: sys-devel/autogen-5.9.2 fails tests on ppc64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-14 14:50 UTC by Alexis Ballier
Modified: 2008-03-14 11:30 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 Alexis Ballier gentoo-dev 2007-12-14 14:50:56 UTC
+ test 1 -gt 0
+ ./nested '-?'
+ Csrc=
+ Cexe=
+ Dnam=
+ basehelp=nested-base.help
+ echo creating nested-base.help
creating nested-base.help
+ cat
+ cmp -s nested-base.help nested.help
+ cat
+ ./nested -s 'stumble, foo, <bar type=integer>1234</bar> able'
+ sed '/ nested:/s/ 0x.*/ 0xXXXXXXXX/'
+ cmp -s nested-res1.base nested-res1.out
++ diff nested-res1.base nested-res1.out
+ failure '5c5
< bar      -- integer:   1234
---
> bar      -- integer:   5299989643264'
+ :
+ test -d ../FAILURES
+ mkdir ../FAILURES
+ set +x
FAILURE: 5c5
< bar      -- integer:   1234
---
> bar      -- integer:   5299989643264
FAIL: nested.test
PASS: argument.test
PASS: cond.test
[...]
--- config.res	2007-12-14 15:47:55.000000000 +0100
***************
*** 4,10 ****
  over everything.
  alpha    -- no value
  beta     -- string:   , gamma
! zzyzx    -- integer:   180388626432
  YES!!
  alpha    -- no value
  beta     -- string:   , gamma
--- 4,10 ----
  over everything.
  alpha    -- no value
  beta     -- string:   , gamma
! zzyzx    -- integer:   42
  YES!!
  alpha    -- no value
  beta     -- string:   , gamma
***************
*** 15,19 ****
  nasty    -- nested:   0xXXXXXXXX
  stumble  -- string:   The	quickbrown fox	jumped
  over everything.
! zzyzx    -- integer:   180388626432
  ./config.cfg -- nested:   0xXXXXXXXX
--- 15,19 ----
  nasty    -- nested:   0xXXXXXXXX
  stumble  -- string:   The	quickbrown fox	jumped
  over everything.
! zzyzx    -- integer:   42
  ./config.cfg -- nested:   0xXXXXXXXX'
+ :
+ test -d ../FAILURES
+ cd ../FAILURES
+ purge -rf 'config*' '.*config*'
+ rm -rf -rf 'config*' '.*config*'
+ bad=
+ for f in '"$@"'
+ test -f -rf -o -d -rf
+ for f in '"$@"'
+ test -f 'config*' -o -d 'config*'
+ for f in '"$@"'
+ test -f '.*config*' -o -d '.*config*'
+ test -z ''
+ return 0
+ set +x
FAILURE: *** config.out	2007-12-14 15:47:55.000000000 +0100
--- config.res	2007-12-14 15:47:55.000000000 +0100
***************
*** 4,10 ****
  over everything.
  alpha    -- no value
  beta     -- string:   , gamma
! zzyzx    -- integer:   180388626432
  YES!!
  alpha    -- no value
  beta     -- string:   , gamma
--- 4,10 ----
  over everything.
  alpha    -- no value
  beta     -- string:   , gamma
! zzyzx    -- integer:   42
  YES!!
  alpha    -- no value
  beta     -- string:   , gamma
***************
*** 15,19 ****
  nasty    -- nested:   0xXXXXXXXX
  stumble  -- string:   The	quickbrown fox	jumped
  over everything.
! zzyzx    -- integer:   180388626432
  ./config.cfg -- nested:   0xXXXXXXXX
--- 15,19 ----
  nasty    -- nested:   0xXXXXXXXX
  stumble  -- string:   The	quickbrown fox	jumped
  over everything.
! zzyzx    -- integer:   42
  ./config.cfg -- nested:   0xXXXXXXXX
FAIL: config.test


[ebuild   R   ] dev-scheme/guile-1.8.3-r1  USE="deprecated nls regex threads -debug -debug-freelist -debug-malloc -discouraged -elisp -networking" 0 kB 


I didnt deeply investigate it, but I'd bet on an endianness issue
Comment 1 Alexis Ballier gentoo-dev 2007-12-14 14:51:34 UTC
emerge --info
Portage 2.1.4_rc10 (default-linux/ppc/ppc64/2007.0/64bit-userland, gcc-4.2.2, glibc-2.7-r1, 2.6.24-rc2-g8c086340 ppc64)
=================================================================
System uname: 2.6.24-rc2-g8c086340 ppc64 PPC970, altivec supported
Timestamp of tree: Fri, 14 Dec 2007 13:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.5.1-r4
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="ppc64 ~ppc64"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildsyspkg collision-protect distlocks fixpackages metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LINGUAS="en fr"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /share/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl alsa altivec audiofile bash-completion berkdb bitmap-fonts bogofilter bzip2 cairo cdda cddb cdio cdr cjk cli cracklib crypt cups curl dbus djvu dri dts dv dvd dvdr dvdread dvi encode exif ffmpeg fftw firefox flac fontconfig fortran gdbm gif glitz gnome gnutls gpm graphviz gs gstreamer gtk hal hfs icecast iconv ieee1394 imagemagick imap imlib ipv6 isdnlog ithreads jack jbig jpeg jpeg2k kpathsea ladspa lame latex lcms libcaca libnotify libsamplerate live lyrics lzo mad matroska md5sum midi mikmod mjpeg mng mod modplug mp2 mp3 mpeg mudflap musepack ncurses nls nodrm nptl nptlonly nsplugin ogg openexr opengl openmp pam pango pcre pdf perl png ppc64 ppds pppd python qt3 qt3support qt4 quicktime raw readline reflection regex sdl session shout skins smp sndfile speex spell spl sql sqlite sqlite3 ssl svg t1lib taglib tcpd test tetex tga theora threads tiff timidity truetype truetype-fonts tta type1-fonts unicode vim-syntax vorbis wavpack wma wmf wxwindows x264 xcb xml xorg xulrunner xv xvid xvmc zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" LINGUAS="en fr" USERLAND="GNU" VIDEO_CARDS="nv fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Dustin Polke 2008-01-28 13:10:00 UTC
I have getopt.test failure on my x86 box:

PASS: errors.test
++ lo_dir=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts
++ test -d /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/.libs
++ lo_dir=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/.libs
++ LD_LIBRARY_PATH=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/.libs::/dev/null
+++ echo /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/.libs/libopts.a /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/.libs/libguileopts.a -Wl,-R -pthread -lguile -lltdl -lgmp -lcrypt -lm -lltdl
++ LIB='/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/.libs/libopts.a /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/.libs/libguileopts.a -Wl,-R -pthread -lguile -lltdl -lgmp -lcrypt -lm -lltdl'
++ export LD_LIBRARY_PATH
++ cd testdir
+++ pwd
++ testsubdir=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/testdir
+++ for f in '${top_builddir}' '${top_srcdir}'
+++ for d in . autoopts agen5
+++ cd /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/.
+++ pwd
+++ sort -u
+++ sed 's/^/-I/'
+++ for d in . autoopts agen5
+++ cd /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts
+++ pwd
+++ for d in . autoopts agen5
+++ cd /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5
+++ pwd
+++ for f in '${top_builddir}' '${top_srcdir}'
+++ for d in . autoopts agen5
+++ cd /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/.
+++ pwd
+++ for d in . autoopts agen5
+++ cd /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts
+++ pwd
+++ for d in . autoopts agen5
+++ cd /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5
+++ pwd
++ dirs='-I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2
-I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5
-I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts'
+++ echo -I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2 -I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5 -I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts
++ INC='-I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2 -I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5 -I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts   -pthread '
+++ cd /../bin
+++ pwd
++ f=/bin
++ PATH=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/columns:/bin:/usr/lib/ccache/bin:/usr/local/sbin:/sbin:/usr/sbin:/usr/lib/portage/bin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/qt/3/bin
++ stdopts=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/stdopts.def
+++ cd /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/..
+++ pwd
++ AG_L='/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5/autogen -L/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts'
++ test_main=yes
++ use_flags=true
++ : '=== Running getopt.test for getopt using /bin/sh ==='
++ chmod +w getopt.log
++ export SHELL
++ case "$-" in
++ SHELLX='/bin/sh -x'
++ autoopts-config cflags
+ f=' '
+ test -z ' '
+ CC='i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -march=athlon-xp -O2 -pipe -m3dnow -msse -mmmx -I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2 -I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5 -I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts   -pthread '
+ CFLAGS=
+ INC=
++ pwd
+ TMPDIR=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/testdir/getopt-inc
+ mkdir /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/testdir/getopt-inc /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/testdir/getopt-inc/autoopts
++ pwd
+ srcdir=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/testdir
+ CFLAGS='-I /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/testdir/getopt-inc  '
+ LDFLAGS=' /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/.libs/libopts.a /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/.libs/libguileopts.a -Wl,-R -pthread -lguile -lltdl -lgmp -lcrypt -lm -lltdl'
+ export srcdir CFLAGS LDFLAGS TMPDIR
+ aolib=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/.libs/libopts.a
+ test -f /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/.libs/libopts.a
+ sed -e '/ CFLAGS=/s@ *`autoopts-config cflags`@ -I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts@' -e '/ LDFLAGS=/s@ *`autoopts-config ldflags`@ /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/.libs/libopts.a@' /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/getopt.tpl
+ destdir=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/testdir/getopt-inc/autoopts
+ top_builddir=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2
+ /bin/sh /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/install-options-h
+ egrep '#undef +AUTOOPTS_ENABLED' /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/config.h
++ dirname /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/install-options-h
+ srcdir=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts
++ cd /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts
++ pwd
+ srcdir=/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts
+ rm -f /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/testdir/getopt-inc/autoopts/options.h
+ exec
+ sed '/^#include <sys/q' /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/autoopts/options.h
+ egrep 'define +HAVE_STDINT_H' /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/config.h
+ echo '#include <stdint.h>'
+ egrep 'define +HAVE_LIMITS_H' /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/config.h
+ echo '#include <limits.h>'
+ egrep 'define +HAVE_U_INT' /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/config.h
+ :
+ egrep 'define +HAVE_SYSEXITS_H' /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/config.h
+ echo '#include <sysexits.h>'
+ egrep 'define +NO_OPTIONAL_OPT_ARGS' /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/config.h
+ sed '1,/endif.*HAVE_SYSEXITS_H/d' /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/autoopts/options.h
+ exec
++ pwd
+ echo 'creating getopt.def in /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/testdir'
creating getopt.def in /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/testdir
+ cat
+ echo creating getopt1-base.c
creating getopt1-base.c
+ cat
+ echo creating getopt2-base.c
creating getopt2-base.c
+ cat
+ compile_getopt 1
+ echo /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5/autogen -L/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts getopt.def
/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5/autogen -L/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts getopt.def
+ /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5/autogen -L/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts getopt.def
+ /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5/autogen -L/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts -L /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/testdir/getopt-inc -T getopt.tpl getopt.def
+ sed '2,/and the template file/d
      /\$Id:/d
      /Last template edit:/d' getopt-test_getopt.c
+ i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -march=athlon-xp -O2 -pipe -m3dnow -msse -mmmx -I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2 -I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/agen5 -I/var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts -pthread -I /var/tmp/portage/sys-devel/autogen-5.9.2/work/autogen-5.9.2/autoopts/test/testdir/getopt-inc -c getopt1-getopt.c
+ cmp -s getopt1-base.c getopt1-getopt.c
+ set +x
FAILURE: *** getopt1-base.c     2008-01-28 14:06:40.000000000 +0100
--- getopt1-getopt.c    2008-01-28 14:06:42.000000000 +0100
***************
*** 44,61 ****
               test_getoptOptions.pzProgName);
    else
      {
!       fputs (_("test_getopt - Test AutoOpts for getopt - Ver. 1.2.3\n\
! USAGE:  test_getopt { -<flag> [<val>] }...\n\n\
!    -o str     The option option descrip\n\
!    -s str     The second option descrip\n\
!    -F         option with no flag\n\
!    -X         option with max ct\n\
!    -M         option with min ct\n\
!    -2         option with min ct\n\
!    -v         Output version information and exit\n\
!    -h         Display usage information and exit\n\
!    -!         Extended usage information passed thru pager\n\n\n\
! please send bug reports to:  bkorb@gnu.org\n"), stdout);
      }
  
    exit (status);
--- 44,50 ----
               test_getoptOptions.pzProgName);
    else
      {
!       fputs (_("\n"), stdout);
      }
  
    exit (status);
FAIL: getopt.test
Comment 3 Dustin Polke 2008-01-28 13:11:19 UTC
For completeness my emerge --info:

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6-stable i686)
=================================================================
System uname: 2.6.23-gentoo-r6-stable i686 mobile AMD Athlon(tm) XP 1500+
Timestamp of tree: Mon, 28 Jan 2008 01:16:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -m3dnow -msse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -m3dnow -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/"
LANG="de_DE.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/home/ftp/binpkg/"
PORTAGE_COMPRESS=""
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/alon-barlev /usr/local/portage/layman/haskell /usr/local/portage/layman/sunrise /usr/local/portage/modified /usr/local/portage/own"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac aalib accessibility acl acpi alsa amr amrnb amrr amrwb apm async audacious audiofile bash-completion berkdb bindist bitmap-fonts bl branding bzip2 cardbus cjk cli cpudetection cracklib crypt ctype cups dbus dga divx dri dvd dvdread eds encode evo exif expat extensions fam fbcon fbsplash ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gedit gif gimp gimpprint glade glibc-omitfp glitz gmedia gmp gnutls gs gsm gtk gtkhtml guile hddtemp iconv icq idn imagemagick imap imlib iproute2 isdnlog jack java javascript jikes jpeg jpeg2k kerberos keyscrub kpathsea latex lcms ldap libcaca libwww live lm_sensors logrotate lzo mad madwifi memlimit midi mikmod mime mmx mmxext mng motif mp2 mp3 mp4 mpeg mudflap musepack ncurses nls nntp nptl nptlonly nsplugin ogg opengl pam pam_timestamp pch pcmcia pcre pda pdf perl plotutils png posix postgres ppds pppd print python quicktime readline real realmedia reflection ruby rubytests samba sasl sdl server session simplexml slang sndfile soap sockets speex spell spl sse ssl suhosin svg swat syslog tcpd test tetex tga theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd vidix vim-syntax vim-with-x vorbis wifi win32codecs winbind wma wmf wmp wxwindows x264 x86 xanim xine xinetd xml xorg xpm xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="via82xx via82xx-modem mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" CAMERAS="fuji" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="savage"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS_FLAG
Comment 4 SpanKY gentoo-dev 2008-01-29 22:17:46 UTC
reduced test case:
$ cat config.cfg
<zzyzx type=integer>42</zzyzx>
$ cat config.c
#include <stdio.h>
#include <stdint.h>
#include <autoopts/options.h>

int main(int argc, char *argv[])
{
        const tOptionValue *pOV = configFileLoad("config.cfg");
        const tOptionValue *pGV = optionGetValue(pOV, "zzyzx");
        printf("integer: %ld\n", pGV->v.longVal);
        return 0;
}
$ gcc config.c -lopts -o config
$ ./config
integer: 180388626432
Comment 5 Dustin Polke 2008-02-18 11:04:56 UTC
(In reply to comment #2)
> I have getopt.test failure on my x86 box:

This issue has now its own bug (#210573). So I go there.
Comment 6 Alexis Ballier gentoo-dev 2008-03-14 11:30:39 UTC
(In reply to comment #4)
> reduced test case:
> $ cat config.cfg
> <zzyzx type=integer>42</zzyzx>
> $ cat config.c
> #include <stdio.h>
> #include <stdint.h>
> #include <autoopts/options.h>
> 
> int main(int argc, char *argv[])
> {
>         const tOptionValue *pOV = configFileLoad("config.cfg");
>         const tOptionValue *pGV = optionGetValue(pOV, "zzyzx");
>         printf("integer: %ld\n", pGV->v.longVal);
>         return 0;
> }
> $ gcc config.c -lopts -o config
> $ ./config
> integer: 180388626432

autogen 5.9.4 no longer fails tests and passes this testcase correctly; I suppose we can set this to fixed now (and sorry for not reporting back quickly, the ppc64 is the box I use at work and try not to do hacking there)