On 04/12/2012 08:32 PM, David Fang wrote: >> This looks suspicious: >> >> FAIL: distcheck-override-infodir.test (exit: 2) >> =============================================== >> >> distcheck-override-infodir: running install-info --version >> Debian install-info 1.10.21. Copyright (C) 1994,1995 >> Ian Jackson. This is free software; see the GNU General Public Licence >> version 2 or later for copying conditions. There is NO warranty. >> >> Why do you have Debian install-info installed on Mac OS X? It is not used >> anymore even on Debian: >> >> $ cat /etc/debian_version >> wheezy/sid >> >> $ install-info --version >> This is not dpkg install-info anymore, but GNU install-info >> See the man page for ginstall-info for command line arguments >> install-info (GNU texinfo) 4.13 >> >> and in fact Automake has stopped trying to cater to Debian install-info since >> the release 1.11.2. >> > So I have an install-info from dpkg, which is used by fink, which > installs packages to another prefix (default: /sw): > > fang% which install-info > /sw/sbin/install-info > fang% dpkg -S `which install-info` > dpkg: /sw/sbin/install-info > What happens if you use GNU info instead? Do the testsuite failures persist?
>> What happens if you re-run the failed tests after defining >> 'AM_UPDATE_INFO_DIR' >> to "no" in the environment? Like this: >> >> $ cd tests && AM_UPDATE_INFO_DIR=no make -jN recheck > > % env AM_UPDATE_INFO_DIR=no make recheck > FAIL: install-info-dir.test > FAIL: distcheck-override-infodir.test > These are weaknesses in the testsuite, which are fixed by the attached patch. Thanks for having found them. > [SNIP] passing tests Regards, Stefano
>From 4cc65f752dbf9500bf367db1c19378641a91b5e5 Mon Sep 17 00:00:00 2001 Message-Id: <4cc65f752dbf9500bf367db1c19378641a91b5e5.1334304652.git.stefano.lattar...@gmail.com> From: Stefano Lattarini <stefano.lattar...@gmail.com> Date: Fri, 13 Apr 2012 10:07:54 +0200 Subject: [PATCH] test defs: unset 'AM_UPDATE_INFO_DIR' environment variable * defs (AM_UPDATE_INFO_DIR): Unset, to be sure to avoid unduly interferences from the environment. See also automake bug#11204. * THANKS: Add entry for David Fang. Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com> --- THANKS | 1 + defs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/THANKS b/THANKS index 4deb265..e2b65b2 100644 --- a/THANKS +++ b/THANKS @@ -79,6 +79,7 @@ Dave Morrison d...@bnl.gov David A. Swierczek swier...@mr.med.ge.com David A. Wheeler dwhee...@dwheeler.com David Byron dby...@dbyron.com +David Fang f...@csl.cornell.edu Davyd Madeley da...@fugro-fsi.com.au David Pashley da...@davidpashley.com David Zaroski cz...@cleveland.freenet.edu diff --git a/defs b/defs index efa578d..742c4d4 100644 --- a/defs +++ b/defs @@ -152,6 +152,8 @@ unset htmldir includedir infodir libdir libexecdir localedir mandir unset oldincludedir pdfdir psdir sbindir sharedstatedir sysconfdir # Unset variables that might change the "make distcheck" behaviour. unset DISTCHECK_CONFIGURE_FLAGS AM_DISTCHECK_CONFIGURE_FLAGS +# Used by install rules for info files. +unset AM_UPDATE_INFO_DIR # The tests call "make -e" but we do not want $srcdir from the environment # to override the definition from the Makefile. unset srcdir -- 1.7.9.5