Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874924 - dev-java/jdbc-postgresql-42.5.0 - jar failed
Summary: dev-java/jdbc-postgresql-42.5.0 - jar failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-10-04 16:26 UTC by Toralf Förster
Modified: 2022-10-11 13:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.88 KB, text/plain)
2022-10-04 16:26 UTC, Toralf Förster
Details
dev-java:jdbc-postgresql-42.5.0:20221004-001902.log (dev-java:jdbc-postgresql-42.5.0:20221004-001902.log,2.90 KB, text/plain)
2022-10-04 16:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,181.33 KB, text/plain)
2022-10-04 16:26 UTC, Toralf Förster
Details
environment (environment,93.15 KB, text/plain)
2022-10-04 16:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.39 KB, application/x-bzip)
2022-10-04 16:26 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.99 KB, application/x-bzip)
2022-10-04 16:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-04 16:26:19 UTC
	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"
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:26:20 UTC
Created attachment 818722 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:26:21 UTC
Created attachment 818725 [details]
dev-java:jdbc-postgresql-42.5.0:20221004-001902.log
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:26:23 UTC
Created attachment 818728 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:26:24 UTC
Created attachment 818731 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:26:25 UTC
Created attachment 818734 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:26:26 UTC
Created attachment 818737 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-11 13:14:28 UTC
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(-)