[Pkg-openssl-devel] Bug#845193: Bug#845193: dpkg: recent -specs PIE changes break openssl

Kurt Roeckx kurt at roeckx.be
Wed Nov 30 21:00:12 UTC 2016


On Wed, Nov 30, 2016 at 07:55:55PM +0000, Thorsten Glaser wrote:
> Kurt Roeckx dixit:
> 
> >> Unfortunately, I have no idea; 1.1 builds, 1.0 doesn’t.
> >
> >But both are actually in installed state now?
> 
> Yes because I built it in a chroot in which I downgraded dpkg
> to .10, which led to a completely fine build of openssl1.0
> with testsuite enabled even.
> 
> >And if only 1.0 is affected, I'm not sure why it's assigned to the
> >openssl source package.
> 
> I’m not sure why Guillem reassigned the bug either, considering
> I cloned it in the first place to have one part in openssl1.0
> and one in dpkg (or, more likely, gcc-6)…

So I'm rather confused. I at least see some mention of a log with
-fPIC before the -specs, and then failing to link because it's not
build using -fPIC but the specs override that to use -fPIE. So I
would need to find a way to move the -fPIC after the flags set by
dpkg.  But I don't actually find any log on buildd.debian.org that
shows that problem.

In any case, 1.1 seems to place the -fPIC after the CFLAGS from
dpkg, so I guess moving it around will fix things.

But the errors I've always been seeing is a segfault during the
tests, and I have no idea what that is about.


Kurt



More information about the Pkg-openssl-devel mailing list