unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29705: Java packages need to retain references
@ 2017-12-13 22:28 Ricardo Wurmus
  2017-12-14  7:07 ` Gábor Boskovits
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2017-12-13 22:28 UTC (permalink / raw)
  To: 29705

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

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

* bug#29705: Java packages need to retain references
  2017-12-13 22:28 bug#29705: Java packages need to retain references Ricardo Wurmus
@ 2017-12-14  7:07 ` Gábor Boskovits
  2017-12-14 22:22   ` bug#29700: " Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Gábor Boskovits @ 2017-12-14  7:07 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 29705

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

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

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

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

* bug#29700: Java packages need to retain references
  2017-12-14  7:07 ` Gábor Boskovits
@ 2017-12-14 22:22   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2017-12-14 22:22 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: 29700


Gábor Boskovits <boskovits@gmail.com> writes:

> Would it be enough if we added the uncompressed manifest?
> Is there any drawback to that?

I will test that.  I’m not sure if the manifest is really sufficient.

--
Ricardo

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

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

end of thread, other threads:[~2017-12-14 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-13 22:28 bug#29705: Java packages need to retain references Ricardo Wurmus
2017-12-14  7:07 ` Gábor Boskovits
2017-12-14 22:22   ` bug#29700: " Ricardo Wurmus

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