Bug 1739331 - rebuilding src.rpm failed due to missing website
Summary: rebuilding src.rpm failed due to missing website
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-HTML-WikiConverter
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-09 04:31 UTC by Sharuzzaman Ahmat Raslan
Modified: 2019-08-18 10:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-18 10:18:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 102916 0 None None None 2019-08-09 05:59:57 UTC

Description Sharuzzaman Ahmat Raslan 2019-08-09 04:31:45 UTC
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)

Comment 1 Emmanuel Seyman 2019-08-09 05:59:58 UTC
This is bug #102916 on CPAN. Disabling the test seems the way to go since we don't run it anyway.

Comment 2 Emmanuel Seyman 2019-08-11 13:56:49 UTC
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 ?

Comment 3 Sharuzzaman Ahmat Raslan 2019-08-13 16:09:45 UTC
Emmanuel,

The updated source RPM worked really well, and I can rebuild it successfully in RHEL 8.

Thank you for the update.

Comment 4 Emmanuel Seyman 2019-08-13 16:44:20 UTC
No problem.

Comment 5 Ben Cotton 2019-08-13 16:47:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.


Note You need to log in before you can comment on or make changes to this bug.