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

Bug#221528: marked as done (make apt package cross compile friendly)



Your message dated Fri, 16 Jan 2004 14:32:27 -0500
with message-id <E1AhZhj-0004ug-00@auric.debian.org>
and subject line Bug#221528: fixed in apt 0.5.21
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 18 Nov 2003 23:04:17 +0000
>From oku@masqmail.cx Tue Nov 18 17:04:17 2003
Return-path: <oku@masqmail.cx>
Received: from mail.linux-router.org (www.cyclades.de) [62.225.173.194] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AMEtN-00061c-00; Tue, 18 Nov 2003 17:04:17 -0600
Received: from pd9e8cbdf.dip0.t-ipconnect.de ([217.232.203.223] helo=[192.168.3.128])
	by www.cyclades.de with asmtp (Exim 3.35 #1 (Debian))
	id 1AMEtJ-0006Ta-00; Wed, 19 Nov 2003 00:04:13 +0100
Received: from kurth by nimrod with local (masqmail 0.2.20) id
 1AMEj0-52m-00; Tue, 18 Nov 2003 23:53:34 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Oliver Kurth <oku@masqmail.cx>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: make apt package cross compile friendly
X-Mailer: reportbug 2.36
Date: Tue, 18 Nov 2003 23:53:34 +0100
Message-ID: <1AMEj0-52m-00@nimrod>
X-MailScanner: Found to be clean
X-MailScanner-SpamCheck: 
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0
	tests=HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_11_15
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_15 (1.174.2.15-2003-03-30-exp)

Package: apt
Version: 0.5.14
Severity: wishlist
Tags: patch

Hi,

I just tried to cross compile an apt package for powerpc using
dpkg-cross. It works fine, after a few tweaks that are dpkg-cross
related, except for one thing in the autoconf part. It fails to find
the glibc version, because this is determined by trying to execute
a cross compiled program in buildlib/tools.m4. The following patch
to buildlib/tools.m4 fixes it:

93a94
>       AC_CACHE_VAL(ac_cv_glibc_ver,
105c106
<               GLIBC_VER="-$GLIBC_VER"
---
>               ac_cv_glibc_ver=$GLIBC_VER
109a111,112
>       )
>       GLIBC_VER="-$ac_cv_glibc_ver"

When the patch is applied, all you have to do is add the line
ac_cv_glibc_ver=libc6.2 (for target woody)
to /etc/dpkg/cross-config.$arch

(I also had to install dpkg-cross'ed versions of apt and apt-utils,
to make dpkg-shlibdeps find the libraries, but this is not a bug in
apt).

Making packages cross compile friendly is /very/ useful if the host
you are building for is very slow and lacks a compiler - as in my case.
So please consider applying this patch.

Greetings,
Oliver

-- Package-specific info:

-- (/etc/apt/preferences present, but not submitted) --


-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux nimrod 2.4.22 #18 Tue Oct 21 10:03:29 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.2-4    GCC support library
ii  libstdc++5                  1:3.3.2-4    The GNU Standard C++ Library v3

-- no debconf information


---------------------------------------
Received: (at 221528-close) by bugs.debian.org; 16 Jan 2004 19:38:29 +0000
>From katie@auric.debian.org Fri Jan 16 13:38:29 2004
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AhZnY-0000D8-00; Fri, 16 Jan 2004 13:38:28 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1AhZhj-0004ug-00; Fri, 16 Jan 2004 14:32:27 -0500
From: Matt Zimmerman <mdz@debian.org>
To: 221528-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#221528: fixed in apt 0.5.21
Message-Id: <E1AhZhj-0004ug-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Fri, 16 Jan 2004 14:32:27 -0500
Delivered-To: 221528-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_01_14 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-2.5 required=4.0 tests=HAS_BUG_NUMBER,
	MAILTO_TO_SPAM_ADDR autolearn=no 
	version=2.60-bugs.debian.org_2004_01_14
X-Spam-Level: 

Source: apt
Source-Version: 0.5.21

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

apt-doc_0.5.21_all.deb
  to pool/main/a/apt/apt-doc_0.5.21_all.deb
apt-utils_0.5.21_i386.deb
  to pool/main/a/apt/apt-utils_0.5.21_i386.deb
apt_0.5.21.dsc
  to pool/main/a/apt/apt_0.5.21.dsc
apt_0.5.21.tar.gz
  to pool/main/a/apt/apt_0.5.21.tar.gz
apt_0.5.21_i386.deb
  to pool/main/a/apt/apt_0.5.21_i386.deb
libapt-pkg-dev_0.5.21_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.5.21_i386.deb
libapt-pkg-doc_0.5.21_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.5.21_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 221528@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matt Zimmerman <mdz@debian.org> (supplier of updated apt 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.7
Date: Fri, 16 Jan 2004 10:54:39 -0800
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-doc apt
Architecture: source all i386
Version: 0.5.21
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Matt Zimmerman <mdz@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 212203 220799 221528 226351 226509 226813 226886 227205 227729
Changes: 
 apt (0.5.21) unstable; urgency=low
 .
   * Patch from Eric Wong <normalperson@yhbt.net> to include apt18n.h after
     other headers to avoid breaking locale.h when setlocale() is defined
     as an empty macro.  This was not a problem on Debian, but broke
     compilation on Solaris. (Closes: #226509)
   * Updated French translation from Pierre Machard <pmachard@debian.org>
     (Closes: #226886)
   * Add colons to apt-get's "kept back"/"upgraded"/"downgraded" messages
     (Closes: #226813)
   * Fix typo in apt-cache(8) (Closes: #226351)
   * Clearer error message in place of "...has no available version, but
     exists in the database" (Closes: #212203)
   * Patch from Oliver Kurth <oku@masqmail.cx> to use AC_CACHE_VAL for
     GLIBC_VER to make cross-compilation easier (Closes: #221528)
   * Add example preferences file (Closes: #220799)
   * Updated Greek translation from Konstantinos Margaritis <markos@debian.org>
     (Closes: #227205)
   * Updated Spanish translation of man pages from Ruben Porras
     <nahoo82@telefonica.net> (Closes: #227729)
Files: 
 f418ad8080c634e44d659d02e86310f8 756 admin important apt_0.5.21.dsc
 e00d0f12c8a014076f272bcba9503de5 1098411 admin important apt_0.5.21.tar.gz
 e96613692bccb3bfa5cc84daf7ff16a2 66370 doc optional apt-doc_0.5.21_all.deb
 efb5c99be164844c2001825ad543b9f3 97812 doc optional libapt-pkg-doc_0.5.21_all.deb
 6f940aeac03f4b6c0f8f22cbcc2df0d5 842730 base important apt_0.5.21_i386.deb
 7c5c4da7c58db0c5a8a88d4d0e02e2af 65082 libdevel optional libapt-pkg-dev_0.5.21_i386.deb
 741808e7daac6e950e5f2f9a90a4f043 179546 admin optional apt-utils_0.5.21_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFACDXUArxCt0PiXR4RAvI/AJ9bBygb6OGiWQQgG0RfH0YgrWl9WQCglfKC
UddSLZWlx++9isfYk1hSckc=
=knw3
-----END PGP SIGNATURE-----



Reply to: