| Summary: | RPM2 can't be built with new rpm-4.10 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marcela Mašláňová <mmaslano> | ||||
| Component: | perl-RPM2 | Assignee: | Marcela Mašláňová <mmaslano> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | atu, lkundrak, mmaslano, perl-devel, ppisar | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-04-26 10:00:45 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Created attachment 574087 [details]
Patch to hide unpulished names
Some actions will now work, but core ctill works.
I didn't catch the maintainer, so I'll push your patch for the meantime. I guess it will need rewrite because many functions are just switched off. Some functions were moved into private parts of rpm. |
gcc -I/usr/lib64/perl5/CORE -DXS_VERSION="1.0" -DVERSION="1.0" -fPIC -DRPM2_API=4009 -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -o lib/RPM2.o lib/RPM2.c lib/RPM2.xs: In function '_null_callback': lib/RPM2.xs:74:3: error: 'rpmcliHashesCurrent' undeclared (first use in this function) lib/RPM2.xs:74:3: note: each undeclared identifier is reported only once for each function it appears in lib/RPM2.xs:85:3: error: 'rpmcliProgressTotal' undeclared (first use in this function) lib/RPM2.xs:86:3: error: 'rpmcliProgressCurrent' undeclared (first use in this function) lib/RPM2.xs:90:25: error: 'rpmcliPackagesTotal' undeclared (first use in this function) lib/RPM2.xs:36:6: warning: variable 'xx' set but not used [-Wunused-but-set-variable] lib/RPM2.c: In function 'XS_RPM2__C__PackageIterator__iterator_next': lib/RPM2.c:621:9: warning: variable 'RETVAL' set but not used [-Wunused-but-set-variable] error building lib/RPM2.o from 'lib/RPM2.c' at /usr/share/perl5/ExtUtils/CBuilder/Base.pm line 175. error: Bad exit status from /var/tmp/rpm-tmp.okPYIr (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.okPYIr (%build)