Hello Bruno,
On 26/06/18 11:59 AM, Bruno Haible wrote:
A recent coreutils snapshot produces a test failure on CentOS 7.3.1611:
[...]
FAIL: tests/misc/csplit-suppress-matched
========================================
Can't locate Data/Dumper.pm in @INC (@INC contains: ../tests
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
../tests/misc/csplit-suppress-matched.pl line 19.
BEGIN failed--compilation aborted at ../tests/misc/csplit-suppress-matched.pl
line 19.
FAIL tests/misc/csplit-suppress-matched.pl (exit status: 2)
The perl version is 5.16.3.
This patch should fix it.
-assaf
>From c64980bf0c9817b2edf7182fdde4ef41222852fe Mon Sep 17 00:00:00 2001
From: Assaf Gordon <[email protected]>
Date: Tue, 26 Jun 2018 12:59:11 -0600
Subject: [PATCH] tests: remove unused Data::Dumper perl module
The module is no needed anymore (was used during development).
Despite being a Perl core module, platforms like CentOS don't install
it by default. Reported by Bruno Haible at
https://lists.gnu.org/r/coreutils/2018-06/msg00093.html.
* tests/misc/csplit-suppress-matched.pl: Remove Data::Dumper.
---
tests/misc/csplit-suppress-matched.pl | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/misc/csplit-suppress-matched.pl b/tests/misc/csplit-suppress-matched.pl
index 416a5bca3..ec47252ea 100755
--- a/tests/misc/csplit-suppress-matched.pl
+++ b/tests/misc/csplit-suppress-matched.pl
@@ -16,7 +16,6 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
use strict;
-use Data::Dumper;
my $limits = getlimits ();
--
2.11.0