Skip to contentSkip to conversation

Bug#757455: please run dh_autoreconf or manually update m4/libtool.m4 for ppc64el

DISCUSSION Matthias Klose 3 participants 3 messages Aug 8, 2014 – Sep 15, 2014

lore
Share & tools
lore
#0 lore raw

Package: src:xfsprogs
Version: 3.2.1

trying to use dh_autoreconf:

autoreconf -f -i
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoheader: warning: missing template: HAVE_UMODE_T
autoheader: Use AC_DEFINE([HAVE_UMODE_T], [], [Description])
autoheader: warning: missing template: HAVE___PSINT_T
autoheader: warning: missing template: HAVE___PSUNSIGNED_T
autoheader: warning: missing template: HAVE___U32
autoreconf: /usr/bin/autoheader failed with exit status: 1

please fix this and use dh_autoreconf, or update libtool.m4 manually as in
http://launchpadlibrarian.net/181798228/xfsprogs_3.1.9ubuntu2_3.2.1ubuntu1.diff.gz

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 1 line · * Matthias Klose ([email protected]) [140910 14:19]:

trying to use dh_autoreconf:

It works with the following patch:

debian/control 2014-09-10 14:14:34.026319172 +0000 renamed from debian/control 2014-05-02 00:09:15.000000000 +0000 +1 -1
diff -ur xfsprogs-3.2.1~/debian/control xfsprogs-3.2.1/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: XFS Development Team <[email protected]>
 Uploaders: Nathan Scott <[email protected]>, Anibal Monsalve Salazar <[email protected]>
-Build-Depends: uuid-dev, autoconf, debhelper (>= 5), gettext, libtool, libreadline-gplv2-dev | libreadline5-dev, libblkid-dev (>= 2.17), linux-libc-dev, autotools-dev
+Build-Depends: uuid-dev, dh-autoreconf, debhelper (>= 5), gettext, libtool, libreadline-gplv2-dev | libreadline5-dev, libblkid-dev (>= 2.17), linux-libc-dev
 Standards-Version: 3.9.1
 Homepage: http://oss.sgi.com/projects/xfs/
 
debian/rules 2014-09-10 14:13:18.182294515 +0000 renamed from debian/rules 2014-05-02 00:09:15.000000000 +0000 +2 -2
diff -ur xfsprogs-3.2.1~/debian/rules xfsprogs-3.2.1/debian/rules
@@ -35,7 +35,7 @@
 .census:
        @echo "== dpkg-buildpackage: configure" 1>&2
        $(checkdir)
-       dh_autotools-dev_updateconfig
+       AUTOHEADER=/bin/true dh_autoreconf
        $(options) $(MAKE) include/platform_defs.h
        touch .census
 
@@ -58,7 +58,7 @@
        $(MAKE) distclean
        -rm -rf $(dirme) $(dirdev) $(dirdi)
        -rm -f debian/*substvars debian/files* debian/*.debhelper
-       dh_autotools-dev_restoreconfig
+       dh_autoreconf_clean
        dh_clean
 
 binary-indep:

As this package is required to build ceph, libvirt and redhat-cluster I'd be willing to help fixing it, if required also by an NMU. Unless there is a reason why not, I intend to upload the fix within the next days.

Andi

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
Quoted 38 lines · Andreas Barth
Quoted 1 line · * Matthias Klose ([email protected]) [140910 14:19]:

trying to use dh_autoreconf:

It works with the following patch:
diff -ur xfsprogs-3.2.1~/debian/control xfsprogs-3.2.1/debian/control

debian/control 2014-09-10 14:14:34.026319172 +0000 renamed from debian/control 2014-05-02 00:09:15.000000000 +0000 +1 -1
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: XFS Development Team <[email protected]>
 Uploaders: Nathan Scott <[email protected]>, Anibal Monsalve Salazar <[email protected]>
-Build-Depends: uuid-dev, autoconf, debhelper (>= 5), gettext, libtool, libreadline-gplv2-dev | libreadline5-dev, libblkid-dev (>= 2.17), linux-libc-dev, autotools-dev
+Build-Depends: uuid-dev, dh-autoreconf, debhelper (>= 5), gettext, libtool, libreadline-gplv2-dev | libreadline5-dev, libblkid-dev (>= 2.17), linux-libc-dev
 Standards-Version: 3.9.1
 Homepage: http://oss.sgi.com/projects/xfs/
 

diff -ur xfsprogs-3.2.1~/debian/rules xfsprogs-3.2.1/debian/rules

debian/rules 2014-09-10 14:13:18.182294515 +0000 renamed from debian/rules 2014-05-02 00:09:15.000000000 +0000 +2 -2
@@ -35,7 +35,7 @@
 .census:
        @echo "== dpkg-buildpackage: configure" 1>&2
        $(checkdir)
-       dh_autotools-dev_updateconfig
+       AUTOHEADER=/bin/true dh_autoreconf
        $(options) $(MAKE) include/platform_defs.h
        touch .census
 
@@ -58,7 +58,7 @@
        $(MAKE) distclean
        -rm -rf $(dirme) $(dirdev) $(dirdi)
        -rm -f debian/*substvars debian/files* debian/*.debhelper
-       dh_autotools-dev_restoreconfig
+       dh_autoreconf_clean
        dh_clean
 
 binary-indep:
Quoted 4 lines

As this package is required to build ceph, libvirt and redhat-cluster I'd be willing to help fixing it, if required also by an NMU. Unless there is a reason why not, I intend to upload the fix within the next days.

The debian packaging is maintained in the upstream repository. Can you please send the patch to [email protected] with a commit message and a SOB so we can apply it?

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs