Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61501 - [cuda] java-runtime optdepends is not enough to run nvvp

Attached to Project: Community Packages
Opened by Jakub Klinkovský (lahwaacz) - Tuesday, 22 January 2019, 10:48 GMT
Last edited by Konstantin Gizdov (kgizdov) - Thursday, 11 April 2019, 16:49 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Konstantin Gizdov (kgizdov)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Specific version of Java is needed to run nvvp, it does not work with Java 10 or 11. Hence, the optdepends should specify the needed version.

I'm not sure if it works with e.g. both Java 11 and 8 installed and 11 set to the default, nvvp seems to search Java through /usr/bin/java which would point to the version 11...
This task depends upon

Closed by  Konstantin Gizdov (kgizdov)
Thursday, 11 April 2019, 16:49 GMT
Reason for closing:  Implemented
Additional comments about closing:  cuda-10.1.105-11
Comment by Konstantin Gizdov (kgizdov) - Thursday, 11 April 2019, 13:19 GMT
Hi, indeed nvvp seems to require jre8. However, there is not much we can do. Even if we require java-runtime=8, the user can still choose to install jre/jre10 as well and set that as the default - then nvvp will still not work.
Comment by Jakub Klinkovský (lahwaacz) - Thursday, 11 April 2019, 15:20 GMT
Can the workaround added in [1] be changed to point directly to /usr/lib/jvm/java-8-openjdk/jre/bin/java instead of /usr/bin/java?

[1] https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/cuda&id=49aa69f613d483825be2578f32d2604a4a91fbbb
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 11 April 2019, 15:50 GMT
That definitely sounds like a solution yes.
Comment by Konstantin Gizdov (kgizdov) - Thursday, 11 April 2019, 15:57 GMT
ok, it will be included in next release

Loading...