| 19 Sep 2025 |
Alyssa Ross | https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#staging | 15:15:23 |
emily | https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#staging | 15:15:27 |
emily | ha | 15:15:27 |
msgilligan | Read the fine manual 🤣 | 15:15:49 |
emily | staging-next-25.05 is about to merge to release-25.05, so we will soon have staging-next cut from staging and start to build | 15:15:53 |
msgilligan | OK PR 443891 is rebased to staging. (I rebased and force-pushed before switching the target branch with the GitHub PR UI and that confused some of the tests. But I force-pushed a second time and that seems to have reset everything) | 15:46:31 |
emily | you usually don't need to rebase | 15:46:43 |
emily | master is merged into staging every 6 hours | 15:46:47 |
emily | so any master commit that is not more recent than that is already on staging | 15:46:57 |
emily | have you tested the Temurin bumps work for the OpenJDK bootstrap? | 15:47:18 |
emily | probably fine to optimistically merge since it's unlikely they broke | 15:47:30 |
msgilligan | I haven't done any local testing. I usually run Nixpkgs review, but for this PR it would probably tie up my machine for days. | 15:50:49 |
msgilligan | How do you test the OpenJDK bootstrap? | 15:51:28 |
msgilligan | Currently running nix build .#temurin-bin .#temurin-bin-23 .#temurin-bin-24 | 15:52:44 |
msgilligan | * Currently running nix build .#temurin-bin .#temurin-bin-23 .#temurin-bin-24 (which I may have done previously) | 15:54:08 |
msgilligan | * Currently running nix build .#temurin-bin .#temurin-bin-23 .#temurin-bin-24 (which I may have done previously. i.e. when the PR was targeting master) | 16:11:38 |
Tomodachi94 (they/them) | And if you're a committer, you can manually trigger that merge too if you're blocked by needing a change that is newer than 6 hours (if you're not a committer, I'm willing to) | 16:12:54 |
emily | just build openjdk{8,11,17,21,…} | 16:26:12 |
emily | since those use the Temurin binaries | 16:26:18 |
emily | I suggest targeting it back to master | 16:26:32 |
emily | or rather, git merge-base origin/master origin/staging | 16:26:38 |
emily | because then you won't have to rebuild the entire toolchain just to get to Java | 16:26:45 |
emily | are our OpenJDKs themselves on the latest security patches btw? | 16:26:59 |
msgilligan | The rebuilds shouldn't take too long on my M1. aarch64-darwin is finished (with errors!) and aarch64-linux is chugging along. | 16:39:14 |
msgilligan | ..#temurin-bin-23 and ..#temurin-bin succeeded but .#temurin-bin-24 failed while building Perl. (Maybe pulling master will fix that?) | 16:40:56 |
emily | it will take much, much longer if you test the thing that needs testing 😅 | 16:41:30 |
emily | because you will have to build every single dependency of OpenJDK | 16:41:36 |
msgilligan | error: builder for '/nix/store/g0csixy7mfs561pfwp27p1h41vkbp7w0-perl-5.40.0.drv' failed with exit code 2;
last 25 log lines:
> | ^
> 1 warning generated.
> cc -c -DPERL_CORE -fno-common -DPERL_DARWIN -mmacosx-version-min=11.3 -DNO_THREAD_SAFE_QUERYLOCALE -DNO_POSIX_2008_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/nix/store/x7208q6wn3g00398kdxi0pgpy9s47m1q-libSystem-B/include -std=c99 -O3 -Wall -Werror=pointer-arith -Werror=vla -Wextra -Wno-long-long -Wno-declaration-after-statement -Wc++-compat -Wwrite-strings util.c
> In file included from util.c:26:
> In file included from ./perl.h:6186:
> ./proto.h:2409:26: warning: identifier 'wchar_t' conflicts with a C++ keyword [-Wc++-keyword]
> 2409 | Perl_mbtowc_(pTHX_ const wchar_t *pwc, const char *s, const Size_t len);
> | ^
> 1 warning generated.
> cc -c -DPERL_CORE -fno-common -DPERL_DARWIN -mmacosx-version-min=11.3 -DNO_THREAD_SAFE_QUERYLOCALE -DNO_POSIX_2008_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/nix/store/x7208q6wn3g00398kdxi0pgpy9s47m1q-libSystem-B/include -std=c99 -O3 -Wall -Werror=pointer-arith -Werror=vla -Wextra -Wno-long-long -Wno-declaration-after-statement -Wc++-compat -Wwrite-strings miniperlmain.c
> In file included from miniperlmain.c:57:
> In file included from ./perl.h:6186:
> ./proto.h:2409:26: warning: identifier 'wchar_t' conflicts with a C++ keyword [-Wc++-keyword]
> 2409 | Perl_mbtowc_(pTHX_ const wchar_t *pwc, const char *s, const Size_t len);
> | ^
> 1 warning generated.
> cc -mmacosx-version-min=11.3 -fstack-protector-strong -L/nix/store/x7208q6wn3g00398kdxi0pgpy9s47m1q-libSystem-B/lib -force_flat_namespace -o miniperl \
> opmini.o perlmini.o universalmini.o av.o builtin.o caretx.o class.o deb.o doio.o doop.o dquote.o dump.o globals.o gv.o hv.o keywords.o locale.o mathoms.o mg.o mro_core.o numeric.o pad.o peep.o perlio.o perly.o pp.o pp_ctl.o pp_hot.o pp_pack.o pp_sort.o pp_sys.o reentr.o regcomp.o regcomp_debug.o regcomp_invlist.o regcomp_study.o regcomp_trie.o regexec.o run.o scope.o sv.o taint.o time64.o toke.o utf8.o util.o miniperlmain.o -lcrypt
> ld: warning: -force_flat_namespace is no longer supported, using -flat_namespace instead
> DYLD_LIBRARY_PATH=/private/tmp/nix-build-perl-5.40.0.drv-0/perl-5.40.0 ./miniperl -w -Ilib -Idist/Exporter/lib -MExporter -e '<?>' || sh -c 'echo >&2 Failed to build miniperl. Please run make minitest; exit 1'
> DYLD_LIBRARY_PATH=/private/tmp/nix-build-perl-5.40.0.drv-0/perl-5.40.0 ./miniperl -Ilib -f write_buildcustomize.pl
> rm -f pod/perl5400delta.pod
> /nix/store/amvqs92lary5dgr9rxmz89hhq6bnf3k3-coreutils-9.7/bin/ln -s perldelta.pod pod/perl5400delta.pod
> DYLD_LIBRARY_PATH=/private/tmp/nix-build-perl-5.40.0.drv-0/perl-5.40.0 ./miniperl -Ilib autodoc.pl
> make: *** [GNUmakefile:439: pod/perlintern.pod] Killed: 9
For full logs, run:
nix log /nix/store/g0csixy7mfs561pfwp27p1h41vkbp7w0-perl-5.40.0.drv
error: 1 dependencies of derivation '/nix/store/72q9z4rgdwxyybh9zy2pq5qs406mg43i-curl-8.16.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/2g7xwc34fr6h9kk7mwwbs1xc1h81lr8y-OpenJDK24U-jdk_aarch64_mac_hotspot_24.0.2_12.tar.gz.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3l24g66zxa4bqjf3w6wykwcgrb7f3nnr-temurin-bin-24.0.2.drv' failed to build
| 16:41:37 |
emily | I'll have to look into the perl failure. anyway, just rebase it on the merge base. there's instructions in CONTRIBUTING.md | 16:42:04 |
msgilligan | OK, cool. Will do. | 16:42:17 |