Skip Menu |

This queue is for tickets about the Time-HiRes CPAN distribution.

Report information
The Basics
Id: 128556
Status: resolved
Priority: 0/
Queue: Time-HiRes

People
Owner: Nobody in particular
Requestors: davido [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.9760
Fixed in: (no value)



Subject: symbol __recv, version GLIBC_PRIVATE not defined (in make test)
Time::HiRes has begun failing to install for me on a Centos7 laptop running perlbrew Perl version 5.28.1. Since the cpanm installer failed I downloaded the tarball, unpacked it, and performed the dance: perl Makefile.PL make To this point everything appeared to go as it should. But then make test "/home/doswald/perl5/perlbrew/perls/perl-5.28.1/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bs 644 PERL_DL_NONLAZY=1 "/home/doswald/perl5/perlbrew/perls/perl-5.28.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/alarm.t ......... 1/10 # Failed test 'require Time::HiRes;' # at t/alarm.t line 7. # Tried to require 'Time::HiRes'. # Error: Can't load '/home/doswald/Downloads/Time-HiRes-1.9760/blib/arch/auto/Time/HiRes/HiRes.so' for module Time::HiRes: /home/linuxbrew/.linuxbrew/lib/librt.so.1: symbol __recv, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference at /home/doswald/perl5/perlbrew/perls/perl-5.28.1/lib/5.28.1/x86_64-linux/DynaLoader.pm line 193. # at (eval 63) line 2. # Compilation failed in require at (eval 63) line 2. &Time::HiRes::constant not defined at /home/doswald/Downloads/Time-HiRes-1.9760/blib/lib/Time/HiRes.pm line 62. # Looks like your test exited with 25 just after 2. t/alarm.t ......... Dubious, test returned 25 (wstat 6400, 0x1900) Failed 9/10 subtests (less 1 skipped subtest: 0 okay) This same error occurs for every script in the test suite. However, if I do this: prove -bv t/ I end up with a run that concludes with: All tests successful. Files=12, Tests=118, 28 wallclock secs ( 0.05 usr 0.02 sys + 14.59 cusr 0.14 csys = 14.80 CPU) Result: PASS Please let me know if I can assist by providing additional information. FWIW, I had no such error messages when installing Time::HiRes under Ubuntu.
Additional information: ldd --version ldd (GNU libc) 2.23 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. uname -r 4.20.10-1.el7.elrepo.x86_64
Discovered the issue was related to how linuxbrew specifies glibc path. Not a bug. Marking resolved.