Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
This should fix it:
diff --git a/perl-Devel-CheckLib.spec b/perl-Devel-CheckLib.spec
index 9645a77..4e0d6f3 100644
--- a/perl-Devel-CheckLib.spec
+++ b/perl-Devel-CheckLib.spec
@@ -31,6 +31,7 @@ BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(IO::File)
BuildRequires: perl(Capture::Tiny)
BuildRequires: perl(lib)
+BuildRequires: perl(blib)
BuildRequires: perl(Test::More) >= 0.88
# Optional tests
%if %{with perl_Devel_CheckLib_enables_optional_test}
It's not visible in the current buildroot because for some reason, the testsuite does not find GCC, so not much is tested:
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ................... ok
t/analyze-binary.t ............ skipped: Couldn't find your C compiler
Subroutine Config::STORE redefined at t/bad-single-word-compiler.t line 19.
t/bad-single-word-compiler.t .. ok
t/cmdline-LIBS-INC.t .......... skipped: Couldn't find your C compiler
t/custom-function.t ........... skipped: Couldn't find your C compiler
t/dash-l-libs.t ............... skipped: Couldn't find your C compiler
t/exit_with_message.t ......... skipped: Couldn't find your C compiler
t/flags.t ..................... skipped: Couldn't find your C compiler
t/found.t ..................... skipped: Couldn't find your C compiler
t/headers.t ................... skipped: Couldn't find your C compiler
Subroutine Config::STORE redefined at t/multi-word-compiler.t line 19.
t/multi-word-compiler.t ....... ok
t/not_found.t ................. skipped: Couldn't find your C compiler
All tests successful.
Files=12, Tests=3, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.67 cusr 0.07 csys = 0.77 CPU)
Result: PASS
GCC is not needed for building of the module, but should be required for tests execution.
I would recommend adding perl(blib) and gcc to build-requires.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (perl-Devel-CheckLib bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2023:6716
This should fix it: diff --git a/perl-Devel-CheckLib.spec b/perl-Devel-CheckLib.spec index 9645a77..4e0d6f3 100644 --- a/perl-Devel-CheckLib.spec +++ b/perl-Devel-CheckLib.spec @@ -31,6 +31,7 @@ BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(IO::File) BuildRequires: perl(Capture::Tiny) BuildRequires: perl(lib) +BuildRequires: perl(blib) BuildRequires: perl(Test::More) >= 0.88 # Optional tests %if %{with perl_Devel_CheckLib_enables_optional_test} It's not visible in the current buildroot because for some reason, the testsuite does not find GCC, so not much is tested: PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ................... ok t/analyze-binary.t ............ skipped: Couldn't find your C compiler Subroutine Config::STORE redefined at t/bad-single-word-compiler.t line 19. t/bad-single-word-compiler.t .. ok t/cmdline-LIBS-INC.t .......... skipped: Couldn't find your C compiler t/custom-function.t ........... skipped: Couldn't find your C compiler t/dash-l-libs.t ............... skipped: Couldn't find your C compiler t/exit_with_message.t ......... skipped: Couldn't find your C compiler t/flags.t ..................... skipped: Couldn't find your C compiler t/found.t ..................... skipped: Couldn't find your C compiler t/headers.t ................... skipped: Couldn't find your C compiler Subroutine Config::STORE redefined at t/multi-word-compiler.t line 19. t/multi-word-compiler.t ....... ok t/not_found.t ................. skipped: Couldn't find your C compiler All tests successful. Files=12, Tests=3, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.67 cusr 0.07 csys = 0.77 CPU) Result: PASS