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.
Fix proposed upstream.
Fix accepted upstream.