Hello Phillip,

When producing the project 5.0 rpm release I used the spec files in the 
tarball which were the result of Kern splitting the packages and your input 
from the build service project. I did quite a bit of work to get working 
packages again which fit the project guidelines and I'm still fielding some 
bug reports and will be committing more changes this weekend. I also need to 
add dependency information to the bat package. I would suggest you look at 
what is currently in project git repo under platforms/rpm.

I would like to keep compatibility to build on opensuse build service in the 
project code and so I appreciate your input. My thoughts to your suggestions 
are below. If you would be willing to submit your thoughts in a patch against 
the git repo after this weekend when I get some other changes in that would 
be appreciated.

Regards,
Scott

> Subject: Re: [Bacula-devel] Bacula.spec Logwatch issues
> Date: Monday 01 February 2010
> From: Philipp Storz <[email protected]>
> To: [email protected]
>
> Hello everybody,
>
> as some of you may know, I have a project in the opensuse build service,
> where I had to make some changes to the specfile for Version 5.
>
> You find my diff attached.
>
> Changes:
>
> - in opensuse  build service, do not build mysql per default

Why?

>
> - removed gconsole, as it is not supported in V5 anymore

This was done in the 5.0 rpm release.

>
> - removed the patching of
>   src/cats/make_sqlite3_tables.in,
>   src/cats/create_sqlite3_database.in,
>   src/cats/make_catalog_backup.in,
>   src/cats/update_sqlite3_tables.in

I not only uncommented this, but updated the patches to current code and 
restored the use of embeded sqlite3 from depkgs. The project does not support 
the use of system sqlite packages or sqlite 2, only the embedded, possibly 
patched sqlite3 we provide.

>
> - copy the examples/sample-query.sql to query.sql, as before, the "query"
>   command had no queries.

I don't know what this refers to.

>
> - added the files
>   %{script_dir}/bacula_config
>   %{script_dir}/make_catalog_backup.pl

Done in the 5.0 rpm release.

>
> - I do not build the qt4 libs from scratch, but I get the package from
> other opensuse build project where needed.

Again, the only project support is for building with the depkgs-qt4 tarball. 
The whole point of this change was to insure that the srpm can be rebuilt on 
any platform. This would be OK in my opinion on a build service build only 
but it would require a number of new %if sections in my released spec.

>
> The results of the opensuse build service building my spec can be found on
>
> http://download.opensuse.org/repositories/home:/dassit:/bacula:/
>
> any feedback on the packages is appreciated.
>
>
> best regards,
>
> Philipp
>
> Am Freitag 29 Januar 2010 13:16:20 schrieb Moray Henderson:
> > >From: Kern Sibbald [mailto:[email protected]]
> > >
> > >> RPM build errors:
> > >>     Bad owner/group: /builddir/build/SPECS/bacula.spec
> > >>
> > >>
> > >> Any immediate ideas?
> > >
> > >I have never seen that problem before, but then I always build as
> > > non-root, so
> > >I don't have permission problems.  It looks like you are working in some
> > >sort
> > >of chroot setup, which complicates everything -- you probably need to
> > >move /etc/passwd, ... into it.  IMO it is much easier to use .rpmmacros
> > > to work in your home directory. It takes a few tries to set it up the
> > > first time, but after that, it saves using root and possibly wrecking
> > > your OS or fiddling with chroots.
> >
> > Tracked down that error: the .spec from the tarball is extracted as
> >  owner/group 1000, which doesn't exist in my build system.  chowning it
> >  back to root sorted that. (Talking about unnecessary complications, my
> >  build system uses mock, which is how Fedora think it should be done.)
> >
> > Now I'm guessing the paths through all those conditional builds need
> >  adjusting (unless it's my build options):
> >
> > mock-chroot> rpmbuild -D 'build_centos5 1' -D 'build_sqlite 1' -ba
> >  bacula.spec ...
> > error: Installed (but unpackaged) file(s) found:
> >    /usr/lib/bacula/bacula_config
> >    /usr/lib/bacula/make_catalog_backup.pl
> >
> > RPM build errors:
> >     File listed twice: /etc/bacula/bacula-dir.conf
> >     File listed twice: /etc/bacula/bacula-fd.conf
> >     File listed twice: /etc/bacula/bacula-sd.conf
> >     File listed twice: /etc/bacula/bconsole.conf
> >     File listed twice: /etc/bacula/bacula-fd.conf
> >     File listed twice: /etc/bacula/bconsole.conf
> >     File listed twice: /usr/lib/bacula/updatedb/README
> >     File listed twice:
> > /usr/lib/bacula/updatedb/update_bacula_tables_8_to_9 File listed twice:
> > /usr/lib/bacula/updatedb/update_bdb_tables_8_to_9 File listed twice:
> >  /usr/lib/bacula/updatedb/update_mysql_tables_10_to_11 File listed twice:
> >  /usr/lib/bacula/updatedb/update_mysql_tables_10_to_11.in File listed
> >  twice: /usr/lib/bacula/updatedb/update_mysql_tables_4_to_5 File listed
> >  twice: /usr/lib/bacula/updatedb/update_mysql_tables_5_to_6 File listed
> >  twice: /usr/lib/bacula/updatedb/update_mysql_tables_6_to_7 File listed
> >  twice: /usr/lib/bacula/updatedb/update_mysql_tables_7_to_8 File listed
> >  twice: /usr/lib/bacula/updatedb/update_mysql_tables_8_to_9 File listed
> >  twice: /usr/lib/bacula/updatedb/update_mysql_tables_9_to_10 File listed
> >  twice: /usr/lib/bacula/updatedb/update_mysql_tables_9_to_10.in File
> > listed twice: /usr/lib/bacula/updatedb/update_postgresql_tables_10_to_11
> > File listed twice:
> >  /usr/lib/bacula/updatedb/update_postgresql_tables_10_to_11.in File
> > listed twice: /usr/lib/bacula/updatedb/update_postgresql_tables_7_to_8
> > File listed twice:
> > /usr/lib/bacula/updatedb/update_postgresql_tables_8_to_9 File listed
> > twice:
> >  /usr/lib/bacula/updatedb/update_postgresql_tables_9_to_10 File listed
> >  twice: /usr/lib/bacula/updatedb/update_postgresql_tables_9_to_10.in File
> >  listed twice: /usr/lib/bacula/updatedb/update_sqlite3_tables_10_to_11
> > File listed twice:
> > /usr/lib/bacula/updatedb/update_sqlite3_tables_10_to_11.in File listed
> > twice: /usr/lib/bacula/updatedb/update_sqlite3_tables_8_to_9 File listed
> > twice: /usr/lib/bacula/updatedb/update_sqlite3_tables_9_to_10 File listed
> > twice:
> >  /usr/lib/bacula/updatedb/update_sqlite3_tables_9_to_10.in File listed
> >  twice: /usr/lib/bacula/updatedb/update_sqlite_tables_10_to_11.in File
> >  listed twice: /usr/lib/bacula/updatedb/update_sqlite_tables_4_to_5 File
> >  listed twice: /usr/lib/bacula/updatedb/update_sqlite_tables_5_to_6 File
> >  listed twice: /usr/lib/bacula/updatedb/update_sqlite_tables_6_to_7 File
> >  listed twice: /usr/lib/bacula/updatedb/update_sqlite_tables_7_to_8 File
> >  listed twice: /usr/lib/bacula/updatedb/update_sqlite_tables_8_to_9 File
> >  listed twice: /usr/lib/bacula/updatedb/update_sqlite_tables_9_to_10.in
> >  Installed (but unpackaged) file(s) found:
> >    /usr/lib/bacula/bacula_config
> >    /usr/lib/bacula/make_catalog_backup.pl
> >
> >
> >
> > Moray.
> > "To err is human.  To purr, feline"
> >
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> >-- --- The Planet: dedicated and managed hosting, cloud storage,
> > colocation Stay online with enterprise data centers and the best network
> > in the business Choose flexible plans and management services without
> > long-term contracts Personal 24x7 support from experience hosting pros
> > just a phone call away. http://p.sf.net/sfu/theplanet-com
> > _______________________________________________
> > Bacula-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/bacula-devel



------------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to