Your message dated Tue, 16 Feb 2010 04:17:42 +0000
with message-id <[email protected]>
and subject line Bug#546017: fixed in ghostscript 8.71~dfsg-1
has caused the Debian Bug report #546017,
regarding ghostscript: FTBFS on hurd-i386: extra gs_realloc in symbols file
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.)


-- 
546017: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546017
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:ghostscript
Version: 8.70~dfsg-2
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd

Hi,

as shown on [1], ghostscript fails to build on GNU/Hurd, because of a symbol
specified in the symbols file which is not compiled on GNU/Hurd.
The reason is basically the implementation of the gs_realloc() function: in
base/malloc_.h there is:
[...]
/* (At least some versions of) Linux don't have a working realloc.... */
#ifdef linux
#  define malloc__need_realloc
void *gs_realloc(void *, size_t, size_t);

#else
#  define gs_realloc(ptr, old_size, new_size) realloc(ptr, new_size)
#endif
[...]

which means gs_realloc() is a proper function only on Linux.
The proposed solution is to slightly change the symbol files, introducing a new
file with common Linux-only symbols, including it on Linux-only archs.
Tested, appears working on GNU/Hurd (obviously), and on current Squeeze.

[1] 
http://buildd.debian-ports.org/fetch.php?pkg=ghostscript&arch=hurd-i386&ver=8.70~dfsg-2&stamp=1251071245&file=log&as=raw

-- 
Pino Toscano
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.alpha
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.alpha	2009-09-10 15:30:50.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.alpha	2009-09-10 15:31:18.000000000 +0200
@@ -1,2 +1,3 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_le"
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.amd64
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.amd64	2009-09-10 15:30:50.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.amd64	2009-09-10 15:31:21.000000000 +0200
@@ -1,2 +1,3 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_le"
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.arm
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.arm	2009-09-10 15:30:50.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.arm	2009-09-10 15:31:30.000000000 +0200
@@ -1,3 +1,4 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_32bit"
 #include "symbols.common_le"
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.armel
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.armel	2009-09-10 15:30:51.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.armel	2009-09-10 15:31:34.000000000 +0200
@@ -1,3 +1,4 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_32bit"
 #include "symbols.common_le"
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.hppa
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.hppa	2009-09-10 15:30:51.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.hppa	2009-09-10 15:31:38.000000000 +0200
@@ -1,2 +1,3 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_32bit"
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.i386
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.i386	2009-09-10 15:30:52.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.i386	2009-09-10 15:31:45.000000000 +0200
@@ -1,3 +1,4 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_32bit"
 #include "symbols.common_le"
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.ia64
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.ia64	2009-09-10 15:30:53.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.ia64	2009-09-10 15:31:48.000000000 +0200
@@ -1,2 +1,3 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_le"
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.m68k
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.m68k	2009-09-10 15:30:53.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.m68k	2009-09-10 15:31:50.000000000 +0200
@@ -1,2 +1,3 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_32bit"
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.mips
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.mips	2009-09-10 15:30:53.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.mips	2009-09-10 15:31:52.000000000 +0200
@@ -1,2 +1,3 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_32bit"
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.mipsel
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.mipsel	2009-09-10 15:30:54.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.mipsel	2009-09-10 15:31:55.000000000 +0200
@@ -1,3 +1,4 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_32bit"
 #include "symbols.common_le"
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.powerpc
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.powerpc	2009-09-10 15:30:54.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.powerpc	2009-09-10 15:31:58.000000000 +0200
@@ -1,2 +1,3 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_32bit"
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.s390
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.s390	2009-09-10 15:30:55.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.s390	2009-09-10 15:32:00.000000000 +0200
@@ -1,2 +1,3 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_32bit"
Index: ghostscript-8.70~dfsg/debian/libgs8.symbols.sparc
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/libgs8.symbols.sparc	2009-09-10 15:30:55.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/libgs8.symbols.sparc	2009-09-10 15:32:08.000000000 +0200
@@ -1,2 +1,3 @@
 #include "symbols.common"
+#include "symbols.common_linux"
 #include "symbols.common_32bit"
Index: ghostscript-8.70~dfsg/debian/symbols.common
===================================================================
--- ghostscript-8.70~dfsg.orig/debian/symbols.common	2009-09-10 15:30:05.000000000 +0200
+++ ghostscript-8.70~dfsg/debian/symbols.common	2009-09-10 15:30:40.000000000 +0200
@@ -1895,7 +1895,6 @@
  gs_r4081_dev...@base 8.61.dfsg.1
  gs_raw_alloc_struct_immova...@base 8.61.dfsg.1
  gs_rcurv...@base 8.61.dfsg.1
- gs_real...@base 8.61.dfsg.1
  gs_rectapp...@base 8.61.dfsg.1
  gs_rectc...@base 8.61.dfsg.1
  gs_rectf...@base 8.61.dfsg.1
Index: ghostscript-8.70~dfsg/debian/symbols.common_linux
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ ghostscript-8.70~dfsg/debian/symbols.common_linux	2009-09-10 15:30:24.000000000 +0200
@@ -0,0 +1 @@
+ gs_real...@base 8.61.dfsg.1

--- End Message ---
--- Begin Message ---
Source: ghostscript
Source-Version: 8.71~dfsg-1

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

ghostscript-cups_8.71~dfsg-1_amd64.deb
  to main/g/ghostscript/ghostscript-cups_8.71~dfsg-1_amd64.deb
ghostscript-doc_8.71~dfsg-1_all.deb
  to main/g/ghostscript/ghostscript-doc_8.71~dfsg-1_all.deb
ghostscript-x_8.71~dfsg-1_amd64.deb
  to main/g/ghostscript/ghostscript-x_8.71~dfsg-1_amd64.deb
ghostscript_8.71~dfsg-1.debian.tar.gz
  to main/g/ghostscript/ghostscript_8.71~dfsg-1.debian.tar.gz
ghostscript_8.71~dfsg-1.dsc
  to main/g/ghostscript/ghostscript_8.71~dfsg-1.dsc
ghostscript_8.71~dfsg-1_amd64.deb
  to main/g/ghostscript/ghostscript_8.71~dfsg-1_amd64.deb
ghostscript_8.71~dfsg.orig.tar.gz
  to main/g/ghostscript/ghostscript_8.71~dfsg.orig.tar.gz
gs-common_8.71~dfsg-1_all.deb
  to main/g/ghostscript/gs-common_8.71~dfsg-1_all.deb
gs-esp_8.71~dfsg-1_all.deb
  to main/g/ghostscript/gs-esp_8.71~dfsg-1_all.deb
gs-gpl_8.71~dfsg-1_all.deb
  to main/g/ghostscript/gs-gpl_8.71~dfsg-1_all.deb
libgs-dev_8.71~dfsg-1_amd64.deb
  to main/g/ghostscript/libgs-dev_8.71~dfsg-1_amd64.deb
libgs8_8.71~dfsg-1_amd64.deb
  to main/g/ghostscript/libgs8_8.71~dfsg-1_amd64.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated ghostscript 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: RIPEMD160

Format: 1.8
Date: Mon, 15 Feb 2010 23:39:11 +0100
Source: ghostscript
Binary: ghostscript gs-esp gs-gpl gs-common ghostscript-cups ghostscript-x 
ghostscript-doc libgs8 libgs-dev
Architecture: source all amd64
Version: 8.71~dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Masayuki Hatta (mhatta) <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Description: 
 ghostscript - The GPL Ghostscript PostScript/PDF interpreter
 ghostscript-cups - The GPL Ghostscript PostScript/PDF interpreter - CUPS 
filters
 ghostscript-doc - The GPL Ghostscript PostScript/PDF interpreter - 
Documentation
 ghostscript-x - The GPL Ghostscript PostScript/PDF interpreter - X Display 
suppor
 gs-common  - Dummy package depending on ghostscript
 gs-esp     - Transitional package
 gs-gpl     - Transitional package
 libgs-dev  - The Ghostscript PostScript Library - Development Files
 libgs8     - The Ghostscript PostScript/PDF interpreter Library
Closes: 520215 546017 562643
Changes: 
 ghostscript (8.71~dfsg-1) unstable; urgency=low
 .
   * New upstream release.
   * Acknowledge NMU. Closes: bug#562643, thanks to Andreas Kirschbaum.
   * No longer strip Resource/Font dir when DFSG-repackaging source (GPL-
     licensed since 8.63). Closes: bug#520215, thanks to Fabian
     Greffrath.
   * Update local CDBS snippets:
     + package-relations.mk:
       - Merge mixture of versioned and unversioned dependencies
       - Use unversioned dependencies when satisfied in oldstable
       - Improve whitespace cleanup
       - Rewrite and silence applying dependencies
       - Handle cdbs 0.4.53 dependency (needed when using debhelper v7)
     + upstream-tarball.mk:
       - Depend unversioned on cdbs (the needed 0.4.39 is in oldstable)
       - Preserve bzip2 tarballs with source format '3.0 (quilt)'.
     + copyright-check.mk:
       - More aggressive scanning (check top 99999 lines, not just 60)
       - Simplify more licensing notices and preserve non-ASCII chars
       - Group hints by sorted owner list (ignoring years)
       - Limit console output both horisontally and vertically
       - Use rev123 of draft DEP5 for hints file
   * Use source format 3.0 "quilt" (and not patchsys-quit.mk). Update
     README.source: normal builds need no special handling now.
   * Add patches:
     + 1009 (Ubuntu): Fix build gs as executable (not shared library)
     + 0743 (Upstream): Fix pdfwrite UTF16-BE pdfmarks not garbling XMP
       metadata
     + 0748 (Upstream): Fix nested ICCBased colour processing
     + 0749 (Upstream): Fix a few minor compile warnings
   * Refresh patches, and reorder to apply in numerical order.
   * Rewrite copyright file using draft DEP5 format: All earlier
     information preserved, but also many new discoveries (some yet
     incomplete - tagged FIXME in the file).
   * Build-depend on libtiff-dev and enable use of libtiff.
   * Update symbols files, and avoid Linux-only realloc symbol on Hurd
     (we currently do not maintain symbols files for other non-Linux
     archs). Closes: bug#546017, thanks to Pino Toscano.
   * Bump Standards-Version to 3.8.4.
Checksums-Sha1: 
 d150cad7d5c87eb210d6d35b52347fe8610ce040 1756 ghostscript_8.71~dfsg-1.dsc
 614430f9a325e5bad48e3780ab6a34b23ccd07d4 18980184 
ghostscript_8.71~dfsg.orig.tar.gz
 06c2abf683637df22a5faa06f82a3a771b2ca34f 161117 
ghostscript_8.71~dfsg-1.debian.tar.gz
 74e2dd1a5094af119c69f098caeb3a90579d4c0e 42050 gs-esp_8.71~dfsg-1_all.deb
 56721fcff865d8d78f216f9b625228b7b12a4601 42054 gs-gpl_8.71~dfsg-1_all.deb
 687f5de580abc684aec2dd72941af41381f37c76 42074 gs-common_8.71~dfsg-1_all.deb
 9ec0922264a65ce9147cbdb63bcc4c8b98c3fdec 3230696 
ghostscript-doc_8.71~dfsg-1_all.deb
 99a2ebc64e49036c8d5d7e6aea6f88e30ae5d1a4 4099438 
ghostscript_8.71~dfsg-1_amd64.deb
 ddff7b262600dbd5f46598cc888957b9a73c66bd 57074 
ghostscript-cups_8.71~dfsg-1_amd64.deb
 a0455bc5a1d92cb1307594f1af825177ec1bea3d 76680 
ghostscript-x_8.71~dfsg-1_amd64.deb
 dbec11c46cddb6ef9d9bab53dc4025b331bd1429 2230154 libgs8_8.71~dfsg-1_amd64.deb
 2ca4f8fd631127ec842d35c3fc03ef7c6159a44e 2816328 
libgs-dev_8.71~dfsg-1_amd64.deb
Checksums-Sha256: 
 0ffe29f99470607cd3bf3f7a61e3b58095a7b0ee92870f87adf27564f4600146 1756 
ghostscript_8.71~dfsg-1.dsc
 3def4ed1176cab25c71947f02de2fbca42292498698a7b1deb0b0b68ffc14a20 18980184 
ghostscript_8.71~dfsg.orig.tar.gz
 4771766b9ffbe9eec5bdcfca37508c9bab3c70546094dfbf5052dbef6dd39eeb 161117 
ghostscript_8.71~dfsg-1.debian.tar.gz
 cab39fd9c85851dbf748d3150339286775bc75cdf4dc4f94588b54ef5a64cbc0 42050 
gs-esp_8.71~dfsg-1_all.deb
 17017027b4907118bb58093e1bdc56e4001a1753f282aab1c5fd0af23eac9baf 42054 
gs-gpl_8.71~dfsg-1_all.deb
 0accbb12c7375589720034c993bbf35a8cf0a413c7902a3dce947dd010909de5 42074 
gs-common_8.71~dfsg-1_all.deb
 d0b3c1e0df5c10a8b592424a382b4b8637a6fa605552344ae10ed40fa7a596c5 3230696 
ghostscript-doc_8.71~dfsg-1_all.deb
 b19f6c90d0d8693b14b75dea696e2587929e52c3537eac2788b2703adaafdbf1 4099438 
ghostscript_8.71~dfsg-1_amd64.deb
 a0fb7d60c41542aa8a8e26715624a573166cb3d60571db70a5878ab93c0c7327 57074 
ghostscript-cups_8.71~dfsg-1_amd64.deb
 578672b4f34964ae05ff4b7884b1728890d46f9ccda7b29dd4b5d94e0d9fc3cd 76680 
ghostscript-x_8.71~dfsg-1_amd64.deb
 09c2dea88928b26f324d9823a6f632c3dd49ede06c7ddd8970c4b149d3041b71 2230154 
libgs8_8.71~dfsg-1_amd64.deb
 4e55d374935de6996a8529ff08ac40478edbcc60fb3aedb6e2258b4a770ed25a 2816328 
libgs-dev_8.71~dfsg-1_amd64.deb
Files: 
 f34f6d1273115482f27eafd92ccdaa61 1756 text optional ghostscript_8.71~dfsg-1.dsc
 f3eb57e0ae650602601190f198d84410 18980184 text optional 
ghostscript_8.71~dfsg.orig.tar.gz
 4c086c7cf677a602b000921c42016a9e 161117 text optional 
ghostscript_8.71~dfsg-1.debian.tar.gz
 0d5ea9be8be68916d6b2ebb9357e28a1 42050 text extra gs-esp_8.71~dfsg-1_all.deb
 1b51df1491cf8ce18478577cb3ee1f35 42054 text extra gs-gpl_8.71~dfsg-1_all.deb
 bba7f637dc6b0c45016fc8e660e3b225 42074 text extra gs-common_8.71~dfsg-1_all.deb
 86037878d490efa8071f642d6250c549 3230696 doc optional 
ghostscript-doc_8.71~dfsg-1_all.deb
 58969b5d254643731b456706c5ce6de2 4099438 text optional 
ghostscript_8.71~dfsg-1_amd64.deb
 79c3b8a6cf5ae18e553133eb33fb473a 57074 text optional 
ghostscript-cups_8.71~dfsg-1_amd64.deb
 d1b7377dc0e11d4c45bdf8a528cbaefe 76680 text optional 
ghostscript-x_8.71~dfsg-1_amd64.deb
 7de6caa028fb62805b9334bbf91f97f9 2230154 libs optional 
libgs8_8.71~dfsg-1_amd64.deb
 47b0fd330f6fdb17f43bacc121339515 2816328 libdevel optional 
libgs-dev_8.71~dfsg-1_amd64.deb

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

iEYEAREDAAYFAkt6FzAACgkQn7DbMsAkQLhRuQCdF4Vp7jmz5KEGStsBInT+GH0l
ywwAn3BXT1s0BeMpWSXfqbd8Q3RA9GFF
=J1O1
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to