Description of problem: I tried to rebuild perl-HTML-WikiConverter-0.68-27.fc30.src.rpm in RHEL 8, and when it goes to the testing stage, it failed with the following error: t/01-wikiconverter.t .. 1/53 request for <http://diberri.dyndns.org/wikipedia/html2wiki-old/test.html> failed at t/01-wikiconverter.t line 162. # Looks like your test exited with 22 just after 35. t/01-wikiconverter.t .. Dubious, test returned 22 (wstat 5632, 0x1600) Checking the URL http://diberri.dyndns.org/wikipedia/html2wiki-old/test.html and looks like it does not exist anymore Version-Release number of selected component (if applicable): perl-HTML-WikiConverter-0.68-27.fc30.src.rpm How reproducible: rpmbuild --rebuild perl-HTML-WikiConverter-0.68-27.fc30.src.rpm Steps to Reproduce: 1. Download perl-HTML-WikiConverter-0.68-27.fc30.src.rpm 2. Rebuild the source RPM with rpmbuild --rebuild 3. Rebuild failed at the test stage Actual results: t/01-wikiconverter.t .. 1/53 request for <http://diberri.dyndns.org/wikipedia/html2wiki-old/test.html> failed at t/01-wikiconverter.t line 162. # Looks like your test exited with 22 just after 35. t/01-wikiconverter.t .. Dubious, test returned 22 (wstat 5632, 0x1600) Expected results: Test should pass Additional info: Test Summary Report ------------------- t/01-wikiconverter.t (Wstat: 5632 Tests: 35 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 53 tests but ran 35. Files=6, Tests=53, 2 wallclock secs ( 0.04 usr 0.01 sys + 0.82 cusr 0.08 csys = 0.95 CPU) Result: FAIL Failed 1/6 test programs. 0/53 subtests failed. make: *** [Makefile:901: test_dynamic] Error 255 error: Bad exit status from /var/tmp/rpm-tmp.JfLFXA (%check)
This is bug #102916 on CPAN. Disabling the test seems the way to go since we don't run it anyway.
Looking furthur into this, I realized the test is skipped if the host cannot reach www.perl.com. I patched the test to check diberri.dyndns.org instead. Sharuzzaman, can you test the .src.rpm at https://koji.fedoraproject.org/koji/buildinfo?buildID=1349556 and report back if it fixes your problem ?
Emmanuel, The updated source RPM worked really well, and I can rebuild it successfully in RHEL 8. Thank you for the update.
No problem.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.