unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: 31961@debbugs.gnu.org
Subject: bug#31961: java-libsnappy and java-libsnappy-1 have test failures (java.lang.UnsatisfiedLinkError)
Date: Mon, 25 Jun 2018 00:11:08 +0200	[thread overview]
Message-ID: <20180625001109.5a895ede@alma-ubu> (raw)

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

I'm on master (02e2d18297c9352d5f12abe128a82e579d9be278) with the
ant-buildsystem-patch fixed to raise exceptions instead of returning #f
(i.e. i cherry-picked commit d7ee90fe906aacb7f0bb1513195a1457970fd19d).


Failed test report:

/tmp/guix-build-java-snappy-1.1.7.drv-3/snappy-java-1.1.7/src/test/test-reports/TEST-org.xerial.snappy.BitShuffleTest.txt


Here is the report for java-snappy-1:


Testsuite: org.xerial.snappy.CalgaryTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.181 sec

Testcase: stream took 0.135 sec
	Caused an ERROR
java.lang.UnsatisfiedLinkError: /tmp/snappy-unknown-libsnappyjava.so: /gnu/store/4ixlfq2baw24ihqx3058vcbq5sq9q5y3-gcc-4.9.4-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /gnu/store/4amdzkqix0grksrgw3h5wcv2azvz6pkd-snappy-1.1.7/lib/libsnappy.so.1)
org.xerial.snappy.SnappyError: java.lang.UnsatisfiedLinkError: /tmp/snappy-unknown-libsnappyjava.so: /gnu/store/4ixlfq2baw24ihqx3058vcbq5sq9q5y3-gcc-4.9.4-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /gnu/store/4amdzkqix0grksrgw3h5wcv2azvz6pkd-snappy-1.1.7/lib/libsnappy.so.1)
	at org.xerial.snappy.LoadSnappy.loadNativeLibrary(Unknown Source)
	at org.xerial.snappy.LoadSnappy.extractAndLoadLibraryFile(Unknown Source)
	at org.xerial.snappy.LoadSnappy.loadSnappyNativeLibrary(Unknown Source)
	at org.xerial.snappy.LoadSnappy.load(Unknown Source)
	at org.xerial.snappy.Snappy.<clinit>(Unknown Source)
	at org.xerial.snappy.SnappyOutputStream.<init>(Unknown Source)
	at org.xerial.snappy.SnappyOutputStream.<init>(Unknown Source)
	at org.xerial.snappy.CalgaryTest.stream(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: /tmp/snappy-unknown-libsnappyjava.so: /gnu/store/4ixlfq2baw24ihqx3058vcbq5sq9q5y3-gcc-4.9.4-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /gnu/store/4amdzkqix0grksrgw3h5wcv2azvz6pkd-snappy-1.1.7/lib/libsnappy.so.1)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1968)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1893)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
	at java.lang.Runtime.load0(Runtime.java:795)
	at java.lang.System.load(System.java:1062)

Testcase: block took 0.001 sec
	Caused an ERROR
Could not initialize class org.xerial.snappy.Snappy
java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy
	at org.xerial.snappy.CalgaryTest.block(Unknown Source)


Björn

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

             reply	other threads:[~2018-06-24 22:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-24 22:11 Björn Höfling [this message]
2018-06-25 10:11 ` bug#31961: java-libsnappy and java-libsnappy-1 have test failures (java.lang.UnsatisfiedLinkError) Ricardo Wurmus
2018-06-25 10:16   ` Björn Höfling
2018-07-03 12:23 ` Gábor Boskovits

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20180625001109.5a895ede@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=31961@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).