Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RPM] man pages not linked properly for jre package temurin17 #629

Open
andrlos opened this issue Mar 8, 2023 · 4 comments
Open

[RPM] man pages not linked properly for jre package temurin17 #629

andrlos opened this issue Mar 8, 2023 · 4 comments
Assignees

Comments

@andrlos
Copy link

andrlos commented Mar 8, 2023

Hi, so the issue is reproducible by:
1)installing temurin-17-jre rpm package
2) calling "man java"

-the cause of this problem is the lack of "--slave" declaration for jre manpages in postinstall scriptlet of the rpm, thus missing links to the installed manpages (the scriptlets can be checked by calling "rpm -qp --scripts pkgname")

another problem is that manpages are missing in temurin-17-jre altogether

refer to the difference in jdk vs jre package in this matter or jre of different major version e.g.11

@andrlos
Copy link
Author

andrlos commented Mar 9, 2023

its also notable that manpages are not when they should be altogether.. the customary place to store them is in /usr/share/man/man1 and not in /usr/lib/jvm/temurin-$ver-$subpkg/man/man1 .. is there a particular reason for this difference to the common convention?
Thanks!

@zdtsw
Copy link
Contributor

zdtsw commented Mar 13, 2023

maybe @ascheman have some insights?

@ascheman
Copy link
Contributor

The core problem might be that the JRE tarballs for Temurin-17 do not contain man files (nor Temurin-19 and presumably Temurin-20).

@jiekang
Copy link
Contributor

jiekang commented Mar 29, 2023

Worth exploring:

The JRE spec files don't have the alternative --slave entries like the JDK spec files do for the manpages. They probably should.

JDK: https://github.com/adoptium/installer/blob/master/linux/jdk/redhat/src/main/packaging/temurin/20/temurin-20-jdk.spec#L159

JRE: https://github.com/adoptium/installer/blob/master/linux/jre/redhat/src/main/packaging/temurin/20/temurin-20-jre.spec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants