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

Bug#219464: marked as done (libdebian-installer: Patch for GNU/Hurd)

Your message dated Mon, 26 Jan 2004 00:19:34 -0500
with message-id <E1Akz9q-0007q7-00@auric.debian.org>
and subject line Bug#219464: fixed in libdebian-installer 0.18
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; 6 Nov 2003 18:42:09 +0000
>From sanvila@unex.es Thu Nov 06 12:42:08 2003
Return-path: <sanvila@unex.es>
Received: from gluck.debian.org [] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AHp55-0002ze-00; Thu, 06 Nov 2003 12:42:08 -0600
Received: from guadiana.unex.es [] (mail)
	by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AHp4y-0007xg-00; Thu, 06 Nov 2003 11:42:07 -0700
Received: from guadiana.unex.es
	([] helo=localhost ident=sanvila)
	by guadiana.unex.es with esmtp (Exim 3.35 #1 (Debian))
	id 1AHp05-0001Le-00
	for <submit@bugs.debian.org>; Thu, 06 Nov 2003 19:36:57 +0100
Date: Thu, 6 Nov 2003 19:37:20 +0100 (CET)
From: Santiago Vila <sanvila@unex.es>
To: submit@bugs.debian.org
Subject: libdebian-installer: Patch for GNU/Hurd
Message-ID: <Pine.LNX.4.58.0311061927590.18958@home.unex.es>
X-Debbugs-Cc: sanvila@unex.es
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-7.9 required=4.0
	autolearn=ham version=2.53-bugs.debian.org_2003_11_03
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_03 (

Package: libdebian-installer
Version: 0.17

This package does not compile under GNU/Hurd because there is no
PATH_MAX there. The following patch makes it to compile:

diff -ru libdebian-installer-0.17.orig/src/system/dpkg.c libdebian-installer-0.17/src/system/dpkg.c
--- libdebian-installer-0.17.orig/src/system/dpkg.c	2003-10-09 14:16:36.000000000 +0200
+++ libdebian-installer-0.17/src/system/dpkg.c	2003-11-06 19:26:00.000000000 +0100
@@ -33,6 +33,9 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
+#ifndef PATH_MAX
+#define PATH_MAX 4096

 #if 0
 int di_system_dpkg_package_configure (di_packages *status, const char *_package, bool force)

Alternatively, you might want to check for PATH_MAX in the configure script
or something alike and define PATH_MAX somewhere else (and of course,
if you want to allocate the required space dynamically instead of
assuming that there is a maximum path length, you are welcome to do so,
but I understand it might not worth the effort).


Received: (at 219464-close) by bugs.debian.org; 26 Jan 2004 05:20:53 +0000
>From rdonald@auric.debian.org Sun Jan 25 21:20:53 2004
Return-path: <rdonald@auric.debian.org>
Received: from auric.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AkzB6-0005Fk-00; Sun, 25 Jan 2004 21:20:52 -0800
Received: from rdonald by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1Akz9q-0007q7-00; Mon, 26 Jan 2004 00:19:34 -0500
From: Bastian Blank <waldi@debian.org>
To: 219464-close@bugs.debian.org
X-Katie: lisa $Revision: 1.26 $
Subject: Bug#219464: fixed in libdebian-installer 0.18
Message-Id: <E1Akz9q-0007q7-00@auric.debian.org>
Sender: Randall Donald <rdonald@auric.debian.org>
Date: Mon, 26 Jan 2004 00:19:34 -0500
Delivered-To: 219464-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_01_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 

Source: libdebian-installer
Source-Version: 0.18

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

  to pool/main/libd/libdebian-installer/libdebian-installer-extra4-udeb_0.18_i386.udeb
  to pool/main/libd/libdebian-installer/libdebian-installer-extra4_0.18_i386.deb
  to pool/main/libd/libdebian-installer/libdebian-installer4-dev_0.18_i386.deb
  to pool/main/libd/libdebian-installer/libdebian-installer4-udeb_0.18_i386.udeb
  to pool/main/libd/libdebian-installer/libdebian-installer4_0.18_i386.deb
  to pool/main/libd/libdebian-installer/libdebian-installer_0.18.dsc
  to pool/main/libd/libdebian-installer/libdebian-installer_0.18.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 219464@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Bastian Blank <waldi@debian.org> (supplier of updated libdebian-installer 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)

Hash: SHA1

Format: 1.7
Date: Wed, 21 Jan 2004 17:56:11 +0100
Source: libdebian-installer
Binary: libdebian-installer4 libdebian-installer-extra4 libdebian-installer4-udeb libdebian-installer-extra4-udeb libdebian-installer4-dev
Architecture: source i386
Version: 0.18
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Bastian Blank <waldi@debian.org>
 libdebian-installer-extra4 - Library of some extra debian-installer functions
 libdebian-installer-extra4-udeb - Library of some extra debian-installer functions (udeb)
 libdebian-installer4 - Library of common debian-installer functions
 libdebian-installer4-dev - Library of common debian-installer functions
 libdebian-installer4-udeb - Library of common debian-installer functions (udeb)
Closes: 215448 219464 219902
 libdebian-installer (0.18) unstable; urgency=low
   * Alastair McKinstry
     - Add di_info(), di_debug() logging macros.
   * Bastian Blank
     - Bump revision to 1.
     - Remove mapping of di_log.
     - Add any symbol to the version script.
     - Use size_t in hash map and mem_chunk allocer. (closes: #215448)
     - Improve and install documentation.
     - Add -extra lib.
     - Fix description parsing. (closes: #219902)
     - Remove some references to the chunk allocator.
     - Add version info to installed headers.
     - Default log handler suppress debug messages.
     - Enable support for Subarchitecure.
     - Correctly terminate argv.
   * Petter Reinholdtsen
     - Define PATH_MAX if it is undefined, to get this building on
       GNU/Hurd.  Patch from Santiago Vila. (Closes: #219464)
   * Matt Kraai
     - Prefer a package that is installed to one that isn't when satisfying
       a dependency on a virtual package.
 6d1e004a3aa52842f99e95e837b024ef 873 libs optional libdebian-installer_0.18.dsc
 55f364c1f4eea58d71c8083e6aee528e 337873 libs optional libdebian-installer_0.18.tar.gz
 5985af9c9e0ae1be02459f3d2d9d85d4 18320 libs optional libdebian-installer4_0.18_i386.deb
 047cc0c584ff2ebeea80f46ed789ad86 90652 libdevel optional libdebian-installer4-dev_0.18_i386.deb
 7c0d321f150f7b48d4414983c41514cf 7132 libs optional libdebian-installer-extra4_0.18_i386.deb
 8164fccd850850dc0de7aa06032fd820 14978 debian-installer optional libdebian-installer4-udeb_0.18_i386.udeb
 1b17a60036b729cc73b72b380fa0ba3f 3788 debian-installer optional libdebian-installer-extra4-udeb_0.18_i386.udeb

Version: GnuPG v1.2.4 (GNU/Linux)


Reply to: