I tried to install it from AUR and from source. I get the same error.
rustc 1.78.0 (9b00956e5 2024-04-29) (Arch Linux rust 1:1.78.0-1)
cargo 1.78.0
Compiling proc-macro2 v1.0.69
Compiling unicode-ident v1.0.12
Compiling thiserror v1.0.50
Compiling memchr v2.6.4
Compiling rustix v0.38.25
Compiling ucd-trie v0.1.6
Compiling autocfg v1.1.0
Compiling rand_core v0.6.4
Compiling serde v1.0.193
Compiling pkg-config v0.3.27
Compiling siphasher v0.3.11
Compiling linux-raw-sys v0.4.11
Compiling once_cell v1.18.0
Compiling bitflags v2.4.1
Compiling serde_json v1.0.108
Compiling regex-syntax v0.8.2
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/opt/anaconda/bin:/opt/anaconda/condabin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcEeeF3g/symbols.o" "/home/USER/Applications/Git/kdotool/target/release/build/serde_json-e4fabdb49c99c16b/build_script_build-e4fabdb49c99c16b.build_script_build.fd849e2c0d867dca-cgu.0.rcgu.o" "/home/USER/Applications/Git/kdotool/target/release/build/serde_json-e4fabdb49c99c16b/build_script_build-e4fabdb49c99c16b.1ihwxufqrldclr1s.rcgu.o" "-Wl,--as-needed" "-L" "/home/USER/Applications/Git/kdotool/target/release/deps" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a8afbc4cf9b1568f.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libobject-77cc6f7c429fe363.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-19736dceaad0b4b8.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-70366cf8a4f39dc1.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-bbacfd7894296f03.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-a3439f757b34a5b2.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-b439bfdfd68e538e.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-dc44f8c1a4aafb0c.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-2d257aa2a0374ef9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-18a62298ff3d223d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libadler-e5ae4c0fbfb81efe.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e0fc4e09ba6e0f49.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-02feaffbaf78e9be.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a8f848e0246562bb.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-1211ff2b03c68af1.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b61ac6aa2015a5b2.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-fed87452ae4ab440.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3ce9c50abe6de474.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/USER/Applications/Git/kdotool/target/release/build/serde_json-e4fabdb49c99c16b/build_script_build-e4fabdb49c99c16b" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-all" "-nodefaultlibs"
= note: /opt/anaconda/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib(std-9b82c2917e0c85d4.std.3003f94c16d405af-cgu.0.rcgu.o): in function `std::sys::pal::unix::stack_overflow::imp::make_handler':
(.text._ZN3std3sys3pal4unix14stack_overflow3imp12make_handler17h91e0d6540b427591E+0x4a): undefined reference to `getauxval'
/opt/anaconda/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib(std-9b82c2917e0c85d4.std.3003f94c16d405af-cgu.0.rcgu.o): in function `std::sys::sync::once::futex::Once::call':
(.text.unlikely._ZN3std3sys4sync4once5futex4Once4call17h38137446c5a39fd0E+0x124): undefined reference to `getauxval'
collect2: error: ld returned 1 exit status
= note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)
error: could not compile `serde_json` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/opt/anaconda/bin:/opt/anaconda/condabin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcAoiEAd/symbols.o" "/home/USER/Applications/Git/kdotool/target/release/build/thiserror-9689b47947d5874c/build_script_build-9689b47947d5874c.build_script_build.6c49f905b8c5dd9f-cgu.0.rcgu.o" "/home/USER/Applications/Git/kdotool/target/release/build/thiserror-9689b47947d5874c/build_script_build-9689b47947d5874c.50f4rn7ig1zc4cte.rcgu.o" "-Wl,--as-needed" "-L" "/home/USER/Applications/Git/kdotool/target/release/deps" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a8afbc4cf9b1568f.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libobject-77cc6f7c429fe363.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-19736dceaad0b4b8.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-70366cf8a4f39dc1.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-bbacfd7894296f03.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-a3439f757b34a5b2.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-b439bfdfd68e538e.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-dc44f8c1a4aafb0c.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-2d257aa2a0374ef9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-18a62298ff3d223d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libadler-e5ae4c0fbfb81efe.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e0fc4e09ba6e0f49.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-02feaffbaf78e9be.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a8f848e0246562bb.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-1211ff2b03c68af1.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b61ac6aa2015a5b2.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-fed87452ae4ab440.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3ce9c50abe6de474.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack""-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/USER/Applications/Git/kdotool/target/release/build/thiserror-9689b47947d5874c/build_script_build-9689b47947d5874c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-all" "-nodefaultlibs"
= note: /opt/anaconda/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib(std-9b82c2917e0c85d4.std.3003f94c16d405af-cgu.0.rcgu.o): in function `std::sys::pal::unix::stack_overflow::imp::make_handler':
(.text._ZN3std3sys3pal4unix14stack_overflow3imp12make_handler17h91e0d6540b427591E+0x4a): undefined reference to `getauxval'
/opt/anaconda/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib(std-9b82c2917e0c85d4.std.3003f94c16d405af-cgu.0.rcgu.o): in function `std::sys::sync::once::futex::Once::call':
(.text.unlikely._ZN3std3sys4sync4once5futex4Once4call17h38137446c5a39fd0E+0x124): undefined reference to `getauxval'
collect2: error: ld returned 1 exit status
= note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)
error: could not compile `thiserror` (build script) due to 1 previous error
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/opt/anaconda/bin:/opt/anaconda/condabin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcZLPoBe/symbols.o" "/home/USER/Applications/Git/kdotool/target/release/build/serde-72f588f1cb60ec84/build_script_build-72f588f1cb60ec84.build_script_build.73763fbcc06ec303-cgu.0.rcgu.o" "/home/USER/Applications/Git/kdotool/target/release/build/serde-72f588f1cb60ec84/build_script_build-72f588f1cb60ec84.1jyivl2w9qr3yidw.rcgu.o" "-Wl,--as-needed" "-L" "/home/USER/Applications/Git/kdotool/target/release/deps" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a8afbc4cf9b1568f.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libobject-77cc6f7c429fe363.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-19736dceaad0b4b8.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-70366cf8a4f39dc1.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-bbacfd7894296f03.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-a3439f757b34a5b2.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-b439bfdfd68e538e.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-dc44f8c1a4aafb0c.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-2d257aa2a0374ef9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-18a62298ff3d223d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libadler-e5ae4c0fbfb81efe.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e0fc4e09ba6e0f49.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-02feaffbaf78e9be.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a8f848e0246562bb.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-1211ff2b03c68af1.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b61ac6aa2015a5b2.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-fed87452ae4ab440.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3ce9c50abe6de474.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/USER/Applications/Git/kdotool/target/release/build/serde-72f588f1cb60ec84/build_script_build-72f588f1cb60ec84" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-all" "-nodefaultlibs"
= note: /opt/anaconda/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib(std-9b82c2917e0c85d4.std.3003f94c16d405af-cgu.0.rcgu.o): in function `std::sys::pal::unix::stack_overflow::imp::make_handler':
(.text._ZN3std3sys3pal4unix14stack_overflow3imp12make_handler17h91e0d6540b427591E+0x4a): undefined reference to `getauxval'
/opt/anaconda/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib(std-9b82c2917e0c85d4.std.3003f94c16d405af-cgu.0.rcgu.o): in function `std::sys::sync::once::futex::Once::call':
(.text.unlikely._ZN3std3sys4sync4once5futex4Once4call17h38137446c5a39fd0E+0x124): undefined reference to `getauxval'
collect2: error: ld returned 1 exit status
= note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)
error: could not compile `serde` (build script) due to 1 previous error
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/opt/anaconda/bin:/opt/anaconda/condabin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustc7IR0u8/symbols.o" "/home/USER/Applications/Git/kdotool/target/release/build/proc-macro2-68940d75aa3e25a9/build_script_build-68940d75aa3e25a9.build_script_build.798b364b29163237-cgu.0.rcgu.o" "/home/USER/Applications/Git/kdotool/target/release/build/proc-macro2-68940d75aa3e25a9/build_script_build-68940d75aa3e25a9.build_script_build.798b364b29163237-cgu.1.rcgu.o" "/home/USER/Applications/Git/kdotool/target/release/build/proc-macro2-68940d75aa3e25a9/build_script_build-68940d75aa3e25a9.build_script_build.798b364b29163237-cgu.2.rcgu.o" "/home/USER/Applications/Git/kdotool/target/release/build/proc-macro2-68940d75aa3e25a9/build_script_build-68940d75aa3e25a9.252tbn51c6plk8e3.rcgu.o" "-Wl,--as-needed" "-L" "/home/USER/Applications/Git/kdotool/target/release/deps" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a8afbc4cf9b1568f.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libobject-77cc6f7c429fe363.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-19736dceaad0b4b8.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-70366cf8a4f39dc1.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-bbacfd7894296f03.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-a3439f757b34a5b2.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-b439bfdfd68e538e.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-dc44f8c1a4aafb0c.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-2d257aa2a0374ef9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-18a62298ff3d223d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libadler-e5ae4c0fbfb81efe.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e0fc4e09ba6e0f49.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-02feaffbaf78e9be.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a8f848e0246562bb.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-1211ff2b03c68af1.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b61ac6aa2015a5b2.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-fed87452ae4ab440.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3ce9c50abe6de474.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/USER/Applications/Git/kdotool/target/release/build/proc-macro2-68940d75aa3e25a9/build_script_build-68940d75aa3e25a9" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-all" "-nodefaultlibs"
= note: /opt/anaconda/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib(std-9b82c2917e0c85d4.std.3003f94c16d405af-cgu.0.rcgu.o): in function `std::sys::pal::unix::stack_overflow::imp::make_handler':
(.text._ZN3std3sys3pal4unix14stack_overflow3imp12make_handler17h91e0d6540b427591E+0x4a): undefined reference to `getauxval'
/opt/anaconda/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib(std-9b82c2917e0c85d4.std.3003f94c16d405af-cgu.0.rcgu.o): in function `std::sys::sync::once::futex::Once::call':
(.text.unlikely._ZN3std3sys4sync4once5futex4Once4call17h38137446c5a39fd0E+0x124): undefined reference to `getauxval'
collect2: error: ld returned 1 exit status
= note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)
error: could not compile `proc-macro2` (build script) due to 1 previous error
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/opt/anaconda/bin:/opt/anaconda/condabin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcFKrkTT/symbols.o" "/home/USER/Applications/Git/kdotool/target/release/build/rustix-6f186bf4a9c2cad5/build_script_build-6f186bf4a9c2cad5.build_script_build.685e7621e1fa09fc-cgu.0.rcgu.o" "/home/USER/Applications/Git/kdotool/target/release/build/rustix-6f186bf4a9c2cad5/build_script_build-6f186bf4a9c2cad5.build_script_build.685e7621e1fa09fc-cgu.1.rcgu.o" "/home/USER/Applications/Git/kdotool/target/release/build/rustix-6f186bf4a9c2cad5/build_script_build-6f186bf4a9c2cad5.build_script_build.685e7621e1fa09fc-cgu.2.rcgu.o" "/home/USER/Applications/Git/kdotool/target/release/build/rustix-6f186bf4a9c2cad5/build_script_build-6f186bf4a9c2cad5.id6tx6rrrxg8rqb.rcgu.o" "-Wl,--as-needed" "-L" "/home/USER/Applications/Git/kdotool/target/release/deps" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a8afbc4cf9b1568f.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libobject-77cc6f7c429fe363.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-19736dceaad0b4b8.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-70366cf8a4f39dc1.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-bbacfd7894296f03.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-a3439f757b34a5b2.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-b439bfdfd68e538e.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-dc44f8c1a4aafb0c.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-2d257aa2a0374ef9.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-18a62298ff3d223d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libadler-e5ae4c0fbfb81efe.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e0fc4e09ba6e0f49.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-02feaffbaf78e9be.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a8f848e0246562bb.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-1211ff2b03c68af1.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-b61ac6aa2015a5b2.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcore-fed87452ae4ab440.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3ce9c50abe6de474.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/USER/Applications/Git/kdotool/target/release/build/rustix-6f186bf4a9c2cad5/build_script_build-6f186bf4a9c2cad5" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-all" "-nodefaultlibs"
= note: /opt/anaconda/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib(std-9b82c2917e0c85d4.std.3003f94c16d405af-cgu.0.rcgu.o): in function `std::sys::pal::unix::stack_overflow::imp::make_handler':
(.text._ZN3std3sys3pal4unix14stack_overflow3imp12make_handler17h91e0d6540b427591E+0x4a): undefined reference to `getauxval'
/opt/anaconda/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9b82c2917e0c85d4.rlib(std-9b82c2917e0c85d4.std.3003f94c16d405af-cgu.0.rcgu.o): in function `std::sys::sync::once::futex::Once::call':
(.text.unlikely._ZN3std3sys4sync4once5futex4Once4call17h38137446c5a39fd0E+0x124): undefined reference to `getauxval'
collect2: error: ld returned 1 exit status
= note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)
error: could not compile `rustix` (build script) due to 1 previous error