From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: Re: IcedTea is not linking correctly with libjvm.so Date: Wed, 01 Nov 2017 10:17:15 +0100 Message-ID: <877eva9x44.fsf@gnu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9p9L-00067B-SD for guix-devel@gnu.org; Wed, 01 Nov 2017 05:17:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9p9I-0006pa-N1 for guix-devel@gnu.org; Wed, 01 Nov 2017 05:17:27 -0400 In-reply-to: <87a808lhk6.fsf@elephly.net> 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: Ricardo Wurmus Cc: guix-devel 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--- > … > 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/icedtea-2.6.11/openjdk/jdk/make/java/jvm' > logname: no login name > INFO: ENABLE_FULL_DEBUG_SYMBOLS=1 > INFO: ALT_OBJCOPY=/gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/objcopy > INFO: /gnu/store/nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28/bin/objcopy cmd found so will create .debuginfo files. > INFO: STRIP_POLICY=no_strip > INFO: ZIP_DEBUGINFO_FILES=1 > /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/include/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 > … > --8<---------------cut here---------------end--------------->8--- Yes I built icedtea@2 succesfully with this commit: ~ λ 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: ~ λ ls -lh /gnu/store/vk6llk5zmvwysc9jcixj7hvxprazmri0-icedtea-2.6.11/lib/amd64/ | grep libjvm lrwxrwxrwx 2 root root 85 1970-01-01 1970 libjvm.so -> /gnu/store/vk6llk5zmvwysc9jcixj7hvxprazmri0-icedtea-2.6.11/lib/amd64/server/libjvm.so Kind regards, Roel Janssen