[pkg-bacula-devel] debcheckout & gbp, the workflow

Geert Stappers stappers at stappers.nl
Tue Aug 13 10:55:34 UTC 2013


Op 2013-08-13 om 11:26 schreef Alexander Golovko:
> ?? Mon, 12 Aug 2013 23:45:18 +0200 Geert Stappers ??????????:
> 
> > Hello,
> 
> Hi!
> 
> > During an attempt to build bacula, I did encounter a FTBFS.
> > Most likely it is me doing something wrong.
> > 
> > I have done `debcheckout bacula`, `cd bacula`, `dpkg-checkbuilddeps`.
> > Full filled the build depends on a fresh Debian unstable install.
> > And then `fakeroot debian/rules binary` gives me a lot of 
> >   ../lib/lib.h:62:18: fatal error: sha1.h: No such file or directory
> >    #include "sha1.h"
> > and then dies with
> >  chmod 755 debian/scripts/install-dbconfig
> >  dh_install
> >  cp: cannot stat 'debian/tmp/etc/bacula/scripts/btraceback.gdb': No
> > such file or directory dh_install: cp -a
> > debian/tmp/etc/bacula/scripts/btraceback.gdb
> > debian/bacula-common//etc/bacula/scripts/ returned exit code 1
> > make[1]: *** [override_dh_install] Error 2
> > 
> 
> This is look like quilt patches was not applied.
> Try to add "quilt push -a" before building. Or use "git-buildpackage -b"

started with `git-buildpackage -b` and got messages as
 gbp:warn: Pristine-tar branch "pristine-tar" not found
 gbp:error: Couldn't run 'debuild -i -I -b': debuild -i -I returned 29

got the warning about pristine-tar branch fixed with
 git checkout pristine-tar
 git checkout master

(the "gbp:error: Couldn't run 'debuild -i -I -b'" remains)


`quilt push -a` replied to me with
  No series file found 

`cd debian` plus `quilt push -a` replied with several
  No file to patch.  Skipping patch.
  1 out of 1 hunk ignored


> > My own research got me the file debian/gbp.conf, so now I'm
> > reading
> > http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.html
> > the git build package documentation. Yes, that means that I'm new to
> > GBP.
> > 
> > My question:
> >  Does "pkg-bacula at alioth" flow the same workflow as GBP documentation?
> 
> I'm not sure, that our workflows absolutely the same, but we use
> git-buildpackage and pbuilder/cowbuilder for building bacula packages.

What I'm looking for, is the workflow of bacula packaging.

I'm willing the read the fine manual. Please tell me which manual.
Currently I assume it is the generic git buildpackage documentation.
Please let know if bacula-pkg does something special that newbies
should be aware off.


> > Groeten
> > Geert Stappers
> > Dealing with two new compoments: bacula build and git build package

and cowbuilder would be a third NEW compoment for me.
That is an investment that I'm willing to make,
please guide^Wpoint me to documentation.


> with best regards,
> Alexander Golovko
> email: alexandro at ankalagon.ru
> xmpp: alexandro at ankalagon.ru


Groeten
Geert Stappers
-- 
Leven en laten leven



More information about the pkg-bacula-devel mailing list