Bug 2382611

Summary: createrepo_c-1.2.0-4.fc43 FTBFS: parsehdr.c:669:71: error: ‘RPMTAG_HDRID’ undeclared
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: createrepo_cAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: daniel.mach, jmracek, jrohel, mblaha, ngompa13, pkratoch, rpm-software-management, tmlcoch
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org//package/createrepo_c
Whiteboard:
Fixed In Version: createrepo_c-1.2.1-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-07-24 09:49:43 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: 2339432, 2380521, 2380983    

Description Petr Pisar 2025-07-22 13:34:03 UTC
createrepo_c-1.2.0-4.fc43 fails to build in Fedora 43:

cd /builddir/build/BUILD/createrepo_c-1.2.0-build/createrepo_c-1.2.0/build-py3/src && /usr/bin/gcc -DCR_DELTA_RPM_SUPPORT -DENABLE_LEGACY_WEAKDEPS=1 -DG_LOG_DOMAIN=\"C_CREATEREPOLIB\" -D_XOPEN_SOURCE=700 -Dlibcreaterepo_c_EXPORTS -I/builddir/build/BUILD/createrepo_c-1.2.0-build/createrepo_c-1.2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/modulemd-2.0 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=gnu99 -DWITH_ZCHUNK -DWITH_LIBMODULEMD -O2 -g -DNDEBUG -fPIC -MD -MT src/CMakeFiles/libcreaterepo_c.dir/threads.c.o -MF CMakeFiles/libcreaterepo_c.dir/threads.c.o.d -o CMakeFiles/libcreaterepo_c.dir/threads.c.o -c /builddir/build/BUILD/createrepo_c-1.2.0-build/createrepo_c-1.2.0/src/threads.c
/builddir/build/BUILD/createrepo_c-1.2.0-build/createrepo_c-1.2.0/src/parsehdr.c: In function ‘cr_package_from_header’:
/builddir/build/BUILD/createrepo_c-1.2.0-build/createrepo_c-1.2.0/src/parsehdr.c:669:71: error: ‘RPMTAG_HDRID’ undeclared (first use in this function); did you mean ‘RPMTAG_CVSID’?
  669 |                                                  headerGetString(hdr, RPMTAG_HDRID));
      |                                                                       ^~~~~~~~~~~~
      |                                                                       RPMTAG_CVSID


This is triggered by upgrading rpm-devel from 5.99.90-6.fc43 to 5.99.91-1.fc43.

Comment 1 Petr Pisar 2025-07-22 13:35:39 UTC
Fix proposed upstream.

Comment 2 Petr Pisar 2025-07-23 08:21:37 UTC
Fix accepted upstream.