* Tom Stellard:
Instead of doing two scratch builds, I just added:
%global __brp_check_rpaths time /usr/lib/rpm/check-rpaths to the spec file
and did a scratch build[1].
The results on x86_64 were:
real 13m51.517s
user 8m53.216s
sys 7m34.105s
Overall build time for the scratch build was 88m37s, so that means check-rpaths
accounted for 15% of the build time. I'm going to do some more tests on some
of the larger packages I maintain (llvm and clang) and see what the impact is.
I do think it would be worth trying to profile the script and see if there is
room for optimization.
It is fairly bad for glibc as well.
I think this has to be written properly and maintained in elfutils. The
script doesn't even invoke readelf correctly.
Thanks,
Florian