Hi,
Recently my friend (which isn't a Fedora packager) was rebuilding my package on F7 and he got an error. It seems that there is check-rpaths used:
+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot /var/tmp/rpm-tmp.39128: line 43: /usr/lib/rpm/check-rpaths: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.39128 (%install)
There is no that call in FC5 and it was probably introduced in F7. check-rpaths is provided by rpmdevtools which isn't on "the minimum build environment" list: http://fedoraproject.org/wiki/Packaging/Guidelines#head-4cadce5e79d38a63cad3... (maybe because it was in Extras prior to F7)
So the question, shouldn't it be added to mentioned list?
Regards Marcin
On Saturday 22 September 2007, Marcin Zajączkowski wrote:
- /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
/var/tmp/rpm-tmp.39128: line 43: /usr/lib/rpm/check-rpaths: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.39128 (%install)
There is no that call in FC5 and it was probably introduced in F7. check-rpaths is provided by rpmdevtools which isn't on "the minimum build environment" list:
check-rpaths is not invoked by anything without explicitly being told. Check your ~/.rpmmacros . Additionally, update your rpm-build package, these scripts have moved to it from rpmdevtools in recent distro versions/updates:
$ rpm -qf /usr/lib/rpm/check-rpaths rpm-build-4.4.2.1-1.fc7.x86_64
Ville Skyttä wrote:
On Saturday 22 September 2007, Marcin Zajączkowski wrote:
- /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
/var/tmp/rpm-tmp.39128: line 43: /usr/lib/rpm/check-rpaths: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.39128 (%install)
There is no that call in FC5 and it was probably introduced in F7. check-rpaths is provided by rpmdevtools which isn't on "the minimum build environment" list:
check-rpaths is not invoked by anything without explicitly being told. Check your ~/.rpmmacros . Additionally, update your rpm-build package, these
It was called on vanilla F7 with rpmdevtools installed (under vmware). So probably is (was) called there by default.
scripts have moved to it from rpmdevtools in recent distro versions/updates:
$ rpm -qf /usr/lib/rpm/check-rpaths rpm-build-4.4.2.1-1.fc7.x86_64
That system was without updates, so it's possible. Movement it to rpm-build should help.
Marcin
On Sat, 22 Sep 2007, [ISO-8859-2] Marcin Zaj?czkowski wrote:
Ville Skyttä wrote:
On Saturday 22 September 2007, Marcin Zaj?czkowski wrote:
- /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
/var/tmp/rpm-tmp.39128: line 43: /usr/lib/rpm/check-rpaths: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.39128 (%install)
There is no that call in FC5 and it was probably introduced in F7. check-rpaths is provided by rpmdevtools which isn't on "the minimum build environment" list:
check-rpaths is not invoked by anything without explicitly being told. Check your ~/.rpmmacros . Additionally, update your rpm-build package, these
It was called on vanilla F7 with rpmdevtools installed (under vmware). So probably is (was) called there by default.
rpmdev-setuptree plants check-rpath into ~/.rpmmacros, rpm does not use it by default.
- Panu -
packaging@lists.fedoraproject.org