* Using: sun-jdk-1.6 >>> Unpacking source... >>> Unpacking jna-posix-1.0.1.tar.bz2 to /var/tmp/portage/dev-java/jna-posix-1.0.1/work >>> Source unpacked in /var/tmp/portage/dev-java/jna-posix-1.0.1/work >>> Preparing source in /var/tmp/portage/dev-java/jna-posix-1.0.1/work/jna-posix-1.0.1 ... Searching for bundled jars: None found. Searching for bundled classes (no output if none found): Search done. >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/jna-posix-1.0.1/work/jna-posix-1.0.1 ... Rewriting attributes Rewriting ./build.xml >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/jna-posix-1.0.1/work/jna-posix-1.0.1 ... * Disabling all optional ANT_TASKS Buildfile: build.xml -pre-init: -init-private: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-macrodef-nbjpda: -init-debug-args: -init-macrodef-debug: -init-macrodef-java: -init-presetdef-jar: init: deps-jar: -pre-pre-compile: [mkdir] Created dir: /var/tmp/portage/dev-java/jna-posix-1.0.1/work/jna-posix-1.0.1/build/classes -pre-compile: -compile-depend: -do-compile: [javac] Compiling 55 source files to /var/tmp/portage/dev-java/jna-posix-1.0.1/work/jna-posix-1.0.1/build/classes -post-compile: compile: -pre-jar: -pre-pre-jar: [mkdir] Created dir: /var/tmp/portage/dev-java/jna-posix-1.0.1/work/jna-posix-1.0.1/dist -do-jar-with-manifest: -do-jar-without-manifest: [j2seproject1:jar] Building jar: /var/tmp/portage/dev-java/jna-posix-1.0.1/work/jna-posix-1.0.1/dist/jna-posix.jar -do-jar-with-mainclass: -do-jar-with-libraries: -post-jar: jar: BUILD SUCCESSFUL Total time: 2 seconds >>> Source compiled. * Using following ANT_TASKS: ant-junit4 Buildfile: build.xml -pre-init: -init-private: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-macrodef-nbjpda: -init-debug-args: -init-macrodef-debug: -init-macrodef-java: -init-presetdef-jar: init: deps-jar: -pre-pre-compile: -pre-compile: -compile-depend: -do-compile: -post-compile: compile: -pre-pre-compile-test: [mkdir] Created dir: /var/tmp/portage/dev-java/jna-posix-1.0.1/work/jna-posix-1.0.1/build/test/classes -pre-compile-test: -compile-test-depend: -do-compile-test: [javac] Compiling 6 source files to /var/tmp/portage/dev-java/jna-posix-1.0.1/work/jna-posix-1.0.1/build/test/classes -post-compile-test: compile-test: -pre-test-run: [mkdir] Created dir: /var/tmp/portage/dev-java/jna-posix-1.0.1/work/jna-posix-1.0.1/build/test/results -do-test-run: [junit] Testsuite: org.jruby.ext.posix.GroupTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.246 sec [junit] [junit] Testsuite: org.jruby.ext.posix.HeapStructTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.194 sec [junit] [junit] Testsuite: org.jruby.ext.posix.IDTest [junit] Tests run: 2, Failures: 2, Errors: 0, Time elapsed: 0.234 sec [junit] [junit] Testcase: getuid(org.jruby.ext.posix.IDTest): FAILED [junit] Java posix did not return same value as native posix expected:<0> but was:<32767> [junit] junit.framework.AssertionFailedError: Java posix did not return same value as native posix expected:<0> but was:<32767> [junit] at org.jruby.ext.posix.IDTest.getuid(IDTest.java:65) [junit] [junit] [junit] Testcase: getgid(org.jruby.ext.posix.IDTest): FAILED [junit] Java posix did not return same value as native posix expected:<0> but was:<32767> [junit] junit.framework.AssertionFailedError: Java posix did not return same value as native posix expected:<0> but was:<32767> [junit] at org.jruby.ext.posix.IDTest.getgid(IDTest.java:68) [junit] [junit] [junit] Test org.jruby.ext.posix.IDTest FAILED [junit] Testsuite: org.jruby.ext.posix.JavaFileStatTest [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.144 sec [junit] [junit] Testsuite: org.jruby.ext.posix.PasswdTest [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.252 sec [junit] test-report: -post-test-run: BUILD FAILED /var/tmp/portage/dev-java/jna-posix-1.0.1/work/jna-posix-1.0.1/nbproject/build-impl.xml:540: Some tests failed; see details above. Total time: 4 seconds * * ERROR: dev-java/jna-posix-1.0.1 failed. * Call stack: * ebuild.sh, line 49: Called src_test * environment, line 4352: Called eant 'test' '-Dlibs.junit_4.classpath=/usr/share/hamcrest-core/lib/hamcrest-core.jar:/usr/share/junit-4/lib/junit.jar' * environment, line 1022: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * The die message: * eant failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-java/jna-posix-1.0.1:20090706-211859.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/jna-posix-1.0.1/temp/environment'. * !!! 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.14" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac" and of course, the output of emerge --info >>> Install jna-posix-1.0.1 into /var/tmp/portage/dev-java/jna-posix-1.0.1/image/ category dev-java >>> Completed installing jna-posix-1.0.1 into /var/tmp/portage/dev-java/jna-posix-1.0.1/image/ * Removing /usr/share/doc * Removing /usr/share/man * Removing /usr/share/info