Open terroo opened 2 years ago
Hi, I have just tried
emerge -a1v dev-java/kotlin-stdlib-bootstrap:1.6 dev-java/kotlin-reflect-bootstrap:1.6
emerge -a1v kotlin-bin:1.6
emerge -1 dev-java/kotlin-stdlib:1.6 dev-java/kotlin-reflect:1.6
without failure.
I used
* Using: openjdk-bin-11
* Using Kotlin compiler package: kotlin-bin-1.6
to compile dev-java/kotlin-stdlib.
Could you please try it again (with jdk:11, I suppose)?
If you still encounter the same problem, could you please provide the output of emerge --info '=dev-java/kotlin-stdlib-1.6.10::spark-overlay'
and so on for us to reproduce the bug?
sudo emerge --oneshot dev-java/kotlin-stdlib dev-java/kotlin-reflect
These are the packages that would be merged, in order:
Calculating dependencies... done! [ebuild N ] dev-java/kotlin-protobuf-lite-2.6.1 USE="-doc -source" [ebuild N ] dev-java/javax-inject-1-r4 USE="-doc -source" [ebuild N ] virtual/kotlin-1.6 [ebuild N ] dev-java/kotlin-annotations-jvm-1.6.10 USE="-binary -source -test" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-core-builtins-1.6.10 USE="-source" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-stdlib-1.6.10 USE="-binary -source -test" KOTLIN_SINGLE_TARGET="kotlin1-6" [uninstall ] dev-java/kotlin-stdlib-bootstrap-1.6.10 [blocks b ] dev-java/kotlin-stdlib:1.6 ("dev-java/kotlin-stdlib:1.6" is soft blocking dev-java/kotlin-stdlib-bootstrap-1.6.10) [ebuild N ] dev-java/kotlin-core-util-runtime-1.6.10 USE="-source" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-core-metadata-1.6.10 USE="-source" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-core-compiler-common-1.6.10 USE="-source" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-core-metadata-jvm-1.6.10 USE="-source" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-core-deserialization-common-1.6.10 USE="-source" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-core-compiler-common-jvm-1.6.10 USE="-source" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-core-descriptors-1.6.10 USE="-source" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-core-deserialization-1.6.10 USE="-source" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-core-deserialization-common-jvm-1.6.10 USE="-source" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-core-descriptors-jvm-1.6.10 USE="-source" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-core-descriptors-runtime-1.6.10 USE="-source" KOTLIN_SINGLE_TARGET="kotlin1-6" [ebuild N ] dev-java/kotlin-reflect-1.6.10 USE="-binary -source -test" KOTLIN_SINGLE_TARGET="kotlin1-6" [uninstall ] dev-java/kotlin-reflect-bootstrap-1.6.10 [blocks b ] dev-java/kotlin-reflect:1.6 ("dev-java/kotlin-reflect:1.6" is soft blocking dev-java/kotlin-reflect-bootstrap-1.6.10)
Would you like to merge these packages? [Yes/No] y
Messages for package dev-java/kotlin-stdlib-1.6.10:
ERROR: dev-java/kotlin-stdlib-1.6.10::spark-overlay failed (compile phase):
Failed to compile Java sources
Call stack:
ebuild.sh, line 122: Called src_compile
environment, line 2808: Called kotlin-libs_src_compile
environment, line 2454: Called kotlin-utils_src_compile
environment, line 2698: Called die
The specific snippet of code:
$(java-pkg_get-javac) -d "${KOTLIN_UTILS_CLASSES}" -classpath "${java_classpath}" -encoding "${JAVA_ENCODING}" ${KOTLIN_JAVA_WANT_SOURCE_TARGET:+-source "${KOTLIN_JAVA_WANT_SOURCE_TARGET}"} ${KOTLIN_JAVA_WANT_SOURCE_TARGET:+-target "${KOTLIN_JAVA_WANT_SOURCE_TARGET}"} "${KOTLIN_JAVAC_ARGS[@]}" "@${java_sources}" || die "Failed to compile Java sources";
If you need support, post the output of
emerge --info '=dev-java/kotlin-stdlib-1.6.10::spark-overlay'
,the complete build log and the output of
emerge -pqv '=dev-java/kotlin-stdlib-1.6.10::spark-overlay'
.The complete build log is located at '/var/tmp/portage/dev-java/kotlin-stdlib-1.6.10/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/dev-java/kotlin-stdlib-1.6.10/temp/environment'.
Working directory: '/var/tmp/portage/dev-java/kotlin-stdlib-1.6.10/work/kotlin-1.6.10'
S: '/var/tmp/portage/dev-java/kotlin-stdlib-1.6.10/work/kotlin-1.6.10'
GNU info directory index is up-to-date.