Skip Menu |

This queue is for tickets about the RPM2 CPAN distribution.

Report information
The Basics
Id: 122767
Status: resolved
Priority: 0/
Queue: RPM2

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.3
Fixed in: (no value)



Subject: Fails to build with RPM 4.14: lib/RPM2.xs:157:20: error: 'RPMVSF_NOSHA1' undeclared
There are some changes in RPM 4.14 (not yet released) and that breaks building RPM2-1.3: gcc -I/usr/lib64/perl5/CORE -DVERSION="1.3" -DXS_VERSION="1.3" -fPIC -DRPM2_API=4013 -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -o lib/RPM2.o lib/RPM2.c [...] lib/RPM2.xs: In function 'boot_RPM2': lib/RPM2.xs:154:20: error: 'RPMVSF_NOMD5HEADER' undeclared (first use in this function); did you mean 'RPMVSF_NORSAHEADER'? REGISTER_CONSTANT(RPMVSF_NOMD5HEADER); ^ lib/RPM2.xs:134:70: note: in definition of macro 'REGISTER_CONSTANT' #define REGISTER_CONSTANT(name) _populate_constant(constants, #name, name) ^~~~ lib/RPM2.xs:154:20: note: each undeclared identifier is reported only once for each function it appears in REGISTER_CONSTANT(RPMVSF_NOMD5HEADER); ^ lib/RPM2.xs:134:70: note: in definition of macro 'REGISTER_CONSTANT' #define REGISTER_CONSTANT(name) _populate_constant(constants, #name, name) ^~~~ lib/RPM2.xs:157:20: error: 'RPMVSF_NOSHA1' undeclared (first use in this function); did you mean 'RPMVSF_NORSA'? REGISTER_CONSTANT(RPMVSF_NOSHA1); ^ lib/RPM2.xs:134:70: note: in definition of macro 'REGISTER_CONSTANT' #define REGISTER_CONSTANT(name) _populate_constant(constants, #name, name) ^~~~ <https://fedoraproject.org//wiki/Changes/RPM-4.14> mentions MD5 and SHA1 removal.
Thanks for the report. Fixed in 1.4