Bug#531307: dpkg-dev: dpkg-architecture should have a variable to flag 64bit architectures
tag 531307 patch thanks Hi! On Sun, 2009-06-21 at 01:21:03 +0200, Raphael Hertzog wrote: On Sun, 31 May 2009, Julien BLACHE wrote: It may be necessary for one reason or another to determine in debian/rules whether an architecture is 64bit or not. There isn't really a good way to do that today, and dpkg-architecture seems like the natural place to add this. So, I think a new variable like DEB_ARCH_64BIT would be a nice and handy thing to have. More likely DEB_ARCH_BITS=64 so that it covers the future too. However this information doesn't exist currently. Better yet DEB_HOST_ARCH_BITS. :) If we want to support that, we should add a new column to /usr/share/dpkg/cputable. Guillem, what do you think about it? Actually I had some discussion about exporting the wordsize and endianness few months ago on #debian-dpkg with Hector Oron. So I've done some preliminary coding, something like this could do, after some cleanup: http://git.hadrons.org/?p=debian/dpkg/dpkg.git;a=commitdiff;h=93b1eba1 Thinking about it now, probably easier for people to spell DEB_HOST_ARCH_ENDIAN rather than DEB_HOST_ARCH_ENDIANNESS, though. regards, guillem -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#531307: dpkg-dev: dpkg-architecture should have a variable to flag 64bit architectures
On Sun, 28 Jun 2009, Guillem Jover wrote: Actually I had some discussion about exporting the wordsize and endianness few months ago on #debian-dpkg with Hector Oron. So I've done some preliminary coding, something like this could do, after some cleanup: http://git.hadrons.org/?p=debian/dpkg/dpkg.git;a=commitdiff;h=93b1eba1 Thinking about it now, probably easier for people to spell DEB_HOST_ARCH_ENDIAN rather than DEB_HOST_ARCH_ENDIANNESS, though. It looks mostly fine but: - you should add some comments explaining the new columns in cputable - the parsing in Dpkg::Arch should also support the 3 column format and not only the 5 columns one as the cputable is in dpkg and the parsing code in dpkg-dev and both need not be in sync... Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#531307: dpkg-dev: dpkg-architecture should have a variable to flag 64bit architectures
Raphael Hertzog hert...@debian.org wrote: Hi, So, I think a new variable like DEB_ARCH_64BIT would be a nice and handy thing to have. More likely DEB_ARCH_BITS=64 so that it covers the future too. However this information doesn't exist currently. Yup, that would do. JB. -- Julien BLACHE jbla...@debian.org | Debian, because code matters more Debian GNU/Linux Developer| http://www.debian.org Public key available on http://www.jblache.org - KeyID: F5D6 5169 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#531307: dpkg-dev: dpkg-architecture should have a variable to flag 64bit architectures
Hi, On Sun, 31 May 2009, Julien BLACHE wrote: It may be necessary for one reason or another to determine in debian/rules whether an architecture is 64bit or not. There isn't really a good way to do that today, and dpkg-architecture seems like the natural place to add this. So, I think a new variable like DEB_ARCH_64BIT would be a nice and handy thing to have. More likely DEB_ARCH_BITS=64 so that it covers the future too. However this information doesn't exist currently. If we want to support that, we should add a new column to /usr/share/dpkg/cputable. Guillem, what do you think about it? Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#531307: dpkg-dev: dpkg-architecture should have a variable to flag 64bit architectures
Package: dpkg-dev Version: 1.15.2 Severity: wishlist Hi, It may be necessary for one reason or another to determine in debian/rules whether an architecture is 64bit or not. There isn't really a good way to do that today, and dpkg-architecture seems like the natural place to add this. So, I think a new variable like DEB_ARCH_64BIT would be a nice and handy thing to have. JB. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29 (SMP w/2 CPU cores) Locale: LANG=C, lc_ctype=fr...@euro (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages dpkg-dev depends on: ii binutils 2.19.1-1 The GNU assembler, linker and bina ii bzip2 1.0.5-1high-quality block-sorting file co ii dpkg 1.15.2 Debian package management system ii libtimedate-perl 1.1600-9 Time and date functions for Perl ii lzma 4.43-14Compression method of 7z format in ii make 3.81-5 The GNU version of the make util ii patch 2.5.9-5Apply a diff file to an original ii perl [perl5] 5.10.0-22 Larry Wall's Practical Extraction ii perl-modules 5.10.0-22 Core Perl modules Versions of packages dpkg-dev recommends: ii build-essential 11.4 Informational list of build-essent ii gcc [c-compiler] 4:4.3.3-8 The GNU C compiler ii gcc-4.2 [c-compiler] 4.2.4-6The GNU C compiler ii gcc-4.3 [c-compiler] 4.3.3-10 The GNU C compiler ii gnupg 1.4.9-4GNU privacy guard - a free PGP rep ii gpgv 1.4.9-4GNU privacy guard - signature veri Versions of packages dpkg-dev suggests: ii debian-keyring2009.05.28 GnuPG (and obsolete PGP) keys of D pn debian-maintainersnone (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org