notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
openjdk17 Java Development Kit 17
17.0.1+12.1 java on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 17+35.1Version of this port present on the latest quarterly branch.
Maintainer: java@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2021-09-25 18:33:07
Last Update: 2021-11-27 16:50:26
Commit Hash: 11b6514
Also Listed In: devel
License: GPLv2
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/openjdk17-17.0.1+12.1/catalog.mk
  2. /usr/local/share/licenses/openjdk17-17.0.1+12.1/LICENSE
  3. /usr/local/share/licenses/openjdk17-17.0.1+12.1/GPLv2
Collapse this list.
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
PKGNAME: openjdk17
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 powerpc64 powerpc64le
distinfo:
Packages (timestamps in pop-ups are UTC):
openjdk17
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd6417+35.1-
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd6417.0.1+12.117+35.1
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd6417.0.1+12.117+35.1
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch6417.0.1+12.1-
FreeBSD:14:amd6417.0.1+12.1-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. zip : archivers/zip
  2. autoconf>0 : devel/autoconf
  3. cups.h : print/cups
  4. bash : shells/bash
  5. gsed : textproc/gsed
  6. gmake>=4.3 : devel/gmake
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. javac : java/bootstrap-openjdk17
  9. gcc10 : lang/gcc10
  10. as : devel/binutils
  11. x11.pc : x11/libX11
  12. xext.pc : x11/libXext
  13. xi.pc : x11/libXi
  14. xrandr.pc : x11/libXrandr
  15. xrender.pc : x11/libXrender
  16. xt.pc : x11-toolkits/libXt
  17. xtst.pc : x11/libXtst
Runtime dependencies:
  1. javavm : java/javavmwrapper
  2. xorg-fonts-truetype>0 : x11-fonts/xorg-fonts-truetype
  3. gcc10 : lang/gcc10
  4. x11.pc : x11/libX11
  5. xext.pc : x11/libXext
  6. xi.pc : x11/libXi
  7. xrandr.pc : x11/libXrandr
  8. xrender.pc : x11/libXrender
  9. xt.pc : x11-toolkits/libXt
  10. xtst.pc : x11/libXtst
Library dependencies:
  1. libasound.so : audio/alsa-lib
  2. libfontconfig.so : x11-fonts/fontconfig
  3. libfreetype.so : print/freetype2
  4. libgif.so : graphics/giflib
  5. libharfbuzz.so : print/harfbuzz
  6. liblcms2.so : graphics/lcms2
  7. libpng.so : graphics/png
  8. libjpeg.so : graphics/jpeg-turbo
There are no ports dependent upon this port

Configuration Options:
Options name:

USES:

pkg-message:
For install:
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/battleblow/jdk17u/tar.gz/jdk-17.0.1+12-1?dummy=/
Collapse this list.

Number of commits found: 10

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
27 Nov 2021 16:50:26
 files touched by this commit commit hash:11b6514a0129daac85f9600d49d6420844cf96d1  17.0.1+12.1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Use the bootstrap port on supported ARCHs
24 Nov 2021 06:42:07
 files touched by this commit commit hash:c6c4d2ead2fd5b460e0ab975c13e3479065b21f6  17.0.1+12.1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Fix WWW link to point to JDK 17

PR:		259167
Reported by:	cedric@precidata.com
31 Oct 2021 18:07:41
 files touched by this commit commit hash:a9d52e329d39fb914170e582065f10f079eb4c5b  17.0.1+12.1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Update to 17.0.1
16 Oct 2021 12:22:03
 files touched by this commit commit hash:3822416493cfbbed8fe7a487391b40bec956d671  17+35.1_2
Dimitry Andric (dim) search for other commits by this committer
java/openjdk*: work around UB in markOopDesc, fix builds with clang 13

During an exp-run for llvm 13 (see bug 258209), it turned out that
java/openjdk11 through openjdk13 fail to build with clang 13:

=== Output from failing command(s) repeated here ===
* For target jdk__packages_attribute.done:

These crashes are all caused by the markOop/markOopDesc classes, which
are used to keep track of objects, and which are 'marked' using the low
few bits. (See
https://github.com/openjdk/jdk13u/blob/master/src/hotspot/share/oops/markOop.hpp
).

After some laborious bisecting, I found out that these crashes start
(Only the first 15 lines of the commit message are shown above View all of this commit message)
10 Oct 2021 00:28:41
 files touched by this commit commit hash:c1b344b0113225b3e2cba70ffc9f571f14c734f1  17+35.1_1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Fix libfontmanager linkage

* Backport the fix from jdk17u so that --with-harfbuzz=system adds
  -lharfbuzz when linking libfontmanager.so

Reported by:	barulheira@gmail.com
05 Oct 2021 12:06:38
 files touched by this commit commit hash:fb734e4565b65fb1a3d8efacb445900c2e0b131f  17+35.1
Mikael Urankar (mikael) search for other commits by this committer
java/openjdk17: Fix build on aarch64.

Fully initialize FrameForm: Corrects adlc segfault when malloc junk options are
set.

Approved by:	portmgr (build fix blanket)
05 Oct 2021 12:00:36
 files touched by this commit commit hash:9c7b32b9b7f3c0aea08c32560de1f56eb4ba8394  17+35.1
Mikael Urankar (mikael) search for other commits by this committer
java/openjdk17: Remove enable-aot configure argument.

The Experimental AOT and JIT Compiler were remove in OpenJDK17:
https://openjdk.java.net/jeps/410

Remove this configure argument as it causes build failure on aarch64:
configure: error: unrecognized options: --enable-aot

Approved by:	portmgr (build fix blanket)
30 Sep 2021 22:19:01
 files touched by this commit commit hash:225ed0ac7682711ef0524a19e2c37a64c8d39745  17+35.1
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk17: enable on powerpc64

While here, sort ONLY_FOR_ARCHS.
29 Sep 2021 21:55:53
 files touched by this commit commit hash:670c3c8cd9bde6a4ebc7d79a0087e98f0e3446b9  17+35.1
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk17: port to powerpc64le
25 Sep 2021 18:28:38
 files touched by this commit commit hash:1b1bfbaab23ca81e34ff9ae88c0e0ec375122856  17+35.1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Add a port of OpenJDK 17

* Add a port of OpenJDK 17
* Restrict to amd64 and aarch64 until more platforms are tested

Number of commits found: 10