Your message dated Wed, 08 Jan 2014 21:22:19 +0000
with message-id <[email protected]>
and subject line Bug#636568: fixed in xerces-c 3.1.1-5
has caused the Debian Bug report #636568,
regarding xerces-c: Fix FTBFS on hurd-i386
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
636568: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636568
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xerces-c
Version: 3.3.1-1
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd
Hi,
currently xerces-c does not compile on hurd-i386. The problem is a
PATH_MAX definition which is not supported on GNU/Hurd.
One of blahtexml build dependencies is xerces-c. blahtexml is on the
list of GNU/Hurd packages lagging behind other architectures:
http://ftp-master.debian.org/users/twerner/pre-squeeze.txt
The attached patch fixes the build.
Thanks,
Svante
--- xerces-c-3.1.1/src/xercesc/util/FileManagers/PosixFileMgr.cpp.orig 2008-07-04 09:23:56.000000000 +0000
+++ xerces-c-3.1.1/src/xercesc/util/FileManagers/PosixFileMgr.cpp 2011-08-04 07:30:19.000000000 +0000
@@ -187,6 +187,17 @@
ArrayJanitor<char> janText(newSrc, manager);
// Use a local buffer that is big enough for the largest legal path
+#ifdef __GNU__
+ char *absPath;
+ XMLCh *ret;
+ // get the absolute path
+ absPath = realpath(newSrc, NULL);
+ if (absPath == NULL)
+ ThrowXMLwithMemMgr(XMLPlatformUtilsException, XMLExcepts::File_CouldNotGetBasePathName, manager);
+ ret = XMLString::transcode(absPath, manager);
+ free(absPath);
+ return ret;
+#else
char absPath[PATH_MAX + 1];
// get the absolute path
@@ -194,12 +205,27 @@
ThrowXMLwithMemMgr(XMLPlatformUtilsException, XMLExcepts::File_CouldNotGetBasePathName, manager);
return XMLString::transcode(absPath, manager);
+#endif
}
XMLCh*
PosixFileMgr::getCurrentDirectory(MemoryManager* const manager)
{
+#ifdef __GNU__
+ char *dirBuf=NULL;
+ XMLCh *ret;
+ size_t dummy = 0;
+ char *curDir = getcwd(dirBuf, dummy);
+
+ if (curDir == NULL)
+ ThrowXMLwithMemMgr(XMLPlatformUtilsException,
+ XMLExcepts::File_CouldNotGetBasePathName, manager);
+
+ ret = XMLString::transcode(curDir, manager);
+ free(curDir);
+ return ret;
+#else
char dirBuf[PATH_MAX + 2];
char *curDir = getcwd(&dirBuf[0], PATH_MAX + 1);
@@ -208,6 +234,7 @@
XMLExcepts::File_CouldNotGetBasePathName, manager);
return XMLString::transcode(curDir, manager);
+#endif
}
--- End Message ---
--- Begin Message ---
Source: xerces-c
Source-Version: 3.1.1-5
We believe that the bug you reported is fixed in the latest version of
xerces-c, which is due to be installed in the Debian FTP archive.
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.
Jay Berkenbilt <[email protected]> (supplier of updated xerces-c 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.8
Date: Wed, 08 Jan 2014 15:48:01 -0500
Source: xerces-c
Binary: libxerces-c3.1 libxerces-c-dev libxerces-c-doc libxerces-c-samples
Architecture: source all amd64
Version: 3.1.1-5
Distribution: unstable
Urgency: medium
Maintainer: Jay Berkenbilt <[email protected]>
Changed-By: Jay Berkenbilt <[email protected]>
Description:
libxerces-c-dev - validating XML parser library for C++ (development files)
libxerces-c-doc - validating XML parser library for C++ (documentation)
libxerces-c-samples - validating XML parser library for C++ (compiled samples)
libxerces-c3.1 - validating XML parser library for C++
Closes: 636568
Changes:
xerces-c (3.1.1-5) unstable; urgency=medium
.
* Apply upstream patch for PATH_MAX to enable compilation on GNU hurd.
(Closes: #636568)
Checksums-Sha1:
47d475b5bbc597bf31e75453b2f213907f453717 1912 xerces-c_3.1.1-5.dsc
29e94dc4246747757df58b1fed73bd222e278c7c 6617 xerces-c_3.1.1-5.debian.tar.gz
bb5115c3039b0b1321482e4c8e8980901b3a71ea 1288282
libxerces-c-doc_3.1.1-5_all.deb
523864adfc029a104ff6a496341f5708a57e0d94 816970
libxerces-c3.1_3.1.1-5_amd64.deb
bfa49ca01c92839c8c5ad8358bace2eae6e34198 1622402
libxerces-c-dev_3.1.1-5_amd64.deb
bc8915d86b76319439c0dd7417cd9d84bb1bd961 126022
libxerces-c-samples_3.1.1-5_amd64.deb
Checksums-Sha256:
af3779cc90ec70c1f10efd528d21fc6f322414c675ed456fbd2f52b656102645 1912
xerces-c_3.1.1-5.dsc
2d4cfb8b510fd8d6932b27c6dc6a6c16d3f3a76acd4ccd07e8c426e70f540ad9 6617
xerces-c_3.1.1-5.debian.tar.gz
f87a2be4f4972b941b5d40649e9690c19eeea4019088c0a0752df0ad88b17c8c 1288282
libxerces-c-doc_3.1.1-5_all.deb
bd45c759c97aafccca2d125941c96c237674f17b2b4d88ec309b838cc35820a8 816970
libxerces-c3.1_3.1.1-5_amd64.deb
33411a05ffea45f99c0c4c026079ab65d383cf932859b9512a7d6f9a7b4718d0 1622402
libxerces-c-dev_3.1.1-5_amd64.deb
c638265405692b96aaf12a362ec9abb53b753be87615e683e55bee8a556c227f 126022
libxerces-c-samples_3.1.1-5_amd64.deb
Files:
fd53b3221406ea3a11df4e23fd73c7cf 1912 libs optional xerces-c_3.1.1-5.dsc
cf3b490869c0b907928135239d2510df 6617 libs optional
xerces-c_3.1.1-5.debian.tar.gz
9b238d7d597d1fca43d947d37c372e03 1288282 doc optional
libxerces-c-doc_3.1.1-5_all.deb
2419eb53f069425d2060d4a34e4938a3 816970 libs optional
libxerces-c3.1_3.1.1-5_amd64.deb
3a619d3f01b6c23266da006018e45381 1622402 libdevel optional
libxerces-c-dev_3.1.1-5_amd64.deb
1d421bfcb7e745660262089a2ed1394b 126022 devel optional
libxerces-c-samples_3.1.1-5_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iQIcBAEBAgAGBQJSzbtKAAoJEIp10QmYASx+4XMP/jLb/Ov+O2ck0VAIGXLwIUeW
Dp0cZRlB4D9Xxyy7h6FYk4uSmp3VdRermtlrzmZFwuXSMhTKQgXX9iAMLmkkMB/8
coZOBZZ6w+TmU4q5vSMUfhcJQ41rfxN/o58J/nBoDZ5jitAFSmKM9D6EPhqHrUvD
xV0BW/bWzdJI2IY38nX2Th9PRmHX+HXX8iUC5OrhAWGY+SkM4PVAclstBim5D8Xg
/WIgvcTbVRWKUZ4mO2MWgSJLKkML+S3Wi4ZBK4yrXCtXdhUH7cAKNNjnP9mBuUsS
sIkGnRBa64Rtg2u2525SAlNoq9pcC6eTFpXLGNhwbcxa5uKsT37fJQ20bwB5CJKS
YUSEpLhBQrFaorZk1cjczkGKOutaQUVL7aq8QkD+ZBeh18fkqiPW3AODZ+ihz/ND
Kqj6PdOHFhhbRzu9NqWiSAWgf81Bkt6fzvCHdpPQA2NvfbGAWJ7Ro5Jj/XkGhDPM
j6HINztZKEUA7UVTX08hi7unOdIvoBk19CHkbDklE4cYvHcE/n8vQnXaldWQdA7K
HRCDfGgZgkAf+wNuRorlcNs0ulzEER5oCCx2mdx+SbKKWIZn+kmjzrk2ZlUX27uU
2K0dPXjRr62Ahk+a1rM7AK2Ibk7ss0m4r5+es1X9RNblHdOdkr18nZzb9XVdFFdj
5AGRL/FWk88v/1bU2b9b
=ItnN
-----END PGP SIGNATURE-----
--- End Message ---