In RHEL5.9, rpm-build macros dereferences the xz binary.
Issue
- The file
/usr/lib/rpm/macrosuses%{_bindir}to dereference thexzbinary for decompressing tar files compressed withxz. - When building an
RPMwhose prefix is not/usr(such as/usr/local)rpmbuildwill try to use/usr/local/bin/xzinstead of/usr/bin/xzto decompress the source.tar.xzfile and fail. - Other compression binary references in
/usr/lib/rpm/macros(unzip, bzip2, gzip,etc.) use absolute pathnames and are not dereferenced.
Environment
- Red Hat Enterprise Linux 5.9
rpm-4.4.2.3-32.el5_9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
