Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916787 - sci-libs/gdal-3.7.2: fails with jdk:21 - error: Source option 7 is no longer supported. Use 8 or later.
Summary: sci-libs/gdal-3.7.2: fails with jdk:21 - error: Source option 7 is no longer ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: jdk21
  Show dependency tree
 
Reported: 2023-11-04 08:51 UTC by Toralf Förster
Modified: 2024-04-11 10:02 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.65 KB, text/plain)
2023-11-04 08:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,182.63 KB, text/plain)
2023-11-04 08:51 UTC, Toralf Förster
Details
environment (environment,189.86 KB, text/plain)
2023-11-04 08:51 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.04 KB, application/x-xz)
2023-11-04 08:51 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,29.42 KB, application/x-xz)
2023-11-04 08:51 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,53.13 KB, application/x-xz)
2023-11-04 08:51 UTC, Toralf Förster
Details
sci-libs:gdal-3.7.2:20231104-052215.log.xz (sci-libs:gdal-3.7.2:20231104-052215.log.xz,49.55 KB, application/x-xz)
2023-11-04 08:51 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,88.29 KB, application/x-xz)
2023-11-04 08:51 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 2023-11-04 08:51:19 UTC
    [javac] Compiling 82 source files to /var/tmp/portage/sci-libs/gdal-3.7.2/work/gdal-3.7.2_build/swig/java/build/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
    [javac] error: Source option 7 is no longer supported. Use 8 or later.
    [javac] error: Target option 7 is no longer supported. Use 8 or later.

BUILD FAILED
/var/tmp/portage/sci-libs/gdal-3.7.2/work/gdal-3.7.2/swig/java/build.xml:25: Compile failed; see the compiler error output for details.

Total time: 0 seconds

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20231031-091011

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.4
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
GENTOO_VM=openjdk-bin-21  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-21.0.1_p12"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.21.3 linux/amd64

  HEAD of ::gentoo
commit 06ced47e02e5d68d5265c28ec977a323621d8bd6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 4 00:31:59 2023 +0000

    2023-11-04 00:31:58 UTC

emerge -qpvO sci-libs/gdal
[ebuild  N    ] sci-libs/gdal-3.7.2  USE="curl gif heif java jpeg lzma netcdf png postgres zstd -armadillo (-doc) -fits -geos -gml -hdf5 -jpeg2k -mysql -odbc -ogdi -opencl -oracle -pdf -python -spatialite -sqlite -test -webp -xls" CPU_FLAGS_X86="avx avx2 sse sse2 sse4_1 ssse3" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-11-04 08:51:19 UTC
Created attachment 874025 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-04 08:51:21 UTC
Created attachment 874026 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-11-04 08:51:22 UTC
Created attachment 874027 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-04 08:51:23 UTC
Created attachment 874028 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-04 08:51:24 UTC
Created attachment 874029 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-04 08:51:25 UTC
Created attachment 874030 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-04 08:51:26 UTC
Created attachment 874031 [details]
sci-libs:gdal-3.7.2:20231104-052215.log.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-04 08:51:28 UTC
Created attachment 874032 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-04-11 10:02:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc5b1497ddd632a0f559e4cdf14d98dc2ae589f5

commit cc5b1497ddd632a0f559e4cdf14d98dc2ae589f5
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-02-16 07:36:58 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-04-11 10:01:30 +0000

    sci-libs/gdal: drop 3.7.1, 3.7.2
    
    Closes: https://bugs.gentoo.org/916787
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-libs/gdal/Manifest          |   4 -
 sci-libs/gdal/gdal-3.7.1.ebuild | 286 ----------------------------------------
 sci-libs/gdal/gdal-3.7.2.ebuild | 286 ----------------------------------------
 3 files changed, 576 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36d365c38a240d902e66c944296e730ab20c21e4

commit 36d365c38a240d902e66c944296e730ab20c21e4
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-02-03 08:25:07 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-04-11 10:01:28 +0000

    sci-libs/gdal: gdal-3.8.0-java21.patch
    
    also no longer depends on deprecated dev-java/ant-core
    
    Bug: https://bugs.gentoo.org/916787
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-libs/gdal/files/gdal-3.8.0-java21.patch          | 20 ++++++++++++++++++++
 .../gdal/{gdal-3.8.0.ebuild => gdal-3.8.0-r1.ebuild} |  3 ++-
 2 files changed, 22 insertions(+), 1 deletion(-)