Bacula-users

Re: [Bacula-users] Building CentOS 5 RPMs for Bacula 5.0.0-1

2010-02-10 12:09:46
Subject: Re: [Bacula-users] Building CentOS 5 RPMs for Bacula 5.0.0-1
From: Andy Howell <AndyHowell AT austin.rr DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 10 Feb 2010 11:07:26 -0600
Burn wrote:
> Hello. I'm having trouble with building 5.0.0-1 srpms on centos 5.4.
> rpmbuild --rebuild bacula-5.0.0-1.src.rpm --define 'build_centos5 1' --define 
> 'build_postgresql 1'
> results in
> Checking for unpackaged file&#40;s&#41;&#58; /usr/lib/rpm/check-files 
> /var/tmp/bacula-root
> 
> 
> RPM build errors&#58;
> &nbsp; &nbsp; InstallSourcePackage&#58; Header V3 DSA signature&#58; NOKEY, 
> key ID 10a792ad
> &nbsp; &nbsp; user sbarn does not exist - using root
> &nbsp; &nbsp; user sbarn does not exist - using root
> &nbsp; &nbsp; user sbarn does not exist - using root
> &nbsp; &nbsp; user sbarn does not exist - using root
> &nbsp; &nbsp; user sbarn does not exist - using root
> &nbsp; &nbsp; File not found&#58; 
> /var/tmp/bacula-root/etc/bacula/bconsole.conf
> &nbsp; &nbsp; File not found&#58; /var/tmp/bacula-root/usr/sbin/bconsole
> &nbsp; &nbsp; File not found&#58; 
> /var/tmp/bacula-root/etc/bacula/bconsole.conf
> &nbsp; &nbsp; File not found&#58; /var/tmp/bacula-root/usr/sbin/bconsole
> 
> How do I resolve it?
> 

Burn,

        I built it on CentOS 5.4 without any problem. The only difference is I 
edited the 
bacula.spec file for the options I wanted. I used the same options as you, plus 
added 
python support:

diff bacula.spec bacula.spec.5.0.0.1-working
306c306
< %define centos5 0
---
 > %define centos5 1
397c397
< %define postgresql 0
---
 > %define postgresql 1
468c468
< %define python 0
---
 > %define python 1

My guess is the build is not completing earlier, maybe some required package is 
missing? I 
can rebuild and send you the output of the build if that helps.

Regards,

        Andy

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users