[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No relro when building from inside a Git package ?



Hi,

On Fri, Nov 22, 2013 at 09:10:44AM +0100, Raphael Hertzog wrote:
> Hi,
> 
> On Fri, 22 Nov 2013, Andreas Tille wrote:
> > $ gbp-clone ssh://git.debian.org/git/debian-med/htslib.git
> > $ cd htslib
> > (debian/unstable) $ git branch
> > * debian/unstable
> >   develop
> >   pristine-tar
> > (debian/unstable) $ git-buildpackage
> > (debian/unstable) $ lintian -I --pedantic ../build-area/htslib_0.2.0~rc4-1_amd64.changes 
> 
> The mere fact that the generated files are in ../build-area/ means that
> you're using --git-export-dir (via ~/.gbp.conf) and thus you are building
> in a directory that doesn't have the .git dir. It's an export (with
> git archive) that is unpacked in ../build-area/<package>/ that you use as
> build directory.

Well, that's correct.  So trying again:

$ cd ..
$ ln -s build-area/htslib_0.2.0~rc4.orig.tar.gz
$ cd htslib
(debian/unstable) $ pdebuild
(debian/unstable) $ lintian -I --pedantic ../htslib_0.2.0~rc4-1_amd64.changes
$ lintian -I --pedantic ../htslib_0.2.0~rc4-1_amd64.changes
I: htslib source: quilt-patch-using-template-description debian-changes
W: htslib source: newer-standards-version 3.9.5 (current is 3.9.4)
P: libhts-dev: no-upstream-changelog
W: libhts-dev: manpage-has-errors-from-man usr/share/man/man5/vcf.5.gz  file `<standard input>', around line 15:
P: htslib-test: no-upstream-changelog
P: libhts0: no-upstream-changelog
E: libhts0: symbols-file-contains-current-version-with-debian-revision on symbol cram_index_build@Base
W: libhts0: symbols-file-contains-debian-revision on symbol bam_mplp_init_overlaps@Base and 1 others

So no changes when just using pdebuild in the git directory -
`-Wl,-z,relro` is correctly specified (buildlog attached as well).

Sorry, can not confirm the observation from Charles

      Andreas.

-- 
http://fam-tille.de

Attachment: htslib_0.2.0~rc4-1_amd64.build.with-.git-dir.bz2
Description: Binary data


Reply to: