Package: automake Version: 1:1.10.1-3 Followup-For: Bug #456632 I just hit the bug #456632. Note that this bug apply to automake 1.10 but also 1.9.
In automake 1.8, #296634 tell us that any texinfo files produce an error when trying 'make distcheck' In automake 1.0 and 1.10, this still happens if the texinfo has some depends. The generated rule is: $(srcdir)/kaapi.info: kaapi.texi $(srcdir)/version.texi $(kaapi_TEXINFOS) ... So, if $(kaapi_TEXINFOS) has generated files (AC_CONFIG files for examples), "make distcheck" will fails. Here is in attachement a minimal example and the typescript of what I did to generate the error. This bug is really annoying for me. Whatever workaround would be welcome. Best regards Vincent -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages automake depends on: ii autoconf 2.61-6 automatic configure script builder ii autotools-dev 20080123.1 Update infrastructure for config.{ automake recommends no packages. -- no debconf information
test.tar.gz
Description: GNU Zip compressed data
Script started on Mon Mar 17 22:29:31 2008 [EMAIL PROTECTED]:[1m/tmp[0m$ tar xvzf test.tar.gz test/ test/vars.texi.in test/Makefile.am test/kaapi.texi test/bootstrap test/configure.ac [EMAIL PROTECTED]:[1m/tmp[0m$ cd test [EMAIL PROTECTED]:[1m/tmp/test[0m$ ./bootstrap + autoreconf -vi -Wall,no-cross,no-obsolete autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: autoconf --warnings=all,no-cross,no-obsolete autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --no-force --warnings=all,no-cross,no-obsolete automake: unknown warning category `no-cross' configure.ac:6: installing `./config.guess' configure.ac:6: installing `./config.sub' configure.ac:10: installing `./install-sh' configure.ac:10: installing `./missing' Makefile.am:2: installing `./mdate-sh' Makefile.am:2: installing `./texinfo.tex' autoreconf: Leaving directory `.' + set +x [EMAIL PROTECTED]:[1m/tmp/test[0m$ mkdir build [EMAIL PROTECTED]:[1m/tmp/test[0m$ cd build [EMAIL PROTECTED]:[1m/tmp/test/build[0m$ ../configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a pax tar archive... gnutar configure: creating ./config.status config.status: creating Makefile config.status: creating vars.texi [EMAIL PROTECTED]:[1m/tmp/test/build[0m$ make distcheck Updating ../version.texi { test ! -d kaapi-2.3 || { find kaapi-2.3 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr kaapi-2.3; }; } test -d kaapi-2.3 || mkdir kaapi-2.3 make \ top_distdir="kaapi-2.3" distdir="kaapi-2.3" \ dist-info make[1]: Entering directory `/tmp/test/build' restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && cd .. && \ rm -rf $backupdir && mkdir $backupdir && \ if (/bin/sh /tmp/test/missing --run makeinfo --version) >/dev/null 2>&1; then \ for f in ../kaapi.info ../kaapi.info-[0-9] ../kaapi.info-[0-9][0-9] ../kaapi.i[0-9] ../kaapi.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /bin/sh /tmp/test/missing --run makeinfo -I .. \ -o ../kaapi.info ../kaapi.texi; \ then \ rc=0; \ cd ..; \ else \ rc=$?; \ cd .. && \ $restore $backupdir/* `echo "./../kaapi.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc make[1]: Leaving directory `/tmp/test/build' find kaapi-2.3 -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec /bin/sh /tmp/test/install-sh -c -m a+r {} {} \; \ || chmod -R a+r kaapi-2.3 tardir=kaapi-2.3 && tar --format=posix -chf - "$tardir" | GZIP=--best gzip -c >kaapi-2.3.tar.gz { test ! -d kaapi-2.3 || { find kaapi-2.3 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr kaapi-2.3; }; } case 'kaapi-2.3.tar.gz' in \ *.tar.gz*) \ GZIP=--best gunzip -c kaapi-2.3.tar.gz | tar -xf - ;;\ *.tar.bz2*) \ bunzip2 -c kaapi-2.3.tar.bz2 | tar -xf - ;;\ *.tar.lzma*) \ unlzma -c kaapi-2.3.tar.lzma | tar -xf - ;;\ *.tar.Z*) \ uncompress -c kaapi-2.3.tar.Z | tar -xf - ;;\ *.shar.gz*) \ GZIP=--best gunzip -c kaapi-2.3.shar.gz | unshar ;;\ *.zip*) \ unzip kaapi-2.3.zip ;;\ esac chmod -R a-w kaapi-2.3; chmod a+w kaapi-2.3 mkdir kaapi-2.3/_build mkdir kaapi-2.3/_inst chmod a-w kaapi-2.3 dc_install_base=`CDPATH="${ZSH_VERSION+.}:" && cd kaapi-2.3/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="${TMPDIR-/tmp}/am-dc-$$/" \ && cd kaapi-2.3/_build \ && ../configure --srcdir=.. --prefix="$dc_install_base" \ \ && make \ && make dvi \ && make check \ && make install \ && make installcheck \ && make uninstall \ && make distuninstallcheck_dir="$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$dc_destdir") \ && make DESTDIR="$dc_destdir" install \ && make DESTDIR="$dc_destdir" uninstall \ && make DESTDIR="$dc_destdir" \ distuninstallcheck_dir="$dc_destdir" distuninstallcheck; \ } || { rm -rf "$dc_destdir"; exit 1; }) \ && rm -rf "$dc_destdir" \ && make dist \ && rm -rf kaapi-2.3.tar.gz \ && make distcleancheck checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a pax tar archive... gnutar configure: creating ./config.status config.status: creating Makefile config.status: creating vars.texi make[1]: Entering directory `/tmp/test/build/kaapi-2.3/_build' restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && cd .. && \ rm -rf $backupdir && mkdir $backupdir && \ if (/bin/sh /tmp/test/build/kaapi-2.3/missing --run makeinfo --version) >/dev/null 2>&1; then \ for f in ../kaapi.info ../kaapi.info-[0-9] ../kaapi.info-[0-9][0-9] ../kaapi.i[0-9] ../kaapi.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /bin/sh /tmp/test/build/kaapi-2.3/missing --run makeinfo -I .. \ -o ../kaapi.info ../kaapi.texi; \ then \ rc=0; \ cd ..; \ else \ rc=$?; \ cd .. && \ $restore $backupdir/* `echo "./../kaapi.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc mkdir: cannot create directory `.am17480': Permission denied ../kaapi.texi: No such file or directory make[1]: *** [../kaapi.info] Error 1 make[1]: Leaving directory `/tmp/test/build/kaapi-2.3/_build' make: *** [distcheck] Error 2 [EMAIL PROTECTED]:[1m/tmp/test/build[0m$ exit Script done on Mon Mar 17 22:30:10 2008