Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 866260

Summary: dev-java/openjdk-bin-11.0.15_p10: java-vm_set-pax-markings: argument needs to be JDK/JRE base directory
Product: Gentoo Linux Reporter: Sergey 'L29Ah' Alirzaev <zl29ah>
Component: Current packagesAssignee: Georgy Yakovlev <gyakovlev>
Status: RESOLVED INVALID    
Severity: normal CC: java
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info

Description Sergey 'L29Ah' Alirzaev 2022-08-24 05:02:16 UTC
Created attachment 800683 [details]
build log

>>> Install dev-java/openjdk-bin-11.0.15_p10 into /var/tmp/portage/dev-java/openjdk-bin-11.0.15_p10/image
removed 'lib/src.zip'
removed 'lib/security/cacerts'
 * ERROR: dev-java/openjdk-bin-11.0.15_p10::gentoo failed (install phase):
 *   java-vm_set-pax-markings: argument needs to be JDK/JRE base directory
Comment 1 Sergey 'L29Ah' Alirzaev 2022-08-24 05:02:30 UTC
Created attachment 800686 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-24 05:07:19 UTC
I'm going to go ahead and say the -bin is not going to work if you have a hook which removes x86 ELFs.

 /var/tmp/portage/dev-java/openjdk-bin-11.0.15_p10/work/jdk-11.0.15+10/lib/jexec seems to be an x86 ELF!
removed '/var/tmp/portage/dev-java/openjdk-bin-11.0.15_p10/work/jdk-11.0.15+10/lib/jexec'
'/var/tmp/portage/dev-java/openjdk-bin-11.0.15_p10/work/jdk-11.0.15+10/lib/jexec' -> '/dev/null/INVALID'

If you're going to use such a thing, which is your choice, please state it up front.