Debian Bug report logs - #689613
db: run dh-autoreconf to update config.{sub,guess} and {libtool,aclocal}.m4

version graph

Package: src:db5.3; Maintainer for src:db5.3 is Debian Berkeley DB Group <pkg-db-devel@lists.alioth.debian.org>;

Reported by: Wookey <wookey@wookware.org>

Date: Thu, 4 Oct 2012 14:54:01 UTC

Severity: wishlist

Tags: patch, upstream

Fixed in version 5.3.21-2

Done: Ondřej Surý <ondrej@sury.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Berkeley DB Group <pkg-db-devel@lists.alioth.debian.org>:
Bug#689613; Package db. (Thu, 04 Oct 2012 14:54:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wookey <wookey@wookware.org>:
New Bug report received and forwarded. Copy sent to Debian Berkeley DB Group <pkg-db-devel@lists.alioth.debian.org>. (Thu, 04 Oct 2012 14:54:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Wookey <wookey@wookware.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: db: autoconf update for arm64 building
Date: Thu, 04 Oct 2012 15:51:11 +0100
[Message part 1 (text/plain, inline)]
Package: db
Version: 5.1.29
Severity: wishlist
Tags: upstream patch

This package needs autoconf updates (to config.guess and config.sub)
to build for 64-bit arm. The arm64 port is stalled until this package
is updated.
                                                                                                                                                         
Support for aarch64 has been added to autotools config.guess and
config.sub in autotools 20120210.1

For upstream running autoreconf against autotools-dev 20120210.1 or
later will fix the autoconf part.

For the Debian package, if you wanted to keep this up to date
automatically in the future (generally a good idea) then adding
something like this to your distclean target would be effective: -test
-r /usr/share/misc/config.sub && cp -f /usr/share/misc/config.sub
config.sub -test -r /usr/share/misc/config.guess && cp -f
/usr/share/misc/config.guess config.guess (You could instead just make
those files links.) along with a build-dependency on autotools-dev
 
Please pass this bug report to upstream

-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.33-kvm-i386-20111128-dirty (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
[db-5.1.29-autoconfupdate.patch (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Berkeley DB Group <pkg-db-devel@lists.alioth.debian.org>:
Bug#689613; Package db. (Tue, 12 Feb 2013 00:45:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Colin Watson <cjwatson@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Debian Berkeley DB Group <pkg-db-devel@lists.alioth.debian.org>. (Tue, 12 Feb 2013 00:45:06 GMT) Full text and rfc822 format available.

Message #10 received at 689613@bugs.debian.org (full text, mbox):

From: Colin Watson <cjwatson@ubuntu.com>
To: Wookey <wookey@wookware.org>, 689613@bugs.debian.org
Subject: Re: Bug#689613: db: autoconf update for arm64 building
Date: Tue, 12 Feb 2013 00:42:25 +0000
On Thu, Oct 04, 2012 at 03:51:11PM +0100, Wookey wrote:
> This package needs autoconf updates (to config.guess and config.sub)
> to build for 64-bit arm. The arm64 port is stalled until this package
> is updated.

We need a bit more than this patch, as this source package contains
multiple copies of config.guess and config.sub which all need to be
updated.  Rather than adding an even larger manual patch, I recommend
using the autotools-dev dh addon, which deals with this more compactly.

  * Use the autotools-dev dh addon to update all our copies of config.guess
    and config.sub.

diff -Nru db-5.1.29/debian/control db-5.1.29/debian/control
--- db-5.1.29/debian/control	2012-06-28 13:03:31.000000000 +0100
+++ db-5.1.29/debian/control	2013-02-11 12:30:42.000000000 +0000
@@ -5,6 +5,7 @@
 Uploaders: Ondřej Surý <ondrej@debian.org>
 Standards-Version: 3.9.3
 Build-Depends: debhelper (>= 9),
+	       autotools-dev (>= 20100122.1),
 	       tcl-dev,
 	       procps [!hurd-i386],
 	       javahelper,
diff -Nru db-5.1.29/debian/rules db-5.1.29/debian/rules
--- db-5.1.29/debian/rules	2012-06-28 13:03:31.000000000 +0100
+++ db-5.1.29/debian/rules	2013-02-11 12:31:04.000000000 +0000
@@ -91,7 +91,7 @@
 version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*')
 
 %:
-	dh $@ $(DH_PLUGINS)
+	dh $@ --with=autotools-dev $(DH_PLUGINS)
 
 override_dh_auto_configure:
 	dh_auto_configure -Ddist -Bbuild -- $(CONFIGURE_SWITCHES)

Thanks,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Berkeley DB Group <pkg-db-devel@lists.alioth.debian.org>:
Bug#689613; Package db. (Tue, 21 Jan 2014 11:42:53 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Berkeley DB Group <pkg-db-devel@lists.alioth.debian.org>. (Tue, 21 Jan 2014 11:42:53 GMT) Full text and rfc822 format available.

Message #15 received at 689613@bugs.debian.org (full text, mbox):

From: Matthias Klose <doko@debian.org>
To: 689613@bugs.debian.org
Subject: reuse this issue for the more general solution to use dh-autoreconf
Date: Tue, 21 Jan 2014 11:41:30 +0000
Control: retitle -1 db: run dh-autoreconf to update config.{sub,guess} and {libtool,aclocal}.m4

Reusing this report for the more general solution to also update
the libtool.m4 and/or aclocal.m4 files, needed for the port mentioned
in bug #726404.

See https://wiki.debian.org/qa.debian.org/FTBFS for a guide how to
address these.

Please ignore this email if the libtool.m4/aclocal.m4 update is not
needed, and updating the config.{guess,sub} files is sufficient.



Changed Bug title to 'db: run dh-autoreconf to update config.{sub,guess} and {libtool,aclocal}.m4' from 'db: autoconf update for arm64 building' Request was from Matthias Klose <doko@debian.org> to 689613-submit@bugs.debian.org. (Tue, 21 Jan 2014 11:42:54 GMT) Full text and rfc822 format available.

Bug reassigned from package 'db' to 'src:db5.3'. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Wed, 19 Feb 2014 15:15:19 GMT) Full text and rfc822 format available.

No longer marked as found in versions 5.1.29. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Wed, 19 Feb 2014 15:15:20 GMT) Full text and rfc822 format available.

Reply sent to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility. (Tue, 18 Mar 2014 10:33:12 GMT) Full text and rfc822 format available.

Notification sent to Wookey <wookey@wookware.org>:
Bug acknowledged by developer. (Tue, 18 Mar 2014 10:33:12 GMT) Full text and rfc822 format available.

Message #26 received at 689613-done@bugs.debian.org (full text, mbox):

From: Ondřej Surý <ondrej@sury.org>
To: 689613-done@bugs.debian.org, Wookey <wookey@wookware.org>, Colin Watson <cjwatson@ubuntu.com>, Matthias Klose <doko@debian.org>
Subject: Re: Bug#689613: db: run dh-autoreconf to update config.{sub,guess} and {libtool,aclocal}.m4
Date: Tue, 18 Mar 2014 11:29:41 +0100
Version: 5.3.21-2

Berkeley DB 5.3 uses autotools-dev since 5.3.21-2, so we should be ok.

Ondrej
-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 16 Apr 2014 07:26:04 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 16 08:08:49 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.