Bug 2423153

Summary: libmodulemd-2.15.2-4.fc44 FTBFS: tests fail with glib2 ≥ 2.87.0
Product: [Fedora] Fedora Reporter: Martin Pitt <mpitt>
Component: libmodulemdAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: nphilipp, ppisar, rpm-software-management, sgallagh, vrothber
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libmodulemd-2.15.2-5.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-16 08:57:38 UTC Type: ---
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: 2384424    
Attachments:
Description Flags
build.log none

Description Martin Pitt 2025-12-17 12:46:37 UTC
libmodulemd fails to build in current rawhide.

Reproducible: Always

Steps to Reproduce:
fedpkg clone -a libmodulemd
cd libmodulemd
fedpkg mockbuild
Actual Results:
Lots of unit test failures during build:

Summary of Failures:

 11/115 ci+ci_valgrind+c+c_debug - modulemd:component_module_debug                               FAIL              0.13s   killed by signal 6 SIGABRT
 12/115 ci+c+c_release - modulemd:component_module_release                                       FAIL              0.14s   killed by signal 6 SIGABRT
 13/115 ci+ci_valgrind+c+c_debug - modulemd:defaults_debug                                       FAIL              0.16s   killed by signal 6 SIGABRT
 14/115 ci+c+c_release - modulemd:defaults_release                                               FAIL              0.17s   killed by signal 6 SIGABRT
 15/115 ci+c+c_release - modulemd:common_release                                                 FAIL              0.25s   killed by signal 6 SIGABRT
 16/115 ci+ci_valgrind+c+c_debug - modulemd:defaultsv1_debug                                     FAIL              0.18s   killed by signal 6 SIGABRT
 17/115 ci+c+c_release - modulemd:defaultsv1_release                                             FAIL              0.17s   killed by signal 6 SIGABRT
 18/115 ci+ci_valgrind+c+c_debug - modulemd:dependencies_debug                                   FAIL              0.17s   killed by signal 6 SIGABRT
 19/115 ci+c+c_release - modulemd:dependencies_release                                           FAIL              0.17s   killed by signal 6 SIGABRT
 20/115 ci+ci_valgrind+c+c_debug - modulemd:module_debug                                         FAIL              0.16s   killed by signal 6 SIGABRT
 21/115 ci+c+c_release - modulemd:module_release                                                 FAIL              0.17s   killed by signal 6 SIGABRT
 30/115 ci+ci_valgrind+c+c_debug - modulemd:profile_debug                                        FAIL              0.27s   killed by signal 6 SIGABRT
 31/115 ci+c+c_release - modulemd:profile_release                                                FAIL              0.28s   killed by signal 6 SIGABRT
 34/115 ci+ci_valgrind+c+c_debug - modulemd:translation_debug                                    FAIL              0.13s   killed by signal 6 SIGABRT
 35/115 ci+ci_valgrind+c+c_debug - modulemd:service_level_debug                                  FAIL              0.16s   killed by signal 6 SIGABRT
 36/115 ci+c+c_release - modulemd:service_level_release                                          FAIL              0.16s   killed by signal 6 SIGABRT
 39/115 ci+ci_valgrind+c+c_debug - modulemd:translation_entry_debug                              FAIL              0.15s   killed by signal 6 SIGABRT
 40/115 ci+c+c_release - modulemd:translation_release                                            FAIL              0.19s   killed by signal 6 SIGABRT
 43/115 ci+c+c_release - modulemd:translation_entry_release                                      FAIL              0.15s   killed by signal 6 SIGABRT
 44/115 ci+c+c_release - modulemd:obsoletes_release                                              FAIL              0.12s   killed by signal 6 SIGABRT
 45/115 ci+ci_valgrind+c+c_debug - modulemd:obsoletes_debug                                      FAIL              0.14s   killed by signal 6 SIGABRT
 54/115 ci+py3+py3_debug - modulemd:defaults_python3_debug                                       FAIL              0.50s   killed by signal 6 SIGABRT
 55/115 ci+py3+py3_release - modulemd:defaults_python3_release                                   FAIL              0.50s   killed by signal 6 SIGABRT
 56/115 ci+py3+py3_debug - modulemd:dependencies_python3_debug                                   FAIL              0.48s   killed by signal 6 SIGABRT
 57/115 ci+py3+py3_release - modulemd:dependencies_python3_release                               FAIL              0.51s   killed by signal 6 SIGABRT
 58/115 ci+ci_valgrind+c+c_debug - modulemd:common_debug                                         FAIL              2.18s   killed by signal 6 SIGABRT
 69/115 ci+py3+py3_debug - modulemd:profile_python3_debug                                        FAIL              0.39s   killed by signal 6 SIGABRT
 72/115 ci+py3+py3_release - modulemd:profile_python3_release                                    FAIL              0.38s   killed by signal 6 SIGABRT
 75/115 ci+py3+py3_debug - modulemd:servicelevel_python3_debug                                   FAIL              0.45s   killed by signal 6 SIGABRT
 76/115 ci+py3+py3_release - modulemd:servicelevel_python3_release                               FAIL              0.46s   killed by signal 6 SIGABRT
 83/115 ci+py3+py3_debug - modulemd:translationentry_python3_debug                               FAIL              0.39s   killed by signal 6 SIGABRT
 84/115 ci+py3+py3_release - modulemd:translationentry_python3_release                           FAIL              0.40s   killed by signal 6 SIGABRT

Ok:                83  
Fail:              32  


Expected Results:
Package builds successfully

Comment 1 Martin Pitt 2025-12-17 12:47:28 UTC
Created attachment 2119037 [details]
build.log

Build log for reference.

Comment 2 Petr Pisar 2026-01-07 12:44:34 UTC
I know about it and I work on the fix. This is triggered by a <https://gitlab.gnome.org/GNOME/glib/-/issues/3790> change in glib2-2.87.0 and caused by libmodulemd tests expecting certain glib2 behavior.

Comment 3 Valentin Rothberg 2026-01-07 12:57:40 UTC
Thanks, Petr!  We are hitting this issue in Project Hummingbird at the moment: https://gitlab.com/redhat/hummingbird/rpms/-/merge_requests/150

Comment 4 Petr Pisar 2026-01-07 13:24:44 UTC
As a work around do not execute the tests. The flaw is purely in the tests and does not affect code of the library.