Thanks. Sorry this got by me, my fault for not testing the client only build 
after all the changes initiated by the 3.0 release.

On Monday 04 May 2009 03:36:41 pm Jayson Broughton wrote:
> Just ran the new .spec file provided by Scott for an EL5 install and worked
> great.  Installed the build_client_only rpm on an EL5 machine and all is
> good.  I also created one for EL4, and will be installing it later today on
> our EL4 machines.
>
> Thought I would let ya'all know
>
> ~Jayson
>
>
> -----Original Message-----
> From: Kern Sibbald [mailto:[email protected]]
> Sent: Monday, May 04, 2009 4:21 AM
> To: [email protected]
> Subject: Re: [Bacula-devel] bacula 3.0.1 rpm release
>
> On Monday 04 May 2009 11:57:22 Ulrich Leodolter wrote:
> > Hello,
> >
> >
> > Here is my bacula.spec diff for client only build
> >
> > > diff -c bacula.spec.3.0.1 bacula.spec
> >
> > *** bacula.spec.3.0.1       2009-05-02 18:41:30.000000000 +0200
> > --- bacula.spec     2009-05-04 11:41:20.650425000 +0200
> > ***************
> > *** 1899,1904 ****
> > --- 1899,1908 ----
> >   rm -f $RPM_BUILD_ROOT%{script_dir}/startmysql
> >   rm -f $RPM_BUILD_ROOT%{script_dir}/stopmysql
> >   rm -rf $RPM_BUILD_ROOT%{script_dir}/updatedb
> > + rm -f $RPM_BUILD_ROOT%{script_dir}/bconsole
> > + rm -f $RPM_BUILD_ROOT%{script_dir}/bpipe-fd.so
> > + rm -f $RPM_BUILD_ROOT%{script_dir}/mtx-changer.conf
> > + rm -f $RPM_BUILD_ROOT%{_sbindir}/bacula
> >   %endif
>
> If you want mtx-changer to work, you *must* install mtx-changer.conf
>
> Some (but probably not all) of the other files are optional.
>
> >   %clean
> >
> >
> >
> > client only rpm build succeeds, but there is an
> > ldconfig issue at the end.
> > i am running rpmbuild as nonroot.
> >
> >
> > rpmbuild -bb bacula.spec --define "build_su9 1" \
> >   --define "build_client_only 1"
> >   --define "nobuild_gconsole 1"
> >   --define "nobuild_rescue 1"
> > ...
> > Obsoletes: bacula-rescue
> > Checking for unpackaged
> > file(s): /usr/lib/rpm/check-files /var/tmp/bacula-root
> > Wrote: /home/ul/rpmbuild/RPMS/i586/bacula-client-3.0.1-1.i586.rpm
> > Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.35906
> > + umask 022
> > + cd /home/ul/rpmbuild/BUILD
> > + cd bacula-3.0.1
> > + '[' /var/tmp/bacula-root '!=' / ']'
> > + rm -rf /var/tmp/bacula-root
> > + rm -rf /home/ul/rpmbuild/BUILD/bacula-docs-3.0.1
> > + rm -rf /home/ul/rpmbuild/BUILD/bacula-rescue-3.0.1
> > + rm -rf /home/ul/rpmbuild/BUILD/depkgs
> > + rm -f /home/ul/rpmbuild/BUILD/Release_Notes-3.0.1-1.txt
> > + /sbin/ldconfig
> > /sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~:
> > Permission denied
> > error: Bad exit status from /var/tmp/rpm-tmp.35906 (%clean)
> >
> >
> > RPM build errors:
> >     Bad exit status from /var/tmp/rpm-tmp.35906 (%clean
> >
> >
> > Regards
> > Ulrich
> >
> > On Mon, 2009-05-04 at 10:25 +0200, Ulrich Leodolter wrote:
> > > Hello,
> > >
> > > I tried client only rebuild on CentOS 5.3 x86_64
> > >
> > > rpmbuild \
> > >         --define "build_rhel5 1" \
> > >         --define "build_client_only 1" \
> > >         --define "nobuild_rescue 1" \
> > >         --define "nobuild_gconsole 1" \
> > >         --rebuild bacula-3.0.1-1.src.rpm
> > >
> > >
> > > rebuild fails with unpackaged files:
> > >
> > > ....
> > > Conflicts: bacula-mysql bacula-sqlite bacula-postgresql
> > > Obsoletes: bacula-rescue
> > > Checking for unpackaged
> > > file(s): /usr/lib/rpm/check-files /home/ul/rpmbuild/tmp/bacula-root
> > > error: Installed (but unpackaged) file(s) found:
> > >    /usr/lib64/bacula/bconsole
> > >    /usr/lib64/bacula/bpipe-fd.so
> > >    /usr/lib64/bacula/mtx-changer.conf
> > >    /usr/sbin/bacula
> > >
> > >
> > > RPM build errors:
> > >     InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID
> > > 10a792ad
> > >     user sbarn does not exist - using root
> > >     user sbarn does not exist - using root
> > >     user sbarn does not exist - using root
> > >     user sbarn does not exist - using root
> > >     user sbarn does not exist - using root
> > >     user sbarn does not exist - using root
> > >     user sbarn does not exist - using root
> > >     Installed (but unpackaged) file(s) found:
> > >    /usr/lib64/bacula/bconsole
> > >    /usr/lib64/bacula/bpipe-fd.so
> > >    /usr/lib64/bacula/mtx-changer.conf
> > >    /usr/sbin/bacula
> > >
> > >
> > >
> > > I have done successful rebuild on CentOS 5.3 i386
> > >
> > > rpmbuild \
> > >         --define "build_rhel5 1" \
> > >         --define "nobuild_rescue 1" \
> > >         --define "nobuild_gconsole 1" \
> > >         --define "build_bat 1" \
> > >         --define "build_mysql 1" \
> > >         --rebuild bacula-3.0.1-1.src.rpm
> > >
> > >
> > >
> > > Regards
> > > Ulrich
> > >

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to