From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3JWt-0007Mn-Hh for guix-patches@gnu.org; Tue, 03 Apr 2018 06:51:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3JWo-0001sK-OC for guix-patches@gnu.org; Tue, 03 Apr 2018 06:51:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56234) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f3JWo-0001sA-L2 for guix-patches@gnu.org; Tue, 03 Apr 2018 06:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f3JWo-0002y4-8O for guix-patches@gnu.org; Tue, 03 Apr 2018 06:51:02 -0400 Subject: [bug#30972] [PATCH] gnu: virtuoso-ose: Unbundle zlib and build with readline Resent-Message-ID: From: Marius Bakke In-Reply-To: <87h8oyh6ja.fsf@gnu.org> References: <87k1twkwex.fsf@gnu.org> <87zi2sm33j.fsf@fastmail.com> <87r2o3omv2.fsf@gnu.org> <87fu4in980.fsf@fastmail.com> <87h8oyh6ja.fsf@gnu.org> Date: Tue, 03 Apr 2018 12:50:00 +0200 Message-ID: <87bmf0bm3r.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Roel Janssen Cc: 30972@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Roel Janssen writes: > Marius Bakke writes: > >> Roel Janssen writes: >> >>> Marius Bakke writes: >>> >>>> Roel Janssen writes: >>>> >>>>> From 80b26cfcc3d64588738e5fecc92f3eabc214ed4c Mon Sep 17 00:00:00 2001 >>>>> From: Roel Janssen >>>>> Date: Wed, 28 Mar 2018 18:13:23 +0200 >>>>> Subject: [PATCH] gnu: virtuoso-ose: Unbundle zlib and build with read= line >>>>> support. >>>>> >>>>> * gnu/packages/databases.scm (virtuoso-ose): Unbundle zlib and build = with >>>>> readline support. >>>> >>>> Please mention the changes to [inputs] and [arguments] here. Also, >>>> assuming there is an internal copy of zlib, can you remove it with a >>>> source 'snippet'? >>> >>> Thanks for the quick response! >>> >>> Then I'll need to rerun =E2=80=9Cautogen.sh=E2=80=9D to make sure >>> =E2=80=9Clibsrc/zlib/Makefile.in=E2=80=9D isn't included in the configu= re phase. That >>> in turns needs the following packages added to native-inputs: autoconf, >>> automake, bison, flex, gettext, gperf, libtool, perl, and pkg-config. >> >> I came across a similar problem in . Can >> you see if the same solution works for you (preserve the autoconfery)? > > I couldn't get this to work after spending two hours at it. So I > checked whether it actually affects the build, and here's what I found: > > Built with =E2=80=9C--without-internal-zlib=E2=80=9D: > roel@yellowstone /gnu/store/lngvklw1hniykn6skz3gghps3d08is7d-virtuoso-ose= -7.2.4.2/bin$ ldd virtuoso-t=20 > linux-vdso.so.1 (0x00007ffe331a0000) > libssl.so.1.0.0 =3D> /gnu/store/ggrpw6gh2rnqjwyjf99z8cdw5digc4hb-= openssl-1.0.2o/lib/libssl.so.1.0.0 (0x00007f2b552a7000) > libcrypto.so.1.0.0 =3D> /gnu/store/ggrpw6gh2rnqjwyjf99z8cdw5digc4= hb-openssl-1.0.2o/lib/libcrypto.so.1.0.0 (0x00007f2b54e50000) > liblzma.so.5 =3D> /gnu/store/pj8xqlnkwgjia87jy6i8slglip9k8x6a-xz-= 5.2.3/lib/liblzma.so.5 (0x00007f2b54c2a000) > libpthread.so.0 =3D> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-= glibc-2.26.105-g0890d5379c/lib/libpthread.so.0 (0x00007f2b54a0c000) > libdl.so.2 =3D> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc= -2.26.105-g0890d5379c/lib/libdl.so.2 (0x00007f2b54808000) > libm.so.6 =3D> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-= 2.26.105-g0890d5379c/lib/libm.so.6 (0x00007f2b544bc000) > libz.so.1 =3D> /gnu/store/8hxm8am4ll05sa8wlwgdq2lj4ddag464-zlib-1= .2.11/lib/libz.so.1 (0x00007f2b542a1000) > libgcc_s.so.1 =3D> /gnu/store/2ifmksc425qcysl5rkxkbv6yrgc1w9cs-gc= c-5.5.0-lib/lib/libgcc_s.so.1 (0x00007f2b5408a000) > libc.so.6 =3D> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-= 2.26.105-g0890d5379c/lib/libc.so.6 (0x00007f2b53cd8000) > /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d= 5379c/lib/ld-linux-x86-64.so.2 (0x00007f2b5551a000) > > Built without =E2=80=9C--without-internal-zlib=E2=80=9D: > roel@yellowstone /gnu/store/nf3j0zc64flq47nlq65kvnhqzmp3lm1v-virtuoso-ose= -7.2.4.2/bin$ ldd virtuoso-t=20 > linux-vdso.so.1 (0x00007ffda150f000) > libssl.so.1.0.0 =3D> /gnu/store/ggrpw6gh2rnqjwyjf99z8cdw5digc4hb-= openssl-1.0.2o/lib/libssl.so.1.0.0 (0x00007f09d4f93000) > libcrypto.so.1.0.0 =3D> /gnu/store/ggrpw6gh2rnqjwyjf99z8cdw5digc4= hb-openssl-1.0.2o/lib/libcrypto.so.1.0.0 (0x00007f09d4b3c000) > liblzma.so.5 =3D> /gnu/store/pj8xqlnkwgjia87jy6i8slglip9k8x6a-xz-= 5.2.3/lib/liblzma.so.5 (0x00007f09d4916000) > libpthread.so.0 =3D> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-= glibc-2.26.105-g0890d5379c/lib/libpthread.so.0 (0x00007f09d46f8000) > libdl.so.2 =3D> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc= -2.26.105-g0890d5379c/lib/libdl.so.2 (0x00007f09d44f4000) > libm.so.6 =3D> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-= 2.26.105-g0890d5379c/lib/libm.so.6 (0x00007f09d41a8000) > libgcc_s.so.1 =3D> /gnu/store/2ifmksc425qcysl5rkxkbv6yrgc1w9cs-gc= c-5.5.0-lib/lib/libgcc_s.so.1 (0x00007f09d3f91000) > libc.so.6 =3D> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-= 2.26.105-g0890d5379c/lib/libc.so.6 (0x00007f09d3bdf000) > /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d= 5379c/lib/ld-linux-x86-64.so.2 (0x00007f09d5206000) > > So at least it does seem to affect the resulting binaries. > > I also tried adding the native-inputs and run autogen.sh. This also > failed to build when removing the =E2=80=9Clibsrc/zlib=E2=80=9D directory= . It seems to > be tied into the build deeper than I thought at first. > > What should I do now? Oh well. I guess leaving it is fine, with a TODO note somewhere. Thanks for checking! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlrDXFgACgkQoqBt8qM6 VPqOZQgAkxZeOCqb+VmShaRz5MfKGdYolDBjXInrnBiJXUjB0RX7eSIz38/qVUFv UPE60U/2uAK+WemGIU3ATo6IAJ4FxDTFXKcpsvJDz0P2YnN2veaWpkRZrTbODmud sxHQl2DkvCPZbb6FO6B8I9czI/DuUeH+Bklpqc7ZxKP2/S+HdRqUJMStbH3zfRjg OtOzhsOFQQZLUCWp9PVtu2w4IUWymFqMAwTYn3bv6+OlbLIZTKZVouuU1Z2M11JR 6hlQ+7UyuZTAzSdsWJxkLpAKagl/Cqv54+tyBqn1NnKR7JahUqP9gBBtcGdzt8+f TBgQkIQCmbzCs6kXMUISO0Vwwk9hAA== =oyJL -----END PGP SIGNATURE----- --=-=-=--