Repository navigation
Closed
Labels
0.kind: build failureA package fails to build
Description
Nixpkgs version
- Unstable (26.11)
Steps to reproduce
nix build -f . ceph
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
Relevant log output
In file included from /build/ceph-20.2.2.tar.gz-patched/src/s3select/include/encryption_internal.h:23,
from /build/ceph-20.2.2.tar.gz-patched/src/s3select/include/s3select_parquet_intrf.h:27,
from /build/ceph-20.2.2.tar.gz-patched/src/s3select/include/s3select_oper.h:17,
from /build/ceph-20.2.2.tar.gz-patched/src/s3select/include/s3select.h:14,
from /build/ceph-20.2.2.tar.gz-patched/src/rgw/rgw_s3select_private.h:39,
from /build/ceph-20.2.2.tar.gz-patched/src/rgw/rgw_s3select.cc:4:
/build/ceph-20.2.2.tar.gz-patched/src/s3select/include/encryption_internal_20.h:24:10: fatal error: arrow/util/span.h: No such file or directory
24 | #include "arrow/util/span.h"
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/rgw/CMakeFiles/rgw_common.dir/build.make:1315: src/rgw/CMakeFiles/rgw_common.dir/rgw_s3select.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....Additional context
This is likely due to the arrow-cpp bump to 24.0.0 merged as part of #535855. Note here that I cannot for the life of me figure out which PR this originally came from.
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.18.34, NixOS, 26.11 (Zokor), 26.11 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Lix, like Nix) 2.96.0-dev-abfe9d0 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/benaryorg/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/benaryorg/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/benaryorg/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/benaryorg/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/560cyf33wnq5n25d6mshicr3agzv1k9z-lix-2.96.0-dev-abfe9d0/share - nixpkgs:
/nix/store/8j04sq7s87lgvczpdk030d2qhrpd9yd9-source
Notify maintainers
@adevress @alexanderkjeldaas @johanot @krav @nh2 @benaryorg
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build
Activity
benaryorg commentedon Jul 15, 2026
There is also #524340 which is very confusing since it seems to touch arrow-cpp, but talks mostly about R.
Again, I have no idea where the arrow-cpp bump originally came from because GitHub is doing its very best to be unusable (IMHO). Unless it actually was just straight up pushed into staging without a PR, in which case GitHub can't do anything about that of course.
benaryorg commentedon Jul 15, 2026
The underlying issue is that arrow-cpp removed its own span implementation in favour of stdlib which of course causes the Ceph code using at the very least the header for the spans to fail.
I haven't found an upstream PR for fixing this at time of writing, and neither does the Ceph AUR.
Personally I don't use any of the Arrow functionality (i.e. s3select) so I'm not really invested enough to go write code for this.
I think @nh2 would agree that grabbing the 24.0.0 Arrow and vendoring it for Ceph would be the easiest solution with the least friction?
benaryorg commentedon Jul 15, 2026
Quick fix (may or may not build successfully) overlay for anyone in need of a quick fix (i.e. samba4Full people):
nh2 commentedon Jul 15, 2026
Same for me.
@benaryorg I agree.
nh2 commentedon Jul 15, 2026
The PR that brought the
arrow-cpp23 -> 24 upgrade commit c07b089 isnh2 commentedon Jul 15, 2026
I started a local build for this.
nh2 commentedon Jul 15, 2026
PR:
marius851000 commentedon Jul 29, 2026
I have been having another build failure now:
(ceph-common being a dependancy on CEPH).
See also #546708 and #545533 with the same suggested fix of changing the pname to the package name, but that is already the case here.
The check has been introduced in 006c793 on the 2026-07-09, 20 days ago
I don’t know if I should make a separate issue or keep it here (given it is obviously a separate issue). I’ve been using the overrideAttrs to fix the build failure until a fix is merged upstream.
Ah! pname is supposed to be ceph (which is... confusing. Is using the pname for anything but as a key in the store a good idea?)
And it complain the version metadata is invalid too.
marius851000 commentedon Jul 29, 2026
I am busy right now, but I would suggest that just disabling that check might the best thing to do, as it appear to be unused outside ceph itself.
marius851000 commentedon Jul 29, 2026
python313Packages.cython_0, another dependancy, fails for the same reason.marius851000 commentedon Jul 29, 2026
Here is the PR that introduced the check: #532778
marius851000 commentedon Jul 29, 2026
AND there is a failed test:
in
python312Packages.scipy(but notpython313Packages.scipy)Given the name of the tested function, looks like a potentially flaky test to. Re-running the test, it does seems to be deterministic.
marius851000 commentedon Jul 29, 2026
Created an issue about scipy: #547063
Svenum commentedon Aug 8, 2026
Any overlay or quickfix for this?