[Pkg-freeipmi-devel] Building freeipmi 1.2.5

Yaroslav Halchenko debian at onerussian.com
Wed Apr 24 18:56:08 UTC 2013


someone needs to take care about updating packaging for new 1.2.5
release  -- go through upstream changes etc and change things
accordingly... I do not have time ATM so any help would be welcome!

Actually I see that at some point I have introduced some updates for
1.1.6
http://git.onerussian.com/?p=deb/freeipmi.git
but I guess never finalized in the light of freeze.  But soon we will
thaw -- might be a good time for 1.2.5 ;)


On Wed, 24 Apr 2013, Georg Schönberger wrote:

> Hi Dave and Yarouslav,

> I am currently trying to build freeipmi 1.2.5 from sources (freeipmi_1.2.5.orig.tar.gz) for Ubuntu 12.04.2 Precise.
> Based on you debian directory from http://archive.ubuntu.com/ubuntu/pool/main/f/freeipmi/freeipmi_1.1.5-3ubuntu2.debian.tar.gz (freeipmi 1.1.5 in quantal) I am trying to build a  Precise Ubuntu package.
> I have already updated the symbols files and checked which quilt patches are applied.
> Currently I am facing a problem with freeipmi-bmc-watchdog.install. Your rules to install

>   etc/logrotate.d/bmc-watchdog
>   etc/sysconfig/bmc-watchdog etc/default/
>   usr/sbin/bmc-watchdog

> are failing with the following error message:

> cp /tmp/buildd/freeipmi-1.2.5/debian/tmp/etc/sysconfig/bmc-watchdog \
> 		/tmp/buildd/freeipmi-1.2.5/debian/freeipmi-bcm-watchdog.bmc-watchdog.default
> : # Use Debian specific init files with "matching" names
> dh_installinit -pfreeipmi-bmc-watchdog \
> 	 --name=bmc-watchdog
> dh_installinit -pfreeipmi-ipmidetect \
> 	 --name=ipmidetectd
> make[1]: Leaving directory `/tmp/buildd/freeipmi-1.2.5'
>    dh_install
> cp: cannot stat `debian/tmp/etc/logrotate.d/bmc-watchdog': No such file or directory
> dh_install: cp -a debian/tmp/etc/logrotate.d/bmc-watchdog debian/freeipmi-bmc-watchdog//etc/logrotate.d/ returned exit code 1

> In the original sources the directoriers "logrotate.d" and "sysconfig" don't exist, so I assume they are created in a script manner. But I was not
> able to find the correct location where these directories are created.

> Later on dh_installdeb also fails because of your check if the files are correctly installed:
> I: Verifying that everything was installed
> 0 of ipmiseld
> 0 of ipmiseld.conf
> 0 of ipmiseld.8
> 0 of ipmiseld.conf.5
> 0 of ipmiseld
> make[1]: *** [override_dh_installdeb] Error 1
> make[1]: Leaving directory `/tmp/buildd/freeipmi-1.2.5'
> make: *** [binary] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

> Could you give me any hints on how to resolve this issue?
> Could you also give me a statement if my approach building 1.2.5 is correct? Or do you suggest a better way to build a freeipmi 1.2.5 Ubuntu package?

> Thanks in advance for your help, I really appreciate that.
> Best regards, Georg
-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate,     Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



More information about the Pkg-freeipmi-devel mailing list