Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radicale 3.1.0 fails to build on ZFS #153473

Closed
kraem opened this issue Jan 4, 2022 · 7 comments · Fixed by #157739
Closed

radicale 3.1.0 fails to build on ZFS #153473

kraem opened this issue Jan 4, 2022 · 7 comments · Fixed by #157739
Labels
0.kind: bug Something is broken

Comments

@kraem
Copy link
Member

kraem commented Jan 4, 2022

Describe the bug

Since a06f281 radicale won't build (http://ix.io/3KyI)

From the above logs:

~/src/github.com/nixpkgs @a06f2818 ❯ nix-build . -A radicale --no-out-link --arg substitute false
this derivation will be built:
  /nix/store/f2k7649gnqp4js7k4f4xrdi5xgwbm58q-radicale-3.1.0.drv
building '/nix/store/f2k7649gnqp4js7k4f4xrdi5xgwbm58q-radicale-3.1.0.drv'...
....
~/src/github.com/nixpkgs @a06f2818 ❯ nix show-derivation /nix/store/f2k7649gnqp4js7k4f4xrdi5xgwbm58q-radicale-3.1.0.drv
{
  "/nix/store/f2k7649gnqp4js7k4f4xrdi5xgwbm58q-radicale-3.1.0.drv": {
    "outputs": {
      "out": {
        "path": "/nix/store/2w33b2dxqi3gr8jhi27dacasny3fqrn3-radicale-3.1.0"
      }
    },
   ...
}

Steps To Reproduce

Steps to reproduce the behavior:

  1. git checkout a06f2818
  2. nix-build -A radicale --no-out-link --arg substitute false

Notify maintainers

@dotlambda

Metadata

~/src/github.com/nixpkgs @a06f2818 ❯ nix-shell -p nix-info --run "nix-info -m"                                                                                                                                                                                                                                       14:09:50
 - system: `"x86_64-linux"`
 - host os: `Linux 5.14.21, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5.1`
 - nixpkgs: `/nix/store/4hzi9dcwk5cmcy5xg7wxjbkhh2v1igbi-qmj9pamnl7pvxi492sycwci3bjfkgpis-source`
@kraem kraem added the 0.kind: bug Something is broken label Jan 4, 2022
@dotlambda
Copy link
Member

Can reproduce on my ZFS system, not on my ext4 system though.

@dotlambda
Copy link
Member

I can't reproduce by running

git clone https://github.com/Kozea/Radicale.git
cd Radicale
git checkout v3.1.0
sed -i '/addopts/d' setup.cfg
nix-shell https://github.com/NixOS/nixpkgs/archive/a06f2818.tar.gz -A radicale
pytest

on any system.

@jonringer
Copy link
Contributor

I was able to build from that commit

[12:49:48] jon@nixos ~/projects/nixpkgs ((a06f28189a0...))
$ nix-build -A radicale --check
...
/nix/store/2w33b2dxqi3gr8jhi27dacasny3fqrn3-radicale-3.1.0

nix store is zfs backed

@dotlambda
Copy link
Member

nix store is zfs backed

It's more relevant whether /tmp is.

@dotlambda dotlambda changed the title radicale 3.1.0 fails to build radicale 3.1.0 fails to build on ZFS Jan 4, 2022
@dotlambda
Copy link
Member

dotlambda commented Jan 4, 2022

The renameat2 syscall used here isn't (fully?) supported by ZFS: openzfs/zfs#2256
I'm not sure how that relates to this issue only occurring with nix-build, I guess it's related to the sandbox.

@jonringer
Copy link
Contributor

nix store is zfs backed

It's more relevant whether /tmp is.

/tmp is tmpfs for me

@dotlambda
Copy link
Member

@kraem Thanks for filing the upstream issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants