[pkg-bacula-devel] Request to sponsor 5.2.6+dfsg-2 to backports

Alexander Golovko alexandro at ankalagon.ru
Tue Aug 21 08:12:53 UTC 2012


Hi!

1. Some files in bacula packages are build-specific. It contain, for
example, information about build time.
This can be simply detected by building packages twice by the same
command and compare results.

There are next files:

bscan, bcopy, btape binaries 
	(in bacula-sd-<dbtype> and bacula-dd-<dbtype>-dbg packages)
bacula-sd, bextract, bls
	(in bacula-sd and bacula-sd-dbg packages)



2. I build packages from tag debian/5.2.6+dfsg-1_bpo60+1:

$ git checkout debian/5.2.6+dfsg-1_bpo60+1
$ git-buildpackage --git-dist=squeeze --git-pbuilder
--git-no-pristine-tar --git-ignore-new

and compare them with Bart and Luca packages:

http://sultan.timedout.org/~bart/debian/barts-squeeze-backports/
http://people.debian.org/~gismo/tmp/GISMO_second/



3. Bart packages differ from my only in build-specific files and
in /usr/share/doc/bacula-common/examples/nagios/check_bacula/Makefile.gz

Last file differ, because Bart has ccache installed on build system.

debdiff show differences in "Installed size" fields, but after
unpacking my and Bart packages their have identical sizes ("du -scx").



4. But Luca packages has more differences from my.

It differ from my in all or near all ELF-files.

Differences look like they only in headers, not in generated code
(it is stracge, but i use "diff -a" for see this).

Maybe this is because of Luca build system didn't upgraded to last
squeeze?



В Wed, 08 Aug 2012 13:05:43 +0200
Luca Capello <luca at pca.it> пишет:

> Hi Bart!
> 
> On Mon, 06 Aug 2012 12:39:28 +0200, Bart Swedrowski wrote:
> > On 3 August 2012 16:18, Luca Capello <luca at pca.it> wrote:
> >>> Let me know should I change anything else.
> >>
> >> debdiff shows the differences below, mostly in package size: how
> >> have you compiled them?  I used the following line from the Git's
> >> squeeze-backports branch and tried twice, with the same debdiff
> >> output: =====
> >> luca at gismo:~/src/Debian/pkg-bacula/bacula(git)[squeeze-backports]
> >> $ DIST=base-squeeze git buildpackage
> >> =====
> >>
> >> Given that there should be no differences (if we start from the
> >> same building chroot, which should be the case), I would like to
> >> understand what is happening before uploading the binaries you
> >> built.
> >
> > Ok this one is weird.
> >
> > I used following command to build it: DIST=squeeze ARCH=amd64
> > git-buildpackage --git-debian-branch=squeeze-backports
> > -v5.2.6+dfsg-2~bpo60+1 with following ~/.gbp.conf:
> 
> ARCH should be useless (what is in DIST will be used), as well as
> --git-debian-branch because of debian/gbp.conf.  And IIRC even -v
> should be useless, given that this is not the first upload to
> backports,
> 
> > $ cat /home/bart/.gbp.conf
> > [DEFAULT]
> > builder = git-pbuilder
> > cleaner = fakeroot debian/rules clean
> > pristine-tar = True
> 
> My differences, available at
> <http://people.debian.org/~gismo/debian/>:
> 
>   builder = gismo-pdebuild.sh
>   # workawround for bug #480075
>   cleaner = /bin/true
> 
> > Not really sure where those changes are coming from - I just rebuild
> > it again and there're no differences.  Can you upload somewhere what
> > you got?
> 
> Sure: <http://people.debian.org/~gismo/tmp/GISMO_second/>.
> 
> Just to be clear: I have no clue why things are different :-(
> 
> Thx, bye,
> Gismo / Luca



-- 
with best regards,
Alexander Golovko
email: alexandro at ankalagon.ru
xmpp: alexandro at ankalagon.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20120821/08053c4a/attachment.pgp>


More information about the pkg-bacula-devel mailing list