Package: src:libgc Version: 7.2d-6 Followup-For: Bug #732349 Thanks for updating the package to use autoreconf, which ought to have fixed it for arm64, butin fact this hasn't worked, as explained in the long thread on debian-devel this week about autotools-dev and dh-autoreconf.
https://lists.debian.org/debian-devel/2014/04/msg00459.html Because you used the upstream autogen.sh file (not unreasonably), and the config.sub (but not guess, oddly) in the package was too old it still didn't get updated files. And in fact it turns out that the upstream autogen.sh file doesn't do anything useful and just breaks building in the 'new arch' circumstance it's best not used: https://lists.debian.org/debian-devel/2014/04/msg00497.html So here's a patch that works. (actually it just configures correctly and tries to build with this but falls over for a different reason: In file included from ./include/private/gc_priv.h:94:0, from allchblk.c:17: ./include/private/gcconfig.h:518:5: error: #error "The collector has not been ported to this machine/OS combinat ion." # error "The collector has not been ported to this machine/OS combination." ^ In file included from ./include/private/gc_priv.h:94:0, from allchblk.c:17: ./include/private/gcconfig.h:2433:3: error: #error --> undefined ALIGNMENT # error --> undefined ALIGNMENT The fix for this is in http://patches.ubuntu.com/libg/libgc/libgc_1:7.2d-5ubuntu2.patch but I've not integrated and tested that, and may not have time for a while as I'm off the Opensuse conf and then holiday for a week or two. At least part of that patch is bogus - pkg-kde-tools and symbolhelped is fine on arm64 now, but the rest looks about right. So, thanks for being a poster-boy for the dh-autoreconf discussion - I think we've reached a sensible place on all that. And either apply that ubuntu patch too to get this to work or wait till I have time to do so. You can see build attempts for libgc on arm64 here: http://buildd.debian-ports.org/status/package.php?p=libgc&suite=sid And I can get you access to a machine if you need it. Wookey -- Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM http://wookware.org/
diff -Nru libgc-7.2d/debian/changelog libgc-7.2d/debian/changelog --- libgc-7.2d/debian/changelog 2013-12-23 11:49:36.000000000 +0000 +++ libgc-7.2d/debian/changelog 2014-04-17 16:25:49.000000000 +0000 @@ -1,3 +1,10 @@ +libgc (1:7.2d-6.1) unreleased; urgency=low + + * Non-maintainer upload. + * Fix autoreconfing to include updated config.sub,guess files + + -- Buildd user <bui...@turfan.debian.net> Thu, 17 Apr 2014 16:25:03 +0000 + libgc (1:7.2d-6) unstable; urgency=medium * Run full autoreconf during build diff -Nru libgc-7.2d/debian/control libgc-7.2d/debian/control --- libgc-7.2d/debian/control 2013-12-23 11:28:03.000000000 +0000 +++ libgc-7.2d/debian/control 2014-04-17 17:17:46.000000000 +0000 @@ -3,7 +3,8 @@ Section: libs Priority: standard Build-Depends: debhelper (>= 9), - autoconf, + dh-autoreconf, + autotools-dev, libatomic-ops-dev (>= 7.3~), pkg-config, pkg-kde-tools diff -Nru libgc-7.2d/debian/rules libgc-7.2d/debian/rules --- libgc-7.2d/debian/rules 2013-12-23 11:28:27.000000000 +0000 +++ libgc-7.2d/debian/rules 2014-04-19 01:54:44.000000000 +0000 @@ -8,7 +8,7 @@ LDFLAGS += -pthread %: - dh $@ --with pkgkde_symbolshelper + dh $@ --with autotools-dev,autoreconf,pkgkde_symbolshelper override_dh_auto_configure: [ ! -d libatomic_ops-1.2 ] || mv libatomic_ops-1.2 libatomic_ops-1.2.bak @@ -27,9 +27,6 @@ --build=$(DEB_BUILD_GNU_TYPE) \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) -override_dh_autoreconf: - dh_autoreconf ./autogen.sh - override_dh_auto_test: $(MAKE) check