summaryrefslogtreecommitdiff
path: root/pkgs/development/compilers/openjdk/generic.nix (follow)
Commit message (Expand)AuthorAgeFilesLines
* libICE: rename references and deprecate alias•••this shouldn't create any rebuilds quantenzitrone2026-02-041-2/+2
* jdk8: fix build w/ glibc-2.42•••Failing Hydra build: https://hydra.nixos.org/build/308320851 Upstream bug report: https://bugs.openjdk.org/browse/JDK-8354941 Only patching JDK8, newer versions received backports. Maximilian Bosch2026-01-031-0/+12
* openjdk{8,11}: fix build with gcc15•••- add "-std=gnu17" to `env.NIX_CFLAGS_COMPILE` for `openjdk8` and `openjdk11` Similar to what archlinux and gentoo did: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65ea75ab7b558c1a7471eaf9ab542cee66631ea5 https://gitlab.archlinux.org/archlinux/packaging/packages/java8-openjdk/-/commit/e2b65f230bb5f15b75377306f41635ba44f84f61 https://gitlab.archlinux.org/archlinux/packaging/packages/java11-openjdk/-/commit/87ced23f8bd6b7e911f8b668545aa8c9950087e9 Fixes build failure of `openjdk8` with gcc15: ``` In file included from /build/source/hotspot/agent/src/os/linux/libproc_impl.h:30, from /build/source/hotspot/agent/src/os/linux/salibelf.h:30, from /build/source/hotspot/agent/src/os/linux/salibelf.c:25: /build/source/hotspot/agent/src/os/linux/libproc.h:86:13: error: 'bool' cannot be defined via 'typedef' 86 | typedef int bool; | ^~~~ /build/source/hotspot/agent/src/os/linux/libproc.h:86:13: note: 'bool' is a keyword with '-std=c23' onwards ``` Fixes build failure of `openjdk11` with gcc15: ``` /build/source/src/java.base/unix/native/libnet/DefaultProxySelector.c: In function 'getProxyByGProxyResolver': /build/source/src/java.base/unix/native/libnet/DefaultProxySelector.c:389:16: error: too many arguments to function 'g_proxy_resolver_lookup'; expected 0, have 4 389 | proxies = (*g_proxy_resolver_lookup)(resolver, uri, NULL, &error); | ~^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ /build/source/src/java.base/unix/native/libnet/DefaultProxySelector.c:408:34: error: too many arguments to function 'g_network_address_parse_uri'; expected 0, have 3 408 | (*g_network_address_parse_uri)(proxies[i], 0, | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ ``` ghpzin2025-12-161-4/+14
* maintainers: drop edwtjo•••Reacted to 1 out of 384 maintainer pings in the least 180 days. Wolfgang Walther2025-12-091-1/+0
* openjfx23: dropGalder Zamarreño2025-11-041-2/+0
* temurin-{,jre-}bin-23: drop•••Co-Authored-By: Leona Maroni <dev@leona.is> Galder Zamarreño2025-11-041-2/+0
* temurin-{,jre-}bin-24: drop, open{jdk,jfx}24: dropTom van Dijk2025-10-061-11/+6
* openjfx25: init at 25+29•••`eclipse/updates/4.30/R-4.30-202312010110/plugins/org.eclipse.swt.gtk.linux.aarch64_3.124.200.v20231113-1355` has been manually added in deps.json, as our gradle dependency lockfile generator currently cannot handle platform specific dependencies like this one. Marie Ramlow2025-09-261-0/+2
* openjdk25: init at 25+36Marie Ramlow2025-09-261-1/+7
* buildMavenPackage: use generate-cacerts.pl to populate trust store (#437528)Philip Taron2025-09-171-4/+2
|\
| * buildMavenPackage: use generate-cacerts.pl to populate trust store•••In some cases, NIX_SSL_CERT_FILE may point to variation of cacerts, see https://github.com/NixOS/nixpkgs/issues/435467 for examples. `keytool` is not happy with all certs in there, and requires some special care. Re-use the tooling we have to populate openjdk 8 with its trust store, instead of our naïve approach. The nixpkgs linter doesn't allow us to simply refer to the .pl file from inside the openjdk directory, and re-exposing it only from the openjdk8 derivation as a passthru is also a bit annoying. As suggested in PR review, expose the perl script via pkgs and use it both for build-maven-package and the openjdk8 build. Fixes #435467. Florian Klink2025-09-171-4/+2
* | openjdk8_headless: build fixMatteo Pacini2025-09-021-1/+1
|/
* jdk{8,11,17,23,24}: cleanupAndré Lima2025-07-251-145/+99
* jdk{8,11,17,23,24}: always enable __structuredAttrsAndré Lima2025-07-251-22/+15
* treewide: run nixfmt 1.0.0Wolfgang Walther2025-07-241-430/+419
* jdk8: disable structuredAttrs•••I don't know why this helps. I don't WANT to know why this helps. This is a horrible hack. K9002025-07-151-2/+2
* openjdk: __structuredAttrs = true•••needed for separateDebugInfo = true Guillaume Girol2025-06-141-0/+1
* jdk8: fix cross buildFliegendeWurst2025-05-131-1/+10
* openjfx24: init at 24+29Tom van Dijk2025-05-051-0/+2
* openjdk24: init at 24+36Tom van Dijk2025-05-051-6/+22
* treewide: switch instances of lib.teams.*.members to the new meta.teams attri...•••Follow-up to #394797. Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net> Fernando Rodrigues2025-04-251-7/+5
* openjdk8: fix build with GCC 14FliegendeWurst2024-11-271-0/+5
* Merge staging-next into staginggithub-actions[bot]2024-11-111-4/+7
|\
| * Merge master into staging-nextgithub-actions[bot]2024-11-111-4/+7
| |\
| | * team-list: establish java team•••As discussed in #jdk:nixos.org on Matrix, the maintainers of the Java ecosystem in Nixpkgs feel that a team for Java would be helpful. Tomo2024-11-091-4/+7
* | | openjdk: Fix cross for most versions (#353952)Artturin2024-11-091-10/+25
|\ \ \ | |/ / |/| |
| * | openjdk: Fix cross for most versions•••`jdk8` cross still broken Using `__spliced.depsBuildBuild` to reduce rebuilds/space usage because it does not seem to matter if it's that or `buildHost` `depsBuildBuild` `configure: error: Could not find required tool for BUILD_CC` `zlib` in `nativeBuildInputs` ``` /build/source/src/java.base/share/native/libzip/Adler32.c:33:10: fatal error: zlib.h: No such file or directory 33 | #include <zlib.h> | ^~~~~~~~ compilation terminated. make[4]: *** [lib/CoreLibraries.gmk:88: /build/source/build/linux-aarch64-server-release/buildjdk/support/native/java.base/libzip/Adler32.o] Error 1 make[4]: *** Waiting for unfinished jobs.... /build/source/src/java.base/share/native/libzip/CRC32.c:32:10: fatal error: zlib.h: No such file or directory 32 | #include <zlib.h> | ^~~~~~~~ compilation terminated. /build/source/src/java.base/share/native/libzip/Deflater.c:35:10: fatal error: zlib.h: No such file or directory 35 | #include <zlib.h> | ^~~~~~~~ compilation terminated. make[4]: *** [lib/CoreLibraries.gmk:88: /build/source/build/linux-aarch64-server-release/buildjdk/support/native/java.base/libzip/CRC32.o] Error 1 make[4]: *** [lib/CoreLibraries.gmk:88: /build/source/build/linux-aarch64-server-release/buildjdk/support/native/java.base/libzip/Deflater.o] Error 1 make[3]: *** [Main.gmk:191: java.base-libs] Error 2 make[2]: *** [make/Main.gmk:589: create-buildjdk-interim-image] Error 2 make[2]: *** Waiting for unfinished jobs.... ERROR: Build failed for target 'images' in configuration 'linux-aarch64-server-release' (exit code 2) Stopping javac server ``` Artturin2024-11-081-10/+25
| |/
* | Merge staging-next into staginggithub-actions[bot]2024-10-251-0/+3
|\|
| * openjdk: add riscv64-linux to platformsSteven Keuchel2024-10-251-0/+3
* | openjdk{8,11,17,21,23}: remove obsolete version logicEmily2024-10-241-6/+2
* | openjdk17: 17.0.12+7 -> 17.0.13+11•••Drop an upstreamed patch, and update another for upstream changes. Emily2024-10-241-9/+0
|/
* openjdk{8,11,17,21,23}: add update scriptEmily2024-10-241-7/+9
* openjdk{8,11,17,21,23}: deduplicate into `generic.nix`Emily2024-10-241-132/+514
* openjdk: format `generic.nix` with `nixfmt-rfc-style`Emily2024-10-231-123/+139
* openjdk: copy latest version into `generic.nix`Emily2024-10-231-0/+260