all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#31961: java-libsnappy and java-libsnappy-1 have test failures (java.lang.UnsatisfiedLinkError)
@ 2018-06-24 22:11 Björn Höfling
  2018-06-25 10:11 ` Ricardo Wurmus
  2018-07-03 12:23 ` Gábor Boskovits
  0 siblings, 2 replies; 4+ messages in thread
From: Björn Höfling @ 2018-06-24 22:11 UTC (permalink / raw)
  To: 31961

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#31961: java-libsnappy and java-libsnappy-1 have test failures (java.lang.UnsatisfiedLinkError)
  2018-06-24 22:11 bug#31961: java-libsnappy and java-libsnappy-1 have test failures (java.lang.UnsatisfiedLinkError) Björn Höfling
@ 2018-06-25 10:11 ` Ricardo Wurmus
  2018-06-25 10:16   ` Björn Höfling
  2018-07-03 12:23 ` Gábor Boskovits
  1 sibling, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2018-06-25 10:11 UTC (permalink / raw)
  To: Björn Höfling; +Cc: 31961


Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:

> 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)

Where does that old GCC come from?

-- 
Ricardo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#31961: java-libsnappy and java-libsnappy-1 have test failures (java.lang.UnsatisfiedLinkError)
  2018-06-25 10:11 ` Ricardo Wurmus
@ 2018-06-25 10:16   ` Björn Höfling
  0 siblings, 0 replies; 4+ messages in thread
From: Björn Höfling @ 2018-06-25 10:16 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 31961

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

On Mon, 25 Jun 2018 12:11:18 +0200
Ricardo Wurmus <rekado@elephly.net> wrote:

> Björn Höfling <bjoern.hoefling@bjoernhoefling.de> writes:
> 
> > 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)  
> 
> Where does that old GCC come from?
> 

I understand too few of the C/linking system to answer that. I rebuilt
snappy, greped through the sources and the build log, the guix gc
--references, and found nothing. That's it for me. Anyone else?

Björn

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#31961: java-libsnappy and java-libsnappy-1 have test failures (java.lang.UnsatisfiedLinkError)
  2018-06-24 22:11 bug#31961: java-libsnappy and java-libsnappy-1 have test failures (java.lang.UnsatisfiedLinkError) Björn Höfling
  2018-06-25 10:11 ` Ricardo Wurmus
@ 2018-07-03 12:23 ` Gábor Boskovits
  1 sibling, 0 replies; 4+ messages in thread
From: Gábor Boskovits @ 2018-07-03 12:23 UTC (permalink / raw)
  To: 31961-done

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

Fixed on master in commit 673135df30d48a7099c62adb1b452425e2eda3c8.
Thanks for reporting!

[-- Attachment #2: Type: text/html, Size: 123 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-03 12:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-24 22:11 bug#31961: java-libsnappy and java-libsnappy-1 have test failures (java.lang.UnsatisfiedLinkError) Björn Höfling
2018-06-25 10:11 ` Ricardo Wurmus
2018-06-25 10:16   ` Björn Höfling
2018-07-03 12:23 ` Gábor Boskovits

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.