From 794e8e0c6631c3666dfe85f67f4320b8115c36d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 15 Jan 2018 16:55:26 +0100 Subject: [PATCH] Rebuild against glibc without nsl library Perl opportunistically links against nsl library because some platforms provide gethostbyname() in it. This is not the case of GNU libc. Yet the "-lnsl" gets into $Config{perllibs} and ExtUtils::Embed enforces it. This breaks with glibc-2.26.9000-40 that removed the library. Simple rebuild against the new glibc fixes it. --- perl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/perl.spec b/perl.spec index 3068293..db02518 100644 --- a/perl.spec +++ b/perl.spec @@ -79,7 +79,7 @@ License: GPL+ or Artistic Epoch: %{perl_epoch} Version: %{perl_version} # release number must be even higher, because dual-lived modules will be broken otherwise -Release: 402%{?dist} +Release: 403%{?dist} Summary: Practical Extraction and Report Language Url: http://www.perl.org/ Source0: http://www.cpan.org/src/5.0/perl-%{perl_version}.tar.bz2 @@ -5180,6 +5180,9 @@ popd # Old changelog entries are preserved in CVS. %changelog +* Mon Jan 15 2018 Petr Pisar - 4:5.26.1-403 +- Rebuild against glibc without nsl library + * Tue Jan 09 2018 Petr Pisar - 4:5.26.1-402 - Remove invalid macro definitions from macros.perl (bug #1532539) - Fix an overflow in the lexer when reading a new line (RT#131793)