On Wed, 20 Sep 2023 03:32:55 GMT, yaqsun <d...@openjdk.org> wrote: > on some RHEL Linux 8.X and Fedora 27 machines , we run into errors in test > tools/jpackage/linux/LinuxResourceTest.java. > It's the same problem as https://bugs.openjdk.org/browse/JDK-8314121. > But after 8314121, tools/jpackage/linux/LinuxResourceTest.java still > reappears. tools/jpackage/linux/LinuxResourceTest.java does not use file > src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/template.spec.
`%define _build_id_links none` must be added to a spec file in LinuxResourceTest.java file. not on `rpmbuild` command line ------------- PR Comment: https://git.openjdk.org/jdk/pull/15832#issuecomment-1764937856