[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#748983: xcb-util: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4



Breno Leitao <brenohl@br.ibm.com> (2014-05-22):
> Package: xcb-util
> Version: 0.3.8
> Severity: normal
> Tags: patch
> User: debian-powerpc@lists.debian.org
> Usertags: ppc64el
> User: debian-devel@lists.debian.org
> Usertags: autoreconf
> 
> Hi,
> 
> The xcb-util package is not invoking dh-autoreconf during the build, which
> fails when we try to compile it on new arches.  I just tested the attached
> patch and with it applied, the package is built properly.

Hi,

at Aurelien's request, I've tried applying your patch and triggering a
build on amd64 in a sid chroot but it failed with:
| (sid-amd64-devel)kibi@arya:~/debian-x/xcb-util$ debuild -b
|  dpkg-buildpackage -rfakeroot -D -us -uc -b
| dpkg-buildpackage: source package xcb-util
| dpkg-buildpackage: source version 0.3.8-3
| dpkg-buildpackage: source distribution UNRELEASED
| dpkg-buildpackage: source changed by Cyril Brulebois <kibi@debian.org>
|  dpkg-source --before-build xcb-util
| dpkg-buildpackage: host architecture amd64
|  fakeroot debian/rules clean
| test -x debian/rules
| rm -f debian/stamp-makefile-build debian/stamp-makefile-install
| /usr/bin/make  -C .  -k distclean
| make[1]: Entering directory '/home/kibi/debian-x/xcb-util'
| make[1]: *** No rule to make target 'distclean'.
| make[1]: Leaving directory '/home/kibi/debian-x/xcb-util'
| /usr/share/cdbs/1/class/makefile.mk:55: recipe for target
| 'makefile-clean' failed
| make: [makefile-clean] Error 2 (ignored)
| rm -f debian/stamp-autotools
| rmdir --ignore-fail-on-non-empty .
| rmdir: failed to remove ‘.’: Invalid argument
| /usr/share/cdbs/1/class/autotools.mk:52: recipe for target
| 'makefile-clean' failed
| make: [makefile-clean] Error 1 (ignored)
| rm -f configure-stamp
| # Specific to Git Debian package
| rm -f Doxyfile .gitmodules autogen.sh
| if test -e debian/autoreconf.before; then \
| 	dh_autoreconf_clean ; \
| fi
| dh_clean 
| rm -f debian/stamp-autotools-files
|  debian/rules build
| test -x debian/rules
| mkdir -p "."
| dh_autoreconf 
| configure.ac:17: installing './compile'
| configure.ac:6: installing './install-sh'
| configure.ac:6: installing './missing'
| Makefile.am:6: error: 'pkgconfig_DATA' is used but 'pkgconfigdir' is
| undefined
| src/Makefile.am:2: error: Libtool library used but 'LIBTOOL' is
| undefined
| src/Makefile.am:2:   The usual way to define 'LIBTOOL' is to add
| 'LT_INIT'
| src/Makefile.am:2:   to 'configure.ac' and run 'aclocal' and 'autoconf'
| again.
| src/Makefile.am:2:   If 'LT_INIT' is in 'configure.ac', make sure
| src/Makefile.am:2:   its definition is in aclocal's search path.
| src/Makefile.am: installing './depcomp'
| src/Makefile.am:14: error: 'xcbinclude_HEADERS' is used but
| 'xcbincludedir' is undefined
| autoreconf: automake failed with exit status: 1
| dh_autoreconf: autoreconf -f -i returned exit code 1
| /usr/share/cdbs/1/rules/autoreconf.mk:10: recipe for target
| 'debian/autoreconf.after' failed
| make: *** [debian/autoreconf.after] Error 2
| dpkg-buildpackage: error: debian/rules build gave error exit status 2
| debuild: fatal error at line 1364:
| dpkg-buildpackage -rfakeroot -D -us -uc -b failed

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: