It just says: !!! ERROR: Package jetty-5 was not found! because /usr/share/jetty-5/ wasn't readable with userpriv
Anyone know which version of java-config this bug is on?Thanks
Created attachment 268343 [details, diff] The patch to fix this bug This patch applies to the latest release version(2.1.11) Finally I tried to reproduce the bug on the latest vesion(https://overlays.gentoo.org/svn/proj/java/projects/java-config-2/tags/2.1.11/) Though it did not give the "!!! ERROR: Package jetty-5 was not found!" Error, it thowed out a call stack which is unfriendly to users: Traceback (most recent call last): File "/usr/bin/java-config-2-3.1", line 395, in <module> (options, args) = parser.parse_args(args=args) ...... ...... File "/usr/lib64/python3.1/site-packages/java_config_2/FileParser.py", line 20, in parse raise PermissionError java_config_2.Errors.PermissionError. and after the patching, it give the more user-friendly message: !!! ERROR: You do not have enough permissions to read the package's package.env
Just talked to him on IRC, he'll provide a SVN diff as requested.
Created attachment 268461 [details, diff] svn diff file the result of svn diff after fixing this bug.
Merged to SVN on 6th of April. Will close after release.
(In reply to Serkan Kaba from comment #5) > Merged to SVN on 6th of April. Will close after release. Closing as this is released for a while ...