GNU bug report logs - #29705
Java packages need to retain references

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> fhain.coderdojo.berlin>

Date: Thu, 14 Dec 2017 02:34:01 UTC

Severity: normal

Merged with 29700

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29705 in the body.
You can then email your comments to 29705 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#29705; Package guix. (Thu, 14 Dec 2017 02:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> fhain.coderdojo.berlin>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 14 Dec 2017 02:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> fhain.coderdojo.berlin>
To: bug-guix <at> gnu.org
Subject: Java packages need to retain references
Date: Wed, 13 Dec 2017 23:28:00 +0100
I installed the “axoloti-patcher” package today after “guix gc” and
noticed that not all dependencies are available at runtime.  Upon
running the “Axoloti” command I got this error:

    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Can't load library: /gnu/store/nrx5nmwynmsl7aqxdpgwpsm8ff9b0h4d-libusb4java-0-1.396d642a5/lib/libusb4java.so

The store item does not exist.

The problem here is that jar archives are compressed and thus any
references they contain are thus hidden from the scanner.

I don’t know if it is feasible to disable compression for jar files, or
if we should install a “.guix-dependencies” file that contains plain
text references.

I’ll investigate disabling compression first.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Information forwarded to bug-guix <at> gnu.org:
bug#29705; Package guix. (Thu, 14 Dec 2017 07:08:02 GMT) Full text and rfc822 format available.

Message #8 received at 29705 <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: Ricardo Wurmus <rekado <at> fhain.coderdojo.berlin>
Cc: 29705 <at> debbugs.gnu.org
Subject: Re: bug#29705: Java packages need to retain references
Date: Thu, 14 Dec 2017 08:07:13 +0100
[Message part 1 (text/plain, inline)]
Would it be enough if we added the uncompressed manifest?
Is there any drawback to that?


2017-12-13 23:28 GMT+01:00 Ricardo Wurmus <rekado <at> fhain.coderdojo.berlin>:

> I installed the “axoloti-patcher” package today after “guix gc” and
> noticed that not all dependencies are available at runtime.  Upon
> running the “Axoloti” command I got this error:
>
>     Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError:
> Can't load library: /gnu/store/nrx5nmwynmsl7aqxdpgwpsm8ff9b0h
> 4d-libusb4java-0-1.396d642a5/lib/libusb4java.so
>
> The store item does not exist.
>
> The problem here is that jar archives are compressed and thus any
> references they contain are thus hidden from the scanner.
>
> I don’t know if it is feasible to disable compression for jar files, or
> if we should install a “.guix-dependencies” file that contains plain
> text references.
>
> I’ll investigate disabling compression first.
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
>
>
>
>
>
[Message part 2 (text/html, inline)]

Merged 29700 29705. Request was from Ricardo Wurmus <rekado <at> elephly.net> to control <at> debbugs.gnu.org. (Thu, 14 Dec 2017 22:25:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 13 Jan 2018 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.