Skip to content

stdenv: support aarch64-darwin - #184

Merged
jonringer merged 22 commits into
ekala-project:masterfrom
qweered:support-darwin
Sep 10, 2026
Merged

stdenv: support aarch64-darwin#184
jonringer merged 22 commits into
ekala-project:masterfrom
qweered:support-darwin

Conversation

@qweered

@qweered qweered commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Still messy and needs cleanup, but better than nixpkgs's implementation

@jonringer

Copy link
Copy Markdown
Collaborator

Oh snap! Very nice

broken, not in scope of corepkgs
@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Native validation on ci@petit (aarch64-darwin), latest commit 338c415834184b65b97fd83ba565713c27295229:

freshBootstrapTools.test fails during evaluation:

$ nix-instantiate -A stdenv -A freshBootstrapTools.test
error: evaluation aborted with the following error message:
'callPackageWith: Function called without required argument "hello" at
stdenv/darwin/test-bootstrap-tools.nix:6, did you mean "ell"?'

stdenv itself evaluates successfully. The earlier native build at 9906f175 progressed through SDK processing and bootstrap dependencies (including Perl, bison, coreutils, and sed), but was interrupted to test the updated PR; it has no final build result.

Pausing builds at this failure and watching for a PR update before retrying.

@qweered

qweered commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

yeah thats expected, try nix-build -A git to build most of the deps

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Thanks, running nix-build -A git --keep-going on ci@petit at 338c4158 now. The existing stdenv build is continuing, and Nix can share completed dependencies between them.

Live build dashboard — I'll keep watching new commits and comments, report build failures, and retry on new commits.

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Native build failure on ci@petit (aarch64-darwin), attempt 338c4158 (current PR build 338c415834184b65b97fd83ba565713c27295229):

cmake-minimal-3.31.10

error: Cannot build '/nix/store/ijcx5nx9q4j3grrak8w1gwvw6kdf43im-cmake-minimal-3.31.10.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/1yxdfms6ahrrcksdidm0ga3hsd8wipp0-cmake-minimal-3.31.10
       Last 25 log lines:
       > setting SOURCE_DATE_EPOCH to timestamp 1763407711 of file "cmake-3.31.10/configure"
       > Running phase: patchPhase
       > applying patch /nix/store/s4xzpbb2irf2ijmg4vp34lzv624jkbac-000-nixpkgs-cmake-prefix-path.diff
       > patching file Source/cmFindBase.cxx
       > Hunk #1 succeeded at 279 (offset -1 lines).
       > patching file Source/cmFindPackageCommand.cxx
       > Hunk #1 succeeded at 2070 (offset 31 lines).
       > applying patch /nix/store/k0qj9nfiy76y67ga43pszjqdk8f3915i-001-search-path.diff
       > patching file Modules/Platform/UnixPaths.cmake
       > Hunk #1 succeeded at 29 (offset 3 lines).
       > Hunk #2 succeeded at 48 (offset 4 lines).
       > patching file Modules/Platform/WindowsPaths.cmake
       > Hunk #1 succeeded at 71 (offset 1 line).
       > applying patch /nix/store/rq41inv92jszcs5x62nc5cci5hapbjpw-003-libuv-application-services.diff
       > patching file Utilities/cmlibuv/CMakeLists.txt
       > Hunk #1 succeeded at 195 (offset 2 lines).
       > patching file Utilities/cmlibuv/src/unix/fsevents.c
       > Hunk #3 succeeded at 913 (offset -7 lines).
       > applying patch /nix/store/08g21p1mryn3n3b2xi2jy68d7flj8j9n-005-remove-systemconfiguration-dep.diff
       > patching file Utilities/cmcurl/CMakeLists.txt
       > Hunk #1 FAILED at 470.
       > 1 out of 1 hunk FAILED -- saving rejects to file Utilities/cmcurl/CMakeLists.txt.rej
       > patching file Utilities/cmcurl/lib/curl_setup.h
       > Hunk #1 FAILED at 255.
       > 1 out of 1 hunk FAILED -- saving rejects to file Utilities/cmcurl/lib/curl_setup.h.rej
       For full logs, run:
         nix log /nix/store/ijcx5nx9q4j3grrak8w1gwvw6kdf43im-cmake-minimal-3.31.10.drv
waiting for lock on '/nix/store/4mgv0xixpz5a08z3b5d2367d1bad8zxg-clang-src-21.1.8'...
waiting for lock on '/nix/store/x57nnhiirv4596s3gs4x4d7jxv4pvgzv-compiler-rt-src-21.1.8'...
waiting for lock on '/nix/store/r39iknxx03nc032ynqa2cmay5sh6gjfc-libbfd-plugin-api-header'...
waiting for lock on '/nix/store/r1d5qy6l146bwh0mx1513bprzlrfsamv-libcxx-21.1.6+apple-sdk-26.5'...
waiting for lock on '/nix/store/1svgrdf2gs2dsc0pr4cv9qxyxansxglv-llvm-src-21.1.8'...
waiting for lock on '/nix/store/hg88q7l3cfbph2fplyrw1q4rddq3szca-llvm-tblgen-src-21.1.8'...
waiting for lock on '/nix/store/pkqznksdklrcixw1vc00c70mplbbhd6z-locale-118'...
waiting for lock on '/nix/store/bixc2gcnc8941dzhha56az5680c3mxvr-xcode-project-check-hook'...
building '/nix/store/k1iscfmmvmnnlwr40r14hadviby1w0aa-make-shell-wrapper-hook.drv'...

Last package log lines:

got build log for '/nix/store/ijcx5nx9q4j3grrak8w1gwvw6kdf43im-cmake-minimal-3.31.10.drv' from 'daemon'
structuredAttrs is enabled
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/97a2calniqdfq67krmlav72hyfm1j2p6-cmake-3.31.10.tar.gz
source root is cmake-3.31.10
setting SOURCE_DATE_EPOCH to timestamp 1763407711 of file "cmake-3.31.10/configure"
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/s4xzpbb2irf2ijmg4vp34lzv624jkbac-000-nixpkgs-cmake-prefix-path.diff
patching file Source/cmFindBase.cxx
Hunk #1 succeeded at 279 (offset -1 lines).
patching file Source/cmFindPackageCommand.cxx
Hunk #1 succeeded at 2070 (offset 31 lines).
applying patch /nix/store/k0qj9nfiy76y67ga43pszjqdk8f3915i-001-search-path.diff
patching file Modules/Platform/UnixPaths.cmake
Hunk #1 succeeded at 29 (offset 3 lines).
Hunk #2 succeeded at 48 (offset 4 lines).
patching file Modules/Platform/WindowsPaths.cmake
Hunk #1 succeeded at 71 (offset 1 line).
applying patch /nix/store/rq41inv92jszcs5x62nc5cci5hapbjpw-003-libuv-application-services.diff
patching file Utilities/cmlibuv/CMakeLists.txt
Hunk #1 succeeded at 195 (offset 2 lines).
patching file Utilities/cmlibuv/src/unix/fsevents.c
Hunk #3 succeeded at 913 (offset -7 lines).
applying patch /nix/store/08g21p1mryn3n3b2xi2jy68d7flj8j9n-005-remove-systemconfiguration-dep.diff
patching file Utilities/cmcurl/CMakeLists.txt
Hunk #1 FAILED at 470.
1 out of 1 hunk FAILED -- saving rejects to file Utilities/cmcurl/CMakeLists.txt.rej
patching file Utilities/cmcurl/lib/curl_setup.h
Hunk #1 FAILED at 255.
1 out of 1 hunk FAILED -- saving rejects to file Utilities/cmcurl/lib/curl_setup.h.rej

Continuing independent builds with --keep-going; this failure will be retried only after a new PR commit.

Running dashboard

@qweered
qweered force-pushed the support-darwin branch 2 times, most recently from 1ac25bd to 45beeeb Compare September 9, 2026 16:25
@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Build recovery on ci@petit (aarch64-darwin): cmake-minimal-3.31.10 has now built successfully at 45beeeb95b6b88126514ba6df0d10a80e0966a4c. All outputs of the following derivation are valid in the Nix store:

/nix/store/jk5k24jz9qwr0fhmj7m978wsc6400rvr-cmake-minimal-3.31.10.drv

Previously reported failure. The overall git --keep-going build is tracked separately; this confirms this package build, not every bootstrap stage or the full target.

Live dashboard

Assisted-by: codex with gpt-5.6-sol-high
@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Native build failure on ci@petit (aarch64-darwin), attempt 45beeeb9 (current PR build 45beeeb95b6b88126514ba6df0d10a80e0966a4c):

ld64-954.16

error: Cannot build '/nix/store/8d5vkh74jzm5av3lvvk59238703d8d9y-ld64-954.16.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/pd4hsqahh7fc08akxlg12rm9106sp3s8-ld64-954.16-lib
         /nix/store/syz9fr8skapxdzxzk0cgzmql7z6j78mb-ld64-954.16-dev
         /nix/store/x7dghqd059hg906hpgmnh3hs3gfdrx5i-ld64-954.16
       Last 25 log lines:
       > patching file src/ld/OutputFile.cpp
       > patching file subprojects/libcodedirectory/cs_blobs.h
       > patching file subprojects/libcodedirectory/libcodedirectory.c
       > applying patch /nix/store/a3msqmkfn0n8fm2pv1npcnnl04v5nsvk-0015-Add-libcd_is_blob_a_linker_signature-implementation.patch
       > patching file subprojects/libcodedirectory/libcodedirectory.c
       > patching file subprojects/libcodedirectory/libcodedirectory.h
       > applying patch /nix/store/7snfrwmnxcppi47dbd8yasc7yr9h3h3l-0016-Add-dyldinfo-to-the-ld64-build.patch
       > patching file src/other/meson.build
       > applying patch /nix/store/qbdkkqwjhs3pn1av8nv426i1mbr72rs7-0017-Fix-dyldinfo-build.patch
       > File src/other/dyldinfo.cpp is read-only; trying to patch anyway
       > patching file src/other/dyldinfo.cpp
       > applying patch /nix/store/p51vwfqqg4mpcbx7clmc0ijdzh9j2x2m-0018-Use-STL-containers-instead-of-LLVM-containers.patch
       > patching file src/abstraction/Containers.h
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > fixing cmake files...
       > cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/pd4hsqahh7fc08akxlg12rm9106sp3s8-ld64-954.16-lib/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/pd4hsqahh7fc08akxlg12rm9106sp3s8-ld64-954.16-lib/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/pd4hsqahh7fc08akxlg12rm9106sp3s8-ld64-954.16-lib/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/x7dghqd059hg906hpgmnh3hs3gfdrx5i-ld64-954.16/share/doc/ld64 -DCMAKE_INSTALL_INFODIR=/nix/store/x7dghqd059hg906hpgmnh3hs3gfdrx5i-ld64-954.16/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/x7dghqd059hg906hpgmnh3hs3gfdrx5i-ld64-954.16/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/syz9fr8skapxdzxzk0cgzmql7z6j78mb-ld64-954.16-dev/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/syz9fr8skapxdzxzk0cgzmql7z6j78mb-ld64-954.16-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/x7dghqd059hg906hpgmnh3hs3gfdrx5i-ld64-954.16/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/x7dghqd059hg906hpgmnh3hs3gfdrx5i-ld64-954.16/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/pd4hsqahh7fc08akxlg12rm9106sp3s8-ld64-954.16-lib/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/3gqwa9v9rcv9cqxaa1z18c49cvaz664s-bootstrap-stage0-clang-wrapper-boot/bin/strip -DCMAKE_RANLIB=/nix/store/3gqwa9v9rcv9cqxaa1z18c49cvaz664s-bootstrap-stage0-clang-wrapper-boot/

Last package log lines:

patching file meson.build
patching file subprojects/libtapi/meson.build
patching file subprojects/libtapi/tapi/meson.build
applying patch /nix/store/k6zrwaags57si3i0z1k5j6p2c5qq12ca-0011-Modify-vendored-libtapi-to-build-with-upstream-LLVM.patch
File subprojects/libtapi/LinkerInterfaceFile.cpp is read-only; trying to patch anyway
patching file subprojects/libtapi/LinkerInterfaceFile.cpp
applying patch /nix/store/9ipkwjj12lvs757jx3kksycijkbzp4j3-0012-Move-libcodedirectory-to-its-own-subproject.patch
patching file meson.build
patching file src/ld/meson.build
patching file subprojects/libcodedirectory/APPLE_LICENSE
patching file subprojects/libcodedirectory/cs_blobs.h (renamed from src/ld/cs_blobs.h)
patching file subprojects/libcodedirectory/libcodedirectory.c (renamed from src/ld/libcodedirectory.c)
patching file subprojects/libcodedirectory/libcodedirectory.h (renamed from src/ld/libcodedirectory.h)
patching file subprojects/libcodedirectory/meson.build
applying patch /nix/store/nfw5ir2x8z81h8gkkg17b9ysk0h1zzh3-0013-Set-the-version-string-in-the-build.patch
patching file src/ld/meson.build
applying patch /nix/store/855q8h6y2s570s7p5ipmbl74na7mfy3g-0014-Replace-corecrypto-and-CommonCrypto-with-OpenSSL.patch
patching file src/ld/LinkEdit.hpp
patching file src/ld/OutputFile.cpp
patching file subprojects/libcodedirectory/cs_blobs.h
patching file subprojects/libcodedirectory/libcodedirectory.c
applying patch /nix/store/a3msqmkfn0n8fm2pv1npcnnl04v5nsvk-0015-Add-libcd_is_blob_a_linker_signature-implementation.patch
patching file subprojects/libcodedirectory/libcodedirectory.c
patching file subprojects/libcodedirectory/libcodedirectory.h
applying patch /nix/store/7snfrwmnxcppi47dbd8yasc7yr9h3h3l-0016-Add-dyldinfo-to-the-ld64-build.patch
patching file src/other/meson.build
applying patch /nix/store/qbdkkqwjhs3pn1av8nv426i1mbr72rs7-0017-Fix-dyldinfo-build.patch
File src/other/dyldinfo.cpp is read-only; trying to patch anyway
patching file src/other/dyldinfo.cpp
applying patch /nix/store/p51vwfqqg4mpcbx7clmc0ijdzh9j2x2m-0018-Use-STL-containers-instead-of-LLVM-containers.patch
patching file src/abstraction/Containers.h
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
fixing cmake files...
cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/pd4hsqahh7fc08akxlg12rm9106sp3s8-ld64-954.16-lib/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/pd4hsqahh7fc08akxlg12rm9106sp3s8-ld64-954.16-lib/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/pd4hsqahh7fc08akxlg12rm9106sp3s8-ld64-954.16-lib/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/x7dghqd059hg906hpgmnh3hs3gfdrx5i-ld64-954.16/share/doc/ld64 -DCMAKE_INSTALL_INFODIR=/nix/store/x7dghqd059hg906hpgmnh3hs3gfdrx5i-ld64-954.16/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/x7dghqd059hg906hpgmnh3hs3gfdrx5i-ld64-954.16/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/syz9fr8skapxdzxzk0cgzmql7z6j78mb-ld64-954.16-dev/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/syz9fr8skapxdzxzk0cgzmql7z6j78mb-ld64-954.16-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/x7dghqd059hg906hpgmnh3hs3gfdrx5i-ld64-954.16/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/x7dghqd059hg906hpgmnh3hs3gfdrx5i-ld64-954.16/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/pd4hsqahh7fc08akxlg12rm9106sp3s8-ld64-954.16-lib/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/3gqwa9v9rcv9cqxaa1z18c49cvaz664s-bootstrap-stage0-clang-wrapper-boot/bin/strip -DCMAKE_RANLIB=/nix/store/3gqwa9v9rcv9cqxaa1z18c49cvaz664s-bootstrap-stage0-clang-wrapper-boot/bin/ranlib -DCMAKE_AR=/nix/store/3gqwa9v9rcv9cqxaa1z18c49cvaz664s-bootstrap-stage0-clang-wrapper-boot/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/x7dghqd059hg906hpgmnh3hs3gfdrx5i-ld64-954.16
�[33mCMake Warning:
  Ignoring extra path from command line:

   ".."

�[0m
�[0mCMake Error: The source directory "/nix/var/nix/builds/nix-41783-672327505/ld64-64-954.16-github-source" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.�[0m

Continuing independent builds with --keep-going; this failure will be retried only after a new PR commit.

Running dashboard

@jonringer

Copy link
Copy Markdown
Collaborator

I could have sworn we added hello back. or at least agreed that it's fine to do so

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Build recovery on ci@petit (aarch64-darwin): ld64-954.16 has now built successfully at 24d716d1a3ceb199a43d1e96b7706fe212d9c886. All outputs of the following derivation are valid in the Nix store:

/nix/store/dsiydqxgqhwd784w13fr9z5pfjs729hg-ld64-954.16.drv

Package duration was not recorded for this attempt.

Previously reported failure. The overall git --keep-going build is tracked separately; this confirms this package build, not every bootstrap stage or the full target.

Live dashboard

@qweered

qweered commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

I could have sworn we added hello back. or at least agreed that it's fine to do so

I removed it again recently 😅

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Human here, I think it is time I created a bot version of myself for GitHub.

@qweered

qweered commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Agent, restart git build from scratch for latest commit, it should unblock all jobs

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

@qweered Restarted nix-build -A git --keep-going on petit at the latest PR commit, 24d716d1a3ceb199a43d1e96b7706fe212d9c886, as requested. The previous invocation has been stopped, and the new one is running. Completed Nix outputs remain available to the fresh invocation.

This attempt also records per-package build durations. I’ll report failures and recoveries here.

Live dashboard


Nixie 🐾 — Srid’s pet build gremlin.

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Native build failure on ci@petit (aarch64-darwin), attempt 24d716d1 (current PR build 24d716d1a3ceb199a43d1e96b7706fe212d9c886):

gawk-5.3.2

Package build duration: 0m 45s (excludes dependency waiting).

error: Cannot build '/nix/store/kqfk9354fs5ps1pf9skmkb5ra55gyc95-gawk-5.3.2.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/47f8kv0gcmdfa6pw68fw7vzr752ljlmv-gawk-5.3.2-man
         /nix/store/4vyy6i1zx02kascp96ac3hxgw6ki1lgk-gawk-5.3.2-info
         /nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2
       Last 25 log lines:
       >   154 | #define UINTPTR_MAX       18446744073709551615UL
       >       |                           ^~~~~~~~~~~~~~~~~~~~~~
       > builtin.c:1847:17: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
       >  1847 |                         else if (d < LONG_MAX)
       >       |                                    ~ ^~~~~~~~
       > /nix/store/anp26f4pnsc92pgqcfkgwbrw7nyd74hz-clang-wrapper-21.1.8/resource-root/include/limits.h:51:19: note: expanded from macro 'LONG_MAX'
       >    51 | #define LONG_MAX  __LONG_MAX__
       >       |                   ^~~~~~~~~~~~
       > <built-in>:63:22: note: expanded from macro '__LONG_MAX__'
       >    63 | #define __LONG_MAX__ 9223372036854775807L
       >       |                      ^~~~~~~~~~~~~~~~~~~~
       > clang -std=gnu23 -DDEFPATH='".:/nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2/share/awk"' -DDEFLIBPATH="\"/nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2/lib/gawk\"" -DSHLIBEXT="\"so"\" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2/share/locale"' -I"./support" -I.    -g -O3 -DNDEBUG -g -O3 -DNDEBUG -c -o gawkapi.o gawkapi.c
       > clang -std=gnu23 -DDEFPATH='".:/nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2/share/awk"' -DDEFLIBPATH="\"/nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2/lib/gawk\"" -DSHLIBEXT="\"so"\" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2/share/locale"' -I"./support" -I.    -g -O3 -DNDEBUG -g -O3 -DNDEBUG -c -o gawkmisc.o gawkmisc.c
       > In file included from gawkmisc.c:38:
       > ./posix/gawkmisc.c:359:8: error: use of undeclared identifier '_NSGetExecutablePath'
       >   359 |                         n = _NSGetExecutablePath(fullpath, &size);
       >       |                             ^~~~~~~~~~~~~~~~~~~~
       > 1 error generated.
       > make[2]: *** [Makefile:769: gawkmisc.o] Error 1
       > make[2]: *** Waiting for unfinished jobs....
       > 4 warnings generated.
       > make[2]: Leaving directory '/nix/var/nix/builds/nix-34963-35574512/gawk-5.3.2'
       > make[1]: *** [Makefile:810: all-recursive] Error 1
       > make[1]: Leaving directory '/nix/var/nix/builds/nix-34963-35574512/gawk-5.3.2'
       > make: *** [Makefile:589: all] Error 2
       For full logs, run:
         nix log /nix/store/kqfk9354fs5ps1pf9skmkb5ra55gyc95-gawk-5.3.2.drv
checking for unreachable... yes
checking whether locale.h defines locale_t... no
checking whether locale.h co

Last package log lines:

      | �[0;1;32m                          ^~~~~~~~~~~
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h:154:27: �[0m�[0;1;36mnote: �[0mexpanded from macro 'UINTPTR_MAX'�[0m
  154 | #define UINTPTR_MAX       �[0;32m18446744073709551615UL�[0m
      | �[0;1;32m                          ^~~~~~~~~~~~~~~~~~~~~~
�[0m�[1mbuiltin.c:740:18: �[0m�[0;1;35mwarning: �[0m�[1mimplicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]�[0m
  740 |                 �[0;34mif�[0m (d_length < SIZE_MAX)�[0m
      | �[0;1;32m                             ~ ^~~~~~~~
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h:173:27: �[0m�[0;1;36mnote: �[0mexpanded from macro 'SIZE_MAX'�[0m
  173 | #define SIZE_MAX          UINTPTR_MAX�[0m
      | �[0;1;32m                          ^~~~~~~~~~~
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h:154:27: �[0m�[0;1;36mnote: �[0mexpanded from macro 'UINTPTR_MAX'�[0m
  154 | #define UINTPTR_MAX       �[0;32m18446744073709551615UL�[0m
      | �[0;1;32m                          ^~~~~~~~~~~~~~~~~~~~~~
�[0m�[1mbuiltin.c:758:17: �[0m�[0;1;35mwarning: �[0m�[1mimplicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]�[0m
  758 |         �[0;34mif�[0m (d_index <= SIZE_MAX)�[0m
      | �[0;1;32m                    ~~ ^~~~~~~~
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h:173:27: �[0m�[0;1;36mnote: �[0mexpanded from macro 'SIZE_MAX'�[0m
  173 | #define SIZE_MAX          UINTPTR_MAX�[0m
      | �[0;1;32m                          ^~~~~~~~~~~
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h:154:27: �[0m�[0;1;36mnote: �[0mexpanded from macro 'UINTPTR_MAX'�[0m
  154 | #define UINTPTR_MAX       �[0;32m18446744073709551615UL�[0m
      | �[0;1;32m                          ^~~~~~~~~~~~~~~~~~~~~~
�[0m�[1mbuiltin.c:1847:17: �[0m�[0;1;35mwarning: �[0m�[1mimplicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]�[0m
 1847 |                         �[0;34melse�[0m �[0;34mif�[0m (d < LONG_MAX)�[0m
      | �[0;1;32m                                   ~ ^~~~~~~~
�[0m�[1m/nix/store/anp26f4pnsc92pgqcfkgwbrw7nyd74hz-clang-wrapper-21.1.8/resource-root/include/limits.h:51:19: �[0m�[0;1;36mnote: �[0mexpanded from macro 'LONG_MAX'�[0m
   51 | #define LONG_MAX  __LONG_MAX__�[0m
      | �[0;1;32m                  ^~~~~~~~~~~~
�[0m�[1m<built-in>:63:22: �[0m�[0;1;36mnote: �[0mexpanded from macro '__LONG_MAX__'�[0m
   63 | #define __LONG_MAX__ �[0;32m9223372036854775807L�[0m
      | �[0;1;32m                     ^~~~~~~~~~~~~~~~~~~~
�[0mclang -std=gnu23 -DDEFPATH='".:/nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2/share/awk"' -DDEFLIBPATH="\"/nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2/lib/gawk\"" -DSHLIBEXT="\"so"\" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2/share/locale"' -I"./support" -I.    -g -O3 -DNDEBUG -g -O3 -DNDEBUG -c -o gawkapi.o gawkapi.c
clang -std=gnu23 -DDEFPATH='".:/nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2/share/awk"' -DDEFLIBPATH="\"/nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2/lib/gawk\"" -DSHLIBEXT="\"so"\" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/nix/store/qpak80y4m19hip5mcp0vgxj270z9w8k0-gawk-5.3.2/share/locale"' -I"./support" -I.    -g -O3 -DNDEBUG -g -O3 -DNDEBUG -c -o gawkmisc.o gawkmisc.c
In file included from gawkmisc.c:38:
�[1m./posix/gawkmisc.c:359:8: �[0m�[0;1;31merror: �[0m�[1muse of undeclared identifier '_NSGetExecutablePath'�[0m
  359 |                         n = _NSGetExecutablePath(fullpath, &size);�[0m
      | �[0;1;32m                            ^~~~~~~~~~~~~~~~~~~~
�[0m1 error generated.
make[2]: *** [Makefile:769: gawkmisc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
4 warnings generated.
make[2]: Leaving directory '/nix/var/nix/builds/nix-34963-35574512/gawk-5.3.2'
make[1]: *** [Makefile:810: all-recursive] Error 1
make[1]: Leaving directory '/nix/var/nix/builds/nix-34963-35574512/gawk-5.3.2'
make: *** [Makefile:589: all] Error 2

Continuing independent builds with --keep-going; this failure will be retried only after a new PR commit.

Running dashboard


Nixie 🐾 — Srid’s pet build gremlin.

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Native build failure on ci@petit (aarch64-darwin), attempt 24d716d1 (current PR build 24d716d1a3ceb199a43d1e96b7706fe212d9c886):

make-4.4.1

Package build duration: 0m 29s (excludes dependency waiting).

error: Cannot build '/nix/store/lpwhfyjzrh8rpxmmpfmjlz5jz1frj39i-make-4.4.1.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/7ik8kmlrb6py27sssq0bncl0ykr2cyhr-make-4.4.1
         /nix/store/j8nq6qbfmg5r87fvfvkdfvklg8im2xm2-make-4.4.1-man
         /nix/store/jyrpvlkx43k5qyx72hc2rq4j1jcizcgv-make-4.4.1-info
       Last 25 log lines:
       > } > glob.h-t && \
       > mv -f glob.h-t glob.h
       > mv alloca.h-t alloca.h
       > make  all-recursive
       > make[2]: Entering directory '/nix/var/nix/builds/nix-34963-35574513/make-4.4.1/lib'
       > make[3]: Entering directory '/nix/var/nix/builds/nix-34963-35574513/make-4.4.1/lib'
       > clang -std=gnu23 -DHAVE_CONFIG_H -I. -I../src     -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -g -O2 -c -o libgnu_a-concat-filename.o `test -f 'concat-filename.c' || echo './'`concat-filename.c
       > clang -std=gnu23 -DHAVE_CONFIG_H -I. -I../src     -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -g -O2 -c -o libgnu_a-findprog-in.o `test -f 'findprog-in.c' || echo './'`findprog-in.c
       > clang -std=gnu23 -DHAVE_CONFIG_H -I. -I../src     -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -g -O2 -c -o libgnu_a-fnmatch.o `test -f 'fnmatch.c' || echo './'`fnmatch.c
       > clang -std=gnu23 -DHAVE_CONFIG_H -I. -I../src     -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -g -O2 -c -o libgnu_a-glob.o `test -f 'glob.c' || echo './'`glob.c
       > fnmatch.c:124:14: error: conflicting types for 'getenv'
       >   124 | extern char *getenv ();
       >       |              ^
       > /nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:7: note: previous declaration is here
       >   147 | char    *getenv(const char *);
       >       |          ^
       > 1 error generated.
       > make[3]: *** [Makefile:622: libgnu_a-fnmatch.o] Error 1
       > make[3]: *** Waiting for unfinished jobs....
       > make[3]: Leaving directory '/nix/var/nix/builds/nix-34963-35574513/make-4.4.1/lib'
       > make[2]: *** [Makefile:666: all-recursive] Error 1
       > make[2]: Leaving directory '/nix/var/nix/builds/nix-34963-35574513/make-4.4.1/lib'
       > make[1]: *** [Makefile:490: all] Error 2
       > make[1]: Leaving directory '/nix/va

Last package log lines:

config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: -j10 SHELL=/nix/store/v7zglnpixywg40jrgmrrdygvp8wqm620-bash-5.3p3/bin/bash
Making all in lib
make[1]: Entering directory '/nix/var/nix/builds/nix-34963-35574513/make-4.4.1/lib'
sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \
  -e 's|@''HAVE_ALLOCA_H''@|1|g' \
  ./alloca.in.h > alloca.h-t
rm -f fnmatch.h-t fnmatch.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  cat ./fnmatch.in.h; \
} > fnmatch.h-t && \
mv -f fnmatch.h-t fnmatch.h
rm -f glob.h-t glob.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  cat ./glob.in.h; \
} > glob.h-t && \
mv -f glob.h-t glob.h
mv alloca.h-t alloca.h
make  all-recursive
make[2]: Entering directory '/nix/var/nix/builds/nix-34963-35574513/make-4.4.1/lib'
make[3]: Entering directory '/nix/var/nix/builds/nix-34963-35574513/make-4.4.1/lib'
clang -std=gnu23 -DHAVE_CONFIG_H -I. -I../src     -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -g -O2 -c -o libgnu_a-concat-filename.o `test -f 'concat-filename.c' || echo './'`concat-filename.c
clang -std=gnu23 -DHAVE_CONFIG_H -I. -I../src     -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -g -O2 -c -o libgnu_a-findprog-in.o `test -f 'findprog-in.c' || echo './'`findprog-in.c
clang -std=gnu23 -DHAVE_CONFIG_H -I. -I../src     -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -g -O2 -c -o libgnu_a-fnmatch.o `test -f 'fnmatch.c' || echo './'`fnmatch.c
clang -std=gnu23 -DHAVE_CONFIG_H -I. -I../src     -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -g -O2 -c -o libgnu_a-glob.o `test -f 'glob.c' || echo './'`glob.c
�[1mfnmatch.c:124:14: �[0m�[0;1;31merror: �[0m�[1mconflicting types for 'getenv'�[0m
  124 | �[0;34mextern�[0m �[0;34mchar�[0m *getenv ();�[0m
      | �[0;1;32m             ^
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:7: �[0m�[0;1;36mnote: �[0mprevious declaration is here�[0m
  147 | �[0;34mchar�[0m    *getenv(�[0;34mconst�[0m �[0;34mchar�[0m *);�[0m
      | �[0;1;32m         ^
�[0m1 error generated.
make[3]: *** [Makefile:622: libgnu_a-fnmatch.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/nix/var/nix/builds/nix-34963-35574513/make-4.4.1/lib'
make[2]: *** [Makefile:666: all-recursive] Error 1
make[2]: Leaving directory '/nix/var/nix/builds/nix-34963-35574513/make-4.4.1/lib'
make[1]: *** [Makefile:490: all] Error 2
make[1]: Leaving directory '/nix/var/nix/builds/nix-34963-35574513/make-4.4.1/lib'
make: *** [Makefile:1000: all-recursive] Error 1

Continuing independent builds with --keep-going; this failure will be retried only after a new PR commit.

Running dashboard


Nixie 🐾 — Srid’s pet build gremlin.

@qweered

qweered commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Fixed both builds. Agent: fully restart git build, cleanup failures

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Build recovery on ci@petit (aarch64-darwin): gawk-5.3.2 has now built successfully at 175c977e9776dcb4894db8b0f4d79193342ae3e0. All outputs of the following derivation are valid in the Nix store:

/nix/store/f7724fbg1pm456nfas6nm3qk7a8nmdnq-gawk-5.3.2.drv

Package duration was not recorded for this attempt.

Previously reported failure. The overall git --keep-going build is tracked separately; this confirms this package build, not every bootstrap stage or the full target.

Live dashboard


Nixie 🐾 — Srid’s pet build gremlin.

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Build recovery on ci@petit (aarch64-darwin): make-4.4.1 has now built successfully at 175c977e9776dcb4894db8b0f4d79193342ae3e0. All outputs of the following derivation are valid in the Nix store:

/nix/store/zh7nb0cwy6jq4x6zjz7jcww4l9ga8svi-make-4.4.1.drv

Package duration was not recorded for this attempt.

Previously reported failure. The overall git --keep-going build is tracked separately; this confirms this package build, not every bootstrap stage or the full target.

Live dashboard


Nixie 🐾 — Srid’s pet build gremlin.

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Native build failure on ci@petit (aarch64-darwin), attempt 175c977e (current PR build 175c977e9776dcb4894db8b0f4d79193342ae3e0):

groff-1.23.0

Package build duration: 0m 49s (excludes dependency waiting).

error: Cannot build '/nix/store/6fycc6s2aqk1f1gw2b576qx6ifdha2ib-groff-1.23.0.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/3x2a426srj01gxf4sjqd8gc1mrwily5b-groff-1.23.0-doc
         /nix/store/883dv381vxqnkl2isd36fq0qhzpwhdax-groff-1.23.0
         /nix/store/90hz0sb5yhgzxbcwc6kj4acpz1mi0qrp-groff-1.23.0-perl
         /nix/store/s4nhchpkpdlmqi7xgqlsba1jz7vn219j-groff-1.23.0-man
         /nix/store/zpjcfy3kx9ari00hmh2d9zgrz0zghl4j-groff-1.23.0-info
       Last 25 log lines:
       > src/libs/libgroff/fontfile.cpp:67:29: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
       >    67 |     const int actual_size = sprintf(filename, "dev%s/%s", device, nm);
       >       |                             ^
       > /nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
       >   180 | __deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
       >       | ^
       > /nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
       >   218 |         #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
       >       |                                                       ^
       > 1 warning generated.
       >   CXX      src/libs/libgroff/libgroff_a-glyphuni.o
       > src/libs/libgroff/getopt.c:125:14: error: conflicting types for 'getenv'
       >   125 | extern char *getenv ();
       >       |              ^
       > /nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:7: note: previous declaration is here
       >   147 | char    *getenv(const char *);
       >       |          ^
       > 1 error generated.
       > 5 warnings generated.
       > make[1]: *** [Makefile:7906: src/libs/libgroff/libgroff_a-getopt.o] Error 1
       > make[1]: *** Waiting for unfinished jobs....
       > 12 warnings generated.
       > 14 warnings generated.
       > make[1]: Leaving directory '/nix/var/nix/builds/nix-27335-3855502075/groff-1.23.0'
       > make: *** [Makefile:6184: all] Error 2
       For full logs, run:
         nix log /nix/store/6fycc6s2aqk1f1gw2b576qx6ifdha2ib-groff-1.23.0.drv
checking for chown... yes
checking for clock... yes
/nix/store/rjgkn4c7brr93a0b9cyy3gh6kvglgivr-coreutils-9.8/bin/install -c -m 644 ./support/bash.pc /nix/store/fhad4gb82hfizv5q2xp8ihqam18g44vk-bash-interactive-5.3p3-dev/lib/pkgco

Last package log lines:

�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: �[0m�[0;1;36mnote: �[0m'sprintf' has been explicitly marked deprecated here�[0m
  180 | __deprecated_msg(�[0;32m"This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead."�[0m)�[0m
      | �[0;1;32m^
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: �[0m�[0;1;36mnote: �[0mexpanded from macro '__deprecated_msg'�[0m
  218 |         #define __deprecated_msg(_msg) �[0;34m__attribute__�[0m((__deprecated__(_msg)))�[0m
      | �[0;1;32m                                                      ^
�[0m�[1msrc/devices/grodvi/dvi.cpp:836:2: �[0m�[0;1;35mwarning: �[0m�[1m'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]�[0m
  836 |         sprintf(buf,�[0m
      | �[0;1;32m        ^
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: �[0m�[0;1;36mnote: �[0m'sprintf' has been explicitly marked deprecated here�[0m
  180 | __deprecated_msg(�[0;32m"This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead."�[0m)�[0m
      | �[0;1;32m^
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: �[0m�[0;1;36mnote: �[0mexpanded from macro '__deprecated_msg'�[0m
  218 |         #define __deprecated_msg(_msg) �[0;34m__attribute__�[0m((__deprecated__(_msg)))�[0m
      | �[0;1;32m                                                      ^
�[0m  CXX      src/libs/libgroff/libgroff_a-font.o
  CXX      src/libs/libgroff/libgroff_a-fontfile.o
  CXX      src/libs/libgroff/libgroff_a-geometry.o
  CC       src/libs/libgroff/libgroff_a-getopt.o
  CC       src/libs/libgroff/libgroff_a-getopt1.o
�[1msrc/libs/libgroff/fontfile.cpp:67:29: �[0m�[0;1;35mwarning: �[0m�[1m'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]�[0m
   67 |     �[0;34mconst�[0m �[0;34mint�[0m actual_size = sprintf(filename, �[0;32m"dev%s/%s"�[0m, device, nm);�[0m
      | �[0;1;32m                            ^
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: �[0m�[0;1;36mnote: �[0m'sprintf' has been explicitly marked deprecated here�[0m
  180 | __deprecated_msg(�[0;32m"This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead."�[0m)�[0m
      | �[0;1;32m^
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: �[0m�[0;1;36mnote: �[0mexpanded from macro '__deprecated_msg'�[0m
  218 |         #define __deprecated_msg(_msg) �[0;34m__attribute__�[0m((__deprecated__(_msg)))�[0m
      | �[0;1;32m                                                      ^
�[0m1 warning generated.
  CXX      src/libs/libgroff/libgroff_a-glyphuni.o
�[1msrc/libs/libgroff/getopt.c:125:14: �[0m�[0;1;31merror: �[0m�[1mconflicting types for 'getenv'�[0m
  125 | �[0;34mextern�[0m �[0;34mchar�[0m *getenv ();�[0m
      | �[0;1;32m             ^
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:147:7: �[0m�[0;1;36mnote: �[0mprevious declaration is here�[0m
  147 | �[0;34mchar�[0m    *getenv(�[0;34mconst�[0m �[0;34mchar�[0m *);�[0m
      | �[0;1;32m         ^
�[0m1 error generated.
5 warnings generated.
make[1]: *** [Makefile:7906: src/libs/libgroff/libgroff_a-getopt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
12 warnings generated.
14 warnings generated.
make[1]: Leaving directory '/nix/var/nix/builds/nix-27335-3855502075/groff-1.23.0'
make: *** [Makefile:6184: all] Error 2

Continuing independent builds with --keep-going; this failure will be retried only after a new PR commit.

Running dashboard


Nixie 🐾 — Srid’s pet build gremlin.

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Native build failure on ci@petit (aarch64-darwin), attempt 175c977e (current PR build 175c977e9776dcb4894db8b0f4d79193342ae3e0):

opensp-1.5.2

Package build duration: 0m 23s (excludes dependency waiting).

error: Cannot build '/nix/store/a7ix1m0h5qf37f5zyfxl90y7mnw5fhfk-opensp-1.5.2.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/p43km344bkcswpbj1p7lfmxdscj9lj47-opensp-1.5.2
       Last 25 log lines:
       > ./gettextP.h:65:1: error: expected identifier or '('
       >    65 | {
       >       | ^
       > make[2]: *** [Makefile:175: gettext.o] Error 1
       > 3 errors generated.
       > make[2]: *** [Makefile:175: bindtextdom.o] Error 1
       > In file included from loadmsgcat.c:88:
       > ./gettextP.h:63:7: error: unknown type name 'i'
       >    63 | SWAP (i)
       >       |       ^
       > ./gettextP.h:63:9: error: expected ';' after top level declarator
       >    63 | SWAP (i)
       >       |         ^
       >       |         ;
       > ./gettextP.h:65:1: error: expected identifier or '('
       >    65 | {
       >       | ^
       > make[2]: *** [Makefile:175: finddomain.o] Error 1
       > make[2]: *** [Makefile:175: textdomain.o] Error 1
       > 3 errors generated.
       > make[2]: *** [Makefile:175: loadmsgcat.o] Error 1
       > make[2]: Leaving directory '/nix/var/nix/builds/nix-27335-3855502081/OpenSP-1.5.2/intl'
       > make[1]: *** [Makefile:570: all-recursive] Error 1
       > make[1]: Leaving directory '/nix/var/nix/builds/nix-27335-3855502081/OpenSP-1.5.2'
       > make: *** [Makefile:454: all] Error 2
       For full logs, run:
         nix log /nix/store/a7ix1m0h5qf37f5zyfxl90y7mnw5fhfk-opensp-1.5.2.drv

Last package log lines:

�[1m./gettextP.h:63:73: errors generated.
 �[0m�[0;1;31merror: �[0m�[1munknown type name 'i'�[0m
   63 | SWAP (i)�[0m
      | �[0;1;32m      ^
�[0m�[1m./gettextP.h:63:9: �[0m�[0;1;31merror: �[0m�[1mexpected ';' after top level declarator�[0m
   63 | SWAP (i)�[0m
      | �[0;1;32m        ^
�[0m      | �[0;32m        ;
�[0m�[1m./gettextP.h:65:1: �[0m�[0;1;31merror: �[0m�[1mexpected identifier or '('�[0m
   65 | {�[0m
      | �[0;1;32m^
�[0m3 errors generated.
In file included from textdomain.c:31:
�[1m./gettextP.h:63:7: �[0m�[0;1;31merror: �[0m�[1munknown type name 'i'�[0m
   63 | SWAP (i)�[0m
      | �[0;1;32m      ^
�[0m�[1m./gettextP.h:63:9: �[0m�[0;1;31merror: �[0m�[1mexpected ';' after top level declarator�[0m
   63 | SWAP (i)�[0m
      | �[0;1;32m        ^
�[0m      | �[0;32m        ;
�[0m�[1m./gettextP.h:65:1: �[0m�[0;1;31merror: �[0m�[1mexpected identifier or '('�[0m
   65 | {�[0m
      | �[0;1;32m^
�[0mmake[2]: *** [Makefile:175: gettext.o] Error 1
3 errors generated.
make[2]: *** [Makefile:175: bindtextdom.o] Error 1
In file included from loadmsgcat.c:88:
�[1m./gettextP.h:63:7: �[0m�[0;1;31merror: �[0m�[1munknown type name 'i'�[0m
   63 | SWAP (i)�[0m
      | �[0;1;32m      ^
�[0m�[1m./gettextP.h:63:9: �[0m�[0;1;31merror: �[0m�[1mexpected ';' after top level declarator�[0m
   63 | SWAP (i)�[0m
      | �[0;1;32m        ^
�[0m      | �[0;32m        ;
�[0m�[1m./gettextP.h:65:1: �[0m�[0;1;31merror: �[0m�[1mexpected identifier or '('�[0m
   65 | {�[0m
      | �[0;1;32m^
�[0mmake[2]: *** [Makefile:175: finddomain.o] Error 1
make[2]: *** [Makefile:175: textdomain.o] Error 1
3 errors generated.
make[2]: *** [Makefile:175: loadmsgcat.o] Error 1
make[2]: Leaving directory '/nix/var/nix/builds/nix-27335-3855502081/OpenSP-1.5.2/intl'
make[1]: *** [Makefile:570: all-recursive] Error 1
make[1]: Leaving directory '/nix/var/nix/builds/nix-27335-3855502081/OpenSP-1.5.2'
make: *** [Makefile:454: all] Error 2

Continuing independent builds with --keep-going; this failure will be retried only after a new PR commit.

Running dashboard


Nixie 🐾 — Srid’s pet build gremlin.

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Native build failure on ci@petit (aarch64-darwin), attempt d8ed833e (current PR build d8ed833e82a1171d466e241e1549443e9020d41c):

groff-1.23.0

Package build duration: 0m 39s (excludes dependency waiting).

error: Cannot build '/nix/store/5dqfh8imd9ky48n77p653v9maicwbsnq-groff-1.23.0.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/17xpkif2pwzpckdpfvrc8hkd2ac22gzq-groff-1.23.0-doc
         /nix/store/7vnrgac7q3j02g3fdlw32phx46mg6ivy-groff-1.23.0-perl
         /nix/store/8nkhdvxgxiijrjbr6lgm907wyr3xa5hy-groff-1.23.0-man
         /nix/store/qgvcvwid4fxg8x8nixdpvcn5lk4fkp3h-groff-1.23.0-info
         /nix/store/zmlpwxlf4r7jr7ll7zvcjlysw35dmm88-groff-1.23.0
       Last 25 log lines:
       >   CXX      src/libs/libgroff/libgroff_a-lineno.o
       >   CC       src/libs/libgroff/libgroff_a-localcharset.o
       >   CXX      src/libs/libgroff/libgroff_a-macropath.o
       >   CXX      src/libs/libgroff/libgroff_a-maxfilename.o
       >   CC       src/libs/libgroff/libgroff_a-matherr.o
       >   CXX      src/libs/libgroff/libgroff_a-maxpathname.o
       >   CXX      src/libs/libgroff/libgroff_a-mksdir.o
       >   CXX      src/libs/libgroff/libgroff_a-nametoindex.o
       >   CXX      src/libs/libgroff/libgroff_a-paper.o
       > src/libs/libgroff/matherr.c:29:13: error: unknown type name 'exc'
       >    29 | int matherr(exc)
       >       |             ^
       > src/libs/libgroff/matherr.c:29:17: error: expected ';' after top level declarator
       >    29 | int matherr(exc)
       >       |                 ^
       >       |                 ;
       > src/libs/libgroff/matherr.c:31:1: error: expected identifier or '('
       >    31 | {
       >       | ^
       > 3 errors generated.
       >   CXX      src/libs/libgroff/libgroff_a-prime.o
       > make[1]: *** [Makefile:7976: src/libs/libgroff/libgroff_a-matherr.o] Error 1
       > make[1]: *** Waiting for unfinished jobs....
       > make[1]: Leaving directory '/nix/var/nix/builds/nix-12056-1273911663/groff-1.23.0'
       > make: *** [Makefile:6184: all] Error 2
       For full logs, run:
         nix log /nix/store/5dqfh8imd9ky48n77p653v9maicwbsnq-groff-1.23.0.drv
13 warnings generated.
/nix/store/v7zglnpixywg40jrgmrrdygvp8wqm620-bash-5.3p3/bin/bash ../libtool  --tag=CXX   --mode=link clang++  -g -O2   -o ospam spam.o CopyEventHandler.o MarkupEventHandler.o spam_inst.o ../lib/libosp.la ../intl/libintl.a -liconv -lpthread 
libtool: link: clang++ -g -O2 -o .libs/ospam spam.o CopyEventHandler.o MarkupEventHandler.o spam_inst.o  ../lib/.libs/libosp.dylib ../intl/libintl.a -liconv -lpthread
make[3]: Leaving directory '/nix/var/nix/builds/nix-12056-1273911665/OpenSP-1.5.2/spam'
make[2]: Leaving directory '/nix/var/nix/builds/nix-12056-1273911665/OpenSP-1.5.2/spam'
Making all in sgmlnorm
make[2]: Entering directory '/nix/var/nix/builds/nix-12056-1273911665/OpenSP-1.5.2/sgmlnorm'
make  all-am
make[3]: Entering directory '/nix/var/nix/builds/nix-12056-1273911665/OpenSP-1.5.2/sgmlnorm'
clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic    -g -O2 -c -o sgmlnorm.o sgmlnorm.cxx
clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../generic    -g -O2 -c -o SGML

Last package log lines:

  CC       src/libs/libgroff/libgroff_a-getopt.o
  CC       src/libs/libgroff/libgroff_a-getopt1.o
  CXX      src/libs/libgroff/libgroff_a-glyphuni.o
14 warnings generated.
  CXX      src/libs/libgroff/libgroff_a-htmlhint.o
  CXX      src/libs/libgroff/libgroff_a-hypot.o
  CC       src/libs/libgroff/libgroff_a-iftoa.o
  CXX      src/libs/libgroff/libgroff_a-invalid.o
�[1msrc/libs/libgroff/fontfile.cpp:67:29: �[0m�[0;1;35mwarning: �[0m�[1m'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]�[0m
   67 |     �[0;34mconst�[0m �[0;34mint�[0m actual_size = sprintf(filename, �[0;32m"dev%s/%s"�[0m, device, nm);�[0m
      | �[0;1;32m                            ^
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: �[0m�[0;1;36mnote: �[0m'sprintf' has been explicitly marked deprecated here�[0m
  180 | __deprecated_msg(�[0;32m"This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead."�[0m)�[0m
      | �[0;1;32m^
�[0m�[1m/nix/store/ip1wjcvw5ab390n0rnapgdrjrra1jsqa-apple-sdk-14.4/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: �[0m�[0;1;36mnote: �[0mexpanded from macro '__deprecated_msg'�[0m
  218 |         #define __deprecated_msg(_msg) �[0;34m__attribute__�[0m((__deprecated__(_msg)))�[0m
      | �[0;1;32m                                                      ^
�[0m1 warning generated.
  CC       src/libs/libgroff/libgroff_a-itoa.o
  CXX      src/libs/libgroff/libgroff_a-lf.o
  CXX      src/libs/libgroff/libgroff_a-lineno.o
  CC       src/libs/libgroff/libgroff_a-localcharset.o
  CXX      src/libs/libgroff/libgroff_a-macropath.o
  CXX      src/libs/libgroff/libgroff_a-maxfilename.o
  CC       src/libs/libgroff/libgroff_a-matherr.o
  CXX      src/libs/libgroff/libgroff_a-maxpathname.o
  CXX      src/libs/libgroff/libgroff_a-mksdir.o
  CXX      src/libs/libgroff/libgroff_a-nametoindex.o
  CXX      src/libs/libgroff/libgroff_a-paper.o
�[1msrc/libs/libgroff/matherr.c:29:13: �[0m�[0;1;31merror: �[0m�[1munknown type name 'exc'�[0m
   29 | �[0;34mint�[0m matherr(exc)�[0m
      | �[0;1;32m            ^
�[0m�[1msrc/libs/libgroff/matherr.c:29:17: �[0m�[0;1;31merror: �[0m�[1mexpected ';' after top level declarator�[0m
   29 | �[0;34mint�[0m matherr(exc)�[0m
      | �[0;1;32m                ^
�[0m      | �[0;32m                ;
�[0m�[1msrc/libs/libgroff/matherr.c:31:1: �[0m�[0;1;31merror: �[0m�[1mexpected identifier or '('�[0m
   31 | {�[0m
      | �[0;1;32m^
�[0m3 errors generated.
  CXX      src/libs/libgroff/libgroff_a-prime.o
make[1]: *** [Makefile:7976: src/libs/libgroff/libgroff_a-matherr.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/nix/var/nix/builds/nix-12056-1273911663/groff-1.23.0'
make: *** [Makefile:6184: all] Error 2

Continuing independent builds with --keep-going; this failure will be retried only after a new PR commit.

Running dashboard


Nixie 🐾 — Srid’s pet build gremlin.

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Build recovery on ci@petit (aarch64-darwin): opensp-1.5.2 has now built successfully at d8ed833e82a1171d466e241e1549443e9020d41c. All outputs of the following derivation are valid in the Nix store:

/nix/store/h165722fc7d4c6w58895x9jknjkgz5cs-opensp-1.5.2.drv

Package build duration: 0m 38s (excludes dependency waiting).

Previously reported failure. The overall git --keep-going build is tracked separately; this confirms this package build, not every bootstrap stage or the full target.

Live dashboard


Nixie 🐾 — Srid’s pet build gremlin.

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Build recovery on ci@petit (aarch64-darwin): groff-1.23.0 has now built successfully at 46d5e68a38f579f4bb58fe717bd0aba145de1ba5. All outputs of the following derivation are valid in the Nix store:

/nix/store/1v4r14k60bzzvpvzq07s1rpkqggdhqcn-groff-1.23.0.drv

Package duration was not recorded for this attempt.

Previously reported failure. The overall git --keep-going build is tracked separately; this confirms this package build, not every bootstrap stage or the full target.

Live dashboard


Nixie 🐾 — Srid’s pet build gremlin.

@srid

srid commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Build recovery on ci@petit (aarch64-darwin): groff-1.23.0 has now built successfully at 46d5e68a38f579f4bb58fe717bd0aba145de1ba5. All outputs of the following derivation are valid in the Nix store:

/nix/store/1v4r14k60bzzvpvzq07s1rpkqggdhqcn-groff-1.23.0.drv

Package duration was not recorded for this attempt.

Previously reported failure. The overall git --keep-going build is tracked separately; this confirms this package build, not every bootstrap stage or the full target.

Live dashboard


Nixie 🐾 — Srid’s pet build gremlin.

@qweered

qweered commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

OK, git builds 🎉. For now its enough, anyone using Darwin please send patches

@qweered
qweered marked this pull request as ready for review September 9, 2026 19:57
@jonringer

Copy link
Copy Markdown
Collaborator

Hell yea. let me give it a quick review :)

@jonringer jonringer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These seem very minor given the scope of the changes, pasting for posterity.

  1. Vague TODO in top-level.nix:1884
    Followed by 30+ lines of complex Darwin-specific LLVM override logic that reconstructs the llvm attribute with a completely different code path from Linux. This is the biggest piece of acknowledged debt — the comment gives no indication of what needs fixing. The Darwin LLVM scoping logic is a tangled lib.makeOverridable + lib.fix + manual passthru reconstruction that's fragile and hard to follow.

  2. stripDebugFlags="-S" repeated 7 times in stdenv/darwin/default.nix
    The identical string with identical comment (# llvm-strip does not support "-p" for Mach-O) is copy-pasted across stages. Should be extracted into a shared binding like commonPreHook already is.

  3. aarch64 extraNativeBuildInputs repeated 5 times in stdenv/darwin/default.nix
    extraNativeBuildInputs = lib.optionals localSystem.isAarch64 [
    prevStage.updateAutotoolsGnuConfigScriptsHook
    prevStage.gnu-config
    ];
    Same pattern duplicated across stages 1-4 and xclang.


Medium — AGENTS.md Violations

  1. New updateScript in pkgs-many/libffi/upstream.nix:67
    updateScript = nix-update-script { };
    AGENTS.md porting guide says to strip updateScript (nixpkgs-only field). This was newly introduced in this PR.

  2. New doCheck = false in pkgs-many/libffi/upstream.nix:62
    AGENTS.md: "doCheck = false is the default — don't set it explicitly." The comment even has a TODO acknowledging it should move to passthru.

  3. FIXME in stdenv/darwin/bootstrap-files/aarch64-apple-darwin.nix:1
    FIXME: Changed to arm64-apple-darwin in release.nix stdenvBootstrapTools, please handle when refreshing
    Naming mismatch between filename and upstream convention, left unresolved.

@jonringer
jonringer merged commit 8ad3440 into ekala-project:master Sep 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants