Bug 2093197

Summary: libsbml-5.19.0-13.fc37: FTBFS with Perl 5.36 on arch i686
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: libsbmlAssignee: Zbigniew Jędrzejewski-Szmek <zbyszek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: mhroncok, neuro-sig, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=87826839
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-09 14:22:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2045102, 2107826    

Description Jitka Plesnikova 2022-06-03 08:28:39 UTC
I am working on adding Perl 5.36 to Fedora Rawhide/37 (not done yet).

The rebuild of libsbml failed with this version on arch i686 in side tag f37-perl:

31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/06__TestReadSBML.t .............. 
31: Failed 252/425 subtests 

31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/06__TestWriteSBML.t ............. 
31: All 72 subtests passed 
 
31: Test Summary Report
31: -------------------
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/06__TestReadSBML.t            (Wstat: 139 (Signal: SEGV, dumped core) Tests: 173 Failed: 0)
31:   Non-zero wait status: 139
31:   Parse errors: Bad plan.  You planned 425 tests but ran 173.
31: /builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/perl/t/06__TestWriteSBML.t           (Wstat: 139 (Signal: SEGV, dumped core) Tests: 72 Failed: 0)
31:   Non-zero wait status: 139
31: Files=41, Tests=3112,  6 wallclock secs ( 0.17 usr  0.04 sys +  4.78 cusr  0.58 csys =  5.57 CPU)
31: Result: FAIL
31: Failed 2/41 test programs. 0/3112 subtests failed.
31/71 Test #31: test_perl_binding .............................***Failed    6.04 sec

Comment 1 Miro Hrončok 2022-08-01 21:47:36 UTC
This package now has old Python bytecode (see bz2107826), could you please fix this and rebuild it on Fedora 37+?

Comment 2 Tomáš Hrnčiar 2022-08-09 10:43:34 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 37.
Action is required from you.

PYC magic number has changed in Python 3.11.0b4, and all packages with Python
bytecode need to be
rebuilt. Most of them were rebuilt during the Fedora 37 mass rebuild, but since
this
package is FTBFS, we were hoping you could fix it and rebuild it manually, or
it will cause subtle issues when used.

Tracking bugzilla for all affected packages:
https://bugzilla.redhat.com/show_bug.cgi?id=2107826

If you can fix your package to build, perform a build in koji, and if
necessary, create
an update in bodhi. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this
Bugzilla report.

Note that Fedora 37 is about to be branched very soon.
If you fix this after branching, make sure to rebuild the package in both
Rawhide (Fedora 38) and Fedora 37.

==============================================

Following the policy for FTBFS packages [1], your package will be orphaned if
this bug remains in a NEW state for more than 8 weeks (not sooner than
2022-07-29).

A week before the mass branching of Fedora 38 according to the
schedule [2],
any packages not successfully rebuilt, at least on Fedora 36 will
be
retired regardless of the status of this bug.

[1]
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[2]
https://fedorapeople.org/groups/schedule/f-38/f-38-key-tasks.html

Comment 3 Ben Cotton 2022-08-09 13:17:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.