Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187721 - dev-java/commons-io-1.3.2 sandbox violation
Summary: dev-java/commons-io-1.3.2 sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-04 12:47 UTC by Patrizio Bassi
Modified: 2007-08-05 11:20 UTC (History)
1 user (show)

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


Attachments
commons-io-1.3.2-build.xml.patch (commons-io-1.3.2-build.xml.patch,1.02 KB, patch)
2007-08-05 07:42 UTC, LeonBernieniv
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2007-08-04 12:47:11 UTC
>>> 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.
Comment 1 DrChandra the Gentoo Person 2007-08-04 18:51:51 UTC
A workaround for this is:

mkdir -p /root/.maven/repository

(Assuming "root" is the name of the user being used to do the emerge.)
Comment 2 Patrizio Bassi 2007-08-04 19:58:20 UTC
you're right, but it's a workaround , we need ebuild fix :)
Comment 3 LeonBernieniv 2007-08-05 07:42:51 UTC
Created attachment 126922 [details, diff]
commons-io-1.3.2-build.xml.patch
Comment 4 Miroslav Šulc gentoo-dev 2007-08-05 07:59:40 UTC
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.
Comment 5 Patrizio Bassi 2007-08-05 11:20:04 UTC
works, thanks