summaryrefslogtreecommitdiff
path: root/java/openjdk11 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* openjdk: remove need for fdescfs(5) and probably procfs(5)Baptiste Daroussin19 hours3-4/+92
| | | | | | | | | | | | | | | Implement getCommittedVirtualMemorySize() directly using sysctl kern.proc.vmmap Implement getOpenFileDescriptorCount() directly using sysctl kern.proc.nfds Note on openjdk17 use closefrom where possible (note this use case is only in openjdk 17, 21, 23 and 24) Remove the message about the use of fdescfs(5) as this is not needed for sure, keep the information about procfs(5) as I have not analysed enough the source code to make sure it is not used anywhere else, but I don't think it is.
* java/openjdk11: Update to 11.0.27Greg Lewis2025-04-207-104/+5
|
* java/openjdk11: Set USE_LDCONFIG=yes to provide libjvm.soGleb Popov2025-03-151-0/+2
| | | | Reported by: pkg-devel exp-run
* java/openjdk11: Restore CUPS distinfo lost in last commitGreg Lewis2025-02-151-0/+2
| | | | Reported by: olgeni@
* java/openjdk11: Update to 11.0.26Greg Lewis2025-02-142-7/+5
|
* java/openjdk11: add support for powerpcPiotr Kubaj2025-01-122-2/+28
|
* java/openjdk*: Update pkg-message information about fdescfs and procfsXavier Beaudouin2025-01-061-2/+2
| | | | | | | | | | | | | | | | | OpenJDK installation inform that fdescfs(5) and procfs(5) should be mounted when using OpenJDK. After doing some test and some traces, it seems that this should be no so usefull, some applications will require it, but most of java applications doesn't seems to suffer to work or performance when such pseudo FS is not mounted. So this change request permit to let local administrator to decide if it is really needed or not. Sponsored by: Entersekt (previously Modirum MDpay) Sponsored by: Klara Inc. Approved by: 0mp (mentor) PR: 283364
* java/openjdk11: fix build on powerpc64*Piotr Kubaj2024-12-171-0/+6
| | | | | Partially reverts 08cc50220f1d71f12d13d7e2c957a5679b02914d, segfaults are still present on both powerpc64 and powerpc64le.
* java/openjdk11: Update to 11.0.25Greg Lewis2024-11-112-6/+5
|
* java/openjdk11: fix build on non-armv7Ronald Klop2024-11-101-2/+2
| | | | | | | | A change to one of the patches was not correct for other architectures. PR: 255662 Approved by: broken build
* java/openjdk11: fix build on 32 bit armMikaelUrankar2024-11-083-0/+66
| | | | | | | | | | | | Slightly adjusted the patch of Mikael Urankar to make sure it only affects __arm__ builds. The patch is similar to what fixed openjdk8 in commit e13c81137266603a6a0700810b6bad419f9d98c8. Not bumping portrevision as nothing changes for existing pkgs. PR: 255662 Approved by: java@ (maintainer timeout)
* java/openjdk8 java/openjdk11 java/openjdk17 java/openjdk18 java/openjdk19 ↵Dimitry Andric2024-09-151-3/+1
| | | | | | | | | | | | | 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
* java/openjdk11: respect compiler and linker flagsMikhail T.2024-09-101-3/+8
| | | | | | | | | | | | pass CFLAGS, CXXFLAGS and LDFLAGS to the build This enables more easily testing different build options. fix build on gcc by passing --disable-precompiled-headers not only on powerpc64 "Without this, I was getting PCH-error from g++12 on my amd64 machine too." PR: 279367 Tested by: poudriere Approved by: maintainer timeout (java@)
* java/openjdk11: fix build with clang 19Dimitry Andric2024-08-071-0/+11
| | | | | | | | | | | | | | | | | | | Clang 19 is now more strict about undefined integral expressions used as constants in enum, which results in errors compiling java/openjdk11, similar to: /wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/jdk.pack/share/native/common-unpack/constants.h:206:33: error: expression is not an integral constant expression 206 | AO_UNUSED_MBZ = (-1)<<13, // options bits reserved for future use. | ^~~~~~~~ /wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/jdk.pack/share/native/common-unpack/constants.h:206:37: note: left shift of negative value -1 206 | AO_UNUSED_MBZ = (-1)<<13, // options bits reserved for future use. | ^ Replace the negative value with ~0u to fix this error. PR: 280560 Approved by: glewis (maintainer) MFH: 2024Q3
* java/openjdk11: Update to 11.0.24Greg Lewis2024-07-273-25/+5
|
* java/openjdk11: remove custom LLVM - build with LLVM from baseVladimir Druzenko2024-07-142-5/+21
| | | | | | | | | | | | Segfaults are no longer observed with current versions of LLVM 17 and 18 in base 13.3 and 14.1, so there is no need to pull such an old version from ports to build. For example build java/openjdk11 with LLVM from base and then build java/eclipse and java/openjfx14 using java/openjdk11: build and run without errors. PR: 280056 260319 Approved by: java (maintainer, timeout 14 days)
* all: drop support for FreeBSD 13.2 which reached EOL todayRene Ladan2024-07-011-2/+0
| | | | | | | Thanks again to jbeich for noticing various things I overlooked. Reviewed by: acm, ashish, eduardo, ehaupt, eugen, jbeich, martymac, mat, nobukata, sunpoet, tagattie, yuri, arrowd, kde Differential Revision: https://reviews.freebsd.org/D45141
* java/openjdk11: Update to 11.0.23Greg Lewis2024-04-302-6/+5
|
* java/openjdk*: Allow users to specify an alternative cacerts fileMichael Osipov2024-02-091-0/+7
| | | | | | | | | | | | | Similar to certificate management with certctl(8) users can use custom enterprise CAs. These need to be assembled into a custom cacerts file. Therefore, an admin can install a custom truststore to an arbitrary location and have the OpenJDK port symlink to it by adding OPENJDK_SYMLINK_CACERTS to make.conf. E.g., OPENJDK_SYMLINK_CACERTS=/usr/local/etc/ssl/cacerts. PR: 229329 Approved by: jrm (mentor), otis (mentor), glewis Differential Revision: https://reviews.freebsd.org/D42720
* java/openjdk11: Update to 11.0.22Greg Lewis2024-02-042-5/+5
|
* java/openjdk11: drop ELFv1 supportPiotr Kubaj2024-01-051-2/+2
|
* */*: Sunset 12.4-RELEASE/12-STABLE from ports treeMuhammad Moinur Rahman2023-12-312-14/+0
| | | | | | | | | | | | | | | | | | | | | - Remove all references to defunct ARCH arm - Remove all references to defunct ARCH sparc64 - Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64 ARCH - Remove sysutils/afbinit requires defunct sparc64 ARCH - Remove all references to bktr driver - Remove all references to defunct FreeBSD_12 - Remove all references to OSVERSION/OSREL corresponding to 12 - Remove conditionals in Mk/Uses/cabal.mk - Remove sparc reference from Mk/Uses/qt-dist.mk - Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64 - Remove BROKEN_FreeBSD_12* from: - Remove OpenSSL patches from: - Remove conditional flags for OSVERSION >= 1300000 to fixed flags. Also move conditional flags for non sparc64/arm ARCH to fixed flags. Reviewed by: brooks, jbeich, rene, salvadore Differential Revision: https://reviews.freebsd.org/D42068
* java/openjdk11: Update to 11.0.21Greg Lewis2023-10-202-6/+5
|
* */*: Bump jpeg-turbo users treewideDaniel Engberg2023-07-281-0/+1
| | | | New major version 3.0.0
* java/openjdk11: Update to 11.0.20Greg Lewis2023-07-222-5/+5
|
* java/openjdk11: Update to 11.0.19Greg Lewis2023-04-293-16/+5
|
* java/openjdk11: Fix use of printf (causes build failures for poudriere)Greg Lewis2023-04-161-0/+11
| | | | | PR: 267690 Obtained from: Michael Osipov <michael.osipov@siemens.com>
* java/openjdk11: add new CUPS port optionEugene Grosbein2023-04-152-2/+15
| | | | | | | | | | | | | | | | | | | | | UniFi controller is headless Java application that requires OpenJDK that depends on full CUPS port. In fact, the latter originally required cups-client port only that was later removed and merged to full cups port, so openjdk11 now requires full CUPS. However, OpenJDK really needs only some header files out of CUPS distribution and officially supports building --with-cups-include instead of --with-cups. This change introduces new CUPS port option to java/openjdk11 that defaults to ON to preserve current behaviour. With CUPS option turned OFF it skips build dependency on full cups: instead, it downloads and extracts its distfile and builds --with-cups-include pointing to extracted cups distfile. Default build not affected, so PORTREVISION not changed. PR: 264792 Approved by: java (maintainer timeout, over 7 months)
* java/openjdk11: Update to 11.0.18Greg Lewis2023-01-222-6/+5
|
* java/openjdk11: Use the distributed cacertsGreg Lewis2022-11-032-1/+1
| | | | | PR: 266723 Reported by: Michael Osipov <michael.osipov@siemens.com>
* java/openjdk11: Update to 11.0.17Greg Lewis2022-10-294-568/+4
|
* java/openjdk11: Update to 11.0.16.1Greg Lewis2022-09-252-1/+544
|
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-071-2/+0
| | | | | | | | | | Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)
* Add WWW entries to port MakefilesStefan Eßer2022-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
* java/openjdk11: use LLVM 12 to build if the system compiler is LLVM 13 or newerPiotr Kubaj2022-08-311-1/+2
| | | | | | PR: 260319 Reported by: jonc@chen.org.nz Approved by: java (maintainer timeout)
* java/openjdk11: fix build on 13.1 and -CURRENTStefan Eßer2022-08-281-0/+20
| | | | | | | | | | | | | | | | | | | Recent LLVM versions issue warnings for "|" being used with boolean operands. Such operations exist in OpenJDK and the source lines are marked with comments to not use logical operations instead. This breaks the build on 13.1 and -CURRENT when building with LLVM-13 or newer due to the -Werror option being passed to the compiler. Fix this issue by casting one of the boolean operands to int, as suggested by the compiler in the error message for the case that the "|" operation should actually be used on purpose. I had submitted this patch as an attachment to PR 265687 on 2022-08-07, but it has been ignored by the maintainer (java team). PR: 265687 Approved by: portmgr (implicit)
* java/openjdk11: fix build on powerpc64*Piotr Kubaj2022-08-091-0/+6
| | | | | | | | | | | | | | Go back to using LLVM 12, bin/java built with LLVM 13 crashes with: * For target jdk__packages_attribute.done: A fatal error has been detected by the Java Runtime Environment: SIGILL (0x4) at pc=0x0000000802e3d438, pid=28756, tid=149399 JRE version: (11.0.16+8) (build ) Java VM: OpenJDK 64-Bit Server VM (11.0.16+8-1, mixed mode, tiered, compressed oops, serial gc, bsd-ppc64) Problematic frame: V [libjvm.so+0xe3d438] JVM_RaiseSignal+0x446bcc
* java/openjdk11: revert accidental commit 3d803e446071Stefan Eßer2022-08-081-20/+0
| | | | | | | | | | | Revert part of commit 3d803e446071 that should only have affected the deskutils/calendar port. This patch that has been committed by accident had already been attached to PR 265687 to fix the build issue of openjdk11 on -CURRENT, but it is up to the java@ team to apply this or some other fix. Approved by: portmgr (implicit)
* deskutils/calendar: update to version 0.9.3Stefan Eßer2022-08-081-0/+20
| | | | | | | | | Update the man page to match the version the -CURRENT base system. The only change is a better description of the // single line comment syntax, i.e. that // is only considered to start a comment when it appears at the start of the line or after white space. This allows to embed URLs in calendar entries.
* java/openjdk{8,11}: Remove dependency on devel/llvm12 which is no longer ↵Dimitry Andric2022-08-061-8/+0
| | | | | | | | | | | | | | necessary The workarounds committed in aa1ca89826b5 and 846ff4e95291 are no longer necessary, as both the upstream commits for PR258954 (https://github.com/battleblow/jdk11u/commit/305a68a90c722aa7a7b75589e24d5b5d554c96c1) and PR264065 (https://hg.openjdk.java.net/jdk/jdk/rev/40c07de877ab) are now merged into the distribution tarballs. PR: 258954, 264065 Approved by: maintainer timeout (1 month) MFH: 2022Q3
* java/openjdk11: Update to 11.0.16Greg Lewis2022-08-012-5/+5
|
* java/openjdk11: Update to 11.0.15 GAGreg Lewis2022-05-042-6/+5
|
* java/openjdk11: Bump PORTREVISIONGreg Lewis2022-02-111-0/+1
| | | | | | | Bump PORTREVISION, missed in the last commit. PR: 260319 Reported by: Jonathan Chen
* java/openjdk11: Restore LLVM/Clang 13 workaroundGreg Lewis2022-02-081-1/+6
| | | | | | | | This restores the previous LLVM/Clang 13 workaround. I had thought the upstream changes would address this, but still seeing reports of crashes when compiled with LLVM/Clang 13. PR: 260319 Reported by: various
* java/openjdk11: Update to 11.0.14 GAGreg Lewis2022-02-052-7/+5
|
* java/openjdk11: Update to 11.0.13Greg Lewis2021-10-313-15/+8
|
* java/openjdk*: work around UB in markOopDesc, fix builds with clang 13Dimitry Andric2021-10-161-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 occuring after the upstream commit https://github.com /llvm/llvm-project/commit/16d03818412 (Return "[CGCall] Annotate this argument with alignment"). What happens afterwards, is that clang considers the "this" pointer to always be aligned to the alignment of the actual object, and then masking or adding a few low bits is not working as expected. The reason openjdk14 and higher work fine with clang 13, and don't crash similarly, is that the OpenJDK people completely redid the markOop/markOopDesc classes in https://github.com/openjdk/jdk/commit/ae5615c6142a4dc0d9033462f4880d7b3c127e26 ("8229258: Rework markOop and markOopDesc into a simpler mark word value carrier"). E.g, the markOopDesc class was renamed to markWord, and *stores* a pointer-like value instead of *being* a pointer-like value. This is a much safer way of handling things. However, this upstream commit is *very* large, as are a few of its follow-ups, which is probably the reason why it has not been backported to JDKs <= 13. I tried manually backporting it, but got lost in many nasty patch conflicts and problems. As a workaround, build openjdk8 through 13 with clang12 from the devel/llvm12 port, for the time being. In addition, allow openjdk14 through 17 to be built with clang 13, by adding -Wno-unused-but-set-parameter to the compilation flags. PR: 258954 Approved by: maintainer timeout (2 weeks) MFH: 2021Q4
* cleanup: drop support for EOL FreeBSD 11.XRene Ladan2021-09-301-6/+1
| | | | | | | | | | | | | | | | | 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
* java/openjdk11: Add CPE informationBernhard Froehlich2021-09-111-1/+3
| | | | Approved by: portmgr (blanket)
* java/openjdk11: Fix build on aarch64Mikael Urankar2021-08-182-1/+6
| | | | | | | Import upstream patch. PR: 257643 Approved by: portmgr (build fix blanket)