You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while trying to move a project the uses zmq into a rust flake I came across the problem that the build dependency zeromq-src = { version = "0.2.1" } was remove from the Cargo.toml of zmq-sys. Removing this dependency leads to the following error:
error: builder for '/nix/store/dk9qgqqg1paakxzxscdrxsi2a0b308ss-crate-zmq-sys-0.12.0.drv' failed with exit code 101;
last 10 log lines:
>
> --- stderr
> cc1: fatal error: /build/zeromq-src-0.2.6+4.3.4/src/strlcpy.c: No such file or directory
> compilation terminated.
>
>
> error occurred: Command "/nix/store/3hbxw05vfs6m1155xa6pvribs3bv777n-gcc-wrapper-12.2.0/bin/c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/build/zeromq-src-0.2.6+4.3.4/vendor/include" "-I" "/build/zeromq-src-0.2.6+4.3.4/vendor/src" "-I" "/build/zeromq-src-0.2.6+4.3.4/vendor/src" "-I" "/build/zeromq-src-0.2.6+4.3.4/vendor/external/sha1" "-I" "/build/zmq-sys-0.12.0/target/x86_64-unknown-linux-gnu/release/build/zmq-sys-f65ad9a14c492c23/out" "-Wall" "-Wextra" "-DZMQ_BUILD_TESTS=OFF" "-DZMQ_USE_CV_IMPL_STL11=1" "-DZMQ_STATIC=1" "-DZMQ_USE_BUILTIN_SHA1=1" "-DZMQ_HAVE_WS=1" "-DZMQ_IOTHREAD_POLLER_USE_EPOLL=1" "-DZMQ_POLL_BASED_ON_POLL=1" "-DZMQ_HAVE_IPC=1" "-DHAVE_STRNLEN=1" "-DZMQ_HAVE_UIO=1" "-o" "/build/zmq-sys-0.12.0/target/x86_64-unknown-linux-gnu/release/build/zmq-sys-f65ad9a14c492c23/out/lib/e9604ab5dbd5f1ec-sha1.o" "-c" "/build/zeromq-src-0.2.6+4.3.4/vendor/external/sha1/sha1.c" with args "c++" did not execute successfully (status code exit status: 1).
>
>
> /nix/store/gv2cl6qvvslz5h15vqd89f1rpvrdg5yc-stdenv-linux/setup: line 146: pop_var_context: head of shell_variables not a function context
For full logs, run 'nix log /nix/store/dk9qgqqg1paakxzxscdrxsi2a0b308ss-crate-zmq-sys-0.12.0.drv'.
The src/strlcpy.c is part of the build dependency zeromq-src = { version = "0.2.1" }.
I am not sure why this dependency is removed or how to convince cargo2nix to keep it.
The text was updated successfully, but these errors were encountered:
Hi,
while trying to move a project the uses zmq into a rust flake I came across the problem that the build dependency
zeromq-src = { version = "0.2.1" }
was remove from theCargo.toml
ofzmq-sys
. Removing this dependency leads to the following error:The
src/strlcpy.c
is part of the build dependencyzeromq-src = { version = "0.2.1" }
.I am not sure why this dependency is removed or how to convince cargo2nix to keep it.
The text was updated successfully, but these errors were encountered: