[DRE-maint] Bug#978900: ruby2.7: ftbfs with autoconf 2.70

Matthias Klose doko at debian.org
Thu Dec 31 14:28:58 GMT 2020


Package: src:ruby2.7
Version: 2.7.1-3
Severity: normal
Tags: sid bookworm
User: doko at debian.org
Usertags: ftbfs-ac270

[This bug report is not targeted to the upcoming bullseye release]

The package fails to build in a test rebuild on at least amd64 with
autoconf 2.70, but succeeds to build with autoconf 2.69. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://qa-logs.debian.net/2020/09/26.ac270/ruby2.7_2.7.1-3_unstable_ac270.log
The last lines of the build log are at the end of this report.

To build with autoconf 2.70, please install the autoconf package from
experimental:  apt-get -t=experimental install autoconf 

[...]
tool/m4/ruby_werror_flag.m4:2: RUBY_WERROR_FLAG is expanded from...
lib/m4sugar/m4sh.m4:673: AS_IF is expanded from...
./lib/autoconf/general.m4:2149: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2170: AC_CACHE_CHECK is expanded from...
tool/m4/ruby_check_builtin_setjmp.m4:2: RUBY_CHECK_BUILTIN_SETJMP is expanded from...
tool/m4/ruby_setjmp_type.m4:2: RUBY_SETJMP_TYPE is expanded from...
configure.ac:3361: the top level
configure.ac:3361: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:3361: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:673: AS_IF is expanded from...
./lib/autoconf/general.m4:2149: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2170: AC_CACHE_CHECK is expanded from...
tool/m4/ruby_check_setjmp.m4:3: RUBY_CHECK_SETJMP is expanded from...
tool/m4/ruby_setjmp_type.m4:2: RUBY_SETJMP_TYPE is expanded from...
configure.ac:3361: the top level
configure.ac:3434: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:3434: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:673: AS_IF is expanded from...
./lib/autoconf/general.m4:2149: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2170: AC_CACHE_CHECK is expanded from...
configure.ac:3434: the top level
configure.ac:3446: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:3446: You should run autoupdate.
./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
configure.ac:3446: the top level
configure.ac:3574: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:3574: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:673: AS_IF is expanded from...
./lib/autoconf/general.m4:2149: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2170: AC_CACHE_CHECK is expanded from...
lib/m4sugar/m4sh.m4:673: AS_IF is expanded from...
configure.ac:3574: the top level
configure.ac:3574: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:3574: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:673: AS_IF is expanded from...
./lib/autoconf/general.m4:2719: _AC_COMPILE_IFELSE is expanded from...
./lib/autoconf/general.m4:2735: AC_COMPILE_IFELSE is expanded from...
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:673: AS_IF is expanded from...
./lib/autoconf/general.m4:2149: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2170: AC_CACHE_CHECK is expanded from...
lib/m4sugar/m4sh.m4:673: AS_IF is expanded from...
configure.ac:3574: the top level
configure.ac:3574: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:3574: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:673: AS_IF is expanded from...
configure.ac:3574: the top level
configure.ac:4009: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:4009: You should run autoupdate.
./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
configure.ac:4009: the top level
configure.ac:4035: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS
	find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a  -type f -exec md5sum {} + -o -type l -printf "symlink  %p
" > debian/autoreconf.after
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp /usr/share/misc/config.guess tool
cp /usr/share/misc/config.sub tool
./configure --prefix=/usr --enable-multiarch --target=x86_64-linux-gnu --program-suffix=2.7 --with-soname=ruby-2.7 --enable-shared --disable-rpath --with-sitedir='/usr/local/lib/site_ruby' --with-sitearchdir="/usr/local/lib/x86_64-linux-gnu/site_ruby" --runstatedir=/var/run --localstatedir=/var --sysconfdir=/etc --enable-ipv6 --with-dbm-type=gdbm_compat --with-compress-debug-sections=no CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" FCFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" FFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" GCJFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" LDFLAGS="-Wl,-z,relro -Wl,-z,now" OBJCFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" OBJCXXFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" 
./configure: line 3496: syntax error near unexpected token `fi'
./configure: line 3496: `fi ;; #('
make[1]: *** [debian/rules:75: override_dh_auto_configure] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:70: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-ruby-extras-maintainers mailing list