Created attachment 671707 [details, diff] diff to ebuild to avoid using jna:4 net-p2p/freenet-0.7.5_p1488 does not _really_ seem to depend on dev-java/jna:4, does it? I really don't feel like installing it, since it pulls in a bunch of X11 dependencies (starting with x11-libs/libXt), that I have no need for on my headless server! (Unlike the other jna-3.4.1 in the portage tree.) I tried getting rid of the 3 mentions of jna-4 in the 1488 ebuild (diff is attached), and the only compile time error was about some dumb "isAndroid" function which I was also easily able to get rid of from two lines in src/freenet/support/JVMVersion.java, diff is attached. [javac] /var/tmp/portage/net-p2p/freenet-0.7.5_p1488/work/fred-build01488/src/freenet/support/JVMVersion.java:3: error: cannot find symbol [javac] import static com.sun.jna.Platform.isAndroid; [javac] ^ [javac] symbol: static isAndroid
Created attachment 671710 [details, diff] slight change to source code to avoid jna:4
Please send a request to upstream to either change the code to not use that function from jna-4 or have an optional switch that avoids this dependency.
Hmmm, apparently jna-4 did not need libXt! I will file another bug report about that. This bug report can be closed.
Closing bug as requested.