Bug#320380: amd64 dpkg-architecture gives no information
Package: dpkg-dev
Version: 1.10.28
When I invoke `dpkg-architecture` on Sarge/amd64, the output is
seemingly broken:
$ uname -a
Linux gamera.domain.mars 2.6.8-11-amd64-k8-smp #1 SMP Wed Jun 1 00:01:27 CEST 2$
$ dpkg-architecture
DEB_BUILD_ARCH=
DEB_BUILD_GNU_CPU=
DEB_BUILD_GNU_SYSTEM=
DEB_BUILD_GNU_TYPE=
DEB_HOST_ARCH=
DEB_HOST_GNU_CPU= DEB_HOST_GNU_SYSTEM=
DEB_HOST_GNU_TYPE=
alternatively, dpkg-architechture works fine on Sarge/i386
$ uname -a
Linux edgar 2.4.27-2-686-smp #1 SMP Mon May 16 16:55:31 JST 2005 i686 GNU/Linux
$ dpkg-architecture
DEB_BUILD_ARCH=i386
DEB_BUILD_GNU_CPU=i386
DEB_BUILD_GNU_SYSTEM=linux
DEB_BUILD_GNU_TYPE=i386-linux
DEB_HOST_ARCH=i386 DEB_HOST_GNU_CPU=i386
DEB_HOST_GNU_SYSTEM=linux
DEB_HOST_GNU_TYPE=i386-linux
I know I can set the arch with -a and gnu type with -t. I'm only reporting that the package does not work as expected. This also breaks the java-package on amd64, because java-package uses
dpkg-architecture to determine this information.
Sincerely,
Jeremy
--
"Prediction is very difficult, especially of the future."
Niels Bohr
http://www.nirvani.net
Reply to: