>>> Compiling source in /mnt/Dati/Gentoo/tmp/portage/dev-java/commons-io-1.3.2/work/commons-io-1.3.2-src ... * Using all available ANT_TASKS Buildfile: build.xml get-deps: compile: [mkdir] Created dir: /mnt/Dati/Gentoo/tmp/portage/dev-java/commons-io-1.3.2/work/commons-io-1.3.2-src/build/classes [javac] Compiling 55 source files to /mnt/Dati/Gentoo/tmp/portage/dev-java/commons-io-1.3.2/work/commons-io-1.3.2-src/build/classes [mkdir] Created dir: /mnt/Dati/Gentoo/tmp/portage/dev-java/commons-io-1.3.2/work/commons-io-1.3.2-src/build/classes/META-INF [copy] Copying 2 files to /mnt/Dati/Gentoo/tmp/portage/dev-java/commons-io-1.3.2/work/commons-io-1.3.2-src/build/classes/META-INF init: ACCESS DENIED mkdir: /root/.maven/repository ACCESS DENIED mkdir: /root/.maven ACCESS DENIED mkdir: /root/.maven ACCESS DENIED mkdir: /root/.maven/repository ACCESS DENIED mkdir: /root/.maven ACCESS DENIED mkdir: /root/.maven BUILD FAILED /mnt/Dati/Gentoo/tmp/portage/dev-java/commons-io-1.3.2/work/commons-io-1.3.2-src/build.xml:44: Directory /root/.maven/repository creation was not successful for an unknown reason Total time: 3 seconds * * ERROR: dev-java/commons-io-1.3.2 failed. * Call stack: * ebuild.sh, line 1648: Called dyn_compile * ebuild.sh, line 988: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ebuild.sh, line 1328: Called java-pkg-2_src_compile * java-pkg-2.eclass, line 84: Called eant 'jar' '-f' 'build.xml' * java-utils-2.eclass, line 1894: Called die * * eant failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/mnt/Dati/Gentoo/tmp/portage/dev-java/commons-io-1.3.2/temp/build.log'. * !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.02" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" and of course, the output of emerge --info --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-dev-java_-_commons-io-1.3.2-4596.log" mkdir: /root/.maven/repository mkdir: /root/.maven mkdir: /root/.maven mkdir: /root/.maven/repository mkdir: /root/.maven mkdir: /root/.maven -------------------------------------------------------------------------------- * Messages for package dev-java/commons-io-1.3.2: * * ERROR: dev-java/commons-io-1.3.2 failed. * Call stack: * ebuild.sh, line 1648: Called dyn_compile * ebuild.sh, line 988: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ebuild.sh, line 1328: Called java-pkg-2_src_compile * java-pkg-2.eclass, line 84: Called eant 'jar' '-f' 'build.xml' * java-utils-2.eclass, line 1894: Called die * * eant failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/mnt/Dati/Gentoo/tmp/portage/dev-java/commons-io-1.3.2/temp/build.log'. * * GNU info directory index is up-to-date.
A workaround for this is: mkdir -p /root/.maven/repository (Assuming "root" is the name of the user being used to do the emerge.)
you're right, but it's a workaround , we need ebuild fix :)
Created attachment 126922 [details, diff] commons-io-1.3.2-build.xml.patch
Fixed in cvs, at least it works for me now. I used -Duser.home=${T} trick ;-) Please reopen if that wouldn't help in your configuration.
works, thanks