Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 187721
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Patrizio Bassi <hetfield666@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
commons-io-1.3.2-build.xml.patch commons-io-1.3.2-build.xml.patch patch LeonBernieniv 2007-08-05 07:42 0000 1.02 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 187721 depends on: Show dependency tree
Bug 187721 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-04 12:47 0000
>>> 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 From DrChandra the Gentoo Person 2007-08-04 18:51:51 0000 -------
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 From Patrizio Bassi 2007-08-04 19:58:20 0000 -------
you're right, but it's a workaround , we need ebuild fix :)

------- Comment #3 From LeonBernieniv 2007-08-05 07:42:51 0000 -------
Created an attachment (id=126922) [details]
Need a patch to build.xml.

------- Comment #4 From Miroslav Ć ulc 2007-08-05 07:59:40 0000 -------
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 From Patrizio Bassi 2007-08-05 11:20:04 0000 -------
works, thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug