--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: sysfsutils: use dh-autoreconf in order to build on new architectures
- From: "Breno Leitao" <brenohl@br.ibm.com>
- Date: Thu, 26 Jun 2014 18:05:28 -0300
- Message-id: <201406262105.s5QL5SOQ001071@d24av05.br.ibm.com>
Source: sysfsutils
Version: 2.1.0
Severity: normal
Tags: patch
User: debian-powerpc@lists.debian.org
Usertags: ppc64el
User: debian-devel@lists.debian.org
Usertags: autoreconf
Dear Maintainer,
The package sysfsutils fails to build on ppc64el, as on new architectures,
because the config.{guess,sub} and libtool files are out of date, and are not
updated during the build, causing the following error, because shared library
is not generated.
dh_installdirs -plibsysfs2-udeb
cp -L debian/tmp/lib/*/libsysfs.so.2 debian/libsysfs2-udeb/lib
cp: cannot stat 'debian/tmp/lib/*/libsysfs.so.2': No such file or directory
make: *** [install/libsysfs2-udeb] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20140625-2339
I just created a patch that enables the package to be reconfigured during the
build process, so, updating the libtool files. I am using the following URL as
reference:
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build
Thank you,
Breno
Index: sysfsutils-2.1.0+repack/configure.ac
===================================================================
--- sysfsutils-2.1.0+repack.orig/configure.ac 2006-08-07 05:08:00.000000000 +0000
+++ sysfsutils-2.1.0+repack/configure.ac 2014-06-26 20:53:44.000000000 +0000
@@ -1,5 +1,6 @@
# Process this file with autoconf to produce a configure script.
AC_INIT(sysfsutils, 2.1.0, linux-diag-devel@lists.sourceforge.net)
+AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([config.h.in])
AM_CONFIG_HEADER([config.h])
Index: sysfsutils-2.1.0+repack/debian/control
===================================================================
--- sysfsutils-2.1.0+repack.orig/debian/control 2012-10-07 13:52:39.000000000 +0000
+++ sysfsutils-2.1.0+repack/debian/control 2014-06-26 20:55:50.000000000 +0000
@@ -2,7 +2,7 @@
Section: libs
Priority: extra
Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>= 8.1.3), cdbs (>= 0.4.93~), chrpath, autotools-dev
+Build-Depends: debhelper (>= 8.1.3), cdbs (>= 0.4.93~), chrpath, autotools-dev, dh-autoreconf
Standards-Version: 3.9.3
Package: libsysfs-dev
Index: sysfsutils-2.1.0+repack/debian/rules
===================================================================
--- sysfsutils-2.1.0+repack.orig/debian/rules 2012-10-07 13:52:39.000000000 +0000
+++ sysfsutils-2.1.0+repack/debian/rules 2014-06-26 20:55:40.000000000 +0000
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_CONFIGURE_EXTRA_FLAGS := --libdir=/lib/$(DEB_HOST_MULTIARCH)
--- End Message ---
--- Begin Message ---
Source: sysfsutils
Source-Version: 2.1.0+repack-4
We believe that the bug you reported is fixed in the latest version of
sysfsutils, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 752828@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated sysfsutils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 23 Aug 2014 19:14:39 +0200
Source: sysfsutils
Binary: libsysfs-dev libsysfs2 sysfsutils libsysfs2-udeb
Architecture: source
Version: 2.1.0+repack-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description:
libsysfs-dev - interface library to sysfs - development files
libsysfs2 - interface library to sysfs
libsysfs2-udeb - interface library to sysfs (udeb)
sysfsutils - sysfs query tool and boot-time setup
Closes: 752828
Changes:
sysfsutils (2.1.0+repack-4) unstable; urgency=medium
.
* QA upload.
* Call dh-autoreconf before building the package. (closes: #752828).
Checksums-Sha1:
4d931c0b1912fd396f20a9a8e9146bf46b727fbe 1954 sysfsutils_2.1.0+repack-4.dsc
0fb4f3b4df6da16485a25eece7963abc2018eeda 8040 sysfsutils_2.1.0+repack-4.debian.tar.xz
Checksums-Sha256:
10e77de23da20bd2eaceddef1ee06e10302f4907e6b5d1894ffa5de0f1e79de3 1954 sysfsutils_2.1.0+repack-4.dsc
1977780fc1b2baa4b7ebc3c92b45cda8d76df5a2c1255720b693dc376776244b 8040 sysfsutils_2.1.0+repack-4.debian.tar.xz
Files:
ba8453acabe245284cbb1275130bd902 1954 libs extra sysfsutils_2.1.0+repack-4.dsc
cb2036580247600fc4c55d8c7a703a2f 8040 libs extra sysfsutils_2.1.0+repack-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUBU/jRJLqceAYd3YybAQhPKRAAg67r9QH+0VJocKfk2PSoOf+MMnXHeC/V
3+INfc+QQEgbVLqsrNrX0VCfP9V8fNQQ/M94Xgxz0BBUDounqgHL907EZfx2DOAm
S7BAf83RUIk8EdL0bCbfoLEZ62ihi8FkZOOnkRElmhCHDmNpK/o5nJCEThOmQ4R7
vjB+q5pGuHL3rYo2yBfIF4yuRupEViOh3K69Zc94wYQvFiXLduBeFfc4z4wYYWoL
GxiPrfl5B0CN+mDeyASqpPBsxLpLvcZtAbB1M2wLK65A+CJVUiqKOljpb3/SG8Tj
0wv1glYesfb4oeIPiXLnhGaPtCHywcZkyR27lFelPkKRPXCPC2F3oYX0zjfXYuBw
CGntCGdzbq3dg0+5kFmwS89Es26+rm0CTV/MT1QRQzW7bkorb1rfda2Qh1jFamsu
LeTa8tqEA1gZXqmZe19XvAOOKEr7bkhcQ9KVQ8wdY5k64+nyrf1N6LQgvdUqpyID
ya/i9hXzDS9C9VF+LdJRv+figIbpHd9a+1JGxla+bFjaWxv8FFI03rbDyTCAFYaK
K5l9+nPeUQ1J0B3DEw+BiT9pztzI5vdJT1QqJUlbXrzEO3vESmyGsHqbrhK0LmVm
4pAbeg5lNeliBghKaS/ZDicr7kGf3FzbXbylBiz77A1NI5czgnBuUXQlb0X4o+sR
K8/+a8MmRnI=
=FsNX
-----END PGP SIGNATURE-----
--- End Message ---