From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: IcedTea is not linking correctly with libjvm.so Date: Wed, 01 Nov 2017 09:03:22 -0700 Message-ID: <87fu9yvved.fsf@gmail.com> References: <87y3o56kve.fsf@gnu.org> <877evokzir.fsf@gmail.com> <87mv4jqirt.fsf@gnu.org> <87fuaa536t.fsf@gmail.com> <87bmkwu61j.fsf@gnu.org> <87she8d6s7.fsf@elephly.net> <87she1j5px.fsf@gnu.org> <87a808lhk6.fsf@elephly.net> <877eva9x44.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9vUR-0008Um-07 for guix-devel@gnu.org; Wed, 01 Nov 2017 12:03:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9vUL-0001yA-1l for guix-devel@gnu.org; Wed, 01 Nov 2017 12:03:38 -0400 In-Reply-To: <877eva9x44.fsf@gnu.org> (Roel Janssen's message of "Wed, 01 Nov 2017 10:17:15 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Roel Janssen Cc: guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Roel Janssen writes: > Hi Ricardo, > > Ricardo Wurmus writes: > >> Hi Roel, >> >>> I used (symlink ...), added a FIXME, rebuilt to see if it worked, and >>> pushed in 491dc2fb1. >> >> Did you successfully build icedtea@2 with this commit? I failed to >> build it on my laptop: >> >> --8<---------------cut here---------------start------------->8--- >> =E2=80=A6 >> make[5]: Leaving directory '/tmp/guix-build-icedtea-2.6.11.drv-0/icedtea= -2.6.11/openjdk/jdk/make/java/version' >> make[5]: Entering directory '/tmp/guix-build-icedtea-2.6.11.drv-0/icedte= a-2.6.11/openjdk/jdk/make/java/jvm' >> logname: no login name >> INFO: ENABLE_FULL_DEBUG_SYMBOLS=3D1 >> INFO: ALT_OBJCOPY=3D/gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils= -2.28/bin/objcopy >> INFO: /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/objc= opy cmd found so will create .debuginfo files. >> INFO: STRIP_POLICY=3Dno_strip >> INFO: ZIP_DEBUGINFO_FILES=3D1 >> /gnu/store/m9l0j7apf9ac7shqwi5sh4hsn12x4dnk-coreutils-8.27/bin/mkdir -p = /tmp/guix-build-icedtea-2.6.11.drv-0/icedtea-2.6.11/openjdk.build/include >> rm -f /tmp/guix-build-icedtea-2.6.11.drv-0/icedtea-2.6.11/openjdk.build/= include/jni.h >> /gnu/store/m9l0j7apf9ac7shqwi5sh4hsn12x4dnk-coreutils-8.27/bin/cp >> ../../../src/share/javavm/export/jni.h >> /tmp/guix-build-icedtea-2.6.11.drv-0/icedtea-2.6.11/openjdk.build/includ= e/jni.h >> make[5]: *** No rule to make target '/tmp/guix-build-icedtea-2.6.11.drv-= 0/icedtea-2.6.11/openjdk.build/include/linux/jni_md.h', needed by 'build'. = Stop. >> make[5]: Leaving directory '/tmp/guix-build-icedtea-2.6.11.drv-0/icedtea= -2.6.11/openjdk/jdk/make/java/jvm' >> make[4]: *** [Makefile:63: all] Error 1 >> make[4]: Leaving directory '/tmp/guix-build-icedtea-2.6.11.drv-0/icedtea= -2.6.11/openjdk/jdk/make/java' >> make[3]: *** [Makefile:253: all] Error 1 >> make[3]: Leaving directory '/tmp/guix-build-icedtea-2.6.11.drv-0/icedtea= -2.6.11/openjdk/jdk/make' >> make[2]: *** [make/jdk-rules.gmk:93: jdk-build] Error 2 >> make[2]: Leaving directory '/tmp/guix-build-icedtea-2.6.11.drv-0/icedtea= -2.6.11/openjdk' >> make[1]: *** [Makefile:251: build_product_image] Error 2 >> make[1]: Leaving directory '/tmp/guix-build-icedtea-2.6.11.drv-0/icedtea= -2.6.11/openjdk' >> make: *** [Makefile:2463: stamps/icedtea.stamp] Error 2 >> phase `build' failed after 12663.3 seconds >> =E2=80=A6 >> --8<---------------cut here---------------end--------------->8--- > > Yes I built icedtea@2 succesfully with this commit: > ~ =CE=BB guix build icedtea@2 --no-grafts > /gnu/store/cbbn89cggf86fq57h7ya7jb70qckq49j-icedtea-2.6.11-doc > /gnu/store/xcaxjgafjip9pkfrnnrj18wfyykyjcrw-icedtea-2.6.11-jdk > /gnu/store/vk6llk5zmvwysc9jcixj7hvxprazmri0-icedtea-2.6.11 > > And to confirm: > ~ =CE=BB ls -lh /gnu/store/vk6llk5zmvwysc9jcixj7hvxprazmri0-icedtea-2.6.1= 1/lib/amd64/ | grep libjvm > lrwxrwxrwx 2 root root 85 1970-01-01 1970 libjvm.so -> > /gnu/store/vk6llk5zmvwysc9jcixj7hvxprazmri0-icedtea-2.6.11/lib/amd64/serv= er/libjvm.so I also successfully built icedtea@2 using commit 491dc2fb16a5ae1d30d1607322e19922d8dec5c3. Specifically, the following command succeeded: ./pre-inst-env guix build --keep-failed --no-grafts --fallback icedtea@2 I also noticed that the following command seems to successfully build the package, but it reports that the output is non-deterministic (which was probably already the case): ./pre-inst-env guix build --check --keep-failed --no-grafts --fallback ic= edtea@2 Last few lines of output: =2D-8<---------------cut here---------------start------------->8--- phase `compress-documentation' succeeded after 0.1 seconds note: keeping build directory `/tmp/guix-build-icedtea-2.6.11.drv-0' guix build: error: build failed: derivation `/gnu/store/8ai4v71grgnigkzyb96= a55flac8ii402-icedtea-2.6.11.drv' may not be deterministic: output `/gnu/st= ore/cbbn89cggf86fq57h7ya7jb70qckq49j-icedtea-2.6.11-doc' differs from =E2= =80=98/gnu/store/cbbn89cggf86fq57h7ya7jb70qckq49j-icedtea-2.6.11-doc-check= =E2=80=99 =2D-8<---------------cut here---------------end--------------->8--- I wasn't able to respond sooner because it took a few hours to do each build. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAln58EoACgkQ3UCaFdgi Rp2TUBAAgrjEnKw42Pvxz9jaTw9h+F8v9oNTAiFJf+GDp/IrMuag9gHe/TO5xRXJ QMCzjRCLcUGDK7Dn6moAvD4kwPgJLNyT+ASDoXBMUQWriLVmACcNH1Bm9ZHdEiOx YdGWoExPmI+TV/ataziw3kbcbGOgcNcNI1DBEzdGKLRwCtAiwbcHyvGHvfvLJg8Y +UEplkfsSM+evl0hvQETeSp6U6WXeSVjyBFW5LQVFpH3FLBFMPaW2b8M0hU9Wlb4 Zz6SSezbcJTZNloVXYBaY58ICqP4iimPViLX5UbbEXyLNzSIinbeC8n7YB+DUxqX HKFkkLKnDVPY1yWQkF8bya6aZsheBCA2+u24zwVyq1/w/LXVPq+HwGDbUWYjdnIj IUQLsEu0cE3AVOJBJPTFPeliw4o2Ah6QoPVWIEEefMfZQIZHLcyRfpFAmNRxvGqt bSQUu0OJM+Mn6F7HXcfvis1Q/gtNy4wAEHKgFMW09VHX3i7kbfm8IXrjruxukEcA Xf2dlqczcgaTwBcDut9AVyFoec9l9whHqB4iu0mjHOgVhWoCyObQ2elu41w858Rv PU+jGp4AqBb4VO5Vw/9++J4hapnXzToPIKLDtM66yiYsysZgBWYbjbntm0FB45wE p+6WrisaNQffqBeIs4Kw0jYECndDZ8xdYF72oUEitsPRoiMdWkk= =o+7C -----END PGP SIGNATURE----- --=-=-=--