Commit Graph

716 Commits

Author SHA1 Message Date
Vladimír Čunát
bf4390bca9 Merge master into staging-next 2026-07-29 21:15:33 +02:00
Martin Weinelt
364301c4c1 openjdk: drop gtk2 support (#544677) 2026-07-29 18:56:26 +00:00
K900
5ad72a99de Merge remote-tracking branch 'origin/master' into staging-next 2026-07-29 12:04:25 +03:00
R. Ryantm
b2c6ead8d2 javaPackages.compiler.openjdk11: 11.0.32+1 -> 11.0.32+9 2026-07-28 19:57:12 +00:00
R. Ryantm
aa7a3b1c68 javaPackages.compiler.openjdk21: 21.0.12+2 -> 21.0.12+8 2026-07-25 15:50:42 +00:00
R. Ryantm
4b73eda73c javaPackages.compiler.openjdk8: 8u502-b01 -> 8u502-b07 2026-07-23 10:30:44 +00:00
Martin Weinelt
e393b159ea openjdk: drop gtk2 support 2026-07-22 22:40:48 +02:00
Arne Keller
bebbeb6399 javaPackages.compiler.openjdk17: 17.0.20+2 -> 17.0.20+8 (#541315) 2026-07-22 07:56:18 +00:00
R. Ryantm
0e1aa5a744 javaPackages.compiler.openjdk17: 17.0.20+2 -> 17.0.20+8 2026-07-22 04:51:17 +00:00
R. Ryantm
ce2f48f390 javaPackages.compiler.openjdk25: 25.0.4+1 -> 25.0.4+7 2026-07-22 00:11:54 +00:00
Stefan Nürnberger
e09bc37026 openjdk11{, -headless}: fix UB in markOop
OpenJDK 11 misuses the low bits in pointers that have an assumed
alignment. This is undefined behavior and compiler optimizations break
the code at runtime, causing SIGSEGV in the garbage collector.

This was originally noticed for clang13, but GCC15 seems to
do similar optimizations now. The UB was removed in JDK14.

See https://bugs.openjdk.org/browse/JDK-8229258

This is a smaller version of the unsuccessful backport PR proposed upstream:
https://github.com/openjdk/jdk11u-dev/pull/1284

Removed the .github/workflows changes and everything from the markOop to
markWord rename and file move from the patch. I found a way to avoid most
of the `markOopDesc`->`markOop` renames with a typedef, and dropped the
changes to all architectures besides x86 and aarch64.

Fixes: https://github.com/nixos/nixpkgs/issues/526834
2026-06-22 19:05:28 +02:00
Ryan Omasta
61f87eaf8b openjdk25{,_headless}: 25.0.2+10 -> 25.0.4+1 2026-05-14 18:18:58 -06:00
Ryan Omasta
cb1085d939 openjdk21{,_headless}: 21.0.10+7 -> 21.0.12+2 2026-05-14 18:18:53 -06:00
Ryan Omasta
61073c8085 openjdk17{,_headless}: 17.0.18+8 -> 17.0.20+2 2026-05-14 18:18:48 -06:00
Ryan Omasta
1e02bd69ed openjdk11{,_headless}: 11.0.31+0 -> 11.0.32+1 2026-05-14 18:18:44 -06:00
Ryan Omasta
5870c95dfa openjdk8{,_headless}: 8u472-b08 -> 8u502-b01 2026-05-12 05:49:10 -06:00
K900
3c4102eef4 Merge remote-tracking branch 'origin/staging-next' into staging 2026-02-06 15:58:23 +03:00
Martin Weinelt
743484c326 Merge remote-tracking branch 'origin/staging-next' into staging 2026-02-06 01:21:57 +01:00
quantenzitrone
ace8e154a1 various: rename references from libXt to libxt
this shouldn't create any rebuilds
2026-02-06 00:29:25 +01:00
quantenzitrone
837ce569f8 various: rename references from libXtst to libxtst
this shouldn't create any rebuilds
2026-02-06 00:29:24 +01:00
quantenzitrone
f690155396 various: rename references from libXrender to libxrender
this shouldn't create any rebuilds
2026-02-06 00:29:19 +01:00
quantenzitrone
43cdce2c39 various: rename references from libXrandr to libxrandr
this shouldn't create any rebuilds
2026-02-06 00:29:06 +01:00
quantenzitrone
77837f424c various: rename references from libXi to libxi
this shouldn't create any rebuilds
2026-02-06 00:25:56 +01:00
quantenzitrone
5e4a1bdd9c various: rename references from libXinerama to libxinerama
this shouldn't create any rebuilds
2026-02-06 00:25:42 +01:00
quantenzitrone
f67b5966bb various: rename references from libXext to libxext
this shouldn't create any rebuilds
2026-02-06 00:25:36 +01:00
quantenzitrone
8382a53a4c various: rename references from libXcursor to libxcursor
this shouldn't create any rebuilds
2026-02-06 00:24:45 +01:00
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
quantenzitrone
bf63af1851 libICE: rename references and deprecate alias
this shouldn't create any rebuilds
2026-02-04 22:59:00 +01:00
nixpkgs-ci[bot]
604c926bea Merge staging-next into staging 2026-01-28 12:09:03 +00:00
R. Ryantm
2a40e55643 javaPackages.compiler.openjdk25: 25.0.1+8 -> 25.0.2+10 2026-01-28 02:59:03 +00:00
R. Ryantm
23c804baa1 javaPackages.compiler.openjdk21: 21.0.9+10 -> 21.0.10+7 2026-01-23 21:21:48 +00:00
K900
6e8dc58e2d Merge remote-tracking branch 'origin/master' into staging-next 2026-01-21 21:22:49 +03:00
R. Ryantm
7b34d1130f javaPackages.compiler.openjdk17: 17.0.17+10 -> 17.0.18+8 2026-01-21 11:20:29 +00:00
Maximilian Bosch
2fb78891ae jdk11: 11.0.29+7 -> 11.0.31+0, fix build w/ glibc-2.42
Failing Hydra build: https://hydra.nixos.org/build/317760066
2026-01-03 20:39:47 +01:00
Maximilian Bosch
ebb1e59595 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.
2026-01-03 20:39:42 +01:00
ghpzin
1b90b43e0c 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
e2b65f230b
87ced23f8b

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,
      |                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
```
2025-12-16 00:22:02 +03:00
Wolfgang Walther
c0ec79be1d maintainers: drop edwtjo
Reacted to 1 out of 384 maintainer pings in the least 180 days.
2025-12-09 21:09:02 +01:00
nixpkgs-ci[bot]
6d1529ce8c Merge master into staging-next 2025-11-07 00:17:59 +00:00
Fabián Heredia Montiel
66e382a8ad javaPackages.compiler.openjdk25: 25+36 -> 25.0.1+8 (#455771) 2025-11-06 21:10:55 +00:00
Galder Zamarreño
cfafc746ea openjfx23: drop 2025-11-04 15:36:51 +01:00
Galder Zamarreño
058600cf06 openjdk23{,_headless}: drop
Co-Authored-By: Leona Maroni <dev@leona.is>
2025-11-04 15:36:43 +01:00
Galder Zamarreño
1c68856fbc temurin-{,jre-}bin-23: drop
Co-Authored-By: Leona Maroni <dev@leona.is>
2025-11-04 15:36:19 +01:00
nixpkgs-ci[bot]
48bdc35e9e Merge staging-next into staging 2025-11-02 12:07:17 +00:00
Arne Keller
69c5836165 jdk11: 11.0.29+5 -> 11.0.29+7 (#455720) 2025-11-02 09:58:17 +00:00
nixpkgs-ci[bot]
4535634d8a Merge staging-next into staging 2025-10-29 12:08:27 +00:00
Arne Keller
951df5b81d jdk: 21.0.9+8 -> 21.0.9+10 (#455463) 2025-10-29 08:35:09 +00:00
Arne Keller
d62a5699d1 jdk17: 17.0.17+8 -> 17.0.17+10 (#455588) 2025-10-29 08:33:17 +00:00
R. Ryantm
991423c5e9 javaPackages.compiler.openjdk25: 25+36 -> 25.0.1+8 2025-10-26 08:49:28 +00:00
R. Ryantm
2c8de3ce1f jdk11: 11.0.29+5 -> 11.0.29+7 2025-10-26 04:37:53 +00:00
R. Ryantm
5dc74d8951 jdk17: 17.0.17+8 -> 17.0.17+10 2025-10-25 14:27:42 +00:00