View previous topic :: View next topic |
Author |
Message |
JustAnother Apprentice
Joined: 23 Sep 2016 Posts: 186
|
Posted: Sat Jul 03, 2021 3:05 am Post subject: Beaned by dev-util/netbeans-standalone-12.4:12/12::fordfrog |
|
|
My version of netbeans won't update:
Code: | !!! The following update has been skipped due to unsatisfied dependencies:
dev-util/netbeans-standalone:12
selected: (dev-util/netbeans-standalone-12.1:12/12::fordfrog, installed)
skipped: (dev-util/netbeans-standalone-12.4:12/12::fordfrog, ebuild scheduled for merge) (see unsatisfied dependency below)
!!! All ebuilds that could satisfy ">=virtual/jdk-11:*" have been masked.
!!! One of the following masked packages is required to complete your request:
- virtual/jdk-11-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# James Le Cuirot <chewi@gentoo.org> (2017-12-17)
# Java 11 is not yet fully supported on Gentoo. Packages cannot depend
# on it so these virtuals are not yet required. If you wish to use
# Java 11 then install openjdk-(jdk|jre)-bin directly.
(dependency required by "dev-util/netbeans-standalone-12.4::fordfrog" [ebuild])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
|
This was after I had just installed openjdk:
Code: | emerge -av1 dev-java/openjdk-bin
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] dev-java/openjdk-bin-11.0.11_p9-r1:11::gentoo USE="alsa cups (-gentoo-vm) -headless-awt (-selinux) -source" 188,274 KiB
Total: 1 package (1 new), Size of downloads: 188,274 KiB |
To verify:
Code: | eix openjdk
* dev-java/openjdk
Available versions:
(8) 8.292_p10
(11) 11.0.11_p9-r1
{alsa cups debug doc examples gentoo-vm headless-awt javafx +jbootstrap +pch selinux source systemtap ELIBC="FreeBSD"}
Homepage: https://openjdk.java.net
Description: Open source implementation of the Java programming language
[I] dev-java/openjdk-bin
Available versions:
(8) 8.292_p10^s
(11) 11.0.11_p9-r1
{alsa cups examples +gentoo-vm headless-awt selinux source}
Installed versions: 11.0.11_p9-r1(11)(07:32:30 PM 07/02/2021)(alsa cups -gentoo-vm -headless-awt -selinux -source)
Homepage: https://adoptopenjdk.net
Description: Prebuilt Java JDK binaries provided by AdoptOpenJDK
* dev-java/openjdk-jre-bin
Available versions:
(8) 8.292_p10
(11) ~11.0.11_p9
{alsa cups +gentoo-vm headless-awt selinux}
Homepage: https://adoptopenjdk.net
Description: Prebuilt Java JRE binaries provided by AdoptOpenJDK
Found 3 matches |
But I can't set the default java to openjdk, even though it is installed.
Code: | eselect java-vm show
Current system-vm
icedtea-bin-8
Current user-vm
(unset) |
Code: | eselect java-vm list
Available Java Virtual Machines:
[1] icedtea-bin-8 system-vm |
So I can't get rid of the netbeans problem -- it still has the same complaint.
Any ideas, anyone? Thanks.
[Moderator edit: added [code] tags to preserve output layout; moved code close tags to cover the output that needs to be covered. -Hu] |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Sat Jul 03, 2021 7:09 am Post subject: |
|
|
Greetings,
I think the root of your issues starts from the fact that you've installed netbeans from an unofficial overlay.
my only recommendation I can give you is to look for another overlay which has newer netbeans _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2006
|
Posted: Sat Jul 03, 2021 8:55 am Post subject: |
|
|
I don't think eselect java-vm has anything to do with this. The issue is your netbeans requires virtual/java-11, which the message says, is masked. So you need to unmask and install the version in the message - virtual/jdk-11-r1. That should work if you've installed dev-java/openjdk-bin appropriately. _________________ Greybeard |
|
Back to top |
|
|
JustAnother Apprentice
Joined: 23 Sep 2016 Posts: 186
|
Posted: Sat Jul 03, 2021 9:31 pm Post subject: |
|
|
I'm working on netbeans, but first:
There seems to be a separate issue that does not touch netbeans.
One the one hand, there are clearly two java vm's installed -- version 8 in iced tea, and version 11 in openjdk.
One the other hand, eselect java-vm says otherwise.
What is the source/resolution to this dilemma?
It is unclear how to manage a computer that is telling you two exclusive things at once.
Remember Captain Kirk and Nomad? |
|
Back to top |
|
|
JustAnother Apprentice
Joined: 23 Sep 2016 Posts: 186
|
Posted: Sat Jul 03, 2021 9:51 pm Post subject: |
|
|
Another road block:
###########################################
# File: /etc/portage/package.unmask 2021-07-03
###########################################
=virtual/jdk-11-r1
The attempt:
Code: | emerge -vp =virtual/jdk-11-r1 |
Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "dev-java/openjdk-bin:11[gentoo-vm(+)]".
(dependency required by "virtual/jdk-11-r1::gentoo" [ebuild])
(dependency required by "=virtual/jdk-11-r1" [argument])
So I'm stuck again. This has nothing to do with netbeans at this point. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30911 Location: here
|
Posted: Mon Jul 05, 2021 3:36 pm Post subject: |
|
|
The virtual/jdk is masked you should unmask it, moreover also gentoo-vm use flag from dev-java/openjdk is masked and you should unmask it with /etc/portage/profile/package.use.mask _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
JustAnother Apprentice
Joined: 23 Sep 2016 Posts: 186
|
Posted: Tue Jul 06, 2021 4:24 am Post subject: |
|
|
The gentoo-vm flag does not show up on a standard query...
Code: | equery uses dev-java/openjdk |
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for dev-java/openjdk-11.0.11_p9-r1:
U I
+ + alsa : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
+ + cups : Add support for CUPS (Common Unix Printing System)
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
- - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- - examples : Install examples, usually source code
- - headless-awt : Don't install the X backend for AWT, needed by some GUIs
+ - jbootstrap : Build OpenJDK twice, the second time using the result of the first
+ - pch : Enable precompiled header support for faster compilation at the expense of disk space and memory (>=sys-devel/gcc-3.4 only)
- - source : Install JVM sources
- - systemtap : (Restricted to >=dev-java/openjdk-11)
Enable SystemTAP/DTrace tracing
I made the suggested changes, and got a problem:
Code: | emerge -uDUva --with-bdeps=y --keep-going @world 2>&1 | tee emerge.log
|
These are the packages that would be merged, in order:
Calculating dependencies
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
....... ...... done!
[nomerge ] dev-java/ant-1.10.9::gentoo USE="X antlr bcel bsf commonslogging commonsnet javamail jdepend jsch junit junit4 junitlauncher log4j oro regexp resolver -jai -jmf -swing -testutil -xz"
[nomerge ] dev-java/ant-junit-1.10.9::gentoo
[nomerge ] virtual/jdk-11-r1:11::gentoo [1.8.0-r5:1.8::gentoo]
[ebuild N ] dev-java/openjdk-11.0.11_p9-r1:11::gentoo USE="alsa cups gentoo-vm jbootstrap pch -debug -doc -examples -headless-awt (-javafx) (-selinux) -source -systemtap" 93,066 KiB
[ebuild U ~] dev-util/netbeans-standalone-12.4:12::fordfrog [12.1:12::fordfrog] 137,656 KiB
[nomerge ] dev-java/ant-1.10.9::gentoo USE="X antlr bcel bsf commonslogging commonsnet javamail jdepend jsch junit junit4 junitlauncher log4j oro regexp resolver -jai -jmf -swing -testutil -xz"
[nomerge ] dev-java/ant-junit4-1.10.9::gentoo
[nomerge ] dev-java/junit-4.13.2:4::gentoo USE="-doc -source -test"
[nomerge ] dev-java/hamcrest-core-1.3-r2:1.3::gentoo USE="-doc -source"
[nomerge ] dev-java/hamcrest-generator-1.3-r3:1.3::gentoo USE="-source -test"
[nomerge ] dev-java/qdox-1.12.1-r2:1.12::gentoo USE="-doc -source -test"
[nomerge ] dev-java/jflex-1.6.1-r1::gentoo USE="-doc -examples -source -test -vim-syntax"
[nomerge ] dev-java/ant-core-1.10.9::gentoo USE="-doc -source"
[ebuild NS #] virtual/jdk-11-r1:11::gentoo [1.8.0-r5:1.8::gentoo] 0 KiB
Total: 3 packages (1 upgrade, 1 new, 1 in new slot), Size of downloads: 230,721 KiB
* Error: circular dependencies:
(dev-java/openjdk-11.0.11_p9-r1:11/11::gentoo, ebuild scheduled for merge) depends on
(dev-java/openjdk-11.0.11_p9-r1:11/11::gentoo, ebuild scheduled for merge) (buildtime)
* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by virtual/jdk-11-r1::gentoo
# required by dev-util/netbeans-standalone-12.4::fordfrog
# required by @selected
# required by @world (argument)
>=dev-java/openjdk-11.0.11_p9-r1 gentoo-vm
Would you like to add these changes to your config files? [Yes/No] y
I ran etc-update and it seemed to update some other switch:
sys-libs/libseccomp static-libs
+# required by virtual/jdk-11-r1::gentoo
+# required by dev-util/netbeans-standalone-12.4::fordfrog
+# required by @selected
+# required by @world (argument)
+>=dev-java/openjdk-11.0.11_p9-r1 gentoo-vm
Where does the libseccomp come from?
Anyway, emerge was able to handle everything but netbeans:
Code: | emerge -uDUva --with-bdeps=y --keep-going @world 2>&1 | tee emerge.log |
These are the packages that would be merged, in order:
Calculating dependencies
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
. .... ..... ......... done!
[ebuild N ] dev-java/openjdk-bin-11.0.11_p9-r1:11::gentoo USE="alsa cups (-gentoo-vm) -headless-awt (-selinux) -source" 0 KiB
[ebuild N ] dev-java/openjdk-11.0.11_p9-r1:11::gentoo USE="alsa cups gentoo-vm jbootstrap pch -debug -doc -examples -headless-awt (-javafx) (-selinux) -
source -systemtap" 93,066 KiB
[ebuild NS #] virtual/jdk-11-r1:11::gentoo [1.8.0-r5:1.8::gentoo] 0 KiB
[ebuild U ~] dev-util/netbeans-standalone-12.4:12::fordfrog [12.1:12::fordfrog] 137,656 KiB
Total: 4 packages (1 upgrade, 2 new, 1 in new slot), Size of downloads: 230,721 KiB
Would you like to merge these packages? [Yes/No]
>>> Running pre-merge checks for dev-util/netbeans-standalone-12.4
*
* Netbeans downloads a lot of dependencies during the build
* process, so you need to disable network-sandbox feature
* to make this ebuild proceed (FEATURES=-network-sandbox).
* You can also use package.env to disable this feature
* for the package, see:
*
* https://wiki.gentoo.org/wiki//etc/portage/package.env
*
* ERROR: dev-util/netbeans-standalone-12.4::fordfrog failed (pretend phase):
* network-sandbox is enabled, disable it to proceed
*
* Call stack:
* ebuild.sh, line 127: Called pkg_pretend
* netbeans-standalone-12.4.ebuild, line 43: Called die
* The specific snippet of code:
* die "network-sandbox is enabled, disable it to proceed";
*
* If you need support, post the output of `emerge --info '=dev-util/netbeans-standalone-12.4::fordfrog'`,
* the complete build log and the output of `emerge -pqv '=dev-util/netbeans-standalone-12.4::fordfrog'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =netbeans-standalone-12.4
How do I disable network-sandbox? I searched the site, but didn't find much on network-sandbox. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30911 Location: here
|
Posted: Tue Jul 06, 2021 6:22 am Post subject: |
|
|
You can create an env configuration
Code: | # echo 'FEATURES="-network-sandbox"' >> /etc/portage/env/wo-network-sandbox.conf |
and then disable it for dev-util/netbeans-standalone package
Code: | # echo 'dev-util/netbeans-standalone wo-network-sandbox.conf' >> /etc/portage/package.env |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
JustAnother Apprentice
Joined: 23 Sep 2016 Posts: 186
|
Posted: Tue Jul 06, 2021 10:02 pm Post subject: |
|
|
I did this:
Code: | echo 'FEATURES="-network-sandbox"' >> /etc/portage/env/wo-network-sandbox.conf
echo 'dev-util/netbeans-standalone wo-network-sandbox.conf' >> /etc/portage/package.env
emerge -uDUva --with-bdeps=y --keep-going @world 2>&1 | tee emerge-01.log
|
These are the packages that would be merged, in order:
Calculating dependencies
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
......... ... done!
[ebuild U ~] dev-util/netbeans-standalone-12.4:12::fordfrog [12.1:12::fordfrog] 137,656 KiB
Total: 1 package (1 upgrade), Size of downloads: 137,656 KiB
Would you like to merge these packages? [Yes/No] y
**** snip snip snip ****
init:
-prepare-mandatory-files-for-module:
[mkdir] Created dir: /var/tmp/portage/dev-util/netbeans-standalone-12.4/work/extide/gradle/build/classes/META-INF
[createlicensesummary] All tests passed
-copy-gradle-wrapper:
[copy] Copying 1 file to /var/tmp/portage/dev-util/netbeans-standalone-12.4/work/extide/gradle/netbeans-gradle-tooling/gradle/wrapper
-uptodate-tooling:
build-tooling-lib:
* ACCESS DENIED: mkdir: /var/lib/portage/home/.gradle
* ACCESS DENIED: mkdir: /var/lib/portage/home/.gradle
[java] Exception in thread "main" java.lang.RuntimeException: Could not create parent directory for lock file /var/lib/portage/home/.gradle/wrapper/dists/gradle-6.7-bin/93xjuj2ywqv6tuj3eex9m5sqo/gradle-6.7-bin.zip.lck
[java] at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:43)
[java] at org.gradle.wrapper.Install.createDist(Install.java:4
[java] at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
[java] at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:62)
[nbmerge] Failed to build target: all-gradle
BUILD FAILED
/var/tmp/portage/dev-util/netbeans-standalone-12.4/work/nbbuild/build.xml:639: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-standalone-12.4/work/nbbuild/build.xml:634: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-standalone-12.4/work/nbbuild/build.xml:669: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-standalone-12.4/work/nbbuild/build.xml:652: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-standalone-12.4/work/nbbuild/build.xml:634: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-standalone-12.4/work/nbbuild/build.xml:681: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-standalone-12.4/work/extide/gradle/build.xml:42: Java returned: 1
Total time: 21 minutes 54 seconds
* ERROR: dev-util/netbeans-standalone-12.4::fordfrog failed (compile phase):
* eant failed
*
* Call stack:
* ebuild.sh, line 127: Called src_compile
* environment, line 3424: Called eant '-Dcluster.config=full' '-Dpermit.jdk9.builds=true' '-Dbinaries.cache=/var/tmp/portage/dev-util/netbeans-standalone-12.4/work/.hgexternalcache'
* environment, line 671: Called die
* The specific snippet of code:
* ant ${antflags} "${@}" || die "eant failed"
*
* If you need support, post the output of `emerge --info '=dev-util/netbeans-standalone-12.4::fordfrog'`,
* the complete build log and the output of `emerge -pqv '=dev-util/netbeans-standalone-12.4::fordfrog'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=openjdk-11 CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-11"
JAVACFLAGS="-source 11 -target 11" COMPILER="javac"
and of course, the output of emerge --info =netbeans-standalone-12.4
* The complete build log is located at '/var/log/portage/build/dev-util/netbeans-standalone-12.4:20210706-210914.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/netbeans-standalone-12.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/netbeans-standalone-12.4/temp/environment'.
* Working directory: '/var/tmp/portage/dev-util/netbeans-standalone-12.4/work'
* S: '/var/tmp/portage/dev-util/netbeans-standalone-12.4/work'
* --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
* LOG FILE: "/var/tmp/portage/dev-util/netbeans-standalone-12.4/temp/sandbox.log"
*
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line
F: mkdir
S: deny
P: /var/lib/portage/home/.gradle
A: /var/lib/portage/home/.gradle
R: /var/lib/portage/home/.gradle
C: /usr/lib64/openjdk-11/bin/java -Dorg.gradle.appname=Gradle -classpath /var/tmp/portage/dev-util/netbeans-standalone-12.4/work/extide/gradle/netbeans-gradle-tooling/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --offline clean build -x check
F: mkdir
S: deny
P: /var/lib/portage/home/.gradle
A: /var/lib/portage/home/.gradle
R: /var/lib/portage/home/.gradle
C: /usr/lib64/openjdk-11/bin/java -Dorg.gradle.appname=Gradle -classpath /var/tmp/portage/dev-util/netbeans-standalone-12.4/work/extide/gradle/netbeans-gradle-tooling/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain --offline clean build -x check
* --------------------------------------------------------------------------------
>>> Failed to emerge dev-util/netbeans-standalone-12.4, Log file:
>>> '/var/log/portage/build/dev-util/netbeans-standalone-12.4:20210706-210914.log'
*
* The following package has failed to build, install, or execute postinst:
*
* (dev-util/netbeans-standalone-12.4:12/12::fordfrog, ebuild scheduled for merge), Log file:
* '/var/log/portage/build/dev-util/netbeans-standalone-12.4:20210706-210914.log'
*
The good news is that netbeans actually said what it didn't like. The bad news is this does not appear to be a simple permission issues -- there are lock files guarding the gems.
There is no gradle flag to turn off:
Code: | equery uses dev-util/netbeans-standalone |
!!! No USE flags found for dev-util/netbeans-standalone-12.4
Should I just toss this fordfrog netbeans out?
Should I just install dev-util/netbeans instead?
This is getting to be a bit of a mess. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30911 Location: here
|
Posted: Wed Jul 07, 2021 10:51 am Post subject: |
|
|
For some reason build system try to create a directory outside sandbox.
Another way is download installer from official site. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
JustAnother Apprentice
Joined: 23 Sep 2016 Posts: 186
|
Posted: Thu Jul 08, 2021 4:25 am Post subject: |
|
|
Should I tell the owner of [1] "fordfrog" /var/db/repos/fordfrog about this? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30911 Location: here
|
Posted: Thu Jul 08, 2021 5:49 am Post subject: |
|
|
JustAnother wrote: | Should I tell the owner of [1] "fordfrog" /var/db/repos/fordfrog about this? |
Yes you can, fordfrog is a gentoo developer _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
fordfrog Developer
Joined: 01 Jan 2007 Posts: 20
|
Posted: Fri Jul 09, 2021 4:49 am Post subject: |
|
|
the process is as described above, that is unmask and enable [gentoo-vm] on openjdk:11 or openjdk-bin:11 and unmask virtual/jdk:11, disable network-sandbox, and emerge.
i don't get that sandbox violation error though:
Code: | build-tooling-lib:
[java] Downloading file:/var/tmp/portage/dev-util/netbeans-standalone-12.4/work/extide/gradle/netbeans-gradle-tooling/gradle/wrapper/../../../external/gradle-6.7-bin.zip
[java] ..................................................................................................
[java]
[java] Welcome to Gradle 6.7!
[java]
[java] Here are the highlights of this release:
[java] - File system watching is ready for production use
[java] - Declare the version of Java your build requires
[java] - Java 15 support
[java]
[java] For more details see https://docs.gradle.org/6.7/release-notes.html
[java]
[java] Starting a Gradle Daemon (subsequent builds will be faster)
[java] > Task :clean UP-TO-DATE
[java] > Task :compileJava NO-SOURCE
[java] > Task :compileGroovy
[java] > Task :processResources
[java] > Task :classes
[java] > Task :jar
[java] > Task :startScripts SKIPPED
[java] > Task :distTar SKIPPED
[java] > Task :distZip SKIPPED
[java] > Task :assemble
[java] > Task :build
[java]
[java] BUILD SUCCESSFUL in 22s
[java] 4 actionable tasks: 3 executed, 1 up-to-date
[copy] Copying 1 file to /var/tmp/portage/dev-util/netbeans-standalone-12.4/work/extide/gradle/build/tooling
[copy] Copying 1 file to /var/tmp/portage/dev-util/netbeans-standalone-12.4/work/extide/gradle/build/tooling |
and the target dir in my case is empty:
Code: | # LC_ALL=C ls -la /var/lib/portage/home/
total 0
drwxr-xr-x 1 portage portage 50 Dec 28 2020 .
drwxr-sr-x 1 root portage 122 Jul 9 06:36 ..
-rw-r--r-- 1 root root 0 Dec 28 2020 .keep_acct-user_portage-0 |
_________________ Gentoo Java Team
Gentoo ProAudio Team
Gentoo Sound Team |
|
Back to top |
|
|
JustAnother Apprentice
Joined: 23 Sep 2016 Posts: 186
|
Posted: Sat Jul 10, 2021 4:09 am Post subject: |
|
|
In dir /etc/portage:
Code: | LC_ALL=C ls -la /var/lib/portage/home/ |
total 8.0K
drwxr-xr-x 2 portage portage 4.0K Jan 4 2021 .
drwxr-sr-x 3 root portage 4.0K Jul 6 14:09 ..
-rw-r--r-- 1 root root 0 Jan 4 2021 .keep_acct-user_portage-0
Code: | ls -l /var/tmp/portage/dev-util/netbeans-standalone-12.4/work/extide/gradle/netbeans-gradle-tooling/gradle/wrapper |
total 60K
-rw-r--r-- 1 portage portage 54K Jul 6 14:35 gradle-wrapper.jar
-rw-r--r-- 1 portage portage 961 May 14 13:57 gradle-wrapper.properties
I was able to do this:
Code: | mkdir /var/lib/portage/home/.gradle |
but I got the same crash when I tried to emerge again. |
|
Back to top |
|
|
Fitap Guru
Joined: 13 Mar 2011 Posts: 437 Location: Rosario, Argentina
|
Posted: Tue Aug 03, 2021 6:00 pm Post subject: |
|
|
Hi,
same issue like JustAnother
Code: | Trying to override old definition of task configureproxy
* ACCESS DENIED: mkdir: /var/lib/portage/home/.gradle/wrapper
* ACCESS DENIED: mkdir: /var/lib/portage/home/.gradle/wrapper
[nbmerge] Failed to build target: all-gradle
|
entire build.log here |
|
Back to top |
|
|
JustAnother Apprentice
Joined: 23 Sep 2016 Posts: 186
|
Posted: Tue Aug 03, 2021 8:27 pm Post subject: |
|
|
I tried to birddog this, and came to the conclusion that Gradle is a rats nest. It works great, until it doesn't, and then like in Texas, you are on your own.
Apparently some highly respected software guru said the same thing, and this resulted in interesting things being said.
These products are getting too complicated for their own good. |
|
Back to top |
|
|
keeshii n00b
Joined: 11 Aug 2022 Posts: 1 Location: Poland
|
Posted: Tue Aug 16, 2022 9:02 am Post subject: |
|
|
I've just managed to emerge the package "netbeans-standalone" to the system...with multiple suspicious jars downloaded from the net.
The solution for me was to set GRADLE_USER_HOME environment variable during the compilation.
Code: | src_compile() {
export GRADLE_USER_HOME="${WORKDIR}/.gradle"
eant -Dcluster.config=full -Dpermit.jdk9.builds=true -Dbinaries.cache="${S}"/.hgexternalcache || die "Failed to compile"
unset GRADLE_USER_HOME
} |
Maybe it would be helpful for others.
Cheers,
and Long live the netbeans! |
|
Back to top |
|
|
|