[xml/sgml-pkgs] Bug#333623: marked as done (libxml2: FTBFS on hurd-i386: PATH_MAX regression)

Debian Bug Tracking System owner at bugs.debian.org
Wed Nov 2 20:23:06 UTC 2005


Your message dated Wed, 02 Nov 2005 11:02:14 -0800
with message-id <E1EXNsE-0006ls-00 at spohr.debian.org>
and subject line Bug#333623: fixed in libxml2 2.6.22-2
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; 12 Oct 2005 23:17:10 +0000
>From mbanck at gmx.net Wed Oct 12 16:17:10 2005
Return-path: <mbanck at gmx.net>
Received: from pop.gmx.de (mail.gmx.net) [213.165.64.21] 
	by spohr.debian.org with smtp (Exim 3.36 1 (Debian))
	id 1EPpqP-00068Q-00; Wed, 12 Oct 2005 16:17:10 -0700
Received: (qmail invoked by alias); 12 Oct 2005 23:16:38 -0000
Received: from ppp-62-245-209-251.mnet-online.de (EHLO localhost.localdomain) [62.245.209.251]
  by mail.gmx.net (mp015) with SMTP; 13 Oct 2005 01:16:38 +0200
X-Authenticated: #686195
Received: from mbanck by localhost.localdomain with local (Exim 4.52)
	id 1EPppr-00015D-Qf
	for submit at bugs.debian.org; Thu, 13 Oct 2005 01:16:35 +0200
Date: Thu, 13 Oct 2005 01:16:35 +0200
From: Michael Banck <mbanck at gmx.net>
To: submit at bugs.debian.org
Subject: libxml2: FTBFS on hurd-i386: PATH_MAX regression
Message-ID: <20051012231635.GF25274 at chemicalconnection.dyndns.org>
References: <E1EPmR1-0004NR-BI at localhost>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR"
Content-Disposition: inline
In-Reply-To: <E1EPmR1-0004NR-BI at localhost>
User-Agent: Mutt/1.5.9i
X-Y-GMX-Trusted: 0
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02


--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: libxml2
Version: 2.6.22-1
Severity: important
Tags: patch

Hello,

there was a problem autobuilding your package:

On Wed, Oct 12, 2005 at 09:38:43PM +0200, Debian autobuilder wrote:
> Automatic build of libxml2_2.6.22-1 on beethoven by sbuild/hurd-i386 69
> Build started at 20051012-2117
> ******************************************************************************
[...]
> ** Using build dependencies supplied by package:
> Build-Depends: debhelper (>= 4.1.67), zlib1g-dev | libz-dev, python, python2.4-dev, python2.3-dev, python2.2-dev, autotools-dev
[...]
> Checking correctness of source dependencies...
> Toolchain package versions: libc0.3-dev_2.3.5-6 gcc-4.0_4.0.1-9 g++-4.0_4.0.1-4 binutils_2.16.1-2 libstdc++6-4.0-dev_4.0.1-4 libstdc++6_4.0.1-4
> ------------------------------------------------------------------------------
> dpkg-source: extracting libxml2 in libxml2-2.6.22
> dpkg-source: unpacking libxml2_2.6.22.orig.tar.gz
> dpkg-source: applying /org/buildd/build/libxml2_2.6.22-1.diff.gz
> dpkg-buildpackage: source package is libxml2
> dpkg-buildpackage: source version is 2.6.22-1
> dpkg-buildpackage: host architecture hurd-i386
[...]
>  debian/rules build
[...]
> if gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include  -D_REENTRANT      -Wall -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT testModule.o -MD -MP -MF ".deps/testModule.Tpo" -c -o testModule.o testModule.c; \
> then mv -f ".deps/testModule.Tpo" ".deps/testModule.Po"; else rm -f ".deps/testModule.Tpo"; exit 1; fi
> testModule.c: In function 'main':
> testModule.c:35: error: 'PATH_MAX' undeclared (first use in this function)
> testModule.c:35: error: (Each undeclared identifier is reported only once
> testModule.c:35: error: for each function it appears in.)
> testModule.c:48: warning: dereferencing type-punned pointer will break strict-aliasing rules
> testModule.c:35: warning: unused variable 'filename'
> make[3]: *** [testModule.o] Error 1
> make[3]: Leaving directory `/build/buildd/libxml2-2.6.22'
> make[2]: Leaving directory `/build/buildd/libxml2-2.6.22'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/libxml2-2.6.22'
> make: *** [build-stamp] Error 2
> ******************************************************************************
> Build finished at 20051012-2136
> FAILED [dpkg-buildpackage died]

PATH_MAX is only mandated by POSIX if there is a system limit for the
maximum path length.  This is not the case on GNU/Hurd, that's why this
code fails.

As this is appears to be only in a test file, I suggest to simple
#define PATH_MAX to an arbitrary value if it is not #defined already. 

Patch attached, please apply (as libxml2 blocks quite a couple of other
packages) and proxy upstream at your discretion.


thanks,

Michael



--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="libxml2_PATH_MAX.diff"

--- libxml2-2.6.22/testModule.c.orig	2005-10-13 01:13:19.395014104 +0200
+++ libxml2-2.6.22/testModule.c	2005-10-13 01:13:36.635393168 +0200
@@ -29,6 +29,10 @@
 #define MODULE_PATH ".libs"
 #endif
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 typedef int (*hello_world_t)(void);
  
 int main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {

--T4sUOijqQbZv57TR--

---------------------------------------
Received: (at 333623-close) by bugs.debian.org; 2 Nov 2005 19:09:22 +0000
>From katie at spohr.debian.org Wed Nov 02 11:09:22 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EXNsE-0006ls-00; Wed, 02 Nov 2005 11:02:14 -0800
From: Mike Hommey <glandium at debian.org>
To: 333623-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#333623: fixed in libxml2 2.6.22-2
Message-Id: <E1EXNsE-0006ls-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Wed, 02 Nov 2005 11:02:14 -0800
Delivered-To: 333623-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: libxml2
Source-Version: 2.6.22-2

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

libxml2-dev_2.6.22-2_i386.deb
  to pool/main/libx/libxml2/libxml2-dev_2.6.22-2_i386.deb
libxml2-doc_2.6.22-2_all.deb
  to pool/main/libx/libxml2/libxml2-doc_2.6.22-2_all.deb
libxml2-utils_2.6.22-2_i386.deb
  to pool/main/libx/libxml2/libxml2-utils_2.6.22-2_i386.deb
libxml2_2.6.22-2.diff.gz
  to pool/main/libx/libxml2/libxml2_2.6.22-2.diff.gz
libxml2_2.6.22-2.dsc
  to pool/main/libx/libxml2/libxml2_2.6.22-2.dsc
libxml2_2.6.22-2_i386.deb
  to pool/main/libx/libxml2/libxml2_2.6.22-2_i386.deb
python-libxml2_2.6.22-2_all.deb
  to pool/main/libx/libxml2/python-libxml2_2.6.22-2_all.deb
python2.2-libxml2_2.6.22-2_i386.deb
  to pool/main/libx/libxml2/python2.2-libxml2_2.6.22-2_i386.deb
python2.3-libxml2_2.6.22-2_i386.deb
  to pool/main/libx/libxml2/python2.3-libxml2_2.6.22-2_i386.deb
python2.4-libxml2_2.6.22-2_i386.deb
  to pool/main/libx/libxml2/python2.4-libxml2_2.6.22-2_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 333623 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Hommey <glandium at debian.org> (supplier of updated libxml2 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 at debian.org)


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

Format: 1.7
Date: Wed,  2 Nov 2005 19:22:41 +0100
Source: libxml2
Binary: python-libxml2 python2.3-libxml2 python2.4-libxml2 python2.2-libxml2 libxml2-doc libxml2 libxml2-utils libxml2-dev
Architecture: source i386 all
Version: 2.6.22-2
Distribution: unstable
Urgency: low
Maintainer: Mike Hommey <glandium at debian.org>
Changed-By: Mike Hommey <glandium at debian.org>
Description: 
 libxml2    - GNOME XML library
 libxml2-dev - Development files for the GNOME XML library
 libxml2-doc - Documentation for the GNOME XML library
 libxml2-utils - XML utilities
 python-libxml2 - Python bindings for the GNOME XML library
 python2.2-libxml2 - Python 2.2 bindings for the GNOME XML library
 python2.3-libxml2 - Python 2.3 bindings for the GNOME XML library
 python2.4-libxml2 - Python 2.4 bindings for the GNOME XML library
Closes: 318083 333623 335015
Changes: 
 libxml2 (2.6.22-2) unstable; urgency=low
 .
   * autogen.sh: Changed the way we rebuild the examples.
   * debian/rules: Added history support in xmllint. Closes: #318083.
   * debian/control: Added build dependency upon libreadline5-dev for history
     support in xmllint.
   * xmllint.c: Added some spaces in usage(). Closes: #335015.
   * testModule.c: Added PATH_MAX definition for the Hurd. Closes: #333623.
Files: 
 4b123710ad2ca0308c9435d3284adf58 870 libs optional libxml2_2.6.22-2.dsc
 edc1ee5d001f16dd0337a91bc2e9935f 61459 libs optional libxml2_2.6.22-2.diff.gz
 40a5b6621c2b9e59fc466bafba7a56d4 987160 doc optional libxml2-doc_2.6.22-2_all.deb
 57f9654a502804bacd1776cc882befdb 17810 python optional python-libxml2_2.6.22-2_all.deb
 48bf512918be6c0f1bf8c5d9280bbb5d 671902 libs optional libxml2_2.6.22-2_i386.deb
 4c20fd7dfc557a50e2977f9a64c81a7c 32772 text optional libxml2-utils_2.6.22-2_i386.deb
 f4176aeda7ed6c2870ba6d29d52269d9 644634 libdevel optional libxml2-dev_2.6.22-2_i386.deb
 6846b958b46e314582137de936bc9e49 164916 python optional python2.4-libxml2_2.6.22-2_i386.deb
 d12615585f1bc669f62c304f1a5ba8e4 164918 python optional python2.3-libxml2_2.6.22-2_i386.deb
 e6044061fc24d256ed0946ff938adac6 163914 python optional python2.2-libxml2_2.6.22-2_i386.deb

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

iD8DBQFDaQf63kvaLFT9KlgRAuVnAJkBMmaHGXcfsED56H071cRRS3FHtACfe0Pa
rVG7ktjYqviyzSFjsMuZmbs=
=/aeG
-----END PGP SIGNATURE-----




More information about the debian-xml-sgml-pkgs mailing list