Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591156 - dev-java/java-config: Prefix support
Summary: dev-java/java-config: Prefix support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2016-08-20
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: prefix-gx86
  Show dependency tree
 
Reported: 2016-08-13 07:42 UTC by Benda Xu
Modified: 2021-01-06 10:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
java-config-2.2.0-prefix.patch (java-config-2.2.0-prefix.patch,592 bytes, patch)
2016-08-13 07:42 UTC, Benda Xu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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