Package: dpkg-dev
Version: 1.15.8.4
Severity: wishlist
File: /usr/bin/dpkg-architecture

Hi,

recent discussions about multiarch, cross-compiling and the increasing
number of ABIs used in ports have raised the issue that the GNU
tripplet is not sufficiently unique to distinguish between different
ABIs. This makes it problematic to use /usr/lib/$(DEB_HOST_GNU_TYPE)/
as libdir when compiling for multiarch or
/usr/lib/pkg/$(DEB_HOST_GNU_TYPE)/ when building a cross-compiling
tool. So something new is needed that is truely unique for each
ABI. What that eventually is doesn't matter as long as it is unique.

On the other hand the ABI we compile for is verry specific to each
port and should be defined in exactly one place so there can be no
conflicting values. It should be provided by dpkg-architecture.


My wish is to add DEB_HOST_ABI / DEB_BUILD_ABI to the
dpkg-architecture output and for now set it equal to DEB_HOST_GNU_TYPE
/ DEB_BUILD_GNU_TYPE. This is sufficient for the official release
architectures (and is what our toolchain and ld.so uses and unlikely
to change) while it fails some of the extra ports (which then can
provide a more unique value).

It would be best to include this in squeeze so that sources using it
post squeeze don't need a versioned Build-Depends on dpkg-dev, which
simplifies backporting any such sources as well. 

MfG
        Goswin

PS: This is analog to the recently added DEB_*_ARCH_BITS that can be
used for the biarch libdir [/usr]/lib/$(DEB_HOST_ARCH_BITS)/.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31.6-xen-2010.02.18 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg-dev depends on:
ii  base-files        5.7                    Debian base system miscellaneous f
ii  binutils          2.20.1-10              The GNU assembler, linker and bina
ii  bzip2             1.0.5-4                high-quality block-sorting file co
ii  libdpkg-perl      1.15.8.4               Dpkg perl modules
ii  make              3.81-8                 An utility for Directing compilati
ii  patch             2.6-2                  Apply a diff file to an original
ii  xz-utils          4.999.9beta+20100527-1 XZ-format compression utilities

Versions of packages dpkg-dev recommends:
ii  build-essential               11.5       Informational list of build-essent
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  gcc [c-compiler]              4:4.4.4-2  The GNU C compiler
ii  gcc-4.4 [c-compiler]          4.4.4-5    The GNU C compiler
ii  gnupg                         1.4.10-4   GNU privacy guard - a free PGP rep
ii  gpgv                          1.4.10-4   GNU privacy guard - signature veri
pn  libalgorithm-merge-perl       <none>     (no description available)

Versions of packages dpkg-dev suggests:
ii  debian-keyring                2010.06.08 GnuPG (and obsolete PGP) keys of D

-- no debconf information




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to