Bug 2384559

Summary: drpm-0.5.2-9.fc43 FTBFS: Tests fail: Conditional jump or move depends on uninitialised value
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: drpmAssignee: jeff.stewartrpm
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 45CC: dreua, jeff.stewartrpm, jmracek, ppisar, rpm-software-management
Target Milestone: ---Flags: fedora-admin-xmlrpc: mirror+
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-11 12:23:44 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: 2339432    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-07-30 08:48:15 UTC
drpm failed to build from source in Fedora rawhide/f43

https://koji.fedoraproject.org/koji/taskinfo?taskID=135164303


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
Please fix drpm at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
drpm will be orphaned. Before branching of Fedora 44,
drpm will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-07-30 08:48:22 UTC
Created attachment 2099102 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-07-30 08:48:27 UTC
Created attachment 2099103 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-07-30 08:48:29 UTC
Created attachment 2099104 [details]
state.log

Comment 4 Petr Pisar 2025-07-30 13:57:33 UTC
Tests failed because valgrind detects at some tests issues like this:

==769== Conditional jump or move depends on uninitialised value(s)
==769==    at 0x4F26030: ??? (in /usr/lib/libcmocka.so.0.8.1)
==769==    by 0x4F27D1A: ??? (in /usr/lib/libcmocka.so.0.8.1)
==769==    by 0x4F284EB: _cmocka_run_group_tests (in /usr/lib/libcmocka.so.0.8.1)
==769==    by 0x4000DC1: main (drpm_api_tests.c:1032)
==769==  Uninitialised value was created by a heap allocation
==769==    at 0x485E7AF: malloc (vg_replace_malloc.c:446)
==769==    by 0x4E8E33B: ??? (in /usr/lib/libzstd.so.1.5.7)
==769==    by 0x4E8EF4D: ??? (in /usr/lib/libzstd.so.1.5.7)
==769==    by 0x4E91119: ??? (in /usr/lib/libzstd.so.1.5.7)
==769==    by 0x4E9395C: ZSTD_compressStream2 (in /usr/lib/libzstd.so.1.5.7)
==769==    by 0x4003AF4: writechunk_zstd (drpm_compstrm.c:746)
==769==    by 0x4008B07: UnknownInlinedFun (drpm_compstrm.c:577)
==769==    by 0x4008B07: compstrm_write (drpm_compstrm.c:563)
==769==    by 0x400F302: UnknownInlinedFun (drpm_write.c:97)
==769==    by 0x400F302: drpm_make (drpm.c:468)
==769==    by 0x4010B25: make_standard_zstd (drpm_api_tests.c:192)
==769==    by 0x4F27CE4: ??? (in /usr/lib/libcmocka.so.0.8.1)
==769==    by 0x4F284EB: _cmocka_run_group_tests (in /usr/lib/libcmocka.so.0.8.1)
==769==    by 0x4000D7A: main (drpm_api_tests.c:1028)

It only happens on i686.

Comment 5 Aoife Moloney 2026-08-17 13:55:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 6 David Auer 2026-10-11 12:23:44 UTC
Hey everyone, as drpm was now orphaned for over 1 month and it still seems to be needed by other packages I rely on, I took it to prevent retirement.

This bug seems to be outdated/resolved, at least I don't see any build issues in koschei. Please comment/reopen if you disagree.

Comment 7 Petr Pisar 2026-10-12 09:10:13 UTC
I'm curious, what packages do rely on drpm? I was unable do find any in Fedora 46.

Comment 8 David Auer 2026-10-12 18:19:09 UTC
On my Fedora 44 it is still a few, related to packaging. Maybe that will change on F45/46 but I wouldn't want it to go through automatic retirement yet, Fedora 44 still has some life in it.

$ dnf remove drpm
Package                           Arch   Version                     Repository           Size
Removing:
 drpm                             x86_64 0:0.5.3-2.fc44              fedora          131.3 KiB
Removing dependent packages:
 copr-rpmbuild                    x86_64 0:1.10-1.fc44               updates         233.5 KiB
 createrepo_c                     x86_64 0:1.2.1-5.fc44              fedora          194.0 KiB
 createrepo_c-libs                x86_64 0:1.2.1-5.fc44              fedora          281.6 KiB
 fedora-review                    noarch 0:0.12.0-1.fc44             updates         824.7 KiB
 flatpak-module-tools             noarch 0:1.3.0-2.fc44              fedora            5.4 KiB
 mock                             noarch 0:6.9-1.fc44                updates           1.2 MiB
 mock-scm                         noarch 0:6.9-1.fc44                updates          22.8 KiB
 packit                           noarch 0:1.16.3-1.fc44             updates          22.2 KiB
 rfpkg                            noarch 0:1.28.0-2.fc44             rpmfusion-free- 120.6 KiB
 rpmfusion-packager               noarch 0:0.7.2-13.fc44             rpmfusion-free   50.6 KiB
 tito                             noarch 0:0.6.28-1.fc44             updates         671.1 KiB
Removing unused dependencies:
 bodhi-client                     noarch 0:26.4.0-1.fc44             fedora          278.5 KiB
 buildah                          x86_64 2:1.43.4-1.fc44             updates          31.9 MiB
 cvs                              x86_64 0:1.11.23-77.fc44           fedora            1.1 MiB
 dist-git-client                  noarch 0:1.3-1.fc44                fedora           66.0 KiB
 dnf-utils                        noarch 0:4.10.1-9.fc44             fedora           21.6 KiB
 fedora-packager                  noarch 0:1.1-12.fc44               updates          20.0 KiB
 fedora-packager-kerberos         noarch 0:1.1-12.fc44               updates          24.1 KiB
 fedora-repoquery                 x86_64 0:0.9.1-1.fc44              updates          33.9 MiB
 fedpkg                           noarch 0:1.48-1.fc44               updates         374.7 KiB
 fedpkg-completion                noarch 0:1.48-1.fc44               updates           3.1 KiB
[... and some more libs, python and others ...]