On 07/09/2014 09:32 PM, Laurent Fousse wrote:
Thanks for the patch and sorry for not getting back to you earlier. I'm
looking into updating the package to 1.0.2 and including your patch. [...]

No problem at all. :) Thanks a lot for your attention and time.


> [...] It
doesn't seem to me that the build-depends on subversion is strictly
necessary, it builds fine for me (on amd64) without it. Could you check
it works for you without it as well?

Indeed, you're right.  I attached a new patch for your convenience.


Building without subversion finishes successfully, w/ shared libraries.

        $ dpkg-deb -c libmpc3_1.0.1-1.1_ppc64el.deb | fgrep .so
-rw-r--r-- root/root 105440 2014-07-10 14:18 ./usr/lib/powerpc64le-linux-gnu/libmpc.so.3.0.0 lrwxrwxrwx root/root 0 2014-07-10 14:18 ./usr/lib/powerpc64le-linux-gnu/libmpc.so.3 -> libmpc.so.3.0.0


I had included it for silencing warnings during autoreconf, but they are
harmless.  The only usage of svnversion is at a m4 macro (m4/mpc.m4) to
include its output on 'dev' versions of mpclib, which is not the case.

        $ autoreconf -fvi
        [...]
        autoreconf: running: aclocal --force -I m4
        sh: 1: svnversion: not found
        sh: 1: svnversion: not found
        autoreconf: configure.ac: tracing
        sh: 1: svnversion: not found
        autoreconf: running: libtoolize --copy --force
        [...]
        sh: 1: svnversion: not found
        sh: 1: svnversion: not found
        autoreconf: running: /usr/bin/autoconf --force
        sh: 1: svnversion: not found
        autoreconf: running: /usr/bin/autoheader --force
        sh: 1: svnversion: not found
        autoreconf: running: automake --add-missing --copy --force-missing
        autoreconf: Leaving directory `.'

        $ echo $?
        0


Thanks again,

--
Mauricio Faria de Oliveira
IBM Linux Technology Center
diff -Nru mpclib3-1.0.1/debian/changelog mpclib3-1.0.1/debian/changelog
--- mpclib3-1.0.1/debian/changelog      2014-07-02 18:17:28.000000000 -0300
+++ mpclib3-1.0.1/debian/changelog      2014-07-02 18:17:28.000000000 -0300
@@ -1,3 +1,10 @@
+mpclib3 (1.0.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Build with dh-autoreconf. (Closes: #753537)
+
+ -- Mauricio Faria de Oliveira <[email protected]>  Wed, 10 Jul 2014 
11:33:11 -0300
+
 mpclib3 (1.0.1-1) unstable; urgency=low
 
   * New upstream release (closes: #696696).
diff -Nru mpclib3-1.0.1/debian/control mpclib3-1.0.1/debian/control
--- mpclib3-1.0.1/debian/control        2014-07-02 18:17:28.000000000 -0300
+++ mpclib3-1.0.1/debian/control        2014-07-02 18:17:28.000000000 -0300
@@ -1,7 +1,7 @@
 Source: mpclib3
 Priority: extra
 Maintainer: Laurent Fousse <[email protected]>
-Build-Depends: debhelper (>= 7), autotools-dev, libmpfr-dev, libgmp-dev
+Build-Depends: debhelper (>= 7), autotools-dev, libmpfr-dev, libgmp-dev, 
dh-autoreconf
 Standards-Version: 3.8.4
 Section: libs
 Homepage: http://www.multiprecision.org/mpc/
diff -Nru mpclib3-1.0.1/debian/rules mpclib3-1.0.1/debian/rules
--- mpclib3-1.0.1/debian/rules  2014-07-02 18:17:28.000000000 -0300
+++ mpclib3-1.0.1/debian/rules  2014-07-02 18:17:28.000000000 -0300
@@ -36,12 +36,7 @@
 config.status: configure
        dh_testdir
        # Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-       cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-       cp -f /usr/share/misc/config.guess config.guess
-endif
+       dh_autoreconf
        ./configure $(CROSS) --prefix=/usr \
                --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
                --mandir=\$${prefix}/share/man \
@@ -70,6 +65,7 @@
        [ ! -f Makefile ] || $(MAKE) distclean
        rm -f config.sub config.guess
 
+       dh_autoreconf_clean
        dh_clean 
 
 install: build

Reply via email to