all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: Roel Janssen <roel@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: IcedTea is not linking correctly with libjvm.so
Date: Wed, 01 Nov 2017 09:03:22 -0700	[thread overview]
Message-ID: <87fu9yvved.fsf@gmail.com> (raw)
In-Reply-To: <877eva9x44.fsf@gnu.org> (Roel Janssen's message of "Wed, 01 Nov 2017 10:17:15 +0100")

[-- Attachment #1: Type: text/plain, Size: 4193 bytes --]

Roel Janssen <roel@gnu.org> 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---
>> …
>> 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

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 icedtea@2


Last few lines of output:

--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/8ai4v71grgnigkzyb96a55flac8ii402-icedtea-2.6.11.drv' may not be deterministic: output `/gnu/store/cbbn89cggf86fq57h7ya7jb70qckq49j-icedtea-2.6.11-doc' differs from ‘/gnu/store/cbbn89cggf86fq57h7ya7jb70qckq49j-icedtea-2.6.11-doc-check’
--8<---------------cut here---------------end--------------->8---

I wasn't able to respond sooner because it took a few hours to do each
build.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

      reply	other threads:[~2017-11-01 16:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-21  7:05 IcedTea is not linking correctly with libjvm.so Roel Janssen
2017-10-21  9:16 ` Ludovic Courtès
2017-10-24 13:11   ` Roel Janssen
2017-10-21 20:38 ` Chris Marusich
2017-10-22 15:55   ` Roel Janssen
2017-10-22 20:37     ` Chris Marusich
2017-10-24 11:46       ` Roel Janssen
2017-10-24 13:17         ` Ricardo Wurmus
2017-10-30 10:22           ` Roel Janssen
2017-10-30 16:35             ` Ricardo Wurmus
2017-11-01  9:17               ` Roel Janssen
2017-11-01 16:03                 ` Chris Marusich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fu9yvved.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=roel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.