Re: No relro when building from inside a Git package ?
Le Fri, Nov 22, 2013 at 09:31:25AM +0100, Andreas Tille a écrit :
> On Fri, Nov 22, 2013 at 09:10:44AM +0100, Raphael Hertzog wrote:
> >
> > 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
Hi Andreas,
I suspect that pdebuild is also using either an export or an unpacked source package.
I think that if you use dpkg-buildpackage directly, you will reproduce the problem.
Cheers,
--
Charles
Reply to: