notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
FreshPorts needs to find a new hosting provide willing to take a 2U chassis and host it free of charge. This is part of the FreshPorts project. Preferably in the Austin area. This is not a primary server, but it used for development.
Port details
openjdk12 Java Development Kit 12
12.0.2+10.4_4 java Deleted on this many watch lists=2 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 12.0.2+10.4_4Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: EOLed since 30 september 2019
Expired This port expired on: 2022-05-21
Maintainer: java@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-03-21 04:39:31
Last Update: 2022-05-24 20:09:35
Commit Hash: c7d1c24
People watching this port, also watch:: openjdk11, zrep
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/openjdk12-12.0.2+10.4_4/catalog.mk
  2. /usr/local/share/licenses/openjdk12-12.0.2+10.4_4/LICENSE
  3. /usr/local/share/licenses/openjdk12-12.0.2+10.4_4/GPLv2
Collapse this list.
Dependency lines:
  • openjdk12>0:java/openjdk12
No installation instructions:
This port has been deleted.
PKGNAME: openjdk12
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 i386 powerpc64 powerpc64le
distinfo:
Packages (timestamps in pop-ups are UTC):
openjdk12
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd6412.0.2+10.4_312.0.2+10.4_3
FreeBSD:11:armv6--
FreeBSD:11:i38612.0.2+10.4_312.0.2+10.4_3
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-12.0.2+10.4_4
FreeBSD:12:amd64-12.0.2+10.4_4
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i386-12.0.2+10.4_4
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64-12.0.2+10.4_4
FreeBSD:13:amd64-12.0.2+10.4_4
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386-12.0.2+10.4_4
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-12.0.2+10.4_3
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc6412.0.2+10.4_3-
 

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-openjdk11
  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. gcc10 : lang/gcc10
  3. x11.pc : x11/libX11
  4. xext.pc : x11/libXext
  5. xi.pc : x11/libXi
  6. xrandr.pc : x11/libXrandr
  7. xrender.pc : x11/libXrender
  8. xt.pc : x11-toolkits/libXt
  9. 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. liblcms2.so : graphics/lcms2
  6. libpng.so : graphics/png
  7. libjpeg.so : graphics/jpeg-turbo
NOTE: dependencies for deleted ports are notoriously suspect
This port is required by:
for Build

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. java/openjdk13*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

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/openjdk-jdk12u/tar.gz/jdk-12.0.2+10-4?dummy=/
Collapse this list.
Port Moves
  • port deleted on 2022-05-24
    REASON: Has expired: EOLed since 30 september 2019

Number of commits found: 48

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
24 May 2022 20:09:35
 files touched by this commit commit hash:c7d1c247d8ea8f87edd6a5012702a3cd10d99d49  12.0.2+10.4_4
Rene Ladan (rene) search for other commits by this committer
cleanup: remove expired versions of OpenJDK (12 through 16)

Adjust ports depending on expired versions of OpenJDK:
- biology/snpeff: 12+ -> 17+
- devel/RStudio: 12 -> 11
- www/closure-compiler: 13 -> 11+

Allow java/openjdk17 to use java/openjdk17-bootstrap on i386
too, this builds just fine on 13.1-i386

Remove jdk12-doc as it is no longer relevant.

Clean up Java version calculations in bsd.java.mk

Reviewed by: jwb, java (glewis)

Differential Revision: https://reviews.freebsd.org/D35280
21 Apr 2022 08:24:58
 files touched by this commit commit hash:fe30b5124c358e4e46df1a3b7649438f137461de  12.0.2+10.4_4
Baptiste Daroussin (bapt) search for other commits by this committer
openjdk: mark as deprecated all EOLed version of openjdk

The current supported version of openjdk are:
8 (LTS) up to 31 march 2025
11 (LTS) up to 30 september 2026
17 (LTS) up to 20 september 2031
18 up to 30 september 2022

All other version have expired long ago
16 Oct 2021 12:22:03
 files touched by this commit commit hash:3822416493cfbbed8fe7a487391b40bec956d671  12.0.2+10.4_4
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)
30 Sep 2021 21:23:30
 files touched by this commit commit hash:620968a43a5f9bb3fa98ab20f257a4c0d864caa7  12.0.2+10.4_3
Rene Ladan (rene) search for other commits by this committer
cleanup: drop support for EOL FreeBSD 11.X

Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
11 Sep 2021 11:32:00
 files touched by this commit commit hash:7411d1f5504fb328f3f8e1311ff21e74807c702e  12.0.2+10.4_3
Bernhard Froehlich (decke) search for other commits by this committer
java/openjdk12: Add CPE information

Approved by:	portmgr (blanket)
29 May 2021 14:08:18
 files touched by this commit commit hash:d6f8398fa2774d0e8eb6ab29b40b6ef0b16ba133  12.0.2+10.4_3
Dimitry Andric (dim) search for other commits by this committer
java/openjdk12: fix build with clang 12

During an exp-run for llvm 12 (see bug 255570), it turned out that
java/openjdk11 does not build with clang 12.0.0:

Creating support/demos/image/jfc/J2Ddemo/J2Ddemo.jar
/usr/local/bin/bash: line 5: 49140 Abort trap		   (core dumped)
/wrkdirs/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/support/interim-image/bin/java
-XX:DumpLoadedClassList=/wrkdirs/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/support/link_opt/classlist.raw
-Djava.lang.invoke.MethodHandle.TRACE_RESOLVE=true -cp
/wrkdirs/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/support/classlist.jar
build.tools.classlist.HelloClasslist > /dev/null 2>&1 >
/wrkdirs/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/support/link_opt/default_jli_trace.txt
gmake[4]: *** [GenerateLinkOptData.gmk:66:
/wrkdirs/usr/ports/java/openjdk12/work/openjdk-jdk12u-jdk-12.0.2-10-4/build/bsd-x86_64-server-release/support/link_opt/classlist]
Error 134

This is due to missing backports of upstream commits:

commit c484d8904285652246c3af212a4211b9a8955149
Author: Thomas Stuefe <stuefe@openjdk.org>
Date:	Tue Mar 16 05:49:01 2021 +0000
(Only the first 15 lines of the commit message are shown above View all of this commit message)
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  12.0.2+10.4_3
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  12.0.2+10.4_3
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
17 Mar 2021 02:00:16
Original commit files touched by this commit Revision:568628  12.0.2+10.4_3
pkubaj search for other commits by this committer
java/openjdk12: enable dtrace on powerpc64 elfv2
16 Mar 2021 18:06:56
Original commit files touched by this commit Revision:568594  12.0.2+10.4_2
pkubaj search for other commits by this committer
java/openjdk15: fix build on powerpc64le

Also cosmetic fixes related to powerpc64* for openjdk 12, 13, 14.
15 Mar 2021 14:58:02
Original commit files touched by this commit Revision:568464  12.0.2+10.4_2
pkubaj search for other commits by this committer
java/openjdk12: fix build on powerpc64le

This ports r556940 to java/openjdk11.

Approved by:	tier 2 blanket
05 Feb 2021 04:04:54
Original commit files touched by this commit Revision:564084  12.0.2+10.4_2
jkim search for other commits by this committer
Fix build with Clang 11.

https://github.com/battleblow/openjdk-jdk12u/commit/9e8e504992f95cc36c6dcd6e6f57ac18b58e0db5
https://github.com/battleblow/openjdk-jdk12u/commit/c525150ace8816c503ccc618ea5559d06c99bbcb
https://github.com/battleblow/openjdk-jdk12u/commit/dc2d99a20d0eea8d79cb31960cb693b2a4a39a4b

PR:		250270
12 Jul 2020 02:13:27
Original commit files touched by this commit Revision:542063  12.0.2+10.4_1
glewis search for other commits by this committer
More accurate vendor information

PR:		244634
08 Jun 2020 04:41:31
Original commit files touched by this commit Revision:538197  12.0.2+10.4_1
kevans search for other commits by this committer
Multiple ports: improve regex compliance

These changes largely fall into just two categories:

1. Need textproc/gsed for GNU extensions
2. Extraneous escapes that can go away

For #1, there's a further subdivision into those that require autoconf magic
and those that can get away with BINARY_ALIAS=sed=${LOCALBASE}/bin/gsed.
-CURRENT will soon gain GNU extensions, but these will take longer to get to
all supported releases; we must switch them to gsed to ensure we're actually
properly building them as intended.

For #2, I've fixed these as I can and we should upstream these fixes.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
09 May 2020 19:24:50
Original commit files touched by this commit Revision:534792  12.0.2+10.4
tijl search for other commits by this committer
Update devel/gmake to 4.3.

Some changes have been made in this release that break backwards
compatibility.  Let USES=gmake force users to upgrade to this version so
port maintainers don't have to support older versions.

PR:		245725
Exp-run by:	antoine
Approved by:	portmgr (antoine)
18 Apr 2020 20:42:12
Original commit files touched by this commit Revision:532044  12.0.2+10.4
glewis search for other commits by this committer
Update to 12.0.2+10.4

PR:		244947
Submitted by:	Trond.Endrestol@ximalas.info
22 Mar 2020 20:00:25
Original commit files touched by this commit Revision:528937  12.0.2+10.3_1
glewis search for other commits by this committer
Fix the build on aarch64

Submitted by:	Klaus Kuchemann <maciphone2@googlemail.com>
16 Jan 2020 13:59:09
Original commit files touched by this commit Revision:523232  12.0.2+10.3_1
pkubaj search for other commits by this committer
java/openjdk12: correctly patch openjdk12 for ppc64 elfv2

The previous patch didn't check for architecture.

PR:		243183
16 Jan 2020 13:34:01
Original commit files touched by this commit Revision:523230  12.0.2+10.3_1
antoine search for other commits by this committer
Revert r523218, it breaks build on tier 1

With hat:	portmgr
16 Jan 2020 09:29:00
Original commit files touched by this commit Revision:523218  12.0.2+10.3_1
pkubaj search for other commits by this committer
java/openjdk12: fix compilation for powerpc64 elfv2

Because of issue with macros in precompiled.hpp, --disable-precompiled-headers
is necessary.

Since openjdk compiles for elfv1 by default on big-endian ppc64, use a patch to
compile for elfv2.

PR:		243183
Approved by:	glewis (maintainer)
09 Nov 2019 22:28:53
Original commit files touched by this commit Revision:517165  12.0.2+10.3_1
glewis search for other commits by this committer
Reinstate guidance to have /proc mounted

* Having /proc mounted is not generally critical, but there is at least one
  piece of functionality that does rely on its presence at the moment
  (e.g. OperatingSystemMXBean)
06 Nov 2019 18:03:34
Original commit files touched by this commit Revision:516912  12.0.2+10.3_1
zeising search for other commits by this committer
Add USES=xorg USES=gl, ports categories j

Add USES=xorg and USES=gl to ports in categories starting with 'j'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
06 Nov 2019 17:31:33
Original commit files touched by this commit Revision:516907  12.0.2+10.3_1
glewis search for other commits by this committer
Fix build on FreeBSD 12.x/powerpc64 on POWER8+ machines

* Make sure has_mfdscr() returns false on these machines as using it on
  FreeBSD 12.x will cause problems (e.g. SIGILL).

PR:		239368
Sponsored by:	The FreeBSD Foundation
17 Oct 2019 20:38:39
Original commit files touched by this commit Revision:514683  12.0.2+10.3_1
glewis search for other commits by this committer
Fix internal versioning

* Set the Java version correctly
* Bump PORTREVISION since some software may rely on this
27 Sep 2019 15:44:39
Original commit files touched by this commit Revision:513045  12.0.2+10.3
glewis search for other commits by this committer
Sync with openjdk11

* Separate out platform/compiler concerns
* Disable AoT on all arches except amd64

Sponsored by:	The FreeBSD Foundation
20 Sep 2019 15:46:43
Original commit files touched by this commit Revision:512419  12.0.2+10.3
glewis search for other commits by this committer
Udpate to 12.0.2+10-3
30 Aug 2019 22:21:29
Original commit files touched by this commit Revision:510301  12.0.2+10.2_1
glewis search for other commits by this committer
Add support for aarch64

* Add aarch64 to ONLY_FOR_ARCHES on FreeBSD 12.0 and up.

PR:		239246
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
30 Aug 2019 04:26:01
Original commit files touched by this commit Revision:510232  12.0.2+10.2_1
glewis search for other commits by this committer
Prepare for aarch64 support

* Add necessary configure arguments for aarch64
* Add patches needed to compile on aarch64.  These have been upstreamed but
  are not in a release yet.
28 Aug 2019 15:34:33
Original commit files touched by this commit Revision:510070  12.0.2+10.2_1
glewis search for other commits by this committer
Remove guidance about needing procfs

* Remove portions of pkg-message that mention needing /proc mounted.
  This hasn't been the case for a while afaik (I don't have it mounted
  and haven't observed any related problems).
26 Aug 2019 02:00:43
Original commit files touched by this commit Revision:509861  12.0.2+10.2_1
glewis search for other commits by this committer
Add powerpc64 support

PR:		237370
25 Aug 2019 20:55:20
Original commit files touched by this commit Revision:509856  12.0.2+10.2_1
glewis search for other commits by this committer
Allow the JDK to be compiled with gcc.

This is required for powerpc64 support.

PR:		237370
20 Aug 2019 18:25:11
Original commit files touched by this commit Revision:509440  12.0.2+10.2_1
glewis search for other commits by this committer
Update cacerts

* Use the latest cacerts file from Oracle's public distribution of 12.0.2
13 Aug 2019 22:22:35
Original commit files touched by this commit Revision:508880  12.0.2+10.2
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories h-k)
13 Aug 2019 13:32:13
Original commit files touched by this commit Revision:508822  12.0.2+10.2
glewis search for other commits by this committer
Update to 12.0.2+10.2
31 Jul 2019 16:46:25
Original commit files touched by this commit Revision:507720  12.0.2+10.1_1
glewis search for other commits by this committer
Register openjdk12 as a java provider with javavm

PR:		237991
Submitted by:	Tommy P <tommyhp2@gmail.com>
24 Jul 2019 22:45:29
Original commit files touched by this commit Revision:507304  12.0.2+10.1
glewis search for other commits by this committer
* Set NO_CCACHE to match configure being passed --disable-ccache

Fixes the build for people trying to use ccache

PR:		239387
Submitted by:	Jonathan Chen <jonc@chen.org.nz>
19 Jul 2019 17:08:29
Original commit files touched by this commit Revision:506954  12.0.2+10.1
glewis search for other commits by this committer
Update to 12.0.2
16 Jun 2019 16:05:29
Original commit files touched by this commit Revision:504353  12.0.1+12.2
antoine search for other commits by this committer
Clean up LIB_DEPENDS
17 May 2019 04:32:40
Original commit files touched by this commit Revision:501835  12.0.1+12.2
glewis search for other commits by this committer
Update to 12.0.1.12.2 which includes powerpc64 support.

PR:		237370
11 May 2019 19:52:08
Original commit files touched by this commit Revision:501298  12.0.1+12.1
mat search for other commits by this committer
Use USE_GITHUB when appropriate.
17 Apr 2019 20:57:53
Original commit files touched by this commit Revision:499213  12.0.1.12.1
glewis search for other commits by this committer
. Update to 12.0.1
29 Mar 2019 17:39:15
Original commit files touched by this commit Revision:497173  12.0.0.33.2
glewis search for other commits by this committer
* Update to 12.0.0.33.2
* Sort LIB_DEPENDS and USE_XORG.
* Add a dependency in alsa-lib now that sound is supported on FreeBSD.
* Don't disable dtrace now that it is supported on FreeBSD.
* Less intrusive iconv change.
28 Mar 2019 23:27:12
Original commit files touched by this commit Revision:497061  12.0.0.33.1_2
jkim search for other commits by this committer
Fix iconv(3) issues.

PR:		236759
21 Mar 2019 20:25:08
Original commit files touched by this commit Revision:496513  12.0.0.33.1_1
glewis search for other commits by this committer
. Fix permissions on jspawnhelper.
. Bump PORTREVISION.
21 Mar 2019 17:34:20
Original commit files touched by this commit Revision:496480  12.0.0.33.1
glewis search for other commits by this committer
Re-add the port of OpenJDK 12
21 Mar 2019 17:31:48
Original commit files touched by this commit Revision:496479  12.0.0.33.1
glewis search for other commits by this committer
Remove openjdk12 to try a repo copy again.
21 Mar 2019 04:38:51
Original commit files touched by this commit Revision:496416  12.0.0.33.1
glewis search for other commits by this committer
Add files missing in last commit somehow.
21 Mar 2019 03:33:15
Original commit files touched by this commit Revision:496410  12.0.0.33.1
glewis search for other commits by this committer
Add a port of OpenJDK 12

Number of commits found: 48