dpkg                          1.14.9
 dpkg-dev                      1.14.9

Try with a simple, really quick package that has just been patched to
cross-build successfully with emdebian-tools :

$ apt-get source hostname
$ cd hostname-2.94/
# comment out dh_shlibdeps to allow the build to complete
# (awaiting fix for 439979)

$ dpkg-buildpackage -aarm

dpkg-buildpackage: source package hostname
dpkg-buildpackage: source version 2.94em1
dpkg-buildpackage: source changed by Neil Williams <[EMAIL PROTECTED]>
dpkg-architecture: warning: Specified GNU system type arm-linux-gnu does
not match gcc system type x86_64-linux-gnu.
dpkg-buildpackage: host architecture arm
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
# Cleaning package
/usr/bin/make clean
make[1]: Entering directory
`/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94'
rm -f hostname.o hostname dnsdomainname
make[1]: Leaving directory
`/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94'
dh_clean
 dpkg-source -b hostname-2.94
dpkg-source: warning: source directory './hostname-2.94' is not
<sourcepackage>-<upstreamversion> 'hostname-2.94em1'
dpkg-source: building hostname in hostname_2.94em1.tar.gz
dpkg-source: building hostname in hostname_2.94em1.dsc
 debian/rules build
dh_testdir
# Building package
CFLAGS="-Wall -g -O2" /usr/bin/make CC=arm-linux-gnu-gcc
make[1]: Entering directory
`/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94'
arm-linux-gnu-gcc -O2 -Wall   -c -o hostname.o hostname.c
arm-linux-gnu-gcc -O2 -Wall -o hostname hostname.o
ln -fs hostname dnsdomainname
make[1]: Leaving directory
`/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94'
touch build-stamp
 fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Installing package
/usr/bin/make install
BASEDIR=/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94/debian/hostname
CC=arm-linux-gnu-gcc
make[1]: Entering directory
`/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94'
install -d
/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94/debian/hostname/usr/share/man/man1
install -o root -g root -m 0644 hostname.1
/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94/debian/hostname/usr/share/man/man1
ln -fs hostname.1
/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94/debian/hostname/usr/share/man/man1/dnsdomainname.1
install -d
/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94/debian/hostname/bin
install -o root -g root -m 0755 hostname
/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94/debian/hostname/bin
ln -f hostname
/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94/debian/hostname/bin/dnsdomainname
make[1]: Leaving directory
`/opt/emdebian/trunk/h/hostname/trunk/hostname-2.94'
dh_testdir
dh_testroot
rm -f -r debian/hostname/usr/share/man/
dh_install
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
dh_md5sums
dh_builddeb
dpkg-deb: building package `hostname' in `../hostname_2.94em1_amd64.deb'.
 signfile hostname_2.94em1.dsc
gpg: skipped "Neil Williams <[EMAIL PROTECTED]>": secret key not available
gpg: [stdin]: clearsign failed: secret key not available

 dpkg-genchanges  >../hostname_2.94em1_arm.changes
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload; Debian-native package (full source is
included)


Note:
dpkg-deb: building package `hostname' in `../hostname_2.94em1_amd64.deb'.

 dpkg-genchanges  >../hostname_2.94em1_arm.changes

What is going on?

The build clearly uses arm-linux-gnu-gcc, it builds an arm package
containing arm binaries (checked with 'file'), it creates an arm
.changes file but dpkg-deb gives me an amd64 suffix!!!

HELP! Can we have a 1.14.10 fix, like real, real soon?

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to