Skip Menu |

This queue is for tickets about the URPM CPAN distribution.

Report information
The Basics
Id: 131163
Status: resolved
Priority: 0/
Queue: URPM

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 5.22
Fixed in: v5.23.2.3



Subject: ‘RPMTAG_SUGGESTSNAME’ undeclared
Compilation fails on CentOS7: ... cc -c -Wall -Wextra -fno-strict-aliasing -O2 -DVERSION=\"5.22\" -DXS_VERSION=\"5.22\" -fPIC "-I/opt/perl-5.30.1/lib/5.30.1/x86_64-linux/CORE" URPM.c URPM.xs: In function ‘pack_header’: URPM.xs:124:30: error: ‘RPMTAG_SUGGESTSNAME’ undeclared (first use in this function) #define RPMTAG_RECOMMENDNAME RPMTAG_SUGGESTSNAME ^ URPM.xs:788:43: note: in expansion of macro ‘RPMTAG_RECOMMENDNAME’ pkg->recommends = pack_list(pkg->h, RPMTAG_RECOMMENDNAME, 0, 0); ^ URPM.xs:124:30: note: each undeclared identifier is reported only once for each function it appears in ...
Le Mar 10 Déc 2019 01:33:29, SREZIC a écrit : Show quoted text
> Compilation fails on CentOS7: > > ... > cc -c -Wall -Wextra -fno-strict-aliasing -O2 -DVERSION=\"5.22\" > -DXS_VERSION=\"5.22\" -fPIC "-I/opt/perl-5.30.1/lib/5.30.1/x86_64- > linux/CORE" URPM.c > URPM.xs: In function ‘pack_header’: > URPM.xs:124:30: error: ‘RPMTAG_SUGGESTSNAME’ undeclared (first use in > this function) > #define RPMTAG_RECOMMENDNAME RPMTAG_SUGGESTSNAME > ^ > URPM.xs:788:43: note: in expansion of macro ‘RPMTAG_RECOMMENDNAME’ > pkg->recommends = pack_list(pkg->h, RPMTAG_RECOMMENDNAME, 0, > 0); > ^ > URPM.xs:124:30: note: each undeclared identifier is reported only once > for each function it appears in > ...
Sigh... RHEL/CentOS7 have patched their rpm in order to backport weakdeps. Fixed in URPM-v5.23.2.2
Workarounded in v5.23.2.3