Michael DeHaan wrote:
Cobbler 1.2.1-1 fixes merge issues present in 1.2.0-1.
This has been pushed out to all of the builders and is now available at
http://cobbler.et.redhat.com/download
The problem was that "make test" in Cobbler does not require
installation, so I ran the tests Friday on the /pre-merge/ version
(ow!). To correct this problem, I've altered the makefile to prevent
this class of errors.
--Michael
I'm seeing the following issue attempting to build the 1.2.1-1 branch on
RHEL5.2 (CentOS 5.2):
copying triggers/status_pre.trigger ->
/var/tmp/cobbler-1.2.1-1-buildroot/var/lib/cobbler/triggers/install/pre
creating
/var/tmp/cobbler-1.2.1-1-buildroot/var/lib/cobbler/triggers/install/post
copying triggers/status_post.trigger ->
/var/tmp/cobbler-1.2.1-1-buildroot/var/lib/cobbler/triggers/install/post
creating /var/tmp/cobbler-1.2.1-1-buildroot/var/lib/cobbler/triggers/sync
creating
/var/tmp/cobbler-1.2.1-1-buildroot/var/lib/cobbler/triggers/sync/pre
creating
/var/tmp/cobbler-1.2.1-1-buildroot/var/lib/cobbler/triggers/sync/post
copying triggers/restart-services.trigger ->
/var/tmp/cobbler-1.2.1-1-buildroot/var/lib/cobbler/triggers/sync/post
+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
/var/tmp/rpm-tmp.23256: line 35: /usr/lib/rpm/check-rpaths: No such file
or directory
error: Bad exit status from /var/tmp/rpm-tmp.23256 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.23256 (%install)
make: *** [rpms] Error 1
It looks like /usr/lib/rpm/check-rpaths doesn't exist in RHEL:
[jeremy@raid cobbler]$ cat /etc/redhat-release
CentOS release 5.2 (Final)
[jeremy@raid cobbler]$ rpm -qf /usr/lib/rpm/check-rpaths
error: file /usr/lib/rpm/check-rpaths: No such file or directory
[jeremy@raid cobbler]$ rpm -qa rpm-build
rpm-build-4.4.2-48.el5
But does exist in Fedora 9:
[jeremy@thneed cobbler]$ cat /etc/redhat-release
Fedora release 9 (Sulphur)
[jeremy@thneed cobbler]$ rpm -qf /usr/lib/rpm/check-rpaths
rpm-build-4.4.2.3-2.fc9.i386
If I'm doing something wrong, please let me know.
Thanks!
-- j