at java.util.jar.Manifest.<init>(Manifest.java:73) at sun.tools.jar.Main.run(Main.java:176) at sun.tools.jar.Main.main(Main.java:1288) * ERROR: dev-java/jdbc-postgresql-42.5.0::gentoo failed (compile phase): * jar failed * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-j4-20221002-183753 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.3.1 [2] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.1 Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * GENTOO_VM=openjdk-bin-8 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.345_p01" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] 3) Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 [3] openjdk-jre-bin-17 The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php7.4 [2] php8.0 [3] php8.1 * GNU Make 4.3 HEAD of ::gentoo commit 0ce3a88a2523c3faf802b73c24ce4412bd79f4df Merge: b71fa0a03e30 cd796d1da6f6 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Oct 3 23:17:29 2022 +0000 Merge updates from master emerge -qpvO dev-java/jdbc-postgresql [ebuild N ] dev-java/jdbc-postgresql-42.5.0 USE="-doc -source"
Created attachment 818722 [details] emerge-info.txt
Created attachment 818725 [details] dev-java:jdbc-postgresql-42.5.0:20221004-001902.log
Created attachment 818728 [details] emerge-history.txt
Created attachment 818731 [details] environment
Created attachment 818734 [details] etc.portage.tar.bz2
Created attachment 818737 [details] temp.tar.bz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c02b58de852189e468cbd0baffb3f5447b212e commit 47c02b58de852189e468cbd0baffb3f5447b212e Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-10-04 18:23:03 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2022-10-11 13:14:18 +0000 java-pkg-simple.eclass: improve MANIFEST.MF manipulation For adding Main-class and/or Automatic-module-name to MANIFEST.MF it seems better to use "jar" functionality at the end of compilation. This does the necessary checks and issues warnings in case of duplicate entries. Erroneously used existence checks ( -v ) were causing wrong entries in MANIFEST.MF files in case of JAVA_MAIN_CLASS="" which is often used in multi-jar ebuilds. Closes: https://bugs.gentoo.org/874924 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/27621 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> eclass/java-pkg-simple.eclass | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-)