Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396591 - sys-devel/automake-1.11.2 fails txinfo21.test
Summary: sys-devel/automake-1.11.2 fails txinfo21.test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-31 12:35 UTC by Marien Zwart (RETIRED)
Modified: 2012-04-14 17:11 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 Marien Zwart (RETIRED) gentoo-dev 2011-12-31 12:35:41 UTC
automake-1.11.2 fails txinfo21.test when running src_test. Manually running txinfo21.test shows it is most likely a bug in the test:

make[1]: Leaving directory `/var/tmp/portage/sys-devel/automake-1.11.2/work/automake-1.11.2/tests/txinfo21.dir'
+ test -d main.html
+ test -d sub/main2.html
+ test -d rec/main3.html
+ is_newest main.html main.texi
++ find main.html main.texi -newer main.html
+ is_newest_files=main.html/index.html
+ test -z main.html/index.html
+ exit_status=1

That corresponds to the following in txinfo21.test:

# Test production of split-per-node HTML.
$MAKE html
test -d main.html
test -d sub/main2.html
test -d rec/main3.html

# Rebuilding main.html should cause its timestamp to be updated.
is_newest main.html main.texi

is_newest is defined in "defs" as:

is_newest ()
{
  is_newest_files=`find "$@" -newer "$1"`
  test -z "$is_newest_files"
}

Which means that if the supposedly-newest thing passed to is_newest is a directory and any of the files inside it are newer than the directory the test fails, which does not seem intentional (note main.html *is* newer than main.texi).

Applying the change from http://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=b6a40fa2d2c08f71f9aeced063a36a27f657da6b to defs.in (adding -prune to the find invocation) and rerunning config.status makes txinfo21.test pass. I have not rerun the rest of the testsuite.

Portage 2.2.0_alpha84 (!../usr/portage/profiles/default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r1, 3.1.6-gentoo-m5-bsd-acct-no-bridge x86_64)
=================================================================
System uname: Linux-3.1.6-gentoo-m5-bsd-acct-no-bridge-x86_64-AMD_Athlon-tm-_II_X4_640_Processor-with-gentoo-2.1
Timestamp of tree: Unknown
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.7-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.7
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo cross gamerlay-stable bitcoin marienz
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 google-talkplugin"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-ggdb -O2 -march=amdfam10 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="-ggdb -O2 -march=amdfam10 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy ccache collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB en_US nl fy fy_NL"
MAKEOPTS="-j4"
PKGDIR="/var/tmp/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="/srv/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage/cross /usr/local/portage/layman/gamerlay /usr/local/portage/layman/bitcoin /usr/local/portage/private"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apng avahi bluetooth branding bzip2 cairo caps cdda cdr cli clutter colord consolekit crypt cups cxx dbus device-mapper doc dri dts dvd dvdr dvi emacs emboss encode equalizer evo exif expat ffmpeg firefox flac fontconfig fortran fuse gif gmp gnome gnome-keyring gnome-online-accounts gpg gstreamer gtk gtk3 gtkstyle iconv idn imap inotify ipv6 irc jpeg lame latex lcms libcaca libffi libkms libnotify llvm lua lvm lzma macvtap maildir mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses nfsidmap nls nptl nptlonly ntfsprogs numpy objc offensive ogg opengl openmp pam pam_krb5 pango pch pdf playlist png policykit ppds pppd preview-latex pulseaudio python qemu qt3support qt4 readline realtime schroedinger session sip socialweb speex spell spice sqlite sse sse2 sse3 ssl startup-notification svg sysfs test theora tokyocabinet toolkit-scroll-bars tools truetype udev udis86 udisks unicode urwid usb vala vhost-net vorbis vpx wxwidgets x264 xattr xcb xcomposite xft xinerama xml xorg xulrunner xv xvfb xvmc zlib zsh-completion" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth caps lvm" 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="en en_GB en_US nl fy fy_NL" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="plustek plustek_pp" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marien Zwart (RETIRED) gentoo-dev 2012-04-14 17:11:04 UTC
This is fixed in current automake (between 1.11.3 and 1.11.4, I think). Closing.