[pkg-db-devel] Bug#647869: db-defaults: Please make -dev packages Arch: any, Multi-Arch: same
Steve Langasek
steve.langasek at canonical.com
Mon Nov 7 03:14:01 UTC 2011
Package: db-defaults
Version: 5.1.4
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch
Hi Ondřej,
Although the libdb-dev package doesn't contain any architecture-dependent
data, it does represent an architecture-specific interface; packages which
build-depend on it, for instance, need to wind up with the .a file for the
corresponding architecture. As multiarch increasingly enables
cross-compilation of packages, it's important that packages be able to
express a build-dependency on the -dev package for a particular
architecture. This means that libdb-dev (et al.) should be Architecture:
any, and Multi-Arch: same.
The attached trivial patch which implements this has been uploaded to
Ubuntu.
Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
=== modified file 'debian/control'
--- debian/control 2011-04-21 08:55:34 +0000
+++ debian/control 2011-11-07 03:05:11 +0000
@@ -7,7 +7,8 @@
Build-Depends: debhelper (>= 7.0.50~)
Package: libdb-dev
-Architecture: all
+Architecture: any
+Multi-Arch: same
Section: libdevel
Priority: extra
Depends: libdb5.1-dev, ${misc:Depends}
@@ -28,7 +29,8 @@
unversioned links to current database utilities.
Package: libdb++-dev
-Architecture: all
+Architecture: any
+Multi-Arch: same
Section: libdevel
Priority: extra
Depends: libdb5.1++-dev (>= 5.1.25-2~), ${misc:Depends}
@@ -39,7 +41,8 @@
library. This is only for programs which will use the C++ interface.
Package: libdb-sql-dev
-Architecture: all
+Architecture: any
+Multi-Arch: same
Section: libdevel
Priority: extra
Depends: libdb5.1-sql-dev, ${misc:Depends}
@@ -49,7 +52,8 @@
library.
Package: libdb-java-dev
-Architecture: all
+Architecture: any
+Multi-Arch: same
Section: libdevel
Priority: extra
Depends: libdb5.1-java-dev (>= 5.1.25-7~), ${misc:Depends}
More information about the pkg-db-devel
mailing list