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

Bug 591156

Summary: dev-java/java-config: Prefix support
Product: Gentoo Linux Reporter: Benda Xu <heroxbd>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: mmokrejs, prefix
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 315803    
Deadline: 2016-08-20   
Attachments: java-config-2.2.0-prefix.patch

Description Benda Xu gentoo-dev 2016-08-13 07:42:51 UTC
Created attachment 443186 [details, diff]
java-config-2.2.0-prefix.patch

Hi, this patch fixes the installation patch of java-config on Prefix.

Please have a look.
Comment 1 Martin Mokrejš 2016-08-19 09:52:54 UTC
CONFIRMing this patch fixes for me the following error:


copying config/jdk.conf -> /scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-java/java-config-2.2.0-r3/image/_python2.7/scratch/mmokrejs/gentoo_rap/etc/java-config-2/build/
copying config/compilers.conf -> /scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-java/java-config-2.2.0-r3/image/_python2.7/scratch/mmokrejs/gentoo_rap/etc/java-config-2/build/
running install_egg_info
Writing /scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-java/java-config-2.2.0-r3/image/_python2.7/scratch/mmokrejs/gentoo_rap/usr/lib64/python2.7/site-packages/java_config-2.2.0-py2.7.egg-info
error: [Errno 2] No such file or directory: '/scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-java/java-config-2.2.0-r3/image/_python2.7/usr/share/java-config-2/config/'
 * ERROR: dev-java/java-config-2.2.0-r3::gentoo failed (install phase):


compare with:

copying config/jdk.conf -> /scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-java/java-config-2.2.0-r3/image/_python2.7/scratch/mmokrejs/gentoo_rap/etc/java-config-2/build/
copying config/compilers.conf -> /scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-java/java-config-2.2.0-r3/image/_python2.7/scratch/mmokrejs/gentoo_rap/etc/java-config-2/build/
running install_egg_info
Writing /scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-java/java-config-2.2.0-r3/image/_python2.7/scratch/mmokrejs/gentoo_rap/usr/lib64/python2.7/site-packages/java_config-2.2.0-py2.7.egg-info
 * python2_7: running distutils-r1_run_phase python_install_all
>>> Completed installing java-config-2.2.0-r3 into /scratch/mmokrejs/gentoo_rap/var/tmp/portage/dev-java/java-config-2.2.0-r3/image/
Comment 2 Benda Xu gentoo-dev 2016-09-23 01:34:29 UTC
In tree as a patch.

@java team, please upstream this patch.  Thanks.
Comment 3 James Le Cuirot gentoo-dev 2016-09-23 06:57:52 UTC
Just so you don't think we're totally dead, there hasn't been a java-config release in years and there's some code in master that needs to be reviewed so even adding trivial patches isn't so trivial at the moment.
Comment 4 Benda Xu gentoo-dev 2016-09-24 01:07:58 UTC
James, got you. Thanks.  So we can carry the patch in tree for a while.
Comment 5 Fabian Groffen gentoo-dev 2021-01-06 10:02:36 UTC
java-config isn't in the Prefix tree anymore