Skip to content

treewide: use tags instead of rev, remove unnecessary string interpolation#473846

Merged
philiptaron merged 5 commits intoNixOS:masterfrom
gaelj:replace-rev-with-git-tag
Jan 15, 2026
Merged

treewide: use tags instead of rev, remove unnecessary string interpolation#473846
philiptaron merged 5 commits intoNixOS:masterfrom
gaelj:replace-rev-with-git-tag

Conversation

@gaelj
Copy link
Contributor

@gaelj gaelj commented Dec 24, 2025

Things done

  • Replaced rev = "refs/tags/ with tag = " and removed string interpolations on tags where unnecessary.
  • Updated maintainers/scripts/update-octave-packages accordingly.

I just left postgre-sql untouched because there is a comment stating that the use of git revs is on purpose.

I didn't try to build all affected packages, but I did build 1 package for each 'type' of git provider.

Changes were split into individual commits for ease of review. Let me know if they should be squashed or on the contrary, split into multiple PRs.

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/6198

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: haskell General-purpose, statically typed, purely functional programming language 6.topic: ocaml OCaml is a general-purpose, high-level, multi-paradigm programming language. 6.topic: jupyter Interactive computing tooling: kernels, notebook, jupyterlab labels Dec 24, 2025
@gaelj gaelj force-pushed the replace-rev-with-git-tag branch from c3168d7 to 11270c9 Compare December 24, 2025 16:21
@qweered

This comment was marked as outdated.

@gaelj
Copy link
Contributor Author

gaelj commented Dec 24, 2025

Building openllm on current master returns:

error: fetchFromGitHub requires one of either `rev` or `tag` to be provided (not both).

So this PR actually fixes this bug, but only to encounter another bug down the line. I believe the resolution of that bug (failed units tests) is therefore not in the scope of this PR.

Edit: in fact, a similar problem (although not exactly the same issue) on this package was already reported, on which I have commented with the latest error log.

@gaelj gaelj force-pushed the replace-rev-with-git-tag branch from 11270c9 to 95db52e Compare December 26, 2025 11:43
@gepbird gepbird mentioned this pull request Dec 27, 2025
13 tasks
@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Dec 27, 2025
@gaelj gaelj force-pushed the replace-rev-with-git-tag branch from 95db52e to b9009b7 Compare December 27, 2025 21:41
@nixpkgs-ci nixpkgs-ci bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Dec 27, 2025
@gaelj gaelj force-pushed the replace-rev-with-git-tag branch from b9009b7 to 5597de9 Compare December 28, 2025 21:13
Copy link
Contributor

@qweered qweered left a comment

Choose a reason for hiding this comment

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

LGTM, lets merge
Thank you

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. and removed 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Dec 28, 2025
@DieracDelta
Copy link
Member

DieracDelta commented Dec 28, 2025

I think the automation for building all the drvs with changed srcs should work (probably...). I am running it on this PR -- there should be results posted whenever my computer finishes building all the (apparently 600ish according to my eval?) drvs with changed src or src-like attributes. I think a lot of these sort of attributes are touched indirectly by this change

@gaelj
Copy link
Contributor Author

gaelj commented Dec 29, 2025

Thanks, @DieracDelta .

EDIT: after some more checking, the (AI generated) scripts aren't working properly, trying to fix them


On my side I have been checking the generated URLs are identical thanks to a couple of little bash scripts that:

  • extract the pname value in all the nix files modified in this PR if possible - if not, skip
  • for each pname, runs nix eval --impure --expr "with import <nixpkgs> {}; \"$pname\".src.url and nix eval --impure --expr "with import ./. {}; \"$pname\".src.url or null"
  • compares the results of both commands

It skipped the following:

  • octoprint-plugin
  • libreoffice/src-collabora
  • haskell-modules/configuration-common
  • nginx/modules

For all other packages, no difference was found. Totally expected given the changeset, but still reassuring.


EDIT2

Still lots of packages ignored by the check, but I did find one where the URL has been changed (it's using fetchFromSourcehut):

fnlfmt
  master: "https://git.sr.ht/~technomancy/fnlfmt/archive/refs/tags/0.3.2.tar.gz"
  branch:   "https://git.sr.ht/~technomancy/fnlfmt/archive/0.3.2.tar.gz"

Both URLs are working though, so I don't think it's a problem.


EDIT3

At this point I have checked all packages (containing pname) except those below, and did not find any additional URL changes.

- mruby-zest
- node-datachannel
- fetk
- keycloak-metrics-spi
- matrix-synapse-s3-storage-provider
- mov-cli-test
- ocis-web
- octoprint-plugin-m84motorsoff
- octoprint-plugin-abl-expert
- octoprint-plugin-bedlevelvisualizer
- poetry-plugin-poeblix
- clang-root
- threema-web
- Whitesur-icon-theme
- ykushcmd
- lomiri-mediaplayer-app
- qqc2-suru-style
- accounts-qt
- cl-notify
- synchronizer

@gaelj
Copy link
Contributor Author

gaelj commented Dec 29, 2025

Regarding the postgre-sql that I didn't touch, it seems that the comment is misleading.

Evaluating the URL gives the same result, whether using rev = "refs/tags/... or tag = "...

 nix eval --impure --expr 'with import ./. {}; postgresql_18.src.url'
"https://github.com/postgres/postgres/archive/refs/tags/REL_18_1.tar.gz"
 nix eval --impure --expr 'with import <nixpkgs> {}; postgresql_18.src.url'
"https://github.com/postgres/postgres/archive/refs/tags/REL_18_1.tar.gz"

EDIT: I misunderstood the comment ! They want to be able to reference actual git commits from time to time.

@gaelj gaelj force-pushed the replace-rev-with-git-tag branch from 5597de9 to 062b8d3 Compare December 29, 2025 14:00
@nixpkgs-ci nixpkgs-ci bot added 2.status: merge conflict This PR has merge conflicts with the target branch and removed 2.status: merge conflict This PR has merge conflicts with the target branch labels Dec 29, 2025
@gaelj gaelj mentioned this pull request Dec 29, 2025
13 tasks
@gaelj gaelj force-pushed the replace-rev-with-git-tag branch from 062b8d3 to b56932f Compare December 29, 2025 21:01
@phanirithvij
Copy link
Member

phanirithvij commented Dec 29, 2025

I suggest keep this as a draft pr and iterate until you think it is ready for review. Also treewide: is what I see being used, not Tree-wide: or tree-wide:.

See previous efforts #368177. and ping appropriate people, after you think it's ready for review.

@gaelj gaelj changed the title Tree-wide: use tags instead of rev, remove unnecessary string interpolation treewide: use tags instead of rev, remove unnecessary string interpolation Dec 29, 2025
@nixpkgs-ci nixpkgs-ci bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Jan 13, 2026
@gaelj
Copy link
Contributor Author

gaelj commented Jan 13, 2026

So I've manually run nix build .#<package_name> on the current master commit (7578391) for each failed package listed by the script and they all fail (my architecture is x86_64-linux), so I would say that they should be classified as false positives.

 nix build .#php82Packages.php-codesniffer
error: Cannot build '/nix/store/vc8al7gzbdk6hridk14hq8j5x0p9q00b-php-codesniffer-4.0.0.drv'.
       Reason: builder failed with exit code 100.
       Output paths:
         /nix/store/019rrmj2xr8vsdx01z454zjz3rh79b20-php-codesniffer-4.0.0
       Last 25 log lines:
       > unpacking source archive /nix/store/dsvxx3q7ja0sg67vjf2lglrp1hpmpid3-source
       > source root is source
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Running phase: composerInstallConfigureHook
       > Setting COMPOSER_ROOT_VERSION to 4.0.0
       > Finished phase: composerInstallConfigureHook
       > Running phase: buildPhase
       > Running phase: composerInstallBuildHook
       > Setting some required environment variables for Composer...
       > Restoring Composer vendor directory to 'vendor'...
       > Generating optimized autoloader and restoring 'bin' directory...
       > No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
       > Loading composer repositories with package information
       > Cannot create cache directory /homeless-shelter/.cache/composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.
       >
       > In HttpDownloader.php line 329:
       >                                                                                
       >   Network disabled, request canceled: https://repo.packagist.org/packages.jso  
       >   n                                                                            
       >                                                                                
       >
       > install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
       >
       For full logs, run:
         nix log /nix/store/vc8al7gzbdk6hridk14hq8j5x0p9q00b-php-codesniffer-4.0.0.drv

 nix build .#php83Packages.php-codesniffer
error: Cannot build '/nix/store/kyxsx3zx21mwmh4fcs4xyfkhazm5gxfp-php-codesniffer-4.0.0.drv'.
       Reason: builder failed with exit code 100.
       Output paths:
         /nix/store/237rx3m215z4pkncrmmhxgsprh7b49d7-php-codesniffer-4.0.0
       Last 25 log lines:
       > unpacking source archive /nix/store/dsvxx3q7ja0sg67vjf2lglrp1hpmpid3-source
       > source root is source
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Running phase: composerInstallConfigureHook
       > Setting COMPOSER_ROOT_VERSION to 4.0.0
       > Finished phase: composerInstallConfigureHook
       > Running phase: buildPhase
       > Running phase: composerInstallBuildHook
       > Setting some required environment variables for Composer...
       > Restoring Composer vendor directory to 'vendor'...
       > Generating optimized autoloader and restoring 'bin' directory...
       > No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
       > Loading composer repositories with package information
       > Cannot create cache directory /homeless-shelter/.cache/composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.
       >
       > In HttpDownloader.php line 329:
       >                                                                                
       >   Network disabled, request canceled: https://repo.packagist.org/packages.jso  
       >   n                                                                            
       >                                                                                
       >
       > install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
       >
       For full logs, run:
         nix log /nix/store/kyxsx3zx21mwmh4fcs4xyfkhazm5gxfp-php-codesniffer-4.0.0.drv

 nix build .#xine-ui
error: Cannot build '/nix/store/fbzj79cd54jpqmy1vgilzadzl355151y-xine-ui-0.99.14-unstable-2024-08-26.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/2qxi21siwdv30k5gsa69k6gh7gkdzglx-xine-ui-0.99.14-unstable-2024-08-26-dev
         /nix/store/kxwfjyrjx92gdnkr6m7m79ah2pb129g5-xine-ui-0.99.14-unstable-2024-08-26-man
         /nix/store/ry7r9g8x4hx8h6ws1g3rrm5c0ynjyy5q-xine-ui-0.99.14-unstable-2024-08-26-lib
         /nix/store/wrj4dn18dkgz3k8i1smb2h4nxfpzg1pp-xine-ui-0.99.14-unstable-2024-08-26
       Last 25 log lines:
       > make[3]: Leaving directory '/build/hg-archive/src/dfb'
       > Making all in fb
       > make[3]: Entering directory '/build/hg-archive/src/fb'
       >   CC       main.o
       >   CC       actions.o
       >   CC       keys.o
       >   CC       options.o
       > In file included from /nix/store/dj43clc5ff7jjnfmhbaj6q4q0h8kpfpm-glibc-2.40-66-dev/include/bits/getopt_posix.h:27,
       >                  from /nix/store/dj43clc5ff7jjnfmhbaj6q4q0h8kpfpm-glibc-2.40-66-dev/include/unistd.h:903,
       >                  from main.h:28,
       >                  from options.c:34:
       > /nix/store/dj43clc5ff7jjnfmhbaj6q4q0h8kpfpm-glibc-2.40-66-dev/include/bits/getopt_core.h:91:12: error: conflicting types for 'getopt'; have 'int(int,  char * const*, const char *)'
       >    91 | extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
       >       |            ^~~~~~
       > In file included from options.c:29:
       > ../../src/common/getopt.h:136:12: note: previous declaration of 'getopt' with type 'int(void)'
       >   136 | extern int getopt ();
       >       |            ^~~~~~
       > make[3]: *** [Makefile:502: options.o] Error 1
       > make[3]: Leaving directory '/build/hg-archive/src/fb'
       > make[2]: *** [Makefile:431: all-recursive] Error 1
       > make[2]: Leaving directory '/build/hg-archive/src'
       > make[1]: *** [Makefile:502: all-recursive] Error 1
       > make[1]: Leaving directory '/build/hg-archive'
       > make: *** [Makefile:443: all] Error 2
       For full logs, run:
         nix log /nix/store/fbzj79cd54jpqmy1vgilzadzl355151y-xine-ui-0.99.14-unstable-2024-08-26.drv

 nix build .#apbs
error: Cannot build '/nix/store/r2hvvkgixkznwfy3zj4cxvgap374yzcy-fetk-1.9.3.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/9w28m2g6njsb9q3bl9z0zhdabixi0183-fetk-1.9.3
       Last 25 log lines:
       > [ 70%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/rsne.c.o
       > [ 70%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/sfe.c.o
       > [ 71%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/rsfe.c.o
       > [ 72%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/sue.c.o
       > [ 72%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/rsli.c.o
       > [ 72%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/typesize.c.o
       > [ 72%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/uio.c.o
       > [ 72%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/wrtfmt.c.o
       > [ 72%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/util.c.o
       > [ 73%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/wref.c.o
       > [ 73%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/wsfe.c.o
       > [ 74%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/wsne.c.o
       > [ 74%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/wsle.c.o
       > [ 74%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/xwsne.c.o
       > [ 74%] Building C object punc/src/vf2c/CMakeFiles/vf2c.dir/main.c.o
       > /build/source/punc/src/vf2c/main.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int]
       >   115 | main(int argc, char **argv)
       >       | ^~~~
       > [ 75%] Linking C static library libvf2c.a
       > [ 75%] Built target vf2c
       > [ 76%] Linking C static library libmaloc.a
       > [ 76%] Built target maloc
       > [ 76%] Linking C static library libpmg.a
       > [ 76%] Built target pmg
       > make: *** [Makefile:136: all] Error 2
       For full logs, run:
         nix log /nix/store/r2hvvkgixkznwfy3zj4cxvgap374yzcy-fetk-1.9.3.drv
error: Cannot build '/nix/store/rhdnag1v7w76rzsl33frwd9lz7j57gf7-apbs-3.4.1.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/kbp13nq43ry5vchjnd05k7aybpas43z8-apbs-3.4.1

 nix build .#rpcemu
error: Cannot build '/nix/store/2zqb932gdp670x2wm7cpa7wfqi3bxli2-rpcemu-0.9.5.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/3mqwahl6b0vc8kvihwaqnrcgjhf9a4xi-rpcemu-0.9.5
       Last 25 log lines:
       >       |                                 ^~~~
       > gcc -c -pipe -Werror=switch -fno-common -O2 -Wall -Wextra -D_REENTRANT -fPIC -DCONFIG_SLIRP -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I.. -I/nix/store/cm0w4zim0r53dmilrr5v5yas49801zq0-qtbase-5.15.18-dev/include/QtWidgets -I/nix/store/1ppw5nf0cwxzdhvjl5hjibj2g0kkhw3p-qtmultimedia-5.15.18-dev/include/QtMultimedia -I/nix/store/cm0w4zim0r53dmilrr5v5yas49801zq0-qtbase-5.15.18-dev/include/QtGui -I/nix/store/cm0w4zim0r53dmilrr5v5yas49801zq0-qtbase-5.15.18-dev/include/QtNetwork -I/nix/store/cm0w4zim0r53dmilrr5v5yas49801zq0-qtbase-5.15.18-dev/include/QtCore -Irelease -I/nix/store/yydc0n1z5ag31x2vqv05n8iz498nvlm2-libglvnd-1.7.0-dev/include -I/nix/store/cm0w4zim0r53dmilrr5v5yas49801zq0-qtbase-5.15.18-dev/mkspecs/linux-g++ -o release/fpa.o ../fpa.c
       > gcc -c -pipe -Werror=switch -fno-common -O2 -Wall -Wextra -D_REENTRANT -fPIC -DCONFIG_SLIRP -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I.. -I/nix/store/cm0w4zim0r53dmilrr5v5yas49801zq0-qtbase-5.15.18-dev/include/QtWidgets -I/nix/store/1ppw5nf0cwxzdhvjl5hjibj2g0kkhw3p-qtmultimedia-5.15.18-dev/include/QtMultimedia -I/nix/store/cm0w4zim0r53dmilrr5v5yas49801zq0-qtbase-5.15.18-dev/include/QtGui -I/nix/store/cm0w4zim0r53dmilrr5v5yas49801zq0-qtbase-5.15.18-dev/include/QtNetwork -I/nix/store/cm0w4zim0r53dmilrr5v5yas49801zq0-qtbase-5.15.18-dev/include/QtCore -Irelease -I/nix/store/yydc0n1z5ag31x2vqv05n8iz498nvlm2-libglvnd-1.7.0-dev/include -I/nix/store/cm0w4zim0r53dmilrr5v5yas49801zq0-qtbase-5.15.18-dev/mkspecs/linux-g++ -o release/hostfs.o ../hostfs.c
       > ../hostfs.c:54:13: error: 'bool' cannot be defined via 'typedef'
       >    54 | typedef int bool;
       >       |             ^~~~
       > ../hostfs.c:54:13: note: 'bool' is a keyword with '-std=c23' onwards
       > ../hostfs.c:54:1: warning: useless type name in empty declaration
       >    54 | typedef int bool;
       >       | ^~~~~~~
       > ../hostfs.c: In function 'get_string':
       > ../hostfs.c:194:67: warning: unused parameter 'bufsize' [-Wunused-parameter]
       >   194 | get_string(ARMul_State *state, ARMword address, char *buf, size_t bufsize)
       >       |                                                            ~~~~~~~^~~~~~~
       > ../hostfs.c: In function 'path_construct':
       > ../hostfs.c:341:39: warning: unused parameter 'len' [-Wunused-parameter]
       >   341 |                char *new_path, size_t len, ARMword load, ARMword exec)
       >       |                                ~~~~~~~^~~
       > ../hostfs.c: In function 'hostfs_getbytes':
       > ../hostfs.c:853:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
       >   853 |   fread(buffer, 1, state->Reg[3], f);
       >       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       > make[1]: *** [Makefile.Release:627: release/hostfs.o] Error 1
       > make[1]: Leaving directory '/build/hg-archive/src/qt5'
       > make: *** [Makefile:42: release] Error 2
       For full logs, run:
         nix log /nix/store/2zqb932gdp670x2wm7cpa7wfqi3bxli2-rpcemu-0.9.5.drv

 nix build .#php84Packages.php-codesniffer
error: Cannot build '/nix/store/zznm5ww476q81w43bp0pz6kpivm33cvz-php-codesniffer-4.0.0.drv'.
       Reason: builder failed with exit code 100.
       Output paths:
         /nix/store/r4w1qdixi34444i0n9isr983zc3v3xxv-php-codesniffer-4.0.0
       Last 25 log lines:
       > unpacking source archive /nix/store/dsvxx3q7ja0sg67vjf2lglrp1hpmpid3-source
       > source root is source
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Running phase: composerInstallConfigureHook
       > Setting COMPOSER_ROOT_VERSION to 4.0.0
       > Finished phase: composerInstallConfigureHook
       > Running phase: buildPhase
       > Running phase: composerInstallBuildHook
       > Setting some required environment variables for Composer...
       > Restoring Composer vendor directory to 'vendor'...
       > Generating optimized autoloader and restoring 'bin' directory...
       > No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
       > Loading composer repositories with package information
       > Cannot create cache directory /homeless-shelter/.cache/composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.
       >
       > In HttpDownloader.php line 329:
       >                                                                                
       >   Network disabled, request canceled: https://repo.packagist.org/packages.jso  
       >   n                                                                            
       >                                                                                
       >
       > install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
       >
       For full logs, run:
         nix log /nix/store/zznm5ww476q81w43bp0pz6kpivm33cvz-php-codesniffer-4.0.0.drv

 nix build .#brlcad
error: Cannot build '/nix/store/l135iyhzf9qn8sxil745qrkrdw8v7j46-brlcad-7.38.2.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/fwd18dsjg8rgd9bx477q14qs53d4kgrl-brlcad-7.38.2
       Last 25 log lines:
       >                  from /build/source/src/other/ext/assetimport/code/AssetLib/MDL/MDLMaterialLoader.cpp:51:
       > In destructor 'aiTexture::~aiTexture()',
       >     inlined from 'void Assimp::MDLImporter::SkipSkinLump_3DGS_MDL7(const unsigned char*, const unsigned char**, unsigned int, unsigned int, unsigned int)' at /build/source/src/other/ext/assetimport/code/AssetLib/MDL/MDLMaterialLoader.cpp:713:9:
       > /build/source/src/other/ext/assetimport/include/assimp/texture.h:212:18: error: 'void operator delete [](void*)' called on a pointer to an unallocated object '18446744073709551615' [-Werror=free-nonheap-object]
       >   212 |         delete[] pcData;
       >       |                  ^~~~~~
       > cc1plus: all warnings being treated as errors
       > make[5]: *** [code/CMakeFiles/assimp.dir/build.make:1521: code/CMakeFiles/assimp.dir/AssetLib/MDL/MDLMaterialLoader.cpp.o] Error 1
       > make[5]: *** Waiting for unfinished jobs....
       > make[4]: *** [CMakeFiles/Makefile2:194: code/CMakeFiles/assimp.dir/all] Error 2
       > make[3]: *** [Makefile:136: all] Error 2
       >
       > CMake Error at /build/source/build/src/other/ext/ASSETIMPORT_BLD-prefix/src/ASSETIMPORT_BLD-stamp/ASSETIMPORT_BLD-build-Release.cmake:47 (message):
       >   Stopping after outputting logs.
       >
       > 
       > make[2]: *** [src/other/ext/CMakeFiles/ASSETIMPORT_BLD.dir/build.make:86: src/other/ext/ASSETIMPORT_BLD-prefix/src/ASSETIMPORT_BLD-stamp/ASSETIMPORT_BLD-build] Error 1
       > make[1]: *** [CMakeFiles/Makefile2:18576: src/other/ext/CMakeFiles/ASSETIMPORT_BLD.dir/all] Error 2
       > [ 11%] Built target openNURBS-obj
       > -- SQLITE3_BLD build command succeeded.  See also /build/source/build/src/other/ext/SQLITE3_BLD-prefix/src/SQLITE3_BLD-stamp/SQLITE3_BLD-build-*.log
       > [ 11%] Performing install step for 'SQLITE3_BLD'
       > -- SQLITE3_BLD install command succeeded.  See also /build/source/build/src/other/ext/SQLITE3_BLD-prefix/src/SQLITE3_BLD-stamp/SQLITE3_BLD-install-*.log
       > [ 11%] Completed 'SQLITE3_BLD'
       > [ 11%] Built target SQLITE3_BLD
       > make: *** [Makefile:156: all] Error 2
       For full logs, run:
         nix log /nix/store/l135iyhzf9qn8sxil745qrkrdw8v7j46-brlcad-7.38.2.drv

 nix build .#rootbar
error: Cannot build '/nix/store/7js6p1ygaqv5zvxrzggfi7mm9xgwv1m7-rootbar-unstable-2020-11-13.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/7fw48fgqgr00ra3c9m2nr1hc0ck4x48m-rootbar-unstable-2020-11-13
       Last 25 log lines:
       > ../src/bar.c:64:13: note: 'nop' declared here
       >    64 | static void nop() {}
       >       |             ^~~
       > ../src/bar.c:491:34: error: assignment to 'void (*)(void *, struct zwlr_layer_surface_v1 *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
       >   491 |         surface_listener->closed = nop;
       >       |                                  ^
       > ../src/bar.c:64:13: note: 'nop' declared here
       >    64 | static void nop() {}
       >       |             ^~~
       > [19/22] Compiling C object rootbar.p/plugins_image.c.o
       > ../plugins/image.c: In function 'image_watch':
       > ../plugins/image.c:61:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
       >    61 |                 read(fd, &event, sizeof(event));
       >       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       > [20/22] Compiling C object rootbar.p/plugins_workspace.c.o
       > [21/22] Compiling C object rootbar.p/src_main.c.o
       > ../src/main.c: In function 'watch_css':
       > ../src/main.c:185:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result]
       >   185 |                 read(fd, &event, sizeof(event));
       >       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       > ../src/main.c: In function 'reload_css':
       > ../src/main.c:77:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
       >    77 |                 fread(data, 1, size, file);
       >       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
       > ninja: build stopped: subcommand failed.
       For full logs, run:
         nix log /nix/store/7js6p1ygaqv5zvxrzggfi7mm9xgwv1m7-rootbar-unstable-2020-11-13.drv

 nix build .#cbconvert-gui
error: Cannot build '/nix/store/zyvqqaarwkdx2flkd63hfs1l9020bh8s-cbconvert-gui-1.1.0.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/5542s4nxg9l3ly346bhskahlzmdx8k1c-cbconvert-gui-1.1.0
       Last 11 log lines:
       > Using versionCheckHook
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/a0gph1qalvrfani4q9dmbjl8s2x1vlja-source
       > source root is source
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Running phase: buildPhase
       > Building subPackage .
       > # github.com/gen2brain/go-fitz
       > vendor/github.com/gen2brain/go-fitz/fitz_cgo.go:543:103: cannot use _Ctype_int(len(buf)) (value of int32 type _Ctype_int) as _Ctype_size_t value in variable declaration
       For full logs, run:
         nix log /nix/store/zyvqqaarwkdx2flkd63hfs1l9020bh8s-cbconvert-gui-1.1.0.drv

 nix build .#kapacitor
error: Cannot build '/nix/store/znsrrlzkdvin6rfh6a7328jsf96rbay2-libflux-0.171.0.drv'.
       Reason: builder failed with exit code 101.
       Output paths:
         /nix/store/0wd8i5sdp2gdc9hksl3qzszlpb2w01p8-libflux-0.171.0
       Last 25 log lines:
       >    |                     the lifetime is elided here
       >    |
       >    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
       > help: use `'_` for type paths
       >    |
       > 63 |     pub fn iter_mut(&mut self) -> slice::IterMut<'_, T> {
       >    |                                                  +++
       >
       > error: hiding a lifetime that's elided elsewhere is confusing
       >   --> flux-core/src/map.rs:85:18
       >    |
       > 85 |     pub fn entry(&mut self, key: K) -> std::collections::hash_map::Entry<K, V> {
       >    |                  ^^^^^^^^^             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
       >    |                  |
       >    |                  the lifetime is elided here
       >    |
       >    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
       > help: use `'_` for type paths
       >    |
       > 85 |     pub fn entry(&mut self, key: K) -> std::collections::hash_map::Entry<'_, K, V> {
       >    |                                                                          +++
       >
       > error: could not compile `flux-core` (lib) due to 20 previous errors
       > warning: build failed, waiting for other jobs to finish...
       > error: could not compile `flux-core` (lib) due to 20 previous errors
       For full logs, run:
         nix log /nix/store/znsrrlzkdvin6rfh6a7328jsf96rbay2-libflux-0.171.0.drv
error: Cannot build '/nix/store/9pda1k81mxrplr77z5cwf7fk6gj14246-kapacitor-1.7.5.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/phij0yiskxpdkm83pzhpyzqxsv2igcb1-kapacitor-1.7.5

 nix build .#phylophlan
error: Cannot build '/nix/store/5k5xc7c340mg23hrh64nvhy537hzq8f1-RAxML-8.2.13.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/j3f3s7w6fhfnkypl8kjw52xgdihd5zg6-RAxML-8.2.13
       Last 25 log lines:
       > source root is source
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Running phase: buildPhase
       > rm -f *.o raxmlHPC-PTHREADS-SSE3
       > gcc  -D_USE_PTHREADS -D__SIM_SSE3 -D_GNU_SOURCE -msse3 -O2 -fomit-frame-pointer -funroll-loops     -c -o axml.o axml.c
       > gcc  -D_USE_PTHREADS -D__SIM_SSE3 -D_GNU_SOURCE -msse3 -O2 -fomit-frame-pointer -funroll-loops     -c -o optimizeModel.o optimizeModel.c
       > gcc  -D_USE_PTHREADS -D__SIM_SSE3 -D_GNU_SOURCE -msse3 -O2 -fomit-frame-pointer -funroll-loops     -c -o multiple.o multiple.c
       > gcc  -D_USE_PTHREADS -D__SIM_SSE3 -D_GNU_SOURCE -msse3 -O2 -fomit-frame-pointer -funroll-loops     -c -o searchAlgo.o searchAlgo.c
       > gcc  -D_USE_PTHREADS -D__SIM_SSE3 -D_GNU_SOURCE -msse3 -O2 -fomit-frame-pointer -funroll-loops     -c -o topologies.o topologies.c
       > gcc  -D_USE_PTHREADS -D__SIM_SSE3 -D_GNU_SOURCE -msse3 -O2 -fomit-frame-pointer -funroll-loops     -c -o parsePartitions.o parsePartitions.c
       > gcc  -D_USE_PTHREADS -D__SIM_SSE3 -D_GNU_SOURCE -msse3 -O2 -fomit-frame-pointer -funroll-loops     -c -o treeIO.o treeIO.c
       > gcc  -D_USE_PTHREADS -D__SIM_SSE3 -D_GNU_SOURCE -msse3 -O2 -fomit-frame-pointer -funroll-loops     -c -o models.o models.c
       > gcc  -D_USE_PTHREADS -D__SIM_SSE3 -D_GNU_SOURCE -msse3 -O2 -fomit-frame-pointer -funroll-loops     -c -o bipartitionList.o bipartitionList.c
       > In file included from bipartitionList.c:46:
       > rmq.h:13:13: error: 'bool' cannot be defined via 'typedef'
       >    13 | typedef int bool;
       >       |             ^~~~
       > rmq.h:13:13: note: 'bool' is a keyword with '-std=c23' onwards
       > rmq.h:13:1: warning: useless type name in empty declaration
       >    13 | typedef int bool;
       >       | ^~~~~~~
       > make: *** [<builtin>: bipartitionList.o] Error 1
       For full logs, run:
         nix log /nix/store/5k5xc7c340mg23hrh64nvhy537hzq8f1-RAxML-8.2.13.drv
error: Cannot build '/nix/store/afqv1z8mraqzvqf4vrxqna1cb0sb1h64-phylophlan-3.1.1.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/i1kpy1s6p6zbc1n1333rxqswpcjhgzsa-phylophlan-3.1.1
         /nix/store/jhdvb3lxfkhg4032gy00q0kvyr2fxk1s-phylophlan-3.1.1-dist

 nix build .#phpPackages.php-codesniffer
error: Cannot build '/nix/store/zznm5ww476q81w43bp0pz6kpivm33cvz-php-codesniffer-4.0.0.drv'.
       Reason: builder failed with exit code 100.
       Output paths:
         /nix/store/r4w1qdixi34444i0n9isr983zc3v3xxv-php-codesniffer-4.0.0
       Last 25 log lines:
       > unpacking source archive /nix/store/dsvxx3q7ja0sg67vjf2lglrp1hpmpid3-source
       > source root is source
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Running phase: composerInstallConfigureHook
       > Setting COMPOSER_ROOT_VERSION to 4.0.0
       > Finished phase: composerInstallConfigureHook
       > Running phase: buildPhase
       > Running phase: composerInstallBuildHook
       > Setting some required environment variables for Composer...
       > Restoring Composer vendor directory to 'vendor'...
       > Generating optimized autoloader and restoring 'bin' directory...
       > No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
       > Loading composer repositories with package information
       > Cannot create cache directory /homeless-shelter/.cache/composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.
       >
       > In HttpDownloader.php line 329:
       >                                                                                
       >   Network disabled, request canceled: https://repo.packagist.org/packages.jso  
       >   n                                                                            
       >                                                                                
       >
       > install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
       >
       For full logs, run:
         nix log /nix/store/zznm5ww476q81w43bp0pz6kpivm33cvz-php-codesniffer-4.0.0.drv

 nix build .#chiptrack
error: Cannot build '/nix/store/zsvbm3i81z9ndyz13cgzfjc7qldnx0ml-chiptrack-0.5.drv'.
       Reason: builder failed with exit code 101.
       Output paths:
         /nix/store/f1qd1vnk1b9spybgcfjaq6fgaiknkxmp-chiptrack-0.5
       Last 25 log lines:
       >    Compiling wayland-protocols-plasma v0.2.0
       >    Compiling x11rb v0.13.1
       >    Compiling wayland-protocols-wlr v0.3.4
       >    Compiling wayland-protocols-plasma v0.3.4
       >    Compiling postcard v1.0.10
       >    Compiling x11-clipboard v0.9.2
       >    Compiling sctk-adwaita v0.10.1
       >    Compiling smithay-clipboard v0.7.2
       >    Compiling slint-build v1.8.0
       >    Compiling sctk-adwaita v0.8.3
       >    Compiling wat v1.217.0
       >    Compiling copypasta v0.10.1
       >    Compiling ureq v2.10.1
       >    Compiling ehttp v0.2.0
       >    Compiling chiptrack v0.5.0 (/build/source)
       >    Compiling slint-macros v1.8.0
       >    Compiling rboy v0.1.0 (https://github.com/jturcotte/rboy.git?rev=e9c0075d3e6b20419c011b271b4f70a968291678#e9c0075d)
       > error[E0412]: cannot find type `std__Rb_tree_color` in this scope
       >   --> /build/source/target/x86_64-unknown-linux-gnu/release/build/skia-bindings-6b6b2101389b2e90/out/skia/bindings.rs:13:32850
       >    |
       > 13 | ...uct std___rb_tree__Node_base { pub _M_color : std__Rb_tree_color , pub _M_parent : std___rb_tree__Node_base__Base_ptr , pub _M_left : ...
       >    |                                                  ^^^^^^^^^^^^^^^^^^ not found in this scope
       >
       > For more information about this error, try `rustc --explain E0412`.
       > error: could not compile `skia-bindings` (lib) due to 1 previous error
       For full logs, run:
         nix log /nix/store/zsvbm3i81z9ndyz13cgzfjc7qldnx0ml-chiptrack-0.5.drv

 nix build .#sc68
error: Cannot build '/nix/store/p7xqj3ds6d00rg931nvgbv4zpb04bj5l-sc68-unstable-2022-11-24.drv'.
       Reason: builder failed with exit code 2.
       Output paths:
         /nix/store/rikpv55gs6j1lbnfipkg1833s24js543-sc68-unstable-2022-11-24
       Last 25 log lines:
       >  2330 |   { "tst",              Ctst            ,116  },
       >       |                         ^~~~
       > opcode.c:2330:25: note: (near initialization for 'opcode_list[118].function')
       > opcode.c:1639:6: note: 'Ctst' declared here
       >  1639 | void Ctst(int value)
       >       |      ^~~~
       > opcode.c:2331:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
       >  2331 |   { "unlk",             Cunlk           ,117  },
       >       |                         ^~~~~
       > opcode.c:2331:25: note: (near initialization for 'opcode_list[119].function')
       > opcode.c:1651:6: note: 'Cunlk' declared here
       >  1651 | void Cunlk(int value)
       >       |      ^~~~~
       > opcode.c:2334:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
       >  2334 |   { "dc",               Fdc,            0 },
       >       |                         ^~~
       > opcode.c:2334:25: note: (near initialization for 'opcode_list[120].function')
       > opcode.c:1727:6: note: 'Fdc' declared here
       >  1727 | void Fdc(int value)
       >       |      ^~~
       > make[1]: *** [Makefile:495: as68-as68.o] Error 1
       > make[1]: *** Waiting for unfinished jobs....
       > make[1]: *** [Makefile:537: as68-opcode.o] Error 1
       > make[1]: Leaving directory '/build/code-r695/as68'
       > make: *** [Makefile:414: all-recursive] Error 1
       For full logs, run:
         nix log /nix/store/p7xqj3ds6d00rg931nvgbv4zpb04bj5l-sc68-unstable-2022-11-24.drv

╭  gaj─  ~/github.com/gaelj/nixpkgs    master ↓2  ?1  5 ──
╰─

@DieracDelta
Copy link
Member

srcbot: Full Evaluation Results for PR #473846

Status: 547/624 packages passed, 77 failed (76 pre-existing)

Failed Packages (introduced by this PR) - 1 packages
Package Failed Step Log
libfilezilla src log
Pre-existing Failures (false positives) - 76 packages

These packages also fail on the base branch.

Package Failed Step Log
php82Packages.php-codesniffer package log
rootbar package log
sc68 package log
php83Packages.php-codesniffer package log
xine-ui package log
rpcemu package log
python314Packages.vbuild package log
phpPackages.php-codesniffer package log
phylophlan package log
kapacitor package log
chiptrack package log
brlcad package log
php84Packages.php-codesniffer package log
apbs package log
cbconvert-gui package log
php84Packages.cyclonedx-php-composer vendor log
linuxKernel.packages.linux_6_6.virtualbox src log
linuxPackages_xanmod_stable.virtualbox src log
jetbrains.idea-community src log
python313Packages.foundationdb src log
linuxKernel.packages.linux_6_12.virtualbox src log
python313Packages.openvino src log
jetbrains.pycharm-community-src src log
go-away goModules log
libretrack pubcache log
python314Packages.foundationdb src log
phpPackages.cyclonedx-php-composer vendor log
plant-it-frontend pubcache log
wordpressPackages.plugins.lightbox-photoswipe src log
open-pdf-sign fetchedMavenDeps log
exificient fetchedMavenDeps log
linuxKernel.packages.linux_xanmod.virtualbox src log
seabird goModules log
nzbhydra2 fetchedMavenDeps log
linuxKernel.packages.linux_5_15.virtualbox src log
ente-auth pubcache log
paratest composerVendor log
jetbrains.pycharm-oss src log
linuxPackages.virtualbox src log
tabula-java fetchedMavenDeps log
linuxKernel.packages.linux_hardened.virtualbox src log
linuxKernel.packages.linux_5_10.virtualbox src log
python314Packages.openvino src log
linuxKernel.packages.linux_zen.virtualbox src log
pomerium goModules log
zxing fetchedMavenDeps log
linuxPackages_xanmod_latest.virtualbox src log
linuxKernel.packages.linux_6_18.virtualbox src log
vatprism fetchedMavenDeps log
jetbrains.idea-oss src log
jetbrains.pycharm-community src log
php82Packages.cyclonedx-php-composer vendor log
gol fetchedMavenDeps log
openllm src log
sly pubcache log
linuxPackages_xanmod.virtualbox src log
linuxKernel.packages.linux_6_1.virtualbox src log
linuxPackages_zen.virtualbox src log
php83Packages.cyclonedx-php-composer vendor log
fluffychat-web pubcache log
dependency-track fetchedMavenDeps log
linuxKernel.packages.linux_lqx.virtualbox src log
jetbrains.idea-community-src src log
linuxPackages_lqx.virtualbox src log
filezilla src log
part-db src log
linuxKernel.packages.linux_xanmod_stable.virtualbox src log
a2jmidid src log
vscode-extensions.ms-vscode.js-debug src log
wordpressPackages.plugins.so-clean-up-wp-seo src log
linuxPackages_latest.virtualbox src log
vscode-extensions.vscode-icons-team.vscode-icons src log
linuxKernel.packages.linux_6_12_hardened.virtualbox src log
linuxKernel.packages.linux_xanmod_latest.virtualbox src log
plant-it fetchedMavenDeps log
tika fetchedMavenDeps log
547 packages passed
Package Steps Built
python314Packages.nexusrpc src, package
n98-magerun2 composerVendor, package
phpPackages.php-parallel-lint composerVendor, package
multiplex goModules, package
gonic goModules, package
yggdrasil-jumper src, cargoDeps, package
srm src, package
ncps goModules, package
wordpressPackages.plugins.sqlite-database-integration src, package
linuxKernel.packages.linux_6_12_hardened.ecapture goModules, package
phpactor composerVendor, package
simulide_1_1_0 src, package
ktfmt fetchedMavenDeps, package
paisa goModules, package
prometheus-imap-mailstat-exporter src, goModules, package
beam28Packages.ex_doc mixFodDeps, package
textidote src, package
windsend pubcache, package
wordpressPackages.plugins.cookie-notice src, package
distrobuilder goModules, package
chatzone-desktop src, package
agorakit composerVendor, package
moc src, package
python313Packages.pyparser src, package
dbus-test-runner src, package
firefly-iii-data-importer composerRepository, package
sonar-scanner-cli fetchedMavenDeps, package
mangayomi pubcache, package
yubikey-agent goModules, package
python314Packages.ruamel-yaml-clib src, package
xavs2 src, package
kicad src, package
incus goModules, package
xspim src, package
ags goModules, package
trimmomatic fetchedMavenDeps, package
davs2 src, package
pdfsandwich src, package
quark-goldleaf fetchedMavenDeps, package
python314Packages.pymonctl src, package
roave-backward-compatibility-check composerVendor, package
python314Packages.urwid-satext src, package
python313Packages.cle src, package
gg-scm goModules, package
slipstream fetchedMavenDeps, package
picocrypt-ng goModules, package
phpunit composerVendor, package
diffnav src, goModules, package
linuxKernel.packages.linux_xanmod_latest.jool src, package
apache-airflow src, package
ivpn-service goModules, package
fop fetchedMavenDeps, package
evolve-core pubcache, package
jaxodraw src, fetchedMavenDeps, package
prometheus-sabnzbd-exporter src, package
phpPackages.castor composerVendor, package
indicator-application-gtk3 src, package
jellyflix pubcache, package
sonar-scanner-cli-minimal fetchedMavenDeps, package
php82Packages.composer-local-repo-plugin vendor, package
filius fetchedMavenDeps, package
php84Packages.php-parallel-lint composerVendor, package
cns11643-kai src, package
gns3Packages.guiStable src, package
php82Packages.php-cs-fixer composerVendor, package
wyoming-faster-whisper src, package
plausible mixFodDeps, package
python313Packages.marqo src, package
jsign fetchedMavenDeps, package
orthanc-framework src, package
php84Packages.composer composerVendor, package
vscode-extensions.prettier.prettier-vscode src, package
wordpressPackages.plugins.wp-statistics src, package
lixPackageSets.latest.nix-fast-build src, package
linuxKernel.packages.linux_zen.jool src, package
wordpressPackages.plugins.worker src, package
enblend-enfuse src, package
mhabit pubcache, package
legends-of-equestria src, package
arch-install-scripts src, package
python313Packages.sat-tmp src, package
go-ios goModules, package
lixPackageSets.lix_2_93.nix-fast-build src, package
librenms composerVendor, package
picocrypt goModules, package
wordpressPackages.plugins.webp-express src, package
ymuse goModules, package
zxfer src, package
sonarlint-ls fetchedMavenDeps, package
dcs goModules, package
nix-fast-build src, package
h2 fetchedMavenDeps, package
wordpressPackages.plugins.jetpack-lite src, package
nwg-look goModules, package
wordpressPackages.plugins.antispam-bee src, package
php82Packages.box composerVendor, package
jhentai pubcache, package
gpt-box pubcache, package
libloot src, package
beam26Packages.livebook mixFodDeps, package
bat-extras.prettybat src, package
datadog-process-agent goModules, package
beam27Packages.ex_doc mixFodDeps, package
linuxPackages_xanmod_latest.jool src, package
linuxPackages_xanmod_latest.ecapture goModules, package
openapi-generator-cli fetchedMavenDeps, package
wordpressPackages.plugins.wp-swiper src, package
recon pubcache, package
python313Packages.django_5_2 src, package
xwinwrap src, package
cached-nix-shell src, cargoDeps, package
php84Packages.phan composerRepository, package
flet-client-flutter pubcache, package
convertall pubcache, package
haskellPackages.git-annex src, package
wordpressPackages.plugins.disable-xml-rpc src, package
wordpressPackages.plugins.breeze src, package
php83Packages.phan composerRepository, package
wordpressPackages.themes.twentytwenty src, package
php83Packages.psalm composerVendor, package
mplayer src, package
home-assistant-custom-components.versatile_thermostat src, package
jmc2obj fetchedMavenDeps, package
forge-mtg fetchedMavenDeps, package
mkgmap src, package
eget goModules, package
pinchflat mixFodDeps, package
phpPackages.grumphp composerVendor, package
python314Packages.django src, package
java-language-server fetchedMavenDeps, package
protege fetchedMavenDeps, package
runelite fetchedMavenDeps, package
php83Packages.phpmd composerVendor, package
imgproxy goModules, package
skyscraper src, package
engelsystem composerVendor, package
wordpressPackages.plugins.co-authors-plus src, package
trayscale goModules, package
threema-desktop src, npmDeps, package
jogger src, cargoDeps, package
polyglot fetchedMavenDeps, package
phpPackages.phan composerRepository, package
php83Packages.phpinsights composerVendor, package
drupal composerVendor, package
dissent goModules, package
tts-mod-vault pubcache, package
php82Packages.grumphp composerVendor, package
beam27Packages.livebook mixFodDeps, package
poetryPlugins.poetry-plugin-poeblix src, package
wordpressPackages.plugins.wp-gdpr-compliance src, package
octavePackages.geometry src, package
wordpressPackages.languages.de_DE src, package
python314Packages.alabaster src, package
linuxKernel.packages.linux_5_10.jool src, package
wordpressPackages.plugins.wp-mail-smtp src, package
blastem src, package
wyoming-openwakeword src, package
python314Packages.marqo src, package
vscode-extensions.ms-vscode.vscode-js-profile-table src, package
k3s_1_33 goModules, package
commafeed fetchedMavenDeps, package
linuxPackages.ecapture goModules, package
linuxKernel.packages.linux_6_1.ecapture goModules, package
pdepend composerVendor, package
pest composerVendor, package
phpPackages.composer-local-repo-plugin vendor, package
safe-rm src, cargoDeps, package
clickup src, package
laravel composerVendor, package
next-ls mixFodDeps, package
xflr5 src, package
php82Packages.phing composerVendor, package
walker goModules, package
acme src, package
xc3sprog src, package
ctags src, package
php82Packages.psalm composerVendor, package
python313Packages.home-assistant-chip-clusters src, package
kicad-unstable-small src, package
nginx-doc src, package
snipe-it composerVendor, package
alisthelper pubcache, package
docker-sbom goModules, package
linuxKernel.packages.linux_hardened.ecapture goModules, package
buildpack src, goModules, package
onyx pubcache, package
vscode-extensions.Google.gemini-cli-vscode-ide-companion src, package
siyuan goModules, package
proxypin pubcache, package
verapdf fetchedMavenDeps, package
deployer composerVendor, package
linuxPackages.jool src, package
gns3Packages.serverStable src, package
wordpressPackages.plugins.tc-custom-javascript src, package
composer-require-checker composerVendor, package
wordpressPackages.plugins.embed-extended src, package
fishPlugins.plugin-git src, package
yabridgectl src, cargoDeps, package
phpdocumentor composerVendor, package
wordpressPackages.plugins.webp-converter-for-media src, package
wordpressPackages.plugins.simple-mastodon-verification src, package
kicad-testing src, package
php84Packages.grumphp composerVendor, package
python313Packages.ewmhlib src, package
lexical mixFodDeps, package
python314Packages.sat-tmp src, package
python314Packages.home-assistant-chip-clusters src, package
python314Packages.cle src, package
sbclPackages.cl-liballegro-nuklear src, package
mopidy-spotify src, package
tiny-rdm goModules, package
unfs3 src, package
apksigner src, package
rustdesk-flutter pubcache, package
php82Packages.php-parallel-lint composerVendor, package
tests.haskell.cabalSdist.hercules-ci-cnix-store src, package
jool-cli src, package
firmware-updater pubcache, package
wordpressPackages.plugins.jetpack src, package
fluffychat pubcache, package
php83Packages.castor composerVendor, package
wordpressPackages.plugins.wpforms-lite src, package
pdfsam-basic fetchedMavenDeps, package
bookstack composerVendor, package
orthanc-plugin-dicomweb src, package
python314Packages.ewmhlib src, package
foxtrotgps src, package
simulide src, package
xavs src, package
protoc-gen-elixir mixFodDeps, package
vscode-extensions.rust-lang.rust-analyzer src, package
python313Packages.pykakasi src, package
sparrow src, package
beam28Packages.livebook mixFodDeps, package
php83Packages.composer composerVendor, package
nwg-dock-hyprland goModules, package
scenebuilder fetchedMavenDeps, package
digital fetchedMavenDeps, package
ns-usbloader fetchedMavenDeps, package
invidtui goModules, package
bluebubbles pubcache, package
certificate-ripper src, package
wordpressPackages.languages.ru_RU src, package
php82Packages.phan composerRepository, package
php83Packages.phive composerVendor, package
linuxKernel.packages.linux_xanmod_stable.jool src, package
wordpressPackages.plugins.wp-fastest-cache src, package
davis composerVendor, package
gns3-gui src, package
bloodhound-ce goModules, package
tclPackages.tkimg src, package
mpris-timer goModules, package
global-platform-pro fetchedMavenDeps, package
mlmmj src, package
wordpressPackages.languages.ro_RO src, package
grocy composerVendor, package
interlock goModules, package
gui-for-clash goModules, package
ultrastar-manager src, package
sonic-pi mixFodDeps, package
satisfactorymodmanager goModules, package
fosrl-gerbil goModules, package
tests.haskell.cabalSdist.localPatchedFromCabalSdist src, package
didder goModules, package
zitadel goModules, package
linuxPackages_zen.jool src, package
intiface-central pubcache, package
firefly-iii composerVendor, package
mkgmap-splitter src, package
nagiosPlugins.check_nwc_health src, package
finamp pubcache, package
wordpressPackages.themes.twentytwentyfour src, package
postfixadmin composerVendor, package
linuxKernel.packages.linux_6_6.jool src, package
bat-extras.batpipe src, package
k3s_1_32 goModules, package
python313Packages.hatch-jupyter-builder src, package
php83Packages.php-parallel-lint composerVendor, package
piliplus pubcache, package
orthanc src, package
baikal composerVendor, package
php84Packages.php-cs-fixer composerVendor, package
kazumi pubcache, package
k3s_1_34 goModules, package
openrefine fetchedMavenDeps, package
php82Packages.phive composerVendor, package
aws-shell src, package
php82Packages.phpinsights composerVendor, package
python314Packages.onnxruntime src, package
git-annex src, package
gui-for-singbox goModules, package
prometheus-unbound-exporter src, goModules, package
python313Packages.urwid-satext src, package
ipinfo src, package
linuxKernel.packages.linux_6_1.jool src, package
clapper src, package
coyim goModules, package
php83Packages.box composerVendor, package
linuxPackages_latest.ecapture goModules, package
phpPackages.phing composerVendor, package
wordpressPackages.themes.twentytwentythree src, package
xine-lib src, package
tests.haskell.cabalSdist.localFromCabalSdist src, package
php82Packages.composer composerVendor, package
python313Packages.django_5 src, package
kotlin-interactive-shell fetchedMavenDeps, package
wordpressPackages.plugins.login-lockdown src, package
jugglinglab fetchedMavenDeps, package
linuxPackages_xanmod.ecapture goModules, package
phpPackages.php-cs-fixer composerVendor, package
tcld src, goModules, package
wordpressPackages.themes.twentytwentyone src, package
mswatch src, package
flclash pubcache, package
linuxKernel.packages.linux_6_6.ecapture goModules, package
yq-go goModules, package
php84Packages.psalm composerVendor, package
bisq2 src, package
nodeinfo src, goModules, package
dovecot-fts-flatcurve src, package
cryptomator fetchedMavenDeps, package
python313Packages.pywinbox src, package
phpPackages.phpinsights composerVendor, package
wordpressPackages.plugins.async-javascript src, package
linuxKernel.packages.linux_xanmod_latest.ecapture goModules, package
linuxPackages_zen.ecapture goModules, package
sbclPackages.qlot-cli src, package
dgoss src, package
signal-desktop pnpmDeps, package
davix-copy src, package
satyrographos src, package
geteduroam goModules, package
linuxKernel.packages.linux_xanmod_stable.ecapture goModules, package
phpPackages.phpmd composerVendor, package
obs-studio-plugins.obs-advanced-masks src, package
vscode-extensions.ms-vscode.js-debug-companion src, package
wordpressPackages.themes.twentytwentyfive src, package
wordpressPackages.plugins.mailpoet src, package
qtspim src, package
incus-lts goModules, package
linuxPackages_latest.jool src, package
phpPackages.box composerVendor, package
urlfinder src, goModules, package
datadog-agent goModules, package
php84Packages.phpinsights composerVendor, package
linuxKernel.packages.linux_6_18.ecapture goModules, package
ytdownloader npmDeps, package
justbuild src, package
voicevox pnpmDeps, package
bytecode-viewer fetchedMavenDeps, package
bat-extras.batgrep src, package
npm-check-updates src, npmDeps, package
python313Packages.onnxruntime src, package
nodePackages_latest.npm-check-updates src, npmDeps, package
wordpressPackages.languages.fr_FR src, package
linuxKernel.packages.linux_5_15.ecapture goModules, package
python314Packages.pykakasi src, package
yubioath-flutter pubcache, package
xlife src, package
pixelfed composerVendor, package
conduktor-ctl src, goModules, package
s3proxy fetchedMavenDeps, package
wordpressPackages.plugins.code-syntax-block src, package
python313Packages.nexusrpc src, package
firezone-server-api mixFodDeps, package
ollama-rocm goModules, package
butterfly pubcache, package
localsend pubcache, package
python313Packages.django src, package
onedriver goModules, package
msieve src, package
outfly src, cargoDeps, package
apx goModules, package
gns3Packages.guiPreview src, package
nwg-bar goModules, package
tests.haskell.cabalSdist.helloFromCabalSdist src, package
gle src, package
wordpressPackages.plugins.simple-login-captcha src, package
prometheus-consul-exporter src, goModules, package
wordpressPackages.plugins.merge-minify-refresh src, package
gephi fetchedMavenDeps, package
ov goModules, package
fnlfmt src, package
wordpressPackages.plugins.hkdev-maintenance-mode src, package
pretix src, npmDeps, package
davix src, package
linuxKernel.packages.linux_xanmod.jool src, package
linuxPackages_xanmod_stable.jool src, package
apgdiff fetchedMavenDeps, package
gns3Packages.serverPreview src, package
kicad-small src, package
megabasterd fetchedMavenDeps, package
wordpressPackages.plugins.wp-import-export-lite src, package
linuxKernel.packages.linux_6_18.jool src, package
perses goModules, package
psysh composerVendor, package
nodePackages.npm-check-updates src, npmDeps, package
wordpressPackages.plugins.wordpress-seo src, package
wordpressPackages.themes.twentynineteen src, package
kicad-unstable src, package
codd src, package
kimai composerVendor, package
liquidsoap src, package
php84Packages.phive composerVendor, package
wordpressPackages.plugins.hcaptcha-for-forms-and-more src, package
mmj2 fetchedMavenDeps, package
python313Packages.miniaudio src, package
linuxPackages_lqx.ecapture goModules, package
python314Packages.django_5_2 src, package
python313Packages.tensorflow-probability src, package
wordpressPackages.themes.twentytwentytwo src, package
linuxPackages_xanmod_stable.ecapture goModules, package
linuxKernel.packages.linux_6_12.ecapture goModules, package
phel composerVendor, package
mopidyPackages.mopidy-spotify src, package
interstellar pubcache, package
firezone-server mixFodDeps, package
pied pubcache, package
lixPackageSets.git.nix-fast-build src, package
python313Packages.ruamel-yaml-clib src, package
wordpressPackages.plugins.static-mail-sender-configurator src, package
shadershark src, package
php83Packages.phpstan composerVendor, package
beam26Packages.ex_doc mixFodDeps, package
wordpressPackages.plugins.wp-fail2ban-addon-contact-form-7 src, package
server-box pubcache, package
phpPackages.psalm composerVendor, package
wordpressPackages.plugins.akismet src, package
mvnd fetchedMavenDeps, package
wordpressPackages.plugins.wp-fail2ban src, package
linuxKernel.packages.linux_xanmod.ecapture goModules, package
spot src, cargoDeps, package
sqlline fetchedMavenDeps, package
cwtch-ui pubcache, package
phpPackages.phive composerVendor, package
netpbm src, package
phpPackages.composer composerVendor, package
python314Packages.pywinbox src, package
domination src, package
ecapture goModules, package
bat-extras.batman src, package
cryptomator-cli fetchedMavenDeps, package
php84Packages.box composerVendor, package
qarte src, package
php84Packages.phpmd composerVendor, package
soundalike goModules, package
firezone-server-domain mixFodDeps, package
saber pubcache, package
matrix-synapse-plugins.matrix-synapse-s3-storage-provider src, package
php83Packages.phing composerVendor, package
python313Packages.alabaster src, package
vdhcoapp npmDeps, package
python313Packages.spacy-lookups-data src, package
oneanime pubcache, package
php82Packages.phpstan composerVendor, package
bat-extras.batdiff src, package
ocaml-pds src, package
nwg-menu goModules, package
k3s goModules, package
linuxPackages_lqx.jool src, package
linuxKernel.packages.linux_hardened.jool src, package
python314Packages.hatch-jupyter-builder src, package
quickgui pubcache, package
linuxKernel.packages.linux_zen.ecapture goModules, package
wordpressPackages.plugins.wp-change-email-sender src, package
i3status-rust src, cargoDeps, package
python314Packages.miniaudio src, package
firezone-server-web mixFodDeps, package
kicad-testing-small src, package
python314Packages.pyparser src, package
anytype-heart goModules, package
appdaemon src, package
simulide_1_0_0 src, package
vinegar goModules, package
wordpressPackages.plugins.gutenberg src, package
gocryptfs goModules, package
python313Packages.vbuild src, package
phpPackages.phpstan composerVendor, package
linuxKernel.packages.linux_6_12_hardened.jool src, package
octavePackages.bim src, package
schemaspy fetchedMavenDeps, package
linuxPackages_xanmod.jool src, package
jol fetchedMavenDeps, package
php84Packages.composer-local-repo-plugin vendor, package
php83Packages.php-cs-fixer composerVendor, package
lemminx fetchedMavenDeps, package
python314Packages.home-assistant-chip-core src, package
sideswap pubcache, package
fishPlugins.spark src, package
wordpressPackages.plugins.opengraph src, package
wox goModules, package
git-ftp src, package
wordpressPackages.plugins.add-widget-after-content src, package
gns3-server src, package
nagiosPlugins.check_mssql_health src, package
simulide_0_4_15 src, package
yabridge src, package
cratedb fetchedMavenDeps, package
grafana goModules, package
php84Packages.phing composerVendor, package
python314Packages.django_5 src, package
chatmcp pubcache, package
robo composerVendor, package
sportstracker fetchedMavenDeps, package
lixPackageSets.lix_2_94.nix-fast-build src, package
wordpressPackages.plugins.surge src, package
nagiosPlugins.check_ups_health src, package
venera pubcache, package
linuxKernel.packages.linux_5_15.jool src, package
linuxKernel.packages.linux_6_12.jool src, package
nwg-drawer goModules, package
gopeed pubcache, package
nezha goModules, package
php83Packages.grumphp composerVendor, package
flarum composerVendor, package
linuxKernel.packages.linux_5_10.ecapture goModules, package
jwm-settings-manager src, package
ex_doc mixFodDeps, package
php82Packages.castor composerVendor, package
php82Packages.phpmd composerVendor, package
joularjx fetchedMavenDeps, package
timezonemap src, package
mathemagix src, package
mariadb-connector-java fetchedMavenDeps, package
simple-live-app pubcache, package
pretty-php composerVendor, package
movim composerVendor, package
musicpod pubcache, package
kubernetes-helmPlugins.helm-dt src, goModules, package
wordpressPackages.plugins.hello-dolly src, package
splix src, package
package-version-server src, cargoDeps, package
bat-extras.batwatch src, package
libreoffice-collabora src, package
php83Packages.composer-local-repo-plugin vendor, package
php84Packages.phpstan composerVendor, package
php84Packages.castor composerVendor, package
k3s_1_35 goModules, package
keybase goModules, package
lixPackageSets.stable.nix-fast-build src, package
python313Packages.pymonctl src, package
wordpressPackages.plugins.wp-user-avatars src, package
commitlint-rs src, cargoDeps, package
wahay goModules, package
python313Packages.home-assistant-chip-core src, package
linuxKernel.packages.linux_lqx.jool src, package
linuxKernel.packages.linux_lqx.ecapture goModules, package

@DieracDelta
Copy link
Member

DieracDelta commented Jan 14, 2026

I think that worked! It's likely that the libfilezilla failure is a red herring since the first and second runs of srcbot also failed to build it. Seems like the mirror is flakey.

Also: the link base used by srcbot for the logs is wrong. https://instance-20251227-2125.tail5ca7.ts.net/srcbot-srv/logs/473846_2/ is correct.

So maybe this can be merged at this point? This doesn't seem to introduce new build failures errors AFAICT.

Side question - should an issue be opened for each false positive ?

I think only some of the packages need issues. Some of them are stale like nzbhydra2 (#478821) since this was run against commit 14e033b. Others are red herrings classified as errors only because of the nondeterministic output:

error: derivation '/nix/store/9dyjp0a3wc6mzi6sha2l64v8fsgpd9n1-virtualbox-7.2.4.drv' may not be deterministic: output '/nix/store/rwzv97qami664b0vdmbrc0qck1ymir7s-virtualbox-7.2.4-modsrc' differs

This case shouldn't be flagged as failing I think. And others might have open PRs/issues already like tika. +1 those that remain should have issues opened.

@gaelj gaelj marked this pull request as ready for review January 14, 2026 11:13
@gaelj
Copy link
Contributor Author

gaelj commented Jan 14, 2026

@DieracDelta and I both agree that this PR is safe and ready for merge, so I'm de-drafting. The build failures all exist on current master.

Pinging all reviewers listed in the 'previous effort' PR mentioned earlier:

@philiptaron
@Atemu
@GaetanLepage
@aanderse
@adamcstephens
@drupol
@fgaz
@globin
@jtojnar
@K900
@Ma27
@marcusramberg
@mweinelt
@NickCao
@stigtsp
@SuperSandro2000
@talyz
@ttuegel

Thanks to all !

@gaelj gaelj requested a review from qweered January 14, 2026 11:19
@qweered
Copy link
Contributor

qweered commented Jan 14, 2026

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 473846
Commit: 1c01092d640581bf8afc9bf9583137e210a616ca (subsequent changes)
Merge: 1ee596370a038ac20c769e35bca958b090b92285

Logs: https://github.com/qweered/nixpkgs-review-gha/actions/runs/20994299206


x86_64-linux

❌ 2 packages failed to build:
  • openllm
  • openllm.dist
✅ 5 packages built:
  • fnlfmt
  • tests.fetchgit.prefetch-git-no-add-path
  • tests.haskell.cabalSdist.assumptionLocalHasDirectReference
  • tests.haskell.cabalSdist.localHasNoDirectReference
  • tests.testers.runCommand.bork

aarch64-linux

❌ 2 packages failed to build:
  • openllm
  • openllm.dist
✅ 5 packages built:
  • fnlfmt
  • tests.fetchgit.prefetch-git-no-add-path
  • tests.haskell.cabalSdist.assumptionLocalHasDirectReference
  • tests.haskell.cabalSdist.localHasNoDirectReference
  • tests.testers.runCommand.bork

x86_64-darwin (sandbox = relaxed)

❌ 3 packages failed to build:
  • openllm
  • openllm.dist
  • tests.testers.runCommand.bork
✅ 4 packages built:
  • fnlfmt
  • tests.fetchgit.prefetch-git-no-add-path
  • tests.haskell.cabalSdist.assumptionLocalHasDirectReference
  • tests.haskell.cabalSdist.localHasNoDirectReference

Error logs: `x86_64-darwin`
tests.testers.runCommand.bork
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['/nix/store/s0z3ix6qf9gz6b8wz909lwnlnykr1nlj-python3-3.13.11/bin/python3.13', '-m', 'bork', 'download', 'gh:duckinator/emanate', 'v7.0.0']' returned non-zero exit status 1.

/nix/store/s0z3ix6qf9gz6b8wz909lwnlnykr1nlj-python3-3.13.11/lib/python3.13/subprocess.py:577: CalledProcessError
=========================== short test summary info ============================
FAILED bork/tests/test_cmd_download.py::test_download - subprocess.CalledProcessError: Command '['/nix/store/s0z3ix6qf9gz6b8wz909lw...
============= 1 failed, 3 passed, 5 deselected in 99.19s (0:01:39) =============


aarch64-darwin (sandbox = relaxed)

❌ 3 packages failed to build:
  • openllm
  • openllm.dist
  • tests.testers.runCommand.bork
✅ 4 packages built:
  • fnlfmt
  • tests.fetchgit.prefetch-git-no-add-path
  • tests.haskell.cabalSdist.assumptionLocalHasDirectReference
  • tests.haskell.cabalSdist.localHasNoDirectReference

Error logs: `aarch64-darwin`
tests.testers.runCommand.bork
                    exc.stdout, exc.stderr = process.communicate()
                else:
                    # POSIX _communicate already populated the output so
                    # far into the TimeoutExpired exception.
                    process.wait()
                raise
            except:  # Including KeyboardInterrupt, communicate handled that.
                process.kill()
                # We don't call process.wait() as .__exit__ does that for us.
                raise
            retcode = process.poll()
            if check and retcode:
>               raise CalledProcessError(retcode, process.args,
                                         output=stdout, stderr=stderr)
E               subprocess.CalledProcessError: Command '['/nix/store/48ak878425b9wyrkwd826d2043m3ii36-python3-3.13.11/bin/python3.13', '-m', 'bork', 'download', 'gh:duckinator/emanate', 'v7.0.0']' returned non-zero exit status 1.

/nix/store/48ak878425b9wyrkwd826d2043m3ii36-python3-3.13.11/lib/python3.13/subprocess.py:577: CalledProcessError
=========================== short test summary info ============================
FAILED bork/tests/test_cmd_download.py::test_download - subprocess.CalledProcessError: Command '['/nix/store/48ak878425b9wyrkwd826d...
================== 1 failed, 3 passed, 5 deselected in 36.49s ==================

@gaelj
Copy link
Contributor Author

gaelj commented Jan 14, 2026

Yes openLLM is already failing on master and this change actually solves part of its problem. See #376692

@gaelj gaelj force-pushed the replace-rev-with-git-tag branch from 1c01092 to ad6fff8 Compare January 15, 2026 01:38
@gaelj gaelj force-pushed the replace-rev-with-git-tag branch from ad6fff8 to 702acfa Compare January 15, 2026 17:27
@philiptaron
Copy link
Contributor

Looking for a haskell person to look at ee66ab3 maybe @wolfgangwalther

@wolfgangwalther
Copy link
Contributor

Looking for a haskell person to look at ee66ab3 maybe @wolfgangwalther

That commit LGTM.

@philiptaron
Copy link
Contributor

I reviewed these manually. Always scary making changes to FODs because the rebuild count won't tell you if you get it wrong. But I didn't see a single error, so I think this will work.

@philiptaron philiptaron added this pull request to the merge queue Jan 15, 2026
Merged via the queue into NixOS:master with commit 97efcb3 Jan 15, 2026
28 of 31 checks passed
@DieracDelta
Copy link
Member

@philiptaron I'm curious about how this works!

because the rebuild count won't tell you if you get it wrong

I'm having trouble parsing this -- are you saying the hash generated by eval for the FOD doesn't change but the drv itself might still not build due to the change?

@philiptaron
Copy link
Contributor

philiptaron commented Jan 15, 2026

Yep. https://fzakaria.com/2025/10/29/nix-derivation-madness for more.

You can only validate FOD changes by rebuilding them with --check. Makes any change to a FOD builder super scary to me, because it looks like it works (due to cache.nixos.org) until someone attempts an update/rebuild. I know from personal experience.

@DieracDelta
Copy link
Member

DieracDelta commented Jan 15, 2026

Wow that is crazy! TIL

srcbot was supposed to catch this but based on this blogpost it looks like srcbot won't catch FODs that have something within them that changed that isn't in $out. I wonder if there's a way to iterate all FODs and look more deeply at their attributes to catch stuff like this.

@DieracDelta
Copy link
Member

DieracDelta commented Jan 15, 2026

Looking back at the code -- srcbot diffs FODs based on drvPath not outPath. I think the drvPath changes even for FODs that changed but don't touch $out.

Of course this is not perfect, but I'd claim it's 90%. If the intermediate attribute (that is a FOD) (.src, .fetchedMavenDeps, etc) of a drv is itself not actually a FOD, then srcbot doesn't work right now. It will just blindly rebuild the attribute anyway. And similarly since I hardcode the common FOD names right now, it might also miss FODs that are not these common names. But this hits the common case that happens most of the time cuz most of the time the FODs use standardized names. I think we might actually be able to do something more clever here using outputHash, but I haven't tried.

@DieracDelta
Copy link
Member

❯ cd /home/jrestivo/dev/nixpkgs && echo '
    (fetchurl { url = "http://A.com/f.tar.gz"; sha256 = "0000000000000000000000000000000000000000000000000000"; }).drvPath
    (fetchurl { url = "http://B.com/f.tar.gz"; sha256 = "0000000000000000000000000000000000000000000000000000"; }).drvPath
    (fetchurl { url = "http://A.com/f.tar.gz"; sha256 = "0000000000000000000000000000000000000000000000000000"; }).outPath
    (fetchurl { url = "http://B.com/f.tar.gz"; sha256 = "0000000000000000000000000000000000000000000000000000"; }).outPath
    ' | nix repl --expr 'import ./. {}'
Nix 2.33.0
Type :? for help.
Loading installable ''...
Added 25833 variables.
AAAAAASomeThingsFailToEvaluate, AMB-plugins, ArchiSteamFarm, AusweisApp2, CHOWTapeModel, ChowCentaur, ChowKick, ChowPhaser, CoinMP, CuboCore, DisnixWebService, EBTKS, EmptyEpsilon, FIL-plugins, Fabric, HentaiAtHome, LAStools, LASzip, LASzip2, LPCNet
... and 25813 more; view with :ll

"/nix/store/41dz08qxrijxqyg0188xzzs3gjjx3q0y-f.tar.gz.drv"

"/nix/store/mb86rjrf9a324f9vc2vbfli7hzg534dc-f.tar.gz.drv"

"/nix/store/zkcb7ybhkci0qd7i1xsng76zfm44hm2i-f.tar.gz"

"/nix/store/zkcb7ybhkci0qd7i1xsng76zfm44hm2i-f.tar.gz"

Just as an example, the outPath is the same but the drvPath is different (thankfully haha)

@gaelj
Copy link
Contributor Author

gaelj commented Jan 15, 2026

I did check for each fetcher, that deleting the hash and letting nix build propose a new one, did not change the hash. The only exception was with fetchFromSourceHut, as explained in a prior comment, and which was addressed.

And, I reviewed the entire diff manually after each rebase.

That and @DieracDelta 's script give me good confidence that nothing will get any more broken than it already is.

Also we now have a list of failing packages to work on!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language 6.topic: jupyter Interactive computing tooling: kernels, notebook, jupyterlab 6.topic: ocaml OCaml is a general-purpose, high-level, multi-paradigm programming language. 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants