Control: tags -1 + patch
Hi,
On Mon, Aug 06, 2012 at 12:48:53PM +0200, Jakub Wilk wrote:
> python-adodb builds an arch:all package, but if you try to build it
> with dpkg-buildpackage -A, it FTBFS with:
> | dpkg-genchanges -A >../python-adodb_2.10-1_all.changes
> | dpkg-genchanges: arch-indep upload - not including arch-specific packages
> | dpkg-genchanges: error: cannot read files list file: No such file or
> directory
> | dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2
The following patch would fix the issue:
diff -u python-adodb-2.10/debian/rules python-adodb-2.10/debian/rules
--- python-adodb-2.10/debian/rules
+++ python-adodb-2.10/debian/rules
@@ -45,12 +45,12 @@
--install-lib=$(PY_SUPPORT_DIR)/python-adodb
-# 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.
+
+# Build architecture-independent files here.
+binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs
Basically it just exchanges binary-arch with binary-indep, as this is
the target where the actual package is to be built.
This automatically breaks building with -B, btw :)
--
Bruce Schneier can read and understand Perl programs.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]