[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeipmi-users
Subject:    Re: [Freeipmi-users] Build of freeipmi RPM package fails with missing bmc-watchdog file
From:       Ole Holm Nielsen via Freeipmi-users <freeipmi-users () gnu ! org>
Date:       2023-08-31 6:39:59
Message-ID: c9bca4e4-d1f3-a46d-d267-a247b378f25e () fysik ! dtu ! dk
[Download RAW message or body]

Hi Al,

Thanks for the feedback.  IMHO, rebuilding from the Fedora source RPM is 
the best way forward on RHEL and clones, since this builds packages that 
are well suited for installation on EL and CentOS Linux:

freeipmi-1.6.10-1.el7.x86_64.rpm
freeipmi-bmc-watchdog-1.6.10-1.el7.x86_64.rpm
freeipmi-debuginfo-1.6.10-1.el7.x86_64.rpm
freeipmi-devel-1.6.10-1.el7.x86_64.rpm
freeipmi-ipmidetectd-1.6.10-1.el7.x86_64.rpm
freeipmi-ipmiseld-1.6.10-1.el7.x86_64.rpm

FYI, on AlmaLinux 8 the building from the FreeIPMI tar-ball fails with a 
missing dependency:

$ rpmbuild -ta --with systemd freeipmi-1.6.11.tar.gz
warning: bogus date in %changelog: Wed May 28 2021 Albert Chu 
<chu11@llnl.gov> 1.7.0
warning: bogus date in %changelog: Mon May 3 2012 Albert Chu 
<chu11@llnl.gov> 1.2.1
warning: bogus date in %changelog: Tue Sep 29 2008 Albert Chu 
<chu11@llnl.gov> 0.7.0
warning: bogus date in %changelog: Sat May 21 2008 Albert Chu 
<chu11@llnl.gov> 0.7.0
warning: bogus date in %changelog: Tue Mar 27 2008 Albert Chu 
<chu11@llnl.gov> 0.6.0
warning: bogus date in %changelog: Wed Nov 19 2007 Albert Chu 
<chu11@llnl.gov> 0.5.0
warning: bogus date in %changelog: Wed Nov 19 2007 Phil Knirsch 
<pknirsch@redhat.com> 0.5.0
warning: bogus date in %changelog: Fri Feb 28 2007 Albert Chu 
<chu11@llnl.gov> 0.4.beta0-1
error: Failed build dependencies:
	texinfo is needed by freeipmi-1.6.11-1.el8.x86_64

It seems that the texinfo RPM doesn't exist on EL8 Linux:

# dnf whatprovides texinfo
Error: No Matches found

whereas it's available on EL9.

Best regards,
Ole


On 8/30/23 16:40, Al Chu wrote:
> I think all you want to do is enable systemd do to be built w/ the rpm 
> instead of w/ the old init.d.
> 
> rpmbuild -ta --with systemd freeipmi-1.6.11.tar.gz
> 
> systemd should probably be made the default build nowadays, haven't 
> changed it since so many build systems may have been built on the old 
> style.  But perhaps its time to change the defaults.
> 
> Al
> 
> On 8/30/23 05:19, Ole Holm Nielsen via Freeipmi-users wrote:
> > 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://urldefense.us/v3/__https://src.fedoraproject.org/rpms/freeipmi__;!!G2kpM7u \
> > M-TzIFchu!0LmTlYZrKCR2k-aq2R9be_anFOjt_A0fiZ6kl4jUh09rtLGiZ3Cdw3kaCJD4oPEFcGTCBQ2EHXRBmc7nyL162FhE$ \
> > can be rebuilt correctly. Maybe some Fedora patches could be back-ported to \
> > FreeIPMI?


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

_______________________________________________
Freeipmi-users mailing list
Freeipmi-users@gnu.org
https://lists.gnu.org/mailman/listinfo/freeipmi-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic