summaryrefslogtreecommitdiff
path: root/java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* lang/rust: Bump revisions after 1.82.0Mikael Urankar2024-11-081-1/+1
| | | | PR: 282516
* java/openjfx14: fix build with clang 19Dimitry Andric2024-11-013-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | Clang 19 now implements CWG 96 [1], which requires a template argument list after a 'template' keyword, resulting in errors similar to: /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/assembler/AbstractMacroAssembler.h:923:65: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 923 | AssemblerType::repatchCompact(dataLabelCompact.template dataLocation(), value); | ^ /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/runtime/JSCast.h:146:33: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 146 | return Dispatcher::template inherits(vm, from); | ^ /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/runtime/JSCast.h:155:37: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 155 | if (LIKELY(Dispatcher::template inherits(vm, from))) | ^ /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.web/src/main/native/Source/JavaScriptCore/llint/LLIntData.h:159:75: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 159 | return reinterpret_cast<LLIntCode>(getCodePtr<tag>(opcodeID).template executableAddress()); | ^ In all these cases, appending "<>" is enough to satisfy the constraint. [1] https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96 PR: 282473 MFH: 2024Q4
* java/eclipse: Fix build: ld: error: unable to find library -lGLUVladimir Druzenko2024-10-311-1/+2
| | | | | | | | | | | | | [INFO] [exec] cc -shared -fPIC -L`pkg-config --variable=prefix gtk+-3.0`/lib -s -o libswt-glx-gtk-4966r5.so swt.o glx.o glx_structs.o glx_stats.o -lGL -lGLU -lm [INFO] [exec] gmake[1]: Leaving directory '/wrkdirs/usr/ports/java/eclipse/work/eclipse.platform.releng.aggregator-R4_33_maintenance/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.freebsd.x86_64/target/natives-build-temp' [INFO] [exec] *** GTK3 Build failed, aborting further actions.. [INFO] [exec] ld: error: unable to find library -lGLU [INFO] [exec] cc: error: linker command failed with exit code 1 (use -v to see invocation) [INFO] [exec] gmake[1]: *** [make_unix.mak:245: libswt-glx-gtk-4966r5.so] Error 1 PR: 282382 Approved by: Norbert Grundmann <ngrundmann@gmx.de> (maintainer) MFH: 2024Q4
* java/sigar: enable on armv6 and armv7Ronald Klop2024-10-281-4/+1
| | | | | | | | | builds and packages fine does not touch existing architectures it was marked broken in 2017 without mention of the error message FreeBSD and OpenJDK had quite some improvements since 2017 Approved by: port has no maintainer
* java/jcommon: enable armv6 and armv7Ronald Klop2024-10-241-3/+0
| | | | | PR: 282299 Approved by: olgeni@ (maintainer)
* java/intellij-ultimate: update to 2024.2.3 releaseAlex Dupre2024-10-223-9/+9
|
* java/wildfly: Update version 33.0.1=>33.0.2Muhammad Moinur Rahman2024-10-192-4/+4
| | | | Changelog: https://www.wildfly.org/news/2024/09/17/WildFly3302-Released/
* java/openjdk8: fix build on 32 bit armMikael Urankar2024-10-112-1/+16
| | | | | | | | | | | | | | | | | | | | | Fixes: In file included from /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/os/bsd/vm/os_perf_bsd.cpp:61: In file included from /usr/include/sys/user.h:51: In file included from /usr/include/vm/pmap.h:88: In file included from /usr/include/machine/pmap.h:48: In file included from /usr/include/sys/systm.h:46: /usr/include/machine/cpufunc.h:184:1: error: static declaration of 'breakpoint' follows non-static declaration 184 | breakpoint(void) | ^ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp:224:17: note: previous declaration is here 224 | extern "C" void breakpoint(); | ^ - bumped portrevision to easily spot if future bug reports are about this change. PR: 281991 Approved by: early maintainer timeout java@ (the build is broken and the patch does not affect other architectures) Obtained from: Mikael Urankar <mikael@> via Attachment 254105 in bug #255662
* java/bouncycastle: DeprecateMateusz Piotrowski2024-10-111-1/+4
| | | | | | | PR: 260683 Reported by: diizzy Approved by: maintainer Co-authored-by: Daniel Engberg <diizzy@FreeBSD.org>
* */*: update devel/subversion{,-lts} to 1.14.4Michael Osipov2024-10-101-2/+2
| | | | | | | Approved by: jrm (mentor) MFH: 2024Q4 Differential Revision: https://reviews.freebsd.org/D47022 Release Notes: https://svn.apache.org/repos/asf/subversion/tags/1.14.4/CHANGES
* java/eclipse: Update 4.32 → 4.33Norbert Grundmann2024-10-02118-6960/+41
| | | | | | | | | | | | I took the fork of an eclipse member - who integrated my changes and made more "investment" - thanks to him: https://github.com/chirontt/eclipse.platform.releng.aggregator - There are no addons or patches needed anymore. - It compiles on my amd64 platform. - The powerpc64 architectures are removed. PR: 281794 281582
* all: drop support for expired FreeBSD 14.0Rene Ladan2024-10-012-2/+2
| | | | | | | | Simplify expressions for FreeBSD 13.X Reviewed by: many Differential Revision: https://reviews.freebsd.org/D46601
* java/eclipse: Remove unnecessary *.so filesNorbert Grundmann2024-09-2032-88/+4
| | | | | | | | This is a temporary workaround for fix several broken processes. Moving java/eclipse/file/addons to external storage comming soon. PR: 281582 Reported by: several developers via email
* java/wildfly: Update version 33.0.0=>33.0.1Muhammad Moinur Rahman2024-09-152-4/+4
| | | | Changelog: https://www.wildfly.org/news/2024/08/22/WildFly3301-Released/
* java/openjdk8 java/openjdk11 java/openjdk17 java/openjdk18 java/openjdk19 ↵Dimitry Andric2024-09-158-23/+8
| | | | | | | | | | | | | 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/eclipse: fix build consumer devel/subversive, commit files ignored with ↵Vladimir Druzenko2024-09-1349-0/+2808
| | | | | | | | | | | | | | | | | | | | | .gitignore - Return file Makefile.plugins required for consumer devel/subversive. - Update java version in Makefile.plugins from 8 to 17 - eclipse require at least 17. - Thanks to .gitignore with line "*.sw[p-z]": $ git add java/eclipse/files/addons/eclipse.platform.swt The following paths are ignored by one of your .gitignore files: java/eclipse/files/addons/eclipse.platform.swt hint: Use -f if you really want to add them. hint: Disable this message with "git config advice.addIgnoredFile false" Force add this directory. PR: 281123 Reported by: yasu (email), antoine (email), Norbert Grundmann Approved by: Norbert Grundmann <ngrundmann@gmx.de> (maintainer) Fixes: 27eb99fc4755 (Update 4.24 → 4.32, take maintainership)
* java/eclipse: Update 4.24 → 4.32, take maintainershipNorbert Grundmann2024-09-13116-2877/+4278
| | | | PR: 281123
* java/cos: unfetchable, mark broken & deprecateRonald Klop2024-09-101-0/+4
| | | | | | | No other port is depending on this port. No update since 2002. Reported by: https://portsfallout.com/fallout?port=java/cos$
* 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@)
* lang/rust: Bump revisions after 1.81.0Mikael Urankar2024-09-101-1/+1
| | | | PR: 281300
* java/openjdk8: (aarch64) builds fine with llvm from baseRonald Klop2024-09-031-10/+1
| | | | | | | | | | | | ran poudriere on FreeBSD 13.3/14.0/14.1/15.0 all failing ports mentioned in the issue are building fine now: benchmarks/scimark2 devel/tijmp sysutils/javaservicewrapper www/jericho-html PR: 264065 Differential Revision: https://reviews.freebsd.org/D46500
* java/intellij-ultimate: update to 2024.2.1 release.Alex Dupre2024-09-026-1327/+933
|
* lang/rust: Bump revisions after 1.80.1Mikael Urankar2024-08-261-1/+1
| | | | PR: 280490
* java/intellij-pty4j: update 0.11.4 → 0.12.35, take maintainershipKing John2024-08-082-6/+6
| | | | | | Commit log: https://github.com/JetBrains/pty4j/compare/61a48c..823ead PR: 280125
* java/openjdk17: fix build with clang 19Dimitry Andric2024-08-071-5/+1
| | | | | | | | | | | | | | | | | 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
* 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/openjdk8: fix build with clang 19Dimitry Andric2024-08-073-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang 19 is now more strict about undefined integral expressions used as constants in enum, which results in errors compiling java/openjdk8, similar to: /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/oops/cpCache.hpp:195:34: error: expression is not an integral constant expression 195 | option_bits_mask = ~(((-1) << tos_state_shift) | (field_index_mask | parameter_size_mask)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/oops/cpCache.hpp:195:42: note: left shift of negative value -1 195 | option_bits_mask = ~(((-1) << tos_state_shift) | (field_index_mask | parameter_size_mask)) | ^ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/code/dependencies.hpp:173:27: error: expression is not an integral constant expression 173 | all_types = ((1 << TYPE_LIMIT) - 1) & ((-1) << FIRST_TYPE), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm/code/dependencies.hpp:173:59: note: left shift of negative value -1 173 | all_types = ((1 << TYPE_LIMIT) - 1) & ((-1) << FIRST_TYPE), | ^ In file included from /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp:43: /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/jdk/src/share/native/com/sun/java/util/jar/pack/constants.h:226:33: error: expression is not an integral constant expression 226 | AO_UNUSED_MBZ = (-1)<<13, // options bits reserved for future use. | ^~~~~~~~ /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/jdk/src/share/native/com/sun/java/util/jar/pack/constants.h:226:37: note: left shift of negative value -1 226 | AO_UNUSED_MBZ = (-1)<<13, // options bits reserved for future use. | ^ In openjdk11 and later, the (-1) constants have been replaced by the unsigned variant (~0u), which fixes these errors. PR: 280559 Approved by: glewis (maintainer) MFH: 2024Q3
* java/javahelp: use Tomcat 9.0 instead of expired Tomcat 8.5Rene Ladan2024-08-041-2/+2
|
* java/wildfly: Update version 32.0.1=>33.0.0Muhammad Moinur Rahman2024-08-012-4/+4
| | | | Changelog: https://www.wildfly.org/news/2024/07/23/WildFly33-Released/
* java/wildfly: Update version 32.0.0=>32.0.1Muhammad Moinur Rahman2024-07-302-4/+4
| | | | Changelog: https://www.wildfly.org/news/2024/05/31/WildFly3201-Released/
* java/wildfly: Update version 31.0.1=>32.0.0Muhammad Moinur Rahman2024-07-283-2604/+19
| | | | Changelog: https://www.wildfly.org/news/2024/04/25/WildFly32-Released/
* java/openjdk22: Update to 22.0.2Greg Lewis2024-07-273-51/+7
|
* java/openjdk21: Update to 21.0.4Greg Lewis2024-07-272-5/+5
|
* java/openjdk17: Update to 17.0.12Greg Lewis2024-07-274-37/+5
|
* java/openjdk11: Update to 11.0.24Greg Lewis2024-07-273-25/+5
|
* java/openjdk8: Update to 8u422Greg Lewis2024-07-278-135/+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-019-42/+2
| | | | | | | 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/apache-commons-collections4: upgrade to 4.5.0-M2Thierry Thomas2024-06-192-7/+7
| | | | | Changelog at <https://commons.apache.org/proper/commons-collections/changes-report.html#a4.5.0-M2>
* lang/rust: Bump revisions after 1.79.0Mikael Urankar2024-06-181-1/+1
| | | | PR: 279707
* java/apache-commons-collections: limit JAVA_VERSION from 8 to 20 because ↵Vladimir Druzenko2024-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | build fails with 21+ Build error with OpenJDK 21: [javac] /wrkdirs/usr/ports/java/apache-commons-collections/work/commons-collections-3.2.2-src/src/java/org/apache/commons/collections/CursorableLinkedList.java:188: error: addLast(Object) in CursorableLinkedList cannot implement addLast(E) in List [javac] public boolean addLast(Object o) { [javac] ^ [javac] return type boolean is not compatible with void [javac] where E is a type-variable: [javac] E extends Object declared in interface List [javac] /wrkdirs/usr/ports/java/apache-commons-collections/work/commons-collections-3.2.2-src/src/java/org/apache/commons/collections/CursorableLinkedList.java:176: error: addFirst(Object) in CursorableLinkedList cannot implement addFirst(E) in List [javac] public boolean addFirst(Object o) { [javac] ^ [javac] return type boolean is not compatible with void [javac] where E is a type-variable: [javac] E extends Object declared in interface List New JDK 21 methods in java.util.List addFirst and addLast has a void return type. This clashes with the existing boolean return from the same method in AbstractLinkedList. Upstream fixed this in 4.5.0 only. But this old 3.x branch isn't fixed. Upstream issue: https://issues.apache.org/jira/browse/COLLECTIONS-842 PR: 279425 Reported by: antoine (exp-run)
* java/openjfx14: fix build on non-amd64Piotr Kubaj2024-06-033-6/+25
| | | | cc: error: unsupported option '-msse2' for target 'powerpc64-unknown-freebsd14.1'
* *: Change the MAINTAINER field per requestGleb Popov2024-05-183-4/+6
| | | | PR: 278267
* lang/rust: Bump revisions after 1.78.0Mikael Urankar2024-05-131-1/+1
| | | | PR: 278834
* java/eclipse-yaml-editor: new port to work with YAML in Eclipse IDEMichael Zhilin2024-05-055-0/+39
|
* java/openjdk21: Update to 21.0.3Greg Lewis2024-05-022-6/+5
|
* java/openjdk17: Update to 17.0.11Greg Lewis2024-05-013-26/+5
|
* java/openjdk11: Update to 11.0.23Greg Lewis2024-04-302-6/+5
|
* java/openjdk8: Update to 8u412Greg Lewis2024-04-302-6/+5
|