[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#572365: marked as done (anna: add cross compiling support)



Your message dated Mon, 23 Aug 2010 10:47:06 +0000
with message-id <E1OnUYU-0000Kq-B6@franck.debian.org>
and subject line Bug#572365: fixed in anna 1.37
has caused the Debian Bug report #572365,
regarding anna: add cross compiling support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
572365: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572365
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: anna
Version: 1.34
Severity: wishlist


Hello, 

I have written a mini-howto in wiki format to be able to cross compile anna package.
Could you consider applying the following patch or if you update packing taking care of cross compiling bits?

Thanks,


= Example of cross compiling a package =

== debian/control ==
Source: anna
Section: debian-installer
Build-Depends: debhelper (>= 5.0.22), dpkg-dev (>= 1.7.0), libdebconfclient0-dev (>= 0.46), libdebian-installer4-dev (>= 0.41)

== Fetch and install cross compiling libraries (XXX Need to test mrvn tool) ==
{{{
sudo apt-cross -a armel -f -i libdebconfclient0
sudo apt-cross -a armel -f -i libdebconfclient0-dev 
sudo apt-cross -a armel -x libdebian-installer4 -x libdebian-installer-extra4 -f -i libdebian-installer4-dev
sudo apt-cross -a armel -f -x libc-bin -x libc-dev-bin -i libc6-dev
sudo apt-cross -a armel -f -x libc-bin -i libc6
E: sudo apt-cross -a armel -f -x libc-bin -x libc-dev-bin -i dpkg-dev
( I do not think you really need dpkg-dev to be able to cross-compile the package )
}}}

== Patch debian/rules, Makefiles or needed stuff ==

{{{
diff -urN anna-1.34/debian/rules anna-1.34.cross//debian/rules
--- anna-1.34/debian/rules	2006-03-16 01:25:42.000000000 +0100
+++ anna-1.34.cross//debian/rules	2010-03-03 19:35:33.000000000 +0100
@@ -1,4 +1,10 @@
 #!/usr/bin/make -f
+export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+export CC=$(DEB_HOST_GNU_TYPE)-gcc
+endif
 
 build: build-stamp
 build-stamp:
}}}

== Build the package ==

 * Native way: {{{ cd anna-*; dpkg-buildpackage -us -uc; cd .. }}}
 * Cross way: {{{ cd anna-*; dpkg-buildpackage -aarmel -us -uc; cd .. }}}

== Send patch to the BTS ==

{{{
$ reportbug anna
}}}


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-2-686 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Source: anna
Source-Version: 1.37

We believe that the bug you reported is fixed in the latest version of
anna, which is due to be installed in the Debian FTP archive:

anna_1.37.dsc
  to main/a/anna/anna_1.37.dsc
anna_1.37.tar.gz
  to main/a/anna/anna_1.37.tar.gz
anna_1.37_i386.udeb
  to main/a/anna/anna_1.37_i386.udeb



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 572365@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated anna 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: SHA256

Format: 1.8
Date: Mon, 23 Aug 2010 11:28:10 +0100
Source: anna
Binary: anna
Architecture: source i386
Version: 1.37
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 anna       - anna's not nearly apt, but for the Debian installer, it will do (udeb)
Closes: 572365
Changes: 
 anna (1.37) unstable; urgency=low
 .
   * Add cross-compiling support, based on a patch from Hector Oron, for
     which thanks (closes: #572365).
 .
   [ Updated translations ]
   * Asturian (ast.po) by maacub
   * Bulgarian (bg.po) by Damyan Ivanov
   * Bosnian (bs.po) by Armin Beširović
   * Danish (da.po) by Jacob Sparre Andersen
   * Persian (fa.po) by Behrad Eslamifar
   * Portuguese (Brazil) (pt_BR.po) by Felipe Augusto van de Wiel (faw)
   * Telugu (te.po) by Arjuna Rao Chavala
Checksums-Sha1: 
 0ac6f6aa7225308d826911f23de4dbfe06e20a16 1562 anna_1.37.dsc
 24f6121a0f7292f4f39ce0459f3c3ce77bb83f4b 93980 anna_1.37.tar.gz
 d42b8d67b6d8db96bafcbc1bbe3c680358a5df57 66916 anna_1.37_i386.udeb
Checksums-Sha256: 
 9c48e2c528a9e6c3d5be53c1db5fa501f321481343867d227ede870212a44733 1562 anna_1.37.dsc
 35ef04e49f74d1f81f68693f192ec76e0adcccf0cf9b3567ee1d737efa83abbf 93980 anna_1.37.tar.gz
 d20bf894059aa27a15269168a7f041f434c432ed936e1638939582f97301f711 66916 anna_1.37_i386.udeb
Files: 
 9d7359413bb05287b34fd4cb35ca906e 1562 debian-installer standard anna_1.37.dsc
 e4fbe9f02a1efc1c2f554307d747e4a0 93980 debian-installer standard anna_1.37.tar.gz
 82aeecf647c97e8fc5356c5283300e64 66916 debian-installer standard anna_1.37_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer

iQIVAwUBTHJNbjk1h9l9hlALAQgSXxAAt1gwIcEF8VWNxAdPK53MYMoo/ujwLerx
K6X0IqtFXKQV9sesWgVw5y8oqtr3k+IaVSGYYlJT8rqvTLln1OQo+1shD6XzF3sv
ItJL3vD2wORi8O/tPHKfUAYSDjXUFMEc3IKJnlkwcU+DnJV1lHarFruLhHeXsQpN
SvMfriwAxt6RbmDTw1ZnbNI4NoWF5WFjZLHy079EyucpVCQBbkzbyBOOnNQNmdsx
Kj347dwSfTapb5RUMoJGUz0e/w6A22hp5ZdSctH/I3/ub7rIEgc+2cM5+KiJMFqe
9eQXe8rI4hf3IoBXcd97FkPOet5ahxytXMm7GCpkYq36yoquQSGSAMPjAlN0nSkD
MAWWe9Xo4v5nlp9dNhVf4HoxlE6km1UEPO3kYuXAsaCpF7OC6pBZM9t3ftfX//KQ
Z/XVNYaHhXU4utXWiWI/vrrkj2pfpb3iStAFk4ttFBnVmrTIuA6IvR8fry3QORj1
qsEM1EZ7sjULiIVIi2Gap3qF0DE1kTEjVDj1crSxgr/vVX5ctiG3urP4fql57FmF
AdGjoILS4pc97HA7qjomln7nIU8qjFJYCgND9ou6z78zQzUtCNms3CfwEExmriot
/aPuBfqa4z5DEXkJ0uvZD2K2C4wPjuMEQU+yBYZNZxHhcYRkfOIIZ2YKfKi0ya/g
sSMGX7loFIQ=
=ofkl
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: