freeipmi-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-users] Build of freeipmi RPM package fails with missing bmc-wa


From: Ole Holm Nielsen
Subject: [Freeipmi-users] Build of freeipmi RPM package fails with missing bmc-watchdog file
Date: Wed, 30 Aug 2023 14:19:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0

The freeipmi RPM package available for CentOS 7 via EPEL is quite outdated (1.5.7). So I wanted to build my own RPM package of freeipmi 1.6.11 from the source tar-ball.

I unpacked the source tar-ball on a CentOS 7.9 machine and ran ./configure, then created a new tar-ball from this. Then I build the package:

$ rpmbuild -ta freeipmi-1.6.11.tar.gz

Unfortunately, the build fails with the following lines showing a missing or misplaced bmc-watchdog file:

+ mkdir -p /home/niflheim/ohni/rpmbuild/BUILDROOT/freeipmi-1.6.11-1.el7.x86_64//etc/rc.d/init.d/
+ [[ /etc/init.d != \/\e\t\c\/\r\c\.\d\/\i\n\i\t\.\d ]]
+ mv /home/niflheim/ohni/rpmbuild/BUILDROOT/freeipmi-1.6.11-1.el7.x86_64//etc/init.d/bmc-watchdog /home/niflheim/ohni/rpmbuild/BUILDROOT/freeipmi-1.6.11-1.el7.x86_64//etc/rc.d/init.d/bmc-watchdog mv: cannot stat '/home/niflheim/ohni/rpmbuild/BUILDROOT/freeipmi-1.6.11-1.el7.x86_64//etc/init.d/bmc-watchdog': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.XUm2if (%install)


RPM build errors:
bogus date in %changelog: Wed May 28 2021 Albert Chu <chu11@llnl.gov> 1.7.0 bogus date in %changelog: Mon May 3 2012 Albert Chu <chu11@llnl.gov> 1.2.1 bogus date in %changelog: Tue Sep 29 2008 Albert Chu <chu11@llnl.gov> 0.7.0 bogus date in %changelog: Sat May 21 2008 Albert Chu <chu11@llnl.gov> 0.7.0 bogus date in %changelog: Tue Mar 27 2008 Albert Chu <chu11@llnl.gov> 0.6.0 bogus date in %changelog: Wed Nov 19 2007 Albert Chu <chu11@llnl.gov> 0.5.0 bogus date in %changelog: Wed Nov 19 2007 Phil Knirsch <pknirsch@redhat.com> 0.5.0 bogus date in %changelog: Fri Feb 28 2007 Albert Chu <chu11@llnl.gov> 0.4.beta0-1
    Bad exit status from /var/tmp/rpm-tmp.XUm2if (%install)

Question: How can we fix this error?

Actually, the Fedora source RPM from https://src.fedoraproject.org/rpms/freeipmi can be rebuilt correctly. Maybe some Fedora patches could be back-ported to FreeIPMI?

Thanks,
Ole

--
Ole Holm Nielsen
PhD, Senior HPC Officer
Department of Physics, Technical University of Denmark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]