Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 873568 Details for
Bug 916398
dev-java/junit-4.13.2::gentoo failed with jdk:21 (compile phase): error: unreported exception ClassNotFoundException; must be caught or declared to be thrown
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build log
build.log (text/plain), 8.21 KB, created by
Volkmar W. Pogatzki
on 2023-10-28 14:30:58 UTC
(
hide
)
Description:
build log
Filename:
MIME Type:
Creator:
Volkmar W. Pogatzki
Created:
2023-10-28 14:30:58 UTC
Size:
8.21 KB
patch
obsolete
>[32m * [39;49;00mPackage: dev-java/junit-4.13.2:4 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: java@gentoo.org >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux >[32m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >debug: eclass exists: /var/db/repos/gentoo/eclass/java-pkg-2.eclass >debug: inherit: java-pkg-2 -> /var/db/repos/gentoo/eclass/java-pkg-2.eclass >debug: *** Multiple Inheritance (Level: 2) >debug: eclass exists: /var/db/repos/gentoo/eclass/java-utils-2.eclass >debug: inherit: java-utils-2 -> /var/db/repos/gentoo/eclass/java-utils-2.eclass >debug: EXPORT_FUNCTIONS: pkg_setup -> java-pkg-2_pkg_setup >debug: EXPORT_FUNCTIONS: src_prepare -> java-pkg-2_src_prepare >debug: EXPORT_FUNCTIONS: src_compile -> java-pkg-2_src_compile >debug: EXPORT_FUNCTIONS: pkg_preinst -> java-pkg-2_pkg_preinst >debug: eclass exists: /var/db/repos/gentoo/eclass/java-pkg-simple.eclass >debug: inherit: java-pkg-simple -> /var/db/repos/gentoo/eclass/java-pkg-simple.eclass >debug: *** Multiple Inheritance (Level: 2) >debug: eclass exists: /var/db/repos/gentoo/eclass/java-utils-2.eclass >debug: inherit: java-utils-2 -> /var/db/repos/gentoo/eclass/java-utils-2.eclass >debug: EXPORT_FUNCTIONS: src_compile -> java-pkg-simple_src_compile >debug: EXPORT_FUNCTIONS: src_install -> java-pkg-simple_src_install >debug: EXPORT_FUNCTIONS: src_test -> java-pkg-simple_src_test >debug: java-pkg_init: entering function, parameters: >debug: java-pkg_switch-vm: entering function, parameters: >debug: java-pkg_needs-vm: entering function, parameters: >debug: depend-java-query: NV_DEPEND: > >=virtual/jdk-1.8:* > test? ( > dev-java/hamcrest-library:1.3 > ) > > dev-java/hamcrest-core:1.3 > >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip ) >debug: Using: openjdk-21 >debug: java-pkg_setup-vm: entering function, parameters: >debug: java-pkg_get-vm-vendor: entering function, parameters: >debug: java-pkg_javac-args: entering function, parameters: >debug: want source: 1.8 >debug: want target: 1.8 >debug: java-pkg_append_: entering function, parameters: LD_LIBRARY_PATH /usr/lib64/openjdk-21/lib/:/usr/lib64/openjdk-21/lib/server/ > [32m*[0m Using: openjdk-21 >>>> Unpacking source... >>>> Unpacking junit-4.13.2.tar.gz to /var/tmp/portage/dev-java/junit-4.13.2/work >>>> Source unpacked in /var/tmp/portage/dev-java/junit-4.13.2/work >>>> Preparing source in /var/tmp/portage/dev-java/junit-4.13.2/work ... >./junit4-r4.13.2/lib/hamcrest-core-1.3.jar >./junit4-r4.13.2/lib/hamcrest-core-1.3-sources.jar >./junit4-r4.13.2/.mvn/wrapper/maven-wrapper.jar >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-java/junit-4.13.2/work ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-java/junit-4.13.2/work ... >debug: java-pkg_gen-cp: entering function, parameters: JAVA_GENTOO_CLASSPATH >debug: java-pkg-simple_getclasspath: entering function, parameters: >debug: java-pkg_getjars: entering function, parameters: --with-dependencies hamcrest-core-1.3 >debug: hamcrest-core-1.3:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar >debug: java-pkg_ensure-dep: entering function, parameters: hamcrest-core-1.3 >debug: Matching against: /hamcrest-core(-1\.3(-[^:]+)?:0|(-[^:]+)?:1\.3)\b >debug: java-pkg_record-jar_: entering function, parameters: hamcrest-core-1.3 >debug: CLASSPATH=/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar >debug: java-pkg-simple_prepend_resources: entering function, parameters: target/classes junit4-r4.13.2/src/main/resources >debug: ejavac: entering function, parameters: -d target/classes -encoding ISO-8859-1 -classpath /usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar @sources.lst >debug: java-pkg_get-javac: entering function, parameters: >debug: java-pkg_init-compiler_: entering function, parameters: >debug: Read "" from /etc/java-config-2/build/compilers.conf >debug: java-pkg_javac-args: entering function, parameters: >debug: want source: 1.8 >debug: want target: 1.8 > [32m*[0m Verbose logging for "ejavac" function > [32m*[0m Compiler executable: javac > [32m*[0m Extra arguments: -source 1.8 -target 1.8 > [32m*[0m Complete command: > [32m*[0m javac -source 1.8 -target 1.8 -d target/classes -encoding ISO-8859-1 -classpath /usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar @sources.lst >javac -source 1.8 -target 1.8 -d target/classes -encoding ISO-8859-1 -classpath /usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar @sources.lst >warning: [options] bootstrap class path not set in conjunction with -source 8 >warning: [options] source value 8 is obsolete and will be removed in a future release >warning: [options] target value 8 is obsolete and will be removed in a future release >warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. >junit4-r4.13.2/src/main/java/org/junit/runner/Result.java:192: error: unreported exception ClassNotFoundException; must be caught or declared to be thrown > fCount = (AtomicInteger) fields.get("fCount", null); > ^ >junit4-r4.13.2/src/main/java/org/junit/runner/Result.java:193: error: unreported exception ClassNotFoundException; must be caught or declared to be thrown > fIgnoreCount = (AtomicInteger) fields.get("fIgnoreCount", null); > ^ >junit4-r4.13.2/src/main/java/org/junit/runner/Result.java:194: error: unreported exception ClassNotFoundException; must be caught or declared to be thrown > assumptionFailureCount = (AtomicInteger) fields.get("assumptionFailureCount", null); > ^ >junit4-r4.13.2/src/main/java/org/junit/runner/Result.java:195: error: unreported exception ClassNotFoundException; must be caught or declared to be thrown > fFailures = (List<Failure>) fields.get("fFailures", null); > ^ >junit4-r4.13.2/src/main/java/junit/framework/TestResult.java:145: warning: [removal] ThreadDeath in java.lang has been deprecated and marked for removal > } catch (ThreadDeath e) { // don't catch ThreadDeath by accident > ^ >junit4-r4.13.2/src/main/java/org/junit/internal/runners/statements/FailOnTimeout.java:145: warning: [removal] isDaemon() in ThreadGroup has been deprecated and marked for removal > if (!threadGroup.isDaemon()) { > ^ >junit4-r4.13.2/src/main/java/org/junit/internal/runners/statements/FailOnTimeout.java:151: warning: [removal] setDaemon(boolean) in ThreadGroup has been deprecated and marked for removal > threadGroup.setDaemon(true); > ^ >Note: Some input files use or override a deprecated API. >Note: Recompile with -Xlint:deprecation for details. >Note: Some input files use unchecked or unsafe operations. >Note: Recompile with -Xlint:unchecked for details. >4 errors >7 warnings > [31;01m*[0m ERROR: dev-java/junit-4.13.2::gentoo failed (compile phase): > [31;01m*[0m ejavac failed > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 136: Called src_compile > [31;01m*[0m environment, line 2382: Called java-pkg-simple_src_compile > [31;01m*[0m environment, line 862: Called ejavac '-d' 'target/classes' '-encoding' 'ISO-8859-1' '-classpath' '/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar' '@sources.lst' > [31;01m*[0m environment, line 613: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "${args[@]}" || die "ejavac failed" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-java/junit-4.13.2::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-java/junit-4.13.2::gentoo'`. >!!! When you file a bug report, please include the following information: >GENTOO_VM=openjdk-21 CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-21" >JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" >and of course, the output of emerge --info =junit-4.13.2 > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-java/junit-4.13.2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-java/junit-4.13.2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-java/junit-4.13.2/work' > [31;01m*[0m S: '/var/tmp/portage/dev-java/junit-4.13.2/work'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 916398
: 873568