Bug#825020: perl: does not support error strings any more on hurd-i386

Niko Tyni ntyni at debian.org
Fri May 27 16:02:06 UTC 2016


Control: tag -1 confirmed

On Sun, May 22, 2016 at 02:13:47PM +0000, Samuel Thibault wrote:
> Package: perl
> Version: 5.24.0-1
> Severity: important

> On hurd-i386, version 5.24.0-1 of Perl does not support error strings
> any more:

This is because the probing code picks up a wrong prototype for
strerror_r(3), because _GNU_SOURCE is no longer defined even though
it's in hints/gnu.sh.

It looks like upstream commit
 http://perl5.git.perl.org/perl.git/commit/41d73075f0801c26794dadb1ff690f305d7e53a7
changed the default Configure behaviour:

-  -O : let -D and -U override definitions from loaded configuration file.
+  -O : ignored for backward compatibility

We specify -Dccflags=[...] from debian/config.debian, so it now
overrides the settings in hints/gnu.sh.

It looks like the other architectures get _GNU_SOURCE (and _REENTRANT)
via hints/linux.sh -> UU/usethreads.cbu, possibly Hurd needs something
similar.
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list