Bug 2203738
| Summary: | libmodulemd fails to build with rpm-4.18.90: modulemd:ci+c+c_release / module_index_release - FAIL - killed by signal 6 SIGABRT | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
| Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | MODIFIED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 39 | CC: | ffesti, igor.raits, mdomonko, mhroncok, nphilipp, packaging-team-maint, pmatilai, ppisar, sgallagh, thrnciar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rpm-4.18.90-3.fc39 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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: | |||
|
Description
Tomáš Hrnčiar
2023-05-15 07:14:20 UTC
The build log for a test in debug mode shows more details: (/builddir/build/BUILD/modulemd-2.15.0/redhat-linux-build/modulemd/module_index:1775): libmodulemd-DEBUG: 13:57:27.044: Processing /builddir/build/BUILD/modulemd-2.15.0/modulemd/tests/test_data/compression/bzipped, expecting success (/builddir/build/BUILD/modulemd-2.15.0/redhat-linux-build/modulemd/module_index:1775): libmodulemd-DEBUG: 13:57:27.044: Calling rpmio::Fdopen (0x557f54abad40, r.bzdio) (/builddir/build/BUILD/modulemd-2.15.0/redhat-linux-build/modulemd/module_index:1775): libmodulemd-DEBUG: 13:57:27.044: rpmio::Fdopen (0x557f54abad40, r.bzdio) succeeded (/builddir/build/BUILD/modulemd-2.15.0/redhat-linux-build/modulemd/module_index:1775): libmodulemd-DEBUG: 13:57:27.044: Parser error (/builddir/build/BUILD/modulemd-2.15.0/redhat-linux-build/modulemd/module_index:1775): libmodulemd-DEBUG: 13:57:27.044: Error: Parser error not ok /modulemd/v2/module/index/compressed - libmodulemd:ERROR:../modulemd/tests/test-modulemd-moduleindex.c:1493:test_module_index_read_compressed: assertion failed (error == NULL): Parser error (modulemd-yaml-error-quark, 2) Bail out! Especially it failed to parse a bzip2-compressed file. The decompression is performed with librpmio. librpmio library is packaged in rpm-libs RPM package. root.log claims rpm-libs-4.18.90-1.fc39.x86_64. That's a developmental version of rpm only built in a side tag, not available in Rawhide. It seems your COPR build root is infected with developmental rpm and the cause is not Python 3.12, but rpm-4.18.90. This is an issue in RPM itself. Turns out the new CMake build system does not detect libbzip2 properly fixed upstream with https://github.com/rpm-software-management/rpm/commit/d18d6ce41df4a5887df47a69052a401808aef19f and with rpm-4.18.90-3.fc39. Note that rpm is not yet build in rawhide as there are (obviously) still some hiccups to be cleared up and the build requires a bit delicate dance with changes to the whole software stack while trying not breaking the build system. Thanks for the quick fix, I confirm that libmodulemd builds fine, including tests, with rpm-4.18.90-3.fc39.x86_64. Though, I would expect an earlier failure already in Fdopen(, "r.bzdio"), if rpm is built without bzip2 support. This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. |