Package: log4cxx
Version: 0.10.0-2
Severity: important
Tags: patch
User: [email protected]
Usertag: arm64
Your package failed to build on arm64 with the following error.
Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized
configure: error: /bin/bash ./config.sub aarch64-linux-gnu failed
Normally this is indicative of outdated config.guess/sub files.
I'm not sure why this was happening with your package though since AIUI
running dh_autoreconf on packages that use automake is supposed to
update them. To troubleshoot this I modified debian/rules to remove
config.sub and config.guess before running dh_autoreconf expecting to
get a failure but to my surprise the package built successfully (note
that my build was not in a minimal environment though). So I went ahead
and uploaded it to debian-ports unreleased.
Debdiff attatched, no immediate intent to NMU in debian proper but a NMU
may well follow later when the time comes to push arm64 into the main
archive.
diff -Nru log4cxx-0.10.0/debian/changelog log4cxx-0.10.0/debian/changelog
--- log4cxx-0.10.0/debian/changelog 2014-03-15 20:22:30.000000000 +0000
+++ log4cxx-0.10.0/debian/changelog 2014-06-18 14:46:10.000000000 +0000
@@ -1,3 +1,9 @@
+log4cxx (0.10.0-2+arm64) unreleased; urgency=medium
+
+ * Remove outdated config.sub/guess to make sure they can't be used.
+
+ -- Peter Michael Green <[email protected]> Wed, 18 Jun 2014 14:23:13 +0000
+
log4cxx (0.10.0-2) unstable; urgency=medium
* New maintainer. (Closes: #740507)
diff -Nru log4cxx-0.10.0/debian/rules log4cxx-0.10.0/debian/rules
--- log4cxx-0.10.0/debian/rules 2014-03-15 18:17:24.000000000 +0000
+++ log4cxx-0.10.0/debian/rules 2014-06-18 14:22:07.000000000 +0000
@@ -13,6 +13,8 @@
dh $@ --parallel --with autoreconf
override_dh_autoreconf:
+ #make sure outdated config.sub/guess can't be used.
+ rm -f config.sub config.guess
dh_autoreconf ./autogen.sh
override_dh_auto_configure: