Your message dated Sun, 30 Sep 2007 23:17:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#444727: fixed in zlib 1:1.2.3.3.dfsg-6
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)

--- Begin Message ---
Package: zlib
Version: 1:1.2.3.3.dfsg-5
Severity: normal
Tags: patch

zlib used to cross-build successfully but only because of a bug in the
cross-build scripts that consistently forced the override of
$ENV{'MAKEFLAGS'}. Fixing this bug to allow other packages to build
internal build tools correctly (e.g. libx11-6) has resulted in a failure
to build certain packages that relied on the former behaviour. zlib is
one of those packages.

The top level 'make' command tries to use gcc instead of
$(DEB_HOST_GNU_TYPE)-gcc and the LDSHARED value also sets 'gcc' instead
of $(DEB_HOST_GNU_TYPE)-gcc. Similarly, the install targets try to use
gcc. Finally, 'make test' or 'make check' cannot operate in a
cross-building environment. The current build does ignore that error but
I've wrapped the call to 'make test' in the attached patch for clarity.

The patch has no effect if $(DEB_HOST_GNU_TYPE) matches the value of
$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) so I hope you will be
able to apply it and help Emdebian cross-build zlib more easily.

Thanks.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- zlib.old/debian/rules	2007-09-30 15:09:14.000000000 +0100
+++ zlib-1.2.3.3.dfsg/debian/rules	2007-09-30 15:42:52.000000000 +0100
@@ -15,6 +15,15 @@
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_HOST_ARCH       ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_BUILD_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+	CROSSFLAGS += CC=$(DEB_HOST_GNU_TYPE)-gcc
+	CROSSLDSHARED += LDSHARED="$(DEB_HOST_GNU_TYPE)-gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"
+else
+	CROSSFLAGS +=
+	CROSSLDSHARED +=
+endif
 
 CFLAGS = -Wall -g -D_REENTRANT
 
@@ -73,10 +82,11 @@
 build-stamp: configure-stamp
 	dh_testdir
 
-	$(MAKE)
+	$(MAKE) $(CROSSFLAGS) $(CROSSLDSHARED)
 	$(MAKE) CC=$(DEB_HOST_GNU_TYPE)-gcc OPT="$(CFLAGS)" -C contrib/minizip
+ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
 	-$(MAKE) test
-
+endif
 	touch $@
 
 build64-stamp: configure64-stamp
@@ -110,13 +120,13 @@
 	dh_clean -k 
 	dh_installdirs
 
-	$(MAKE) prefix=$(CURDIR)/debian/tmp/usr install
+	$(MAKE) $(CROSSFLAGS) prefix=$(CURDIR)/debian/tmp/usr install
 
 install64: install build64-stamp
-	$(MAKE) -C debian/64 prefix=$(CURDIR)/debian/tmp install
+	$(MAKE) $(CROSSFLAGS) -C debian/64 prefix=$(CURDIR)/debian/tmp install
 
 install32: install build32-stamp
-	$(MAKE) -C debian/32 prefix=$(CURDIR)/debian/tmp install
+	$(MAKE) $(CROSSFLAGS) -C debian/32 prefix=$(CURDIR)/debian/tmp install
 
 # Build architecture-independent files here.
 binary-indep: build install

--- End Message ---
--- Begin Message ---
Source: zlib
Source-Version: 1:1.2.3.3.dfsg-6

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

lib64z1-dev_1.2.3.3.dfsg-6_powerpc.deb
  to pool/main/z/zlib/lib64z1-dev_1.2.3.3.dfsg-6_powerpc.deb
lib64z1_1.2.3.3.dfsg-6_powerpc.deb
  to pool/main/z/zlib/lib64z1_1.2.3.3.dfsg-6_powerpc.deb
zlib-bin_1.2.3.3.dfsg-6_powerpc.deb
  to pool/main/z/zlib/zlib-bin_1.2.3.3.dfsg-6_powerpc.deb
zlib1g-dbg_1.2.3.3.dfsg-6_powerpc.deb
  to pool/main/z/zlib/zlib1g-dbg_1.2.3.3.dfsg-6_powerpc.deb
zlib1g-dev_1.2.3.3.dfsg-6_powerpc.deb
  to pool/main/z/zlib/zlib1g-dev_1.2.3.3.dfsg-6_powerpc.deb
zlib1g-udeb_1.2.3.3.dfsg-6_powerpc.udeb
  to pool/main/z/zlib/zlib1g-udeb_1.2.3.3.dfsg-6_powerpc.udeb
zlib1g_1.2.3.3.dfsg-6_powerpc.deb
  to pool/main/z/zlib/zlib1g_1.2.3.3.dfsg-6_powerpc.deb
zlib_1.2.3.3.dfsg-6.diff.gz
  to pool/main/z/zlib/zlib_1.2.3.3.dfsg-6.diff.gz
zlib_1.2.3.3.dfsg-6.dsc
  to pool/main/z/zlib/zlib_1.2.3.3.dfsg-6.dsc



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Brown <[EMAIL PROTECTED]> (supplier of updated zlib 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 30 Sep 2007 23:34:54 +0100
Source: zlib
Binary: lib32z1 zlib1g-dev zlib1g lib64z1 zlib-bin zlib1g-dbg lib32z1-dev 
lib64z1-dev zlib1g-udeb
Architecture: source powerpc
Version: 1:1.2.3.3.dfsg-6
Distribution: unstable
Urgency: low
Maintainer: Mark Brown <[EMAIL PROTECTED]>
Changed-By: Mark Brown <[EMAIL PROTECTED]>
Description: 
 lib64z1    - compression library - 64 bit runtime
 lib64z1-dev - compression library - 64 bit development
 zlib-bin   - compression library - sample programs
 zlib1g     - compression library - runtime
 zlib1g-dbg - compression library - development
 zlib1g-dev - compression library - development
 zlib1g-udeb - compression library - runtime for Debian installer (udeb)
Closes: 444727
Changes: 
 zlib (1:1.2.3.3.dfsg-6) unstable; urgency=low
 .
   * Configure the compiler and linker to use for the vanilla build too so that
     cross compilation works (closes: #444727).
Files: 
 d88567863e9d41bbc3d34529b5de2773 790 libs optional zlib_1.2.3.3.dfsg-6.dsc
 3e2d392810e18c1c29c4ef11cd12d665 12042 libs optional 
zlib_1.2.3.3.dfsg-6.diff.gz
 01a0404c9b54b3ed16a2995647f37401 73122 libs required 
zlib1g_1.2.3.3.dfsg-6_powerpc.deb
 b80e81c7a68254c7868ff8dab38c733c 160502 libdevel optional 
zlib1g-dev_1.2.3.3.dfsg-6_powerpc.deb
 b302df16eb47a145bea299ad65927d81 161016 libdevel extra 
zlib1g-dbg_1.2.3.3.dfsg-6_powerpc.deb
 be29a6aec9a4ff195fae2257f29cc504 48290 utils optional 
zlib-bin_1.2.3.3.dfsg-6_powerpc.deb
 1e755aea6fb4916c123ead89c853f0bf 738 debian-installer optional 
zlib1g-udeb_1.2.3.3.dfsg-6_powerpc.udeb
 499a3db0d7354714e9045ff602253ff9 77808 libs optional 
lib64z1_1.2.3.3.dfsg-6_powerpc.deb
 6b736372d0021f556580119adf6ddd19 79944 libdevel optional 
lib64z1-dev_1.2.3.3.dfsg-6_powerpc.deb
Package-Type: udeb

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

iD8DBQFHACveJ2Vo11xhU60RAp10AKDecmuWYi8nNfVhYIX8PJfni7iW1QCgsxKD
/MQNeusT+zrWJ9gnZxu3rDw=
=WhCh
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to