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

Bug#156545: marked as done (doesn't build on the Hurd)



Your message dated Sat, 31 Aug 2002 06:30:24 -0400
with message-id <E17l5WK-0005J7-00@auric.debian.org>
and subject line Bug#156545: fixed in dpkg 1.10.5
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; 13 Aug 2002 12:36:43 +0000
>From Marcus.Brinkmann@ruhr-uni-bochum.de Tue Aug 13 07:36:43 2002
Return-path: <Marcus.Brinkmann@ruhr-uni-bochum.de>
Received: from porta.u64.de [194.77.88.106] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17eaug-0004ZP-00; Tue, 13 Aug 2002 07:36:42 -0500
Received: from (localhost) [212.23.136.22] 
	by porta.u64.de with asmtp (Exim 3.12 #1 (Debian))
	id 17ebnN-0006Aq-00; Tue, 13 Aug 2002 15:33:14 +0200
Received: from marcus by localhost with local (Exim 3.35 #1 (Debian))
	id 17eaud-0000Kc-00
	for <submit@bugs.debian.org>; Tue, 13 Aug 2002 14:36:39 +0200
Date: Tue, 13 Aug 2002 14:36:39 +0200
From: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
To: submit@bugs.debian.org
Subject: doesn't build on the Hurd
Message-ID: <20020813123639.GC733@212.23.136.22>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Sender: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
Delivered-To: submit@bugs.debian.org

Package: dpkg
Version: 1.10.4
Tgas: patch

Hi,

the following two small fixes are necessary to compile dpkg 1.10.4 on the
Hurd.  Please apply them for the next version.

First, the archtable needs to be extended for the new version I am going to
upload.  It would be nice to support regular expressions here.  The first
patch below adds this target.

Second, the -static targets sometimes use the normal ZLIB_LIBS setting,
which is "-Wl,static -lz -Wl,dynamic".  However, the dynamic throws us out
of static linking, and ld gets confused about what start up files to use.
ZLIB_LIBS comes last on the command line, otherwise there would be even more
problems because of attempting to link some libs dynamically into a static
target.  The second patch below fixes that.

Thanks,
Marcus

2002-08-13  Marcus Brinkmann  <brinkmd@debian.org>

	* archtable: Recognise i386-gnu0.3.

diff -ru dpkg-1.10.4/archtable dpkg-1.10.4.new/archtable
--- dpkg-1.10.4/archtable	2002-01-01 14:16:37.000000000 +0100
+++ dpkg-1.10.4.new/archtable	2002-08-12 21:07:43.000000000 +0200
@@ -33,6 +33,7 @@
 mipseb-linux-gnu	mips		mips
 i386-gnu		hurd-i386	undefined
 i386-gnu0.2		hurd-i386	undefined
+i386-gnu0.3		hurd-i386	undefined
 ia64-linux-gnu		ia64		ia64
 ia64-unknown-linux	ia64		ia64
 sh3-linux-gnu		sh3		sh3


2002-08-13  Marcus Brinkmann  <brinkmd@debian.org>

	* main/Makefile.in: New rule for dpkg-static to set ZLIB_LIBS
	for static linking.
	* utils/Makefile.in: Likewise for md5sum-static.

diff -ru dpkg-1.10.4/main/Makefile.in dpkg-1.10.4.new/main/Makefile.in
--- dpkg-1.10.4/main/Makefile.in	2002-05-20 06:40:26.000000000 +0200
+++ dpkg-1.10.4.new/main/Makefile.in	2002-08-12 19:14:27.000000000 +0200
@@ -61,6 +61,7 @@
 	done
 
 dpkg-static: LDFLAGS += -static
+dpkg-static: ZLIB_LIBS = $(ZLIBS_LIBS_ALSO_STATIC)
 dpkg dpkg-static: $(OBJECTS) ../lib/libdpkg.a
 	$(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBS) $(NLS_LIBS)
 
diff -ru dpkg-1.10.4/utils/Makefile.in dpkg-1.10.4.new/utils/Makefile.in
--- dpkg-1.10.4/utils/Makefile.in	2002-05-20 06:40:28.000000000 +0200
+++ dpkg-1.10.4.new/utils/Makefile.in	2002-08-12 19:07:40.000000000 +0200
@@ -75,5 +75,6 @@
 	$(CC) $(LDFLAGS) -o $@ $(SSD_OBJECTS) $(LIBS) $(SSD_LIBS)
 
 md5sum-static: LDFLAGS += -static
+md5sum-static: ZLIB_LIBS = $(ZLIB_LIBS_ALSO_STATIC)
 md5sum md5sum-static: $(MD5_OBJECTS) ../lib/libdpkg.a
 	$(CC) $(LDFLAGS) -o $@ $(MD5_OBJECTS) $(LIBS) $(NLS_LIBS)


-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/

---------------------------------------
Received: (at 156545-close) by bugs.debian.org; 31 Aug 2002 10:38:42 +0000
>From rmurray@auric.debian.org Sat Aug 31 05:38:42 2002
Return-path: <rmurray@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17l5eM-0003BW-00; Sat, 31 Aug 2002 05:38:42 -0500
Received: from rmurray by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 17l5WK-0005J7-00; Sat, 31 Aug 2002 06:30:24 -0400
From: Adam Heath <doogie@debian.org>
To: 156545-close@bugs.debian.org
X-Katie: $Revision: 1.17 $
Subject: Bug#156545: fixed in dpkg 1.10.5
Message-Id: <E17l5WK-0005J7-00@auric.debian.org>
Sender: Ryan Murray <rmurray@auric.debian.org>
Date: Sat, 31 Aug 2002 06:30:24 -0400
Delivered-To: 156545-close@bugs.debian.org

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

dpkg-dev_1.10.5_all.deb
  to pool/main/d/dpkg/dpkg-dev_1.10.5_all.deb
dpkg-doc_1.10.5_all.deb
  to pool/main/d/dpkg/dpkg-doc_1.10.5_all.deb
dpkg_1.10.5.dsc
  to pool/main/d/dpkg/dpkg_1.10.5.dsc
dpkg_1.10.5.tar.gz
  to pool/main/d/dpkg/dpkg_1.10.5.tar.gz
dpkg_1.10.5_i386.deb
  to pool/main/d/dpkg/dpkg_1.10.5_i386.deb
dselect_1.10.5_i386.deb
  to pool/main/d/dpkg/dselect_1.10.5_i386.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 156545@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Heath <doogie@debian.org> (supplier of updated dpkg 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: Thu, 29 Aug 2002 16:43:15 -0500
Source: dpkg
Binary: dpkg-static dselect dpkg-dev dpkg-doc dpkg
Architecture: source all i386
Version: 1.10.5
Distribution: unstable
Urgency: low
Maintainer: Dpkg Development <debian-dpkg@lists.debian.org>
Changed-By: Adam Heath <doogie@debian.org>
Description: 
 dpkg       - Package maintenance system for Debian
 dpkg-dev   - Package building tools for Debian
 dpkg-doc   - Dpkg Internals Documentation
 dselect    - a user tool to manage Debian packages
Closes: 147492 153769 154257 154503 154898 155362 156437 156545 157304 157453 157762
Changes: 
 dpkg (1.10.5) unstable; urgency=low
 .
   * Fix segfault in md5sum if the file being checked doesn't exist.
     Closes: #154503.
   * Fix extraction of md5sum in dpkg-scanpackages.  Closes: #153769.
   * Handle directories better in md5sum.  Closes: #157453.
   * Fix read past buffer in lib/nfmalloc.c.  Closes: #157304.
   * Fix several read pass buffer bugs, and a memleak.  Closes: #155362.
   * Fix segfault when --auto-deconfigure is given.  Closes: #157762.
   * Allow spaces between the end of a version, and the trailing ')'.
     Closes: #154898.
   * Fixes for HURD:  Closes: #156545
     * Add i386-gnu0.3 to archtable.
     * Fix handling of static compiles, with regard to zlib.
   * Previous install-infos(before 1.10) handled multiple dir file entries,
     because they would copy the entire stanza unmodified.  The newest
     version does not do this, as it reformats the options, and thereby
     only takes the first line.  So, we now split all the lines from the
     stanza, and process them all.  Closes: #147492.
   * Fix corruption of available file, caused by use of memory that was
     previously freed.  Closes: #154257.
   * Fix several minor memleaks.
   * Remove /usr/sbin/start-stop-daemon.  Closes: #156437.
Files: 
 8ca73db018cab82b48c6417138d456cb 716 base required dpkg_1.10.5.dsc
 4eebb8207cbb172e96dd8e4c258663dc 1568097 base required dpkg_1.10.5.tar.gz
 8878555aaf21faeecb6efaace48caac4 1136194 base required dpkg_1.10.5_i386.deb
 97a0772ce9ea2aff0678fe747e6d1303 89588 base required dselect_1.10.5_i386.deb
 5fe280f17cf726fbe1c0aec5f7c9e6bc 1126796 byhand - dpkg-1.10.5_i386.nondebbin.tar.gz
 83d81f422079ae537854124b91b15747 1628852 byhand - dpkg-1.10.5_i386-static.nondebbin.tar.gz
 ffdfb744fe93761ce05798185bbaccbc 111730 utils standard dpkg-dev_1.10.5_all.deb
 d54cda2f79bbbbdc9d73842825830dcd 10692 doc optional dpkg-doc_1.10.5_all.deb
 4eebb8207cbb172e96dd8e4c258663dc 1568097 byhand - dpkg-1.10.5.tar.gz

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

iD8DBQE9bpjziix9wovUpIkRAgEnAJ9GpFqYbH+b1/kFq8q55yumPLGStQCdEJ6v
aLVWOqCgkb9aXi1P3Xp4FA4=
=5q//
-----END PGP SIGNATURE-----



Reply to: