Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79505 - sys-devel/automake-1.5: build fails in src_test
Summary: sys-devel/automake-1.5: build fails in src_test
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:
: 121172 (view as bug list)
Depends on:
Blocks: 73031
  Show dependency tree
 
Reported: 2005-01-25 12:11 UTC by Sascha Silbe
Modified: 2006-02-02 07:20 UTC (History)
3 users (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 Sascha Silbe 2005-01-25 12:11:44 UTC
sys-devel/automake-1.5 fails the aclocalii.test and dirname.test tests.



Reproducible: Always
Steps to Reproduce:
1. emerge --oneshot =sys-devel/automake-1.5

Actual Results:  
>>> Test phase [enabled]: sys-devel/automake-1.5
>>> Test phase [check]: sys-devel/automake-1.5
Making check in .
make[1]: Entering directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5'
cd . \
  && /bin/sh /var/tmp/portage/portage/automake-1.5/work/automake-1.5/lib/missing --run makeinfo   \
       `echo automake.texi | sed 's,.*/,,'`
make[1]: Leaving directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5'
Making check in m4
make[1]: Entering directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/m4'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/m4'
Making check in lib
make[1]: Entering directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/lib'
Making check in Automake
make[2]: Entering directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/lib/Automake'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/lib/Automake'
Making check in am
make[2]: Entering directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/lib/am'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/lib/am'
make[2]: Entering directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/lib'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/lib'
make[1]: Leaving directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/lib'
Making check in tests
make[1]: Entering directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/tests'
make  check-TESTS
make[2]: Entering directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/tests'
PASS: acinclude.test
PASS: aclibobj.test
PASS: aclocal.test
PASS: aclocali.test
PASS: aclocali1.test
FAIL: aclocalii.test
[...]
FAIL: dirname.test
[...]
PASS: yaccpp.test
PASS: yaccvpath.test
=====================
2 of 323 tests failed
=====================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/portage/automake-1.5/work/automake-1.5/tests'
make: *** [check-recursive] Error 1

!!! ERROR: sys-devel/automake-1.5 failed.
!!! Function src_test, Line 566, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.





Expected Results:  
Successfully complete the test suite and install the package.



Gentoo Base System version 1.4.16
Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-infra-skas3-v7-cube-1 i686)
=================================================================
System uname: 2.6.10-infra-skas3-v7-cube-1 i686 AMD Athlon(tm) XP 1700+
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  3 2004, 16:59:56)]
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /usr/vice/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-local--main--1.0"
SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage"
USE="x86 3dnow S3TC X acl afs alsa apm avi berkdb bitmap-fonts blas bzlib cdr crypt doc dvd dvdr encode f77 fam flac font-server foomaticdb fortran gdbm gif gimpprint gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 j-noaim j-nomsn j-noyahoo jabber jpeg kerberos lapack lcms libg++ libwww lvm1 mad maildir makecheck mbox mikmod mmx monitor mozsvg mpeg mysql nas ncurses nls nodrm oggvorbis opengl oss pam pdflib plotutils png postgres python qt qtmt quicktime readline samba scanner sdl serial skey spell sqlite sse ssl tetex tiff truetype truetype-fonts type1-fonts unicode xml xml2 xv xvid zlib linguas_en,de"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Ceesjan Luiten 2005-01-25 14:09:56 UTC
Both tests fail here too, plus another one:

Making check in tests
make[1]: Entering directory `/var/tmp/portage/automake-1.5/work/automake-1.5/tests'
make  check-TESTS
make[2]: Entering directory `/var/tmp/portage/automake-1.5/work/automake-1.5/tests'
<...>
FAIL: aclocalii.test
<...>
FAIL: dirname.test
<...>
FAIL: insthook.test
<...>
=====================
3 of 322 tests failed
=====================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/var/tmp/portage/automake-1.5/work/automake-1.5/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/automake-1.5/work/automake-1.5/tests'
make: *** [check-recursive] Error 1

!!! ERROR: sys-devel/automake-1.5 failed.
!!! Function src_test, Line 566, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.


make.conf:
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
PORTDIR_OVERLAY="/usr/local/portage"
CHOST="i686-pc-linux-gnu"
USE="-kde -gnome -cups ipv6 usb libcaca curl 3dnow 3dnowex mmx mmx2 nvidia sse"
FEATURES="candy maketest"
Comment 2 Will McQueen 2005-01-25 15:18:47 UTC
I'm also in the 3 failure bucket.
Comment 3 Brant Gurganus 2005-01-26 17:59:29 UTC
ccnoco.test also failed for me in addition to the other three.

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHzGentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  8 2005, 00:44:39)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -fprefetch-loop-arrays -maccumulate-outgoing-args -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -fprefetch-loop-arrays -maccumulate-outgoing-args -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks maketest sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://hercules.cs.rose-hulman.edu/linux/gentoo"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://hercules.cs.rose-hulman.edu/gentoo-portage"
USE="x86 X acpi alsa avi berkdb bitmap-fonts crypt cups encode esd fam flac font-server foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib java jpeg junit kerberos krb4 ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls nptl offensive oggvorbis opengl oss pam pcmcia pdflib perl pic png pnp ppds python quicktime readline samba sdl spell sse ssl symlink tcpd tiff truetype truetype-fonts type1-fonts unicode xml xml2 xmms xprint xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY

Building without sandbox, the following failed: aclocalii, ccnoco, dirname, insthook.

With VERBOSE=x set:

=== Running test ./ccnoco.test
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs
Configured with: /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3 --host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --disable-libgcj --enable-languages=c,c++
Thread model: posix
gcc version 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
automake: configure.in: installing `./compile'
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... /var/tmp/portage/automake-1.5/work/automake-1.5/tests/testSubDir/build/../Mycomp
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
FAIL: ccnoco.test

=== Running test ./dirname.test
configure.in:2: error: m4_defn: undefined macro: _m4_divert_diversion
aclocal.m4:79: _AM_DIRNAME is expanded from...
configure.in:2: the top level
autom4te-2.59: /usr/bin/m4 failed with exit status: 1
FAIL: dirname.test

=== Running test ./insthook.test
tail: cannot open `+200' for reading: No such file or directory
head: `-3' option is obsolete; use `-n 3' since this will be removed in the future
FAIL: insthook.test

With CFLAGS and CXXFLAGS unset, ccnoco.test passes.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2005-01-27 19:42:29 UTC
count me in for two:  dirname.test and insthook.test.

deep13 automake-1.5 # emerge info
Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-ck5 i686)
=================================================================
System uname: 2.6.10-ck5 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 12 2005, 18:36:57)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -mtune=pentium3 -fomit-frame-pointer -pipe"
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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -mtune=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest nodoc sandbox sfperms test"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,-S"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 gtk moon-on-a-stick nptl pic readline threads"
Unset:  ASFLAGS, CBUILD, CTARGET

---

same results with CFLAGS="-O2 -march-pentium3 -pipe" LDFLAGS=""

Comment 5 Ryan Hill (RETIRED) gentoo-dev 2005-01-27 21:44:54 UTC
>=== Running test ./dirname.test
> configure.in:2: error: m4_defn: undefined macro: _m4_divert_diversion
> aclocal.m4:79: _AM_DIRNAME is expanded from...
> configure.in:2: the top level
> autom4te-2.59: /usr/bin/m4 failed with exit status: 1
> FAIL: dirname.test

the dirname.test failure seems dependent on the presence of autoconf-wrapper-2 on the system.  autoconf-wrapper-2 installs symlinks to autoconf tools in /usr/bin that point to /usr/lib/misc/ac-wrapper

ie.
>>> /usr/bin/autom4te -> ../lib/misc/ac-wrapper.sh

dirname.test passes when autoconf-wrapper-2 isn't installed. 

bad news: depdist.test and subdirbuiltsources.test now fail.

=P
Comment 6 SpanKY gentoo-dev 2005-01-30 05:55:58 UTC
ive added patches from fedora to fix ccnoco and dirname tests

aclocalii failure is related to our automake-1.5-slot patch

insthook failure is related to coreutils no longer supporting the head/tail syntax of '+#' and '-#'
Comment 7 SpanKY gentoo-dev 2005-01-30 06:28:21 UTC
updated the slot patch to not append /usr/share/aclocal if aclocal is run with --acdir (fixes aclocalii)

updated insthook to use the newer style of head/tail (-n)
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2005-08-20 23:24:16 UTC
i just noticed dirname.test is failing again (still?).  it's been a while since
i've done an emerge system test run so i don't know when this started.  there
haven't been any r-bumps done so maybe this wasn't fixed in the first place.

it fails both inside and outside the sandbox environment.

root /var/tmp/portage/automake-1.5/work/automake-1.5/tests #  cat dirname.test
#! /bin/sh

# Test the operation of the _AM_DIRNAME macro from m4/header.m4

. $srcdir/defs || exit 1

cat > configure.in << 'END'
AC_INIT
echo "1 /a/path/to/a/file      = _AM_DIRNAME([/a/path/to/a/file])"
echo "2 another/path/to/a/file = _AM_DIRNAME([another/path/to/a/file])"
echo "3 file                   = _AM_DIRNAME([file])"
echo "4 //                     = _AM_DIRNAME([//])"
echo "5 //file                 = _AM_DIRNAME([//file])"
echo "6 /                      = _AM_DIRNAME([/])"
echo "7 /file                  = _AM_DIRNAME([/file])"
END

$ACLOCAL || exit 1
# fail gracefully if autoconf didn't support support our regexps anyhow
$AUTOCONF || exit 77

# Use --quiet otherwise unwelcome messages like "loading site script"
# would cause a failure.
./configure --quiet >got || exit 1

cat >wanted <<EOF
1 /a/path/to/a/file      = /a/path/to/a
2 another/path/to/a/file = another/path/to/a
3 file                   = .
4 //                     = //
5 //file                 = //
6 /                      = /
7 /file                  = /
EOF

diff wanted got || exit 1
Comment 9 Michal Suchanek 2006-01-31 08:58:09 UTC
dirname still fails for me.
How is it fixed?
The automake version is still sys-devel/automake-1.5
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-02-01 05:58:34 UTC
*** Bug 121172 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-02-01 05:59:52 UTC
Reopen.
Comment 12 SpanKY gentoo-dev 2006-02-01 17:37:31 UTC
fixed
Comment 13 Michal Suchanek 2006-02-02 07:20:09 UTC
How is it fixed? The 1.5 version is the latest in some slot and that is the reason it gets installed. Maybe it works in 1.8 but that does not help installing 1.5.

And 1.5 is still required for some reason.