Package: apt Version: 0.9.7.7 Severity: wishlist File: /usr/bin/apt-get User: multiarch-devel@lists.alioth.debian.org Usertags: multiarch When I try to use apt-get source -aarmhf -b to compile a package for foreign architectures, it passes "-a", "armhf" to dpkg-buildpackage instead of "-aarmhf". dpkg-buildpackage doesn't know the first one yet: $ apt-get source -a armhf -b libicns Reading package lists... Done Building dependency tree Reading state information... Done NOTICE: 'libicns' packaging is maintained in the 'Svn' version control system at: http://icns.svn.sourceforge.net/svnroot/icns Need to get 467 kB of source archives. Get:1 http://http.debian.net/debian/ testing/main libicns 0.8.1-1 (dsc) [1,974 B] Get:2 http://http.debian.net/debian/ testing/main libicns 0.8.1-1 (tar) [461 kB] Get:3 http://http.debian.net/debian/ testing/main libicns 0.8.1-1 (diff) [4,246 B] Fetched 467 kB in 2s (186 kB/s) dpkg-source: info: extracting libicns in libicns-0.8.1 dpkg-source: info: unpacking libicns_0.8.1.orig.tar.gz dpkg-source: info: unpacking libicns_0.8.1-1.debian.tar.gz dpkg-buildpackage: unknown option or argument armhf Usage: dpkg-buildpackage [<option>...] Options: ... Options passed to dpkg-architecture: -a<arch> Debian architecture we build for. -t<system> set GNU system type. ... Build command 'cd libicns-0.8.1 && dpkg-buildpackage -a armhf -b -uc' failed. E: Child process failed guest@morrison:~ $ cd libicns-0.8.1 && dpkg-buildpackage -a armhf -b -uc ; cd dpkg-buildpackage: unknown option or argument armhf Usage: dpkg-buildpackage [<option>...] Options: ... Options passed to dpkg-architecture: -a<arch> Debian architecture we build for. -t<system> set GNU system type. ... guest@morrison:~ $ cd libicns-0.8.1 && dpkg-buildpackage -aarmhf -b -uc ; cd dpkg-buildpackage: source package libicns dpkg-buildpackage: source version 0.8.1-1 dpkg-buildpackage: source changed by Paul Wise <pabs@debian.org> dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match gcc system type x86_64-linux-gnu, try setting a correct CC environment variable dpkg-buildpackage: host architecture armhf dpkg-source --before-build libicns-0.8.1 fakeroot debian/rules clean dh clean --parallel --with autoreconf dh_testdir -O--parallel dh_auto_clean -O--parallel dh_autoreconf_clean -O--parallel dh_clean -O--parallel debian/rules build dh build --parallel --with autoreconf dh_testdir -O--parallel dh_autoreconf -O--parallel ... -- System Information: Debian Release: 7.0 APT prefers experimental APT policy: (1900, 'experimental'), (1800, 'unstable'), (1700, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: armel armhf Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages apt depends on: ii debian-archive-keyring 2012.4 ii gnupg 1.4.12-7 ii libapt-pkg4.12 0.9.7.7 ii libc6 2.16-0experimental1 ii libgcc1 1:4.8-20130105-1 ii libstdc++6 4.8-20130105-1 Versions of packages apt suggests: pn apt-doc <none> ii aptitude 0.6.9.1-1 ii dpkg-dev 1.16.9 ii python-apt 0.8.8.1 ii synaptic 0.80~exp1 ii xz-utils 5.1.1alpha+20120614-2 -- bye, pabs http://wiki.debian.org/PaulWise
Attachment:
signature.asc
Description: This is a digitally signed message part