1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
Commit Graph

5082 Commits

Author SHA1 Message Date
Tobias Kortkamp
ce1af7fdc2
*: apply refactor.remove-consecutive-empty-lines
Submitted by:	portedit
2021-10-19 10:36:47 +02:00
Dimitry Andric
3822416493 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
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
ae5615c614
("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
2021-10-16 14:22:03 +02:00
Jimmy Olgeni
4460cf727a *: fix tab vs. space issues, and comments according to the guide. 2021-10-16 11:51:39 +02:00
Rene Ladan
4422233a5e java/intellij-rubymine: update to 2021.2.3
Reported by:	portscout
MFH:		2021Q4
2021-10-15 23:33:05 +02:00
Daniel Engberg
46b986ab21 java/apache-commons-discovery: Update MASTER_SITES, deprecate and set expiration date to 2022-03-31
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites
Abandoned upstream, last release in 2006

Reference: https://commons.apache.org/dormant/commons-discovery/

Approved by:	olgeni (port maintainer), rene, arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D32425
2021-10-14 10:30:54 +02:00
Greg Lewis
1ca1ce52b7 java/java-zoneinfo: Update to 2021b 2021-10-13 23:14:28 -07:00
Daniel Engberg
62848d7105 java/openjdk7: Update MASTER_SITES
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites

Approved by:	glewis (port maintainer), arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D32427
2021-10-11 21:38:35 +02:00
Daniel Engberg
8456ff169d java/apache-commons-dbcp: Update MASTER_SITES
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites

Approved by:	ale (port maintainer), arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D32426
2021-10-11 20:52:45 +02:00
Daniel Engberg
586d941f79 java/apache-bcel: Update MASTER_SITES
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D32386
2021-10-10 10:51:52 +02:00
Daniel Engberg
5a70f6880e java/apache-commons-primitives: Update MASTER_SITES, deprecate and set expiration date to 2022-03-31
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites
Abandoned upstream, last release in 2003

Reference: https://commons.apache.org/dormant/commons-primitives/

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D32385
2021-10-10 10:51:52 +02:00
Greg Lewis
c1b344b011 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
2021-10-09 17:28:41 -07:00
Don Lewis
f2b6d97a75 java/apache-commons-lang3: Upgrade to 3.12.0
This version is present on the Apache mirror sites.

MFH:		2021Q4
2021-10-09 15:55:11 -07:00
Bernhard Froehlich
c937ce50a3 java/netbeans: Add CPE information
Approved by:    portmgr (blanket)
2021-10-08 11:21:27 +00:00
Mikael Urankar
fb734e4565 java/openjdk17: Fix build on aarch64.
Fully initialize FrameForm: Corrects adlc segfault when malloc junk options are set.

Approved by:	portmgr (build fix blanket)
2021-10-05 14:06:38 +02:00
Mikael Urankar
9c7b32b9b7 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)
2021-10-05 14:00:36 +02:00
Piotr Kubaj
225ed0ac76 java/openjdk17: enable on powerpc64
While here, sort ONLY_FOR_ARCHS.
2021-09-30 22:19:01 +00:00
Rene Ladan
620968a43a 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
2021-09-30 23:23:30 +02:00
Piotr Kubaj
670c3c8cd9 java/openjdk17: port to powerpc64le 2021-09-29 21:55:53 +00:00
Mikael Urankar
439056e417 java/openjdk16: Fix build on aarch64.
Fully initialize FrameForm: Corrects adlc segfault when malloc junk options are set.

Approved by:	portmgr (build fix blanket)
2021-09-26 10:19:50 +02:00
Greg Lewis
1b1bfbaab2 java/openjdk17: Add a port of OpenJDK 17
* Add a port of OpenJDK 17
* Restrict to amd64 and aarch64 until more platforms are tested
2021-09-25 11:28:38 -07:00
Tobias Kortkamp
7059b43727
*: Rebuild lang/rust consumers after the 1.55.0 update 2021-09-19 11:03:23 +02:00
Rene Ladan
f5bf231292 java/intellij-rubymine: update to 2021.2.2 2021-09-18 15:04:52 +02:00
Bernhard Froehlich
7e0297fac6
java/netty: Fix CPE information because current one is deprecated
Approved by:    portmgr (blanket)
2021-09-14 10:55:19 +00:00
Bernhard Froehlich
c9440121f0
java/openjdk16: Add CPE information
Approved by:	portmgr (blanket)
2021-09-11 11:37:36 +00:00
Bernhard Froehlich
8ed7c3f9ea
java/openjdk14: Add CPE information
Approved by:	portmgr (blanket)
2021-09-11 11:36:13 +00:00
Bernhard Froehlich
152ee092be
java/openjdk15: Add CPE information
Approved by:	portmgr (blanket)
2021-09-11 11:34:48 +00:00
Bernhard Froehlich
43259a2e14
java/openjdk13: Add CPE information
Approved by:	portmgr (blanket)
2021-09-11 11:33:26 +00:00
Bernhard Froehlich
7411d1f550
java/openjdk12: Add CPE information
Approved by:	portmgr (blanket)
2021-09-11 11:32:00 +00:00
Bernhard Froehlich
cd96d2aefb
java/openjdk11: Add CPE information
Approved by:	portmgr (blanket)
2021-09-11 11:30:45 +00:00
Bernhard Froehlich
9736510e4f
java/openjdk7: Add CPE information
Approved by:	portmgr (blanket)
2021-09-11 11:29:22 +00:00
Bernhard Froehlich
0b302c302f
java/openjdk8: Add CPE information
Approved by:	portmgr (blanket)
2021-09-11 11:28:00 +00:00
Piotr Kubaj
602c26c145 java/openjdk8: fix runtime issues on powerpc64*
Running java or javac executables fails with:
Error: dl failure on line 910
Error: failed /usr/local/openjdk8/jre/lib/ppc64le/server/libjvm.so, because /usr/local/openjdk8/jre/lib/ppc64le/server/libjvm.so: Undefined symbol "_ZN5frameC1EPlPh"
2021-09-03 13:19:12 +00:00
Mikael Urankar
1eb8f96f4c java/openjdk8: Switch to server mode on aarch64
PR:		257929
Approved by:	java (maintainer timeout)
Tested by:	Ronald Klop <ronald-lists@klop.ws>
2021-09-01 18:23:08 +02:00
Mikael Urankar
70f1b063ed lang/rust: Rebuild consumers for 1.54.0 2021-08-28 15:42:06 +02:00
Rene Ladan
83cfd4154e java/intellij-rubymine: update to 2021.2.1
Changelog: https://youtrack.jetbrains.com/articles/RUBY-A-220364873/RubyMine-2021.2.1-(212.5080.58-build)-Release-Notes
Obtained from:	upstream notification
2021-08-26 13:49:42 +02:00
Alex Dupre
b90eb93d21 java/apache-commons-pool: update to 2.11.1 release. 2021-08-23 14:43:10 +02:00
Alex Dupre
b26b441a3e java/intellij-ultimate: update to 2021.2 release. 2021-08-23 12:41:52 +02:00
Kyle Evans
8bf8574f5c security/bouncycastle15: update to 1.69
Changelog:
- https://bouncycastle.org/releasenotes.html

Security:	89d5bca6-0150-11ec-bf0c-080027eedc6a
Security:	70e71a24-0151-11ec-bf0c-080027eedc6a
MFH:		2021Q3
Sponsored by:	Modirum MDPay
Sponsored by:	Klara, Inc.
2021-08-19 22:40:35 -05:00
Mikael Urankar
8edf3dd02e java/openjdk11: Fix build on aarch64
Import upstream patch.

PR:		257643
Approved by:	portmgr (build fix blanket)
2021-08-18 17:58:15 +02:00
Piotr Kubaj
190b9776a1 java/eclipse: fix runtime on powerpc64
Changing "ppc64le" to "ppc64" (or powerpc64) resolves the SIGSEGV issue on big endian but breaks little endian, so replace only on powerpc64.

Submitted by:	hamiltcl@verizon.net
Approved by:	jonc@chen.org.nz (maintainer timeout)
2021-08-08 22:46:59 +00:00
Piotr Kubaj
3700c180db java/openjdk8: fix build on powerpc64*
/wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u302-b08.1/hotspot/src/os_cpu/bsd_ppc/vm/thread_bsd_ppc.cpp:45:37: error: use of undeclared identifier 'uc_mcontext'
    frame ret_frame((intptr_t*)uc->>uc_mcontext.mc_gpr[1/*REG_SP*/],
                                    ^
/wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u302-b08.1/hotspot/src/os_cpu/bsd_ppc/vm/thread_bsd_ppc.cpp:88:18: error: redefinition of 'pd_get_top_frame_for_signal_handler'
bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) {
                 ^
/wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u302-b08.1/hotspot/src/os_cpu/bsd_ppc/vm/thread_bsd_ppc.cpp:83:18: note: previous definition is here
bool JavaThread::pd_get_top_frame_for_signal_handler(frame* fr_addr, void* ucontext, bool isInJava) {
2021-08-04 19:34:19 +00:00
Jan Beich
42cfc88267 java/openjdk8: unbreak TEST=on after 4dca33c0a4
$ make checksum WITH=TEST
===>  License GPLv2 accepted by the user
===>   openjdk8-8.302.08.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by openjdk8-8.302.08.1 for building
=> No SHA256 checksum recorded for jtreg4.1-b08.tar.gz.
=> No suitable checksum found for jtreg4.1-b08.tar.gz.
=> SHA256 Checksum OK for battleblow-jdk8u-8.302.08.1-jdk8u302-b08.1_GH0.tar.gz.
*** Error code 1

Reported by:	Philipp Ost (via ports@ list)
2021-08-01 03:02:16 +00:00
Greg Lewis
c1c0f264b2 java/openjdk16: Update to 16.0.2 2021-07-30 23:22:27 -07:00
Greg Lewis
96fd8c3f53 java/openjdk15: Update to 15.0.4 2021-07-30 22:39:26 -07:00
Greg Lewis
b16d9d899f java/openjdk13: Update to 13.0.8 2021-07-30 22:00:51 -07:00
Greg Lewis
811345dd18 java/openjdk11: Update to 11.0.12 2021-07-30 19:43:33 -07:00
Greg Lewis
4dca33c0a4 java/openjdk8: Update to 8u302 2021-07-30 19:01:28 -07:00
Rene Ladan
a641a8b38c java/intellij-rubymine: update to 2021.2
Changes: https://www.jetbrains.com/ruby/whatsnew/2021-2/

While here:
- update the manual page to mention RubyMine instead of IntelliJ IDEA
- clean up old fixes no longer needed:
  - type-ahead timeout exceeded
  - slow rendering
2021-07-28 00:39:20 +02:00
Alexey Dokuchaev
a780ad6436 java/sigar: the port had been updated and improved (+)
- Switch (temporarily?) to somewhat more developed GitHub fork
- Add Java 11 support, `do-test' target, and remove GCC dependency
- Optimize away PLATFORM_VER variable and just set the LIBNAME (without
  the suffix to make it more obvious that it's a shared object when we
  install things, and in the PLIST_FILES)
- Utilize BUILD_WRKSRC and introduce INVOKE_ANT variable to reduce the
  tautology in targets' recipes
- When symlinking to ${CC} as local compiler, do not assume it lives as
  ${LOCALBASE}/bin/${CC} and call `which ${CC}` explicitly
- Garbage-collect commented out `post-patch' target while we're here

PR:		245867
Submitted by:	Angelo Polo
2021-07-16 19:44:37 +00:00
Rene Ladan
730ebd6a7b java/intellij-rubymine: update to 2021.1.3 2021-07-04 14:03:34 +02:00