[pkg-bacula-devel] Converting BAT to qt5

Sven Hartge sven at svenhartge.de
Tue Feb 27 17:29:23 UTC 2018


Um 14:22 Uhr am 27.02.18 schrieb Sven Hartge:

> Looking at the source of dh_autoreconf (line 127) we would need a file 
> debian/autoreconf containing all directories dh_autoreconf should search 
> for input files to reconfigure.

Yes, dh_autoreconf isn't run for bacula. (Naively) adding 
debian/autoreconf containing "autoconf" as directory to search and 
removing the manual call to "autoconf" from debian/rules burns quite 
nicely during package building in a clean Sid chroot:

--------------------8<--------------------------------------------------
[...]
make[1]: Leaving directory '/build/bacula-9.0.6'
 dpkg-source -b bacula-9.0.6
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building bacula using existing ./bacula_9.0.6.orig.tar.gz
dpkg-source: info: building bacula in bacula_9.0.6-2.debian.tar.xz
dpkg-source: info: building bacula in bacula_9.0.6-2.dsc
 debian/rules binary
grep: config.log: No such file or directory
dh binary
   dh_update_autotools_config
   dh_autoreconf
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:367: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
/usr/share/aclocal/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
/usr/share/aclocal/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
/usr/share/aclocal/threadlib.m4:318: gl_THREADLIB is expanded from...
/usr/share/aclocal/lock.m4:9: gl_LOCK is expanded from...
/usr/share/aclocal/intl.m4:211: gt_INTL_SUBDIR_CORE is expanded from...
/usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from...
/usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.in:367: the top level
configure.in:367: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
/usr/share/aclocal/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from...
/usr/share/aclocal/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from...
/usr/share/aclocal/threadlib.m4:318: gl_THREADLIB is expanded from...
/usr/share/aclocal/lock.m4:9: gl_LOCK is expanded from...
/usr/share/aclocal/intl.m4:211: gt_INTL_SUBDIR_CORE is expanded from...
/usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from...
/usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.in:367: the top level
configure.in:367: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
aclocal.m4:13008: gl_THREADLIB_EARLY_BODY is expanded from...
aclocal.m4:13001: gl_THREADLIB_EARLY is expanded from...
aclocal.m4:13290: gl_THREADLIB is expanded from...
aclocal.m4:11131: gl_LOCK is expanded from...
aclocal.m4:1336: gt_INTL_SUBDIR_CORE is expanded from...
aclocal.m4:1150: AM_INTL_SUBDIR is expanded from...
aclocal.m4:334: AM_GNU_GETTEXT is expanded from...
configure.in:367: the top level
configure.in:367: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
aclocal.m4:13008: gl_THREADLIB_EARLY_BODY is expanded from...
aclocal.m4:13001: gl_THREADLIB_EARLY is expanded from...
aclocal.m4:13290: gl_THREADLIB is expanded from...
aclocal.m4:11131: gl_LOCK is expanded from...
aclocal.m4:1336: gt_INTL_SUBDIR_CORE is expanded from...
aclocal.m4:1150: AM_INTL_SUBDIR is expanded from...
aclocal.m4:334: AM_GNU_GETTEXT is expanded from...
configure.in:367: the top level
autoreconf: configure.in: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
autoreconf: cannot create ${BUILD_DIR}/autoconf: No such file or directory
libtoolize:   error: cannot expand unknown variable in AC_CONFIG_AUX_DIR argument.
autoreconf: libtoolize failed with exit status: 1
dh_autoreconf: autoreconf -f -i autoconf returned exit code 1
make: *** [debian/rules:100: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------8<--------------------------------------------------

Grüße,
Sven.




More information about the pkg-bacula-devel mailing list