[Pkg-openssl-devel] Bug#689093: libssl-dev is not Multi-Arch compatible

Colin Watson cjwatson at ubuntu.com
Sat Dec 15 12:10:27 UTC 2012


On Sat, Sep 29, 2012 at 11:37:25AM +0200, Kurt Roeckx wrote:
> On Sat, Sep 29, 2012 at 03:13:34AM +0200, Francois Gouget wrote:
> > My understanding is that as long as there are no
> > architecture-dependent headers there is no obstacle (i.e. no
> > toolchain issue) to tagging the development package as 'Multi-Arch:
> > same'.
> 
> The header files are arch specific.  Also see bug #638137

I tried moving all the headers to
/usr/include/$(DEB_HOST_MULTIARCH)/openssl/ and rebuilding everything in
Ubuntu raring that build-depends on libssl-dev.  So far I've had 67
failures out of 428 attempts (there are still a few in progress), mostly
foolish configure scripts that try to manually detect the location of
the OpenSSL headers rather than letting the compiler work it out.  Now,
I think these are generally bugs, but this failure rate seems
inconveniently high to me; that's a lot of tedious fixing of (probably
mostly independent) build system bugs to do.  It would be nice not to
expose quite so many pre-existing bugs.

I'm currently trying the alternative of moving just opensslconf.h.  The
only things that should break with that are configure scripts (or
equivalent) that test for /usr/include/openssl/opensslconf.h directly; I
think this is probably rather rarer than configure scripts that test for
things like /usr/include/openssl/x509.h.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the Pkg-openssl-devel mailing list