Source: vala-0.16
Version: 0.16.1-2
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

The package vala-0.16 fails to build from source on ppc64el.

> dh_testdir
> dh_testroot
> dh_install -s
> dh_install: libvala-0.16-0 missing files (usr/lib/*/lib*.so.*), aborting
> make: *** [binary-arch] Error 255
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 
> 2

Using dh-autoreconf during the build fixes that and the package builds 
successfully.

The patch attached contains such modification.
I also removed some direct handling of configuration files that are actually 
updated
by dh-autoreconf.

Thanks and regards.
Fernando


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru vala-0.16-0.16.1/debian/rules vala-0.16-0.16.1/debian/rules
--- vala-0.16-0.16.1/debian/rules	2012-09-05 00:39:02.000000000 +0000
+++ vala-0.16-0.16.1/debian/rules	2014-07-28 03:01:01.000000000 +0000
@@ -40,21 +40,11 @@
 
 builddir-stamp:
 	dh_testdir
-	# handle timestamp skew; advice from autotools-dev README.Debian
-	touch configure.in aclocal.m4 configure
-	# backup the original files to restore them in the clean target
-	cp build-aux/config.sub build-aux/config.sub.orig
-	cp build-aux/config.guess build-aux/config.guess.orig
-	# Copy in fresh copies of config.{sub,guess}
-	# (these are from autotools-dev, so must Build-Depend on it)
-	-test -r /usr/share/misc/config.sub && \
-	  cp -f /usr/share/misc/config.sub build-aux/config.sub
-	-test -r /usr/share/misc/config.guess && \
-	  cp -f /usr/share/misc/config.guess build-aux/config.guess
 	touch $@
 
 configure-bootstrap-stamp: builddir-stamp
 	dh_testdir
+	dh_autoreconf
 	mkdir -p bootstrap/build
 	cd bootstrap/build && \
 		../../configure CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(configure_flags) --disable-vapigen
@@ -147,10 +137,6 @@
 	dh_testdir
 	dh_testroot
 
-	# restore config.sub/config.guess
-	[ ! -r build-aux/config.sub.orig ] || mv -f build-aux/config.sub.orig build-aux/config.sub
-	[ ! -r build-aux/config.guess.orig ] || mv -f build-aux/config.guess.orig build-aux/config.guess
-
 	rm -rf bootstrap
 	rm -rf debian/tmp
 	make distclean || true
@@ -159,5 +145,6 @@
 
 	rm -f builddir-stamp configure-bootstrap-stamp bootstrap-stamp
 	rm -f configure-stamp build-stamp check-stamp install-stamp
+	dh_autoreconf_clean
 	dh_clean
 
--- vala-0.16-0.16.1/debian/control	2012-09-05 00:39:02.000000000 +0000
+++ vala-0.16-0.16.1/debian/control	2014-07-28 03:10:51.620000266 +0000
@@ -12,7 +12,7 @@
                quilt,
                libglib2.0-dev (>= 2.26),
                bison (>= 2.3),
-               autotools-dev,
+               dh-autoreconf,
                flex,
                gnome-pkg-tools,
                xsltproc,

Reply via email to