Bug#587901: perl: Missing -DDEBIAN -D_REENTRANT flags on hurd-i386
Samuel Thibault
sthibault at debian.org
Fri Jul 2 12:44:26 UTC 2010
Package: perl
Version: 5.10.1-13
Severity: normal
Tags: patch upstream
Hello,
The perl build on hurd-i386 doesn't have the -DDEBIAN flag, leading to
paths discrepancies and such odd issues. This is due to hints/gnu.sh
overriding the value passed by debian/rules. The build also doesn't use
-D_REENTRANT, which can lead to issues too. The attached patch fixes
both issues.
Samuel
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.34 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages perl depends on:
ii libbz2-1.0 1.0.5-4 high-quality block-sorting file co
ii libc6 2.11.1-3 Embedded GNU C Library: Shared lib
ii libdb4.7 4.7.25-9 Berkeley v4.7 Database Libraries [
ii libgdbm3 1.8.3-9 GNU dbm database routines (runtime
ii perl-base 5.10.1-13 minimal Perl system
ii perl-modules 5.10.1-13 Core Perl modules
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages perl recommends:
ii make 3.81-8 An utility for Directing compilati
ii netbase 4.41 Basic TCP/IP networking system
Versions of packages perl suggests:
pn libterm-readline-gnu-perl | l <none> (no description available)
ii perl-doc 5.10.1-13 Perl documentation
-- no debconf information
--
Samuel Thibault <samuel.thibault at fnac.net>
After watching my newly-retired dad spend two weeks learning how to make a new
folder, it became obvious that "intuitive" mostly means "what the writer or
speaker of intuitive likes".
(Bruce Ediger, bediger at teal.csn.org, in comp.os.linux.misc, on X the
intuitiveness of a Mac interface.)
-------------- next part --------------
--- hints/gnu.sh.orig 2010-07-02 14:01:39.000000000 +0200
+++ hints/gnu.sh 2010-07-02 14:04:10.000000000 +0200
@@ -19,7 +19,13 @@
ccdlflags='-Wl,-E'
# Debian bug #258618
-ccflags='-D_GNU_SOURCE'
+ccflags="-D_GNU_SOURCE $ccflags"
+
+case "$usethreads" in
+$define|true|[yY]*)
+ ccflags="-D_REENTRANT $ccflags"
+ ;;
+esac
# The following routines are only available as stubs in GNU libc.
# XXX remove this once metaconf detects the GNU libc stubs.
More information about the Perl-maintainers
mailing list