alunduil / zfs-replicate

ZFS Replication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to nix-build the project

solomon-b opened this issue · comments

nix-build default.nix gets the following error:

    File "/nix/store/xpwwghl72bb7f48m51amvqiv1l25pa01-python3-3.9.13/lib/python3.9/configparser.py", line 1096, in _read
      raise DuplicateOptionError(sectname, optname,
  configparser.DuplicateOptionError: While reading from 'setup.cfg' [line  3]: option 'version' in section 'metadata' already exists
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /nix/store/xpwwghl72bb7f48m51amvqiv1l25pa01-python3-3.9.13/bin/python3.9 /nix/store/k7ixz10xvrxjh754bk3i9435rmnvh3vh-python3.9-pip-22.1.2/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /build/tmp7625m4fc
  cwd: /build/pytest-6.2.2
  Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
error: builder for '/nix/store/xl4pxcsrcm0k0g86k09718sqips3jzg2-python3.9-pytest-6.2.2.drv' failed with exit code 1;
       last 10 log lines:
       >   full command: /nix/store/xpwwghl72bb7f48m51amvqiv1l25pa01-python3-3.9.13/bin/python3.9 /nix/store/k7ixz10xvrxjh754bk3i9435rmnvh3vh-python3.9-pip-22.1.2/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /build/tmp7625m4fc
       >   cwd: /build/pytest-6.2.2
       >   Preparing metadata (pyproject.toml) ... error
       > error: metadata-generation-failed
       >
       > × Encountered error while generating package metadata.
       > ╰─> See above for output.
       >
       > note: This is an issue with the package mentioned above, not pip.
       > hint: See above for details.
       For full logs, run 'nix log /nix/store/xl4pxcsrcm0k0g86k09718sqips3jzg2-python3.9-pytest-6.2.2.drv'.
error: 1 dependencies of derivation '/nix/store/a3arz6wllhw6nqfqbkj81jxhfidnca83-python3.9-zfs-replicate-1.4.0.drv' failed to build

I think this will be resolved by #139 , but I'll do some updates and verify. Thanks for the issue report!

@solomon-b, can you see if you get the same issues with the current master?

Stale issue message