Bug 2382611 - createrepo_c-1.2.0-4.fc43 FTBFS: parsehdr.c:669:71: error: ‘RPMTAG_HDRID’ undeclared
Summary: createrepo_c-1.2.0-4.fc43 FTBFS: parsehdr.c:669:71: error: ‘RPMTAG_HDRID’ und...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo_c
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org//pa...
Whiteboard:
Depends On:
Blocks: F43FTBFS 2380521 2380983
TreeView+ depends on / blocked
 
Reported: 2025-07-22 13:34 UTC by Petr Pisar
Modified: 2025-07-24 09:50 UTC (History)
8 users (show)

Fixed In Version: createrepo_c-1.2.1-1.fc43
Clone Of:
Environment:
Last Closed: 2025-07-24 09:49:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rpm-software-management createrepo_c pull 452 0 None open Use RPMTAG_SHA1HEADER instead of RPMTAG_HDRID 2025-07-22 13:35:39 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.