bug#29700: Java packages need to retain references

2017-12-15 Thread Ludovic Courtès
Ricardo Wurmus skribis: > 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

bug#29700: Java packages need to retain references

2017-12-14 Thread Ricardo Wurmus
Hi Gábor, > If we later decide that compression is desired we can still go with a text > file with references. This wouldn’t always be feasible, because it would require *manual* reference tracking. The packager would need to know what references need to be retained and then ensure that they ar

bug#29700: Java packages need to retain references

2017-12-14 Thread Gábor Boskovits
Do we know the impact of disabling compression? I don't think it is really a big problem. You are right with this, I'm still a bit stuck in another mindset, where we usually know, that we have only one version of a package... If we later decide that compression is desired we can still go with a tex

bug#29700: Java packages need to retain references

2017-12-14 Thread Ricardo Wurmus
Hi Gábor, The manifest file would not be sufficient. Take the example of “java-usb4java”. It provides a file “share/java/usb4java.jar”, which contains this manifest: --8<---cut here---start->8--- Manifest-Version: 1.0 Created-By: 1.7.0_161 (Oracle Corporation

bug#29700: Java packages need to retain references

2017-12-14 Thread Ricardo Wurmus
Gábor Boskovits 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

bug#29700: Java packages need to retain references

2017-12-13 Thread Ricardo Wurmus
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/nrx5nmwy