Port details on branch 2024Q3 |
- openjdk17 Java Development Kit 17
- 17.0.11+9.1 java =0 17.0.11+9.1Version of this port present on the latest quarterly branch.
- Maintainer: java@FreeBSD.org
- Port Added: 2024-08-07 16:54:20
- Last Update: 2024-09-15 11:39:30
- Commit Hash: b561099
- Also Listed In: devel
- License: GPLv2
- WWW:
- https://openjdk.java.net/projects/jdk/17/
- Description:
- An open-source implementation of the Java Platform, Standard Edition,
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- openjdk17>0:java/openjdk17
- To install the port:
- cd /usr/ports/java/openjdk17/ && make install clean
- To add the package, run one of these commands:
- pkg install java/openjdk17
- pkg install openjdk17
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: openjdk17
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 i386 powerpc64 powerpc64le
- distinfo:
- TIMESTAMP = 1714539812
SHA256 (battleblow-jdk17u-jdk-17.0.11+9-1_GH0.tar.gz) = b4282b1aa773482a5d45c7b3c806042d4ef8217c5bb1bbb397616fb5f0345006
SIZE (battleblow-jdk17u-jdk-17.0.11+9-1_GH0.tar.gz) = 106698083
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:
- Slave ports:
-
- java/openjdk17-jre
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- zip : archivers/zip
- autoconf>0 : devel/autoconf
- cups.h : print/cups
- bash : shells/bash
- gsed : textproc/gsed
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- javac : java/bootstrap-openjdk17
- gcc13 : lang/gcc13
- as : devel/binutils
- x11.pc : x11/libX11
- xext.pc : x11/libXext
- xi.pc : x11/libXi
- xrandr.pc : x11/libXrandr
- xrender.pc : x11/libXrender
- xt.pc : x11-toolkits/libXt
- xtst.pc : x11/libXtst
- Runtime dependencies:
-
- javavm : java/javavmwrapper
- xorg-fonts-truetype>0 : x11-fonts/xorg-fonts-truetype
- gcc13 : lang/gcc13
- x11.pc : x11/libX11
- xext.pc : x11/libXext
- xi.pc : x11/libXi
- xrandr.pc : x11/libXrandr
- xrender.pc : x11/libXrender
- xt.pc : x11-toolkits/libXt
- xtst.pc : x11/libXtst
- Library dependencies:
-
- libasound.so : audio/alsa-lib
- libfontconfig.so : x11-fonts/fontconfig
- libfreetype.so : print/freetype2
- libgif.so : graphics/giflib
- libharfbuzz.so : print/harfbuzz
- liblcms2.so : graphics/lcms2
- libpng.so : graphics/png
- libjpeg.so : graphics/jpeg-turbo
- This port is required by:
- for Run
-
- devel/jenkins
- www/tomcat-devel
Configuration Options:
- No options to configure
- Options name:
- java_openjdk17
- USES:
- compiler:features cpe gmake iconv jpeg pkgconfig xorg
- pkg-message:
- For install:
- This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and
procfs(5) mounted on /proc.
If you have not done it yet, please do the following:
mount -t fdescfs fdesc /dev/fd
mount -t procfs proc /proc
To make it permanent, you need the following lines in /etc/fstab:
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
- Master Sites:
|
Number of commits found: 2
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
17.0.11+9.1 15 Sep 2024 11:39:30 |
Dimitry Andric (dim) |
java/openjdk8 java/openjdk11 java/openjdk17 java/openjdk18 java/openjdk19
java/openjdk20 java/openjdk21 java/openjdk22: disable warnings as errors
Generally disable warnings-as-errors for all openjdk ports, removing all
the conditionals we have now for particular architectures and/or
compilers. It does not make sense to have this on by default, unless you
are an upstream maintainer.
PR: 281188
Approved by: maintainer timeout (2 weeks)
MFH: 2024Q3
(cherry picked from commit 3378cc494de65725a36e8ff5aaa205273521ba52) |
17.0.11+9.1 07 Aug 2024 16:51:46 |
Dimitry Andric (dim) |
java/openjdk17: fix build with clang 19
Clang 19 has a number of new warnings, and because java/openjdk17
compiles with -Werror by default, it results in errors similar to:
/wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.12-7-1/src/hotspot/os/posix/signals_posix.cpp:1681:20:
error: cast from 'void (*)(int, siginfo_t *, ucontext_t *)' (aka 'void (*)(int,
__siginfo *, __ucontext *)') to 'void (*)(int)' converts to incompatible
function type [-Werror,-Wcast-function-type-mismatch]
1681 | act.sa_handler = (void (*)(int)) SR_handler;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
I propose to disable warnings-as-errors for this port, similar to what
is already done for openjdk8 and openjdk11. It does not make sense to
have this on by default, unless you are an upstream maintainer.
PR: 280561
Approved by: glewis (maintainer)
MFH: 2024Q3
(cherry picked from commit 4c37f9f5f253a5701fa94ddfc00520889bca9ea4) |
Number of commits found: 2
|