On Fri, Nov 18, 2016 at 10:18:32PM +0100, Daniel Pocock wrote: > > > On 18/11/16 22:12, Kurt Roeckx wrote: > > On Fri, Nov 18, 2016 at 09:15:53PM +0100, Daniel Pocock wrote: > >> > >> > >> On 18/11/16 21:10, Kurt Roeckx wrote: > >>> On Fri, Nov 18, 2016 at 03:53:20PM +0100, Daniel Pocock wrote: > >>>> > >>>> > >>>> I wanted to try compiling some upstream projects against OpenSSL 1.1.0 > >>>> on jessie, without installing the package though. > >>>> > >>>> I tried the following: > >>>> > >>>> dget -x > >>>> http://http.debian.net/debian/pool/main/o/openssl/openssl_1.1.0c-1.dsc > >>>> > >>>> cd openssl-1.1.0c/ > >>>> dpkg-buildpackage -rfakeroot -j13 > >>>> > >>>> > >>>> and it builds but only 4 of the headers appear to install: > >>>> > >>>> ls debian/libssl-dev/usr/include/openssl/ > >>>> aes.h asn1.h asn1_mac.h asn1t.h > >>>> > >>>> Is this correct? > >>> > >>> No it's not. > >>> > >> > >> Could you suggest how I can get a build of OpenSSL 1.1 like this? > > > > I can't actually reproduce your poblem, it just works for me (with > > -j4, only have 4 cores.) > > > >> I don't need to build .deb files, I just need it to be within the > >> debian/ tree for me to refer to from other build trees. > > > > You could also just point to openssl-1.1.0c/include/openssl/, > > > > Please note that there is also: > > debian/libssl-dev/usr/include/x86_64-linux-gnu/openssl/opensslconf.h > > > > > > In my tree, that isn't there, this is all that I see: > > $ find debian/ -name '*.h' > debian/libssl-dev/usr/include/openssl/aes.h > debian/libssl-dev/usr/include/openssl/asn1.h > debian/libssl-dev/usr/include/openssl/asn1_mac.h > debian/libssl-dev/usr/include/openssl/asn1t.h > > > If it is working for you on jessie, maybe there is something different > in my jessie system. I have some packages from backports, could any of > those impact this build?
It shouldn't. Kurt