Missbuilt Path in Source Code Source RPM
Original Reporter info from Mantis: domibay_hugo
-
Reporter name: Hugo Barwich
Original Reporter info from Mantis: domibay_hugo
- Reporter name: Hugo Barwich
Description:
I can't install the binary RPM packages on Centos7 due to a compression incompatibility.
So I tried to repackage the Source RPM Packages.
When I try to build the "fpc-src-3.2.0-200706.x86_64.rpm" from "fpc-src-3.2.0-1.src.rpm"
I get the following error:
$ rpmbuild -bb SPECS/fpc-src-3.2.0-200706.spec
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /home/mattias/tmp/smart_strip.sh
+ /usr/lib/rpm/redhat/brp-strip-comment-note /home/mattias/tmp/smart_strip.sh /usr/bin/objdump
+ /usr/lib/rpm/redhat/brp-strip-static-archive /home/mattias/tmp/smart_strip.sh
/usr/lib/rpm/redhat/brp-strip-static-archive: line 15: /home/mattias/tmp/smart_strip.sh: No such file or directory
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.KAt0fR (%install)
Fehler beim Bauen des RPM:
Fehler-Status beim Beenden von /var/tmp/rpm-tmp.KAt0fR (%install)
unfortunately the script "smart_strip.sh" is not shipped with the Source Package:
$ tar -tzf fpc-src-3.2.0-200706.source.tar.gz|grep -i "smart_strip.sh"|wc -l
0
Steps to reproduce:
$ rpm2cpio lazarus-2.0.10-2.src.rpm | cpio -idm
$ mv fpc-src-3.2.0-200706.spec ../SPECS/
$ rpmbuild -bb ../SPECS/fpc-src-3.2.0-200706.spec
Mantis conversion info:
- Mantis ID: 37916
- Build: fpc-src-3.2.0-200706
- Monitored by: » domibay_hugo (Hugo Barwich)