Control: tags -1 + patch On Sun, Nov 10, 2013 at 08:56:36PM +0000, Wookey wrote: > Confirmed. I get exactly the same issue building this package in current > amd64 unstable chroot. > > Changing to previous m4 version (m4_1.4.16-5_amd64.deb) makes no difference: > > The commands being run are: > /usr/bin/sh autopoint --force > which runs: > /usr/bin/perl -w /usr/bin/autom4te --no-cache > --language=Autoconf-without-aclocal-m4 --trace=AM_GNU_GETTEXT_VERSION:$% - > configure.ac > which runs: > sh -c /usr/bin/m4 --nesting-limit=1024 --gnu --include=/usr/share/autoconf > --debug=aflq --fatal-warning --debugfile=/tmp/am4tDdyolT/traces
Thanks for the initial work. I tracked it down to m4_shiftn(2, sequence of two elements) causing an infinite loop from _UTIL_CHECK_SYSCALL in configure.ac. For some reason the optimized version m4_shift2 introduced in autoconf 2.62 (very old version) does not suffer from this issue. Also note that the relevant configure.ac code got completely rewritten on the path to 2.24 and probably does not suffer this issue. I assume that a new upstream release would fix this FTBFS as well. In addition a new upstream release is kinda required to fix other RC bugs of util-linux. Should I NMU the attached patch to util-linux? Helmut
diff -u util-linux-2.20.1/configure.ac util-linux-2.20.1/configure.ac --- util-linux-2.20.1/configure.ac +++ util-linux-2.20.1/configure.ac @@ -733,7 +733,7 @@ [m4_ifval([$1], [#( $1) syscall="$2" ;;dnl - _UTIL_CHECK_SYSCALL_FALLBACK(m4_shiftn(2, $@))])dnl + _UTIL_CHECK_SYSCALL_FALLBACK(m4_shift2($@))])dnl ]) diff -u util-linux-2.20.1/debian/changelog util-linux-2.20.1/debian/changelog --- util-linux-2.20.1/debian/changelog +++ util-linux-2.20.1/debian/changelog @@ -1,3 +1,11 @@ +util-linux (2.20.1-5.6) unstable; urgency=medium + + * Non-maintainer upload. + * Fix m4 looping in configure.ac's _UTIL_CHECK_SYSCALL. + m4_shiftn(2, sequence of two elements) infloops. (Closes: #724255) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 25 Jan 2014 13:38:36 +0100 + util-linux (2.20.1-5.5) unstable; urgency=medium * Non-maintainer upload by the Security Team.