--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: dpkg-cross: Please add armhf support
- From: Konstantinos Margaritis <markos@genesi-usa.com>
- Date: Mon, 29 Nov 2010 20:55:53 +0000
- Message-id: <20101129205553.2974.74944.reportbug@vectormx.lan>
Source: dpkg-cross
Severity: wishlist
Tags: patch
Hi,
The armhf port has reached a very good state (at 87%) at debian-ports.org,
and I'm now mass-filing bug reports to packages for armhf support.
Most packages just have to add armhf in the architecture field. The complete
list is in http://wiki.debian.org/ArmHardFloatTodo
In particular, dpkg-cross armhf support is necessary to actually cross-build armhf
packages.
The package builds fine using the attached patch. Mind you, we do not target
squeeze, so there is no rush. But please consider adding armhf support. :)
Regards
Konstantinos
-- System Information:
Debian Release: squeeze/sid
Architecture: armhf (armv7l)
Kernel: Linux 2.6.31.14-efikamx (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -ruN dpkg-cross-2.5.8/config/cross-config.armhf dpkg-cross-2.5.8+armhf//config/cross-config.armhf
--- dpkg-cross-2.5.8/config/cross-config.armhf 1970-01-01 00:00:00.000000000 +0000
+++ dpkg-cross-2.5.8+armhf//config/cross-config.armhf 2010-11-29 17:22:19.619770493 +0000
@@ -0,0 +1,56 @@
+# read in package-specific and global values.
+. `dirname $ac_site_file`/cross-config.cache
+# now ensure the real architecture-dependent values take priority
+ac_cv_c_bigendian=no
+ac_cv_c_char_unsigned=yes
+ac_cv_sizeof_long_long=8
+ac_cv_sizeof_unsigned_long_long=8
+ac_cv_sizeof_long=4
+ac_cv_sizeof_unsigned_long=4
+ac_cv_sizeof_int=4
+ac_cv_sizeof_unsigned_int=4
+ac_cv_sizeof_short=2
+ac_cv_sizeof_unsigned_short=2
+ac_cv_sizeof_char=1
+ac_cv_sizeof_unsigned_char=1
+ac_cv_sizeof_signed_char=1
+ac_cv_sizeof_float=4
+ac_cv_sizeof_double=8
+ac_cv_sizeof_long_double=8
+ac_cv_sizeof_void_p=4
+ac_cv_sizeof_char_p=4
+ac_cv_sizeof_off_t=4
+
+path=`dirname $ac_site_file`
+# now allow package-specific architecture-independent values to be set
+if [ -d $path/cross-config.d/armhf/ ]; then
+for file in `ls $path/cross-config.d/armhf/`; do
+ if [ "$file" = "$PACKAGE" -o "$file" = "$PACKAGE_NAME" ]; then
+ [ -d $path/cross-config.d/armhf/$file ] || . $path/cross-config.d/armhf/$file
+ HAVE_PKG_CACHE=1
+ fi
+done
+fi
+
+if [ -z "$HAVE_PKG_CACHE" ]; then
+ # orbit2 - only needed until liborbit-dev provides these directly
+ # using the mechanism above.
+ if [ "$PACKAGE" = "orbit2" -o "$PACKAGE_NAME" = "ORBit2" ]; then
+ ac_cv_alignof_CORBA_octet=1
+ ac_cv_alignof_CORBA_boolean=1
+ ac_cv_alignof_CORBA_char=1
+ ac_cv_alignof_CORBA_wchar=2
+ ac_cv_alignof_CORBA_short=2
+ ac_cv_alignof_CORBA_long=4
+ ac_cv_alignof_CORBA_long_long=8
+ ac_cv_alignof_CORBA_float=4
+ ac_cv_alignof_CORBA_double=4
+ ac_cv_alignof_CORBA_long_double=8
+ ac_cv_alignof_CORBA_struct=1
+ ac_cv_alignof_CORBA_pointer=4
+ fi
+ # parted
+ if [ "$PACKAGE" = "parted" -o "$PACKAGE_NAME" = "GNU parted" ]; then
+ ac_cv_sizeof_off_t=8
+ fi
+fi
diff -ruN dpkg-cross-2.5.8/debian/dpkg-cross.templates dpkg-cross-2.5.8+armhf//debian/dpkg-cross.templates
--- dpkg-cross-2.5.8/debian/dpkg-cross.templates 2007-03-11 23:14:42.000000000 +0000
+++ dpkg-cross-2.5.8+armhf//debian/dpkg-cross.templates 2010-11-29 17:21:34.959768503 +0000
@@ -2,7 +2,7 @@
Type: select
# Translators: "None" here refers to "architecture"
#flag:translate:1
-__Choices: None, alpha, amd64, arm, armeb, armel, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc
+__Choices: None, alpha, amd64, arm, armeb, armel, armhf, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc
Default: None
_Description: Default cross-building architecture:
If this machine is typically cross-building for one main architecture,
--- End Message ---
--- Begin Message ---
Source: dpkg-cross
Source-Version: 2.6.0
We believe that the bug you reported is fixed in the latest version of
dpkg-cross, which is due to be installed in the Debian FTP archive:
dpkg-cross_2.6.0.dsc
to main/d/dpkg-cross/dpkg-cross_2.6.0.dsc
dpkg-cross_2.6.0.tar.gz
to main/d/dpkg-cross/dpkg-cross_2.6.0.tar.gz
dpkg-cross_2.6.0_all.deb
to main/d/dpkg-cross/dpkg-cross_2.6.0_all.deb
libdebian-dpkgcross-perl_2.6.0_all.deb
to main/d/dpkg-cross/libdebian-dpkgcross-perl_2.6.0_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 605409@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Neil Williams <codehelp@debian.org> (supplier of updated dpkg-cross package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 08 Dec 2010 20:39:01 +0000
Source: dpkg-cross
Binary: dpkg-cross libdebian-dpkgcross-perl
Architecture: source all
Version: 2.6.0
Distribution: experimental
Urgency: low
Maintainer: Debian Embedded Group <debian-embedded@lists.debian.org>
Changed-By: Neil Williams <codehelp@debian.org>
Description:
dpkg-cross - tools for cross compiling Debian packages
libdebian-dpkgcross-perl - functions to aid cross-compiling Debian packages
Closes: 592458 599206 605409
Changes:
dpkg-cross (2.6.0) experimental; urgency=low
.
* Add armhf support to cross-config (Closes: #605409)
* Document file removal process (Closes: #599206)
* Add translation support for runtime messages.
* Move upload to experimental
* Retain Section in converted package. (Closes: #592458)
Checksums-Sha1:
e07606bb47976a0b637caef76dd58fe613d6e560 1209 dpkg-cross_2.6.0.dsc
aaa3147e0d76de06a38db9c834b669787c4662b4 76249 dpkg-cross_2.6.0.tar.gz
248103057cc18a1553fb21fb8420f28d30ca4b1d 53542 dpkg-cross_2.6.0_all.deb
74c02e3935fc9c14fbd3f764ec5dab3f6593c745 29492 libdebian-dpkgcross-perl_2.6.0_all.deb
Checksums-Sha256:
c2f7c767164b62dd032970bf63a17aed423ee8137857dad4e6dfa7378b631cdd 1209 dpkg-cross_2.6.0.dsc
bef483939997ff3ffdae2302fbdd4d5ee212f302077e8b0e2e0e47e856c8ecbc 76249 dpkg-cross_2.6.0.tar.gz
38f3c0b91fb0a21d15dbbac6a8e4e5c19d460ce9dd9b7b86b26c9a4ef40e23df 53542 dpkg-cross_2.6.0_all.deb
50e1798fa576508d18d66c6f8ff327b2717a411ed783f39a60f4b8b2c6e726e4 29492 libdebian-dpkgcross-perl_2.6.0_all.deb
Files:
8fa5680ee8be84c6ba30e64845c2e13f 1209 utils extra dpkg-cross_2.6.0.dsc
8adaf56a64a62f1b3ee0e8fbd02b6090 76249 utils extra dpkg-cross_2.6.0.tar.gz
3e197e2215960710964e3707214a4f3c 53542 utils extra dpkg-cross_2.6.0_all.deb
23425c78224a4c01e492c54ea6674f0f 29492 perl extra libdebian-dpkgcross-perl_2.6.0_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkz/77oACgkQiAEJSii8s+P0KwCgyVVa6WalCeUtmLWYxRzCGjau
V2cAoNvOzu2Gh6xhVIhZ8d0o/DKKkc1A
=jLlU
-----END PGP SIGNATURE-----
--- End Message ---