* Package: dev-java/jnr-posix-3.0.10-r1 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_x86_32 elibc_glibc kernel_linux test userland_GNU x86 * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Using: icedtea-bin-8 >>> Unpacking source... >>> Unpacking jnr-posix-3.0.10.tar.gz to /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work >>> Source unpacked in /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work >>> Preparing source in /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10 ... cElementTree rewriter >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10 ... * Disabling all optional ANT_TASKS Buildfile: /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/build.xml test-offline: get-deps: compile: [mkdir] Created dir: /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/target/classes [javac] Compiling 92 source files to /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/target/classes [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/main/java/jnr/posix/POSIXFactory.java:3: warning: [deprecation] Library in jnr.ffi has been deprecated [javac] import jnr.ffi.Library; [javac] ^ [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/main/java/jnr/posix/BaseNativePOSIX.java:485: warning: [deprecation] fcntl(int,Fcntl,int...) in POSIX has been deprecated [javac] public int fcntl(int fd, Fcntl fcntl, int... arg) { [javac] ^ [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/main/java/jnr/posix/CheckedPOSIX.java:386: warning: [deprecation] fcntl(int,Fcntl,int...) in POSIX has been deprecated [javac] public int fcntl(int fd, Fcntl fcntlConst, int... arg) { [javac] ^ [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/main/java/jnr/posix/JavaPOSIX.java:481: warning: [deprecation] fcntl(int,Fcntl,int...) in POSIX has been deprecated [javac] public int fcntl(int fd, Fcntl fcntlConst, int... arg) { [javac] ^ [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/main/java/jnr/posix/LazyPOSIX.java:382: warning: [deprecation] fcntl(int,Fcntl,int...) in POSIX has been deprecated [javac] public int fcntl(int fd, Fcntl fcntlConst, int... arg) { [javac] ^ [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/main/java/jnr/posix/POSIXFactory.java:223: warning: [deprecation] Library in jnr.ffi has been deprecated [javac] public static LibC libc = Library.loadLibrary(libraryInterface(), options(), libraries()); [javac] ^ [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/main/java/jnr/posix/POSIXFactory.java:223: warning: [deprecation] loadLibrary(Class,Map,String...) in Library has been deprecated [javac] public static LibC libc = Library.loadLibrary(libraryInterface(), options(), libraries()); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in method loadLibrary(Class,Map,String...) [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/main/java/jnr/posix/POSIXFunctionMapper.java:12: warning: [deprecation] getLibrary() in Context has been deprecated [javac] if (ctx.getLibrary().getName().equals("msvcrt")) { [javac] ^ [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/main/java/jnr/posix/POSIXFunctionMapper.java:12: warning: [deprecation] getName() in Library has been deprecated [javac] if (ctx.getLibrary().getName().equals("msvcrt")) { [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 9 warnings compile-tests: test-junit-present: test-junit-status: junit-missing: test: package: [jar] Building jar: /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/target/jnr-posix.jar jar: BUILD SUCCESSFUL Total time: 3 seconds >>> Source compiled. >>> Test phase: dev-java/jnr-posix-3.0.10-r1 * Using following ANT_TASKS: ant-junit4 Buildfile: /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/build.xml test-offline: get-deps: compile: compile-tests: [mkdir] Created dir: /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/target/test-classes [javac] Compiling 17 source files to /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/target/test-classes [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/test/java/jnr/posix/SpawnTest.java:4: warning: [deprecation] Library in jnr.ffi has been deprecated [javac] import jnr.ffi.Library; [javac] ^ [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/test/java/jnr/posix/DTableSizeTest.java:19: warning: [deprecation] assertThat(T,Matcher) in Assert has been deprecated [javac] assertThat(dtablesize, not(-1)); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in method assertThat(T,Matcher) [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/test/java/jnr/posix/FileTest.java:169: warning: [deprecation] fcntl(int,Fcntl,int...) in POSIX has been deprecated [javac] int dupFd = posix.fcntl(oldFd, Fcntl.F_DUPFD, newFd); [javac] ^ [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/test/java/jnr/posix/SpawnTest.java:35: warning: [deprecation] Library in jnr.ffi has been deprecated [javac] libc = Library.loadLibrary(LibC.class, "c"); [javac] ^ [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/test/java/jnr/posix/SpawnTest.java:35: warning: [deprecation] loadLibrary(Class,String...) in Library has been deprecated [javac] libc = Library.loadLibrary(LibC.class, "c"); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in method loadLibrary(Class,String...) [javac] /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/src/test/java/jnr/posix/util/DefaultPOSIXHandlerTest.java:23: warning: [deprecation] assertThat(T,Matcher) in Assert has been deprecated [javac] assertThat(pid, equalTo(pid_from_jmx)); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in method assertThat(T,Matcher) [javac] 6 warnings test-junit-present: test-junit-status: junit-missing: test: [mkdir] Created dir: /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/target/test-reports [junit] Running jnr.posix.DTableSizeTest [junit] Testsuite: jnr.posix.DTableSizeTest [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.982 sec [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.982 sec [junit] ------------- Standard Error ----------------- [junit] Successfully loaded native POSIX impl. [junit] ------------- ---------------- --------------- [junit] [junit] Testcase: testGetDtableSize took 0.694 sec [junit] Running jnr.posix.FileStatTest [junit] Testsuite: jnr.posix.FileStatTest [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.578 sec [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.578 sec [junit] ------------- Standard Error ----------------- [junit] Successfully loaded native POSIX impl. [junit] ------------- ---------------- --------------- [junit] [junit] Testcase: filestatInt took 0.476 sec [junit] Testcase: filestat took 0.002 sec [junit] Testcase: structStatSize took 0.001 sec [junit] Running jnr.posix.FileTest [junit] Testsuite: jnr.posix.FileTest [junit] Tests run: 18, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 4.679 sec [junit] Tests run: 18, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 4.679 sec [junit] ------------- Standard Error ----------------- [junit] Successfully loaded native POSIX impl. [junit] ------------- ---------------- --------------- [junit] [junit] Testcase: dup2Test took 0.47 sec [junit] Testcase: flockTest took 0 sec [junit] Testcase: pwriteTest took 0.004 sec [junit] Testcase: mkdirRelativeTest took 0.001 sec [junit] Testcase: futimeTest took 2.014 sec [junit] Testcase: unlinkTest took 0 sec [junit] Testcase: writeTest took 0 sec [junit] Testcase: fcntlDupfdTest took 0.014 sec [junit] Caused an ERROR [junit] Stream Closed [junit] java.io.IOException: Stream Closed [junit] at java.io.FileInputStream.readBytes(Native Method) [junit] at java.io.FileInputStream.read(FileInputStream.java:255) [junit] at jnr.posix.FileTest.fcntlDupfdTest(FileTest.java:154) [junit] [junit] Testcase: fcntlTest took 0.002 sec [junit] Testcase: openTest took 0.001 sec [junit] Testcase: closeTest took 0.006 sec [junit] Testcase: fchmodTest took 0.001 sec [junit] Testcase: ftruncateTest took 0.001 sec [junit] Testcase: linkTest took 0.001 sec [junit] Testcase: utimeTest took 2.003 sec [junit] Testcase: fcntlDupfdWithArgTest took 0.002 sec [junit] Caused an ERROR [junit] Stream Closed [junit] java.io.IOException: Stream Closed [junit] at java.io.FileInputStream.readBytes(Native Method) [junit] at java.io.FileInputStream.read(FileInputStream.java:255) [junit] at jnr.posix.FileTest.fcntlDupfdWithArgTest(FileTest.java:174) [junit] [junit] Testcase: mkdirAbsoluteTest took 0 sec [junit] Testcase: dupTest took 0.001 sec BUILD FAILED /var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10/build.xml:100: Test jnr.posix.FileTest failed Total time: 10 seconds * ERROR: dev-java/jnr-posix-3.0.10-r1::gentoo failed (test phase): * eant failed * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 2982: Called eant 'test' '-DJunit.present=true' * environment, line 521: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of `emerge --info '=dev-java/jnr-posix-3.0.10-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/jnr-posix-3.0.10-r1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-bin-8 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.16.0" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="javac" and of course, the output of emerge --info =jnr-posix-3.0.10 * The complete build log is located at '/var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10' * S: '/var/tmp/portage/dev-java/jnr-posix-3.0.10-r1/work/jnr-posix-3.0.10'