[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#463588: dpkg-cross: -a amd64 should search /emul/ia32-linux



Package: dpkg-cross
Version: 2.1.0
Severity: normal

Suppose I want a cross-compiling environment targeting Debian-amd64. By
default, the gcc-4.2 package builds a biarch compiler (which is after
all needed to replicate properly the build environment available on an
amd64 host), and therefore requires libc6{,-dev}-i386-amd64-cross.
Unfortunately dpkg-cross does not convert these packages successfully:
it fails to find any libraries because they are all in /emul/ia32-linux,
which it does not search. I think dpkg-cross should search for libraries
under /emul/ia32-linux and put them in $(CROSSDIR)/lib32/.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg-cross depends on:
ii  binutils-multiarch  2.18.1~cvs20080103-1 Binary utilities that support mult
ii  debconf [debconf-2. 1.5.19               Debian configuration management sy
ii  dpkg-dev            1.14.16.6            package building tools for Debian
ii  libdebian-dpkgcross 2.1.0                functions to aid cross-compiling D
ii  perl                5.8.8-12             Larry Wall's Practical Extraction 

Versions of packages dpkg-cross recommends:
ii  fakeroot                      1.9.1      Gives a fake root environment

-- debconf information:
* dpkg-cross/default-arch: None



Reply to: