Summary: | app-eselect/eselect-java - unable to set system vm on prefix | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | floppym, prefix |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Martin Mokrejš
2016-07-28 12:30:13 UTC
That error isn't coming from eselect, rather from java-vm.eselect. And it isn't checking the uid, it is tesing if ${EROOT}/etc/java-config-2 is writable. I suspect the issue is that EROOT is generally not set to anything outside of an ebuild context. (In reply to Mike Gilbert from comment #1) > I suspect the issue is that EROOT is generally not set to anything outside > of an ebuild context. Nah, it does seem to be handled in /usr/bin/eselect. Other modules make use of it. Martin, please show the output of: fgrep EPREFIX /usr/bin/eselect ls -la /scratch/mmokrejs/gentoo_rap/etc/java-config-2 (In reply to James Le Cuirot from comment #2) > fgrep EPREFIX /usr/bin/eselect > ls -la /scratch/mmokrejs/gentoo_rap/etc/java-config-2 Oops, obviously I meant: fgrep EPREFIX /scratch/mmokrejs/gentoo_rap/usr/bin/eselect ls -la /scratch/mmokrejs/gentoo_rap/etc/java-config-2 $ fgrep EPREFIX /scratch/mmokrejs/gentoo_rap/usr/bin/eselect EPREFIX="/scratch/mmokrejs/gentoo_rap" EROOT="${ROOT%${EPREFIX:+/}}${EPREFIX}" $ ls -la /scratch/mmokrejs/gentoo_rap/etc/java-config-2 ls: cannot access '/scratch/mmokrejs/gentoo_rap/etc/java-config-2': No such file or directory $ $ ls -la /scratch/mmokrejs/gentoo_rap/etc/java-config* ls: cannot access '/scratch/mmokrejs/gentoo_rap/etc/java-config*': No such file or directory $ Well, it never installed because of bug #561272 Created attachment 442064 [details] build.log > Well, it never installed because of bug #561272 No, it does install at lest now but something is wrong because after merging (see attached build.log) I still do not have the file: $ ls -la /scratch/mmokrejs/gentoo_rap/etc/java-config* ls: cannot access '/scratch/mmokrejs/gentoo_rap/etc/java-config*': No such file or directory $ $ ls -la /scratch/mmokrejs/gentoo_rap/usr/bin/java-config* lrwxrwxrwx 1 mmokrejs mmokrejs 13 Jul 31 11:56 /scratch/mmokrejs/gentoo_rap/usr/bin/java-config -> java-config-2 $ (In reply to James Le Cuirot from comment #2) Oh, duh! Thanks for setting me straight. assuming this is handled in the meanwhile |