Package: src:gav-themes
Version: 0.7.3-2.1
Severity: serious
Tags: patch

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 fakeroot debian/rules binary-indep
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_installdirs
# Add here commands to install the package into debian/gav-themes.
#/usr/bin/make install DESTDIR=/<<PKGBUILDDIR>>/debian/gav-themes
dh_install
 dpkg-genbuildinfo --build=all
dpkg-genbuildinfo: error: binary build with no binary artifacts found; 
.buildinfo is meaningless
dpkg-buildpackage: error: dpkg-genbuildinfo --build=all gave error exit status 2
--------------------------------------------------------------------------------

This usually happens when the binary-arch and binary-indep targets are swapped.

The patch below (untested) might help.

Please consider uploading in source-only form so that these kind of bugs
are discovered earlier.

Thanks.

--- a/debian/rules
+++ b/debian/rules
@@ -58,12 +58,12 @@ install: build
        #$(MAKE) install DESTDIR=$(CURDIR)/debian/gav-themes
        dh_install
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
 # Build architecture-dependent files here.
 binary-arch: build install
+# We have nothing to do by default.
+
+# Build architecture-independent files here.
+binary-indep: build install
        dh_testdir
        dh_testroot
 #      dh_installdebconf       

Reply via email to