Attic build error with Lix #192

Closed
opened 2024-03-27 13:11:22 +00:00 by yu-re-ka · 6 comments
Member

Describe the bug

Attic cli does not build with Lix

Steps To Reproduce

  • Add the overlay from fbe252a5c2
  • The lix nixosModule/overlay included with lix revision a69f6e185a
  • Add attic to systemPackages
  • Rebuild and see error

Expected behavior

The attic cli package should build

nix --version output

nix (Nix) 2.90.0-lixpre20240326-a536438

Additional context

Log
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/6daslzwpm9fzr6sw11irw1jcnsmspmhm-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
Executing configureCargoCommonVars
decompressing cargo artifacts from /nix/store/rw3qnk40j5b1avaprnyq8ka37k1ix21i-attic-deps-0.1.0/target.tar.zst to target
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
will append /build/source/.cargo-home/config.toml with contents of /nix/store/7mc8phkp015fgmr1a6fphv4bd0wczaq5-vendor-cargo-deps/config.toml
default configurePhase, nothing to do
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
++ command cargo --version
cargo 1.76.0
++ command cargo build --profile release --message-format json-render-diagnostics -p attic-client -p attic-server
   Compiling attic v0.1.0 (/build/source/attic)
   Compiling lzma-sys v0.1.20
   Compiling xz2 v0.1.7
   Compiling async-compression v0.4.4
The following warnings were emitted during compilation:

warning: attic@0.1.0: In file included from /nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/shared.hh:6,
warning: attic@0.1.0:                  from /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate/attic/src/nix_store/bindings/nix.hpp:23,
warning: attic@0.1.0:                  from /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/sources/attic/src/nix_store/bindings/mod.rs.cc:1:
warning: attic@0.1.0: /nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/args/root.hh:3:10: fatal error: args.hh: No such file or directory
warning: attic@0.1.0:     3 | #include "args.hh"
warning: attic@0.1.0:       |          ^~~~~~~~~
warning: attic@0.1.0: compilation terminated.
warning: attic@0.1.0: In file included from /nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/shared.hh:6,
warning: attic@0.1.0:                  from /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate/attic/src/nix_store/bindings/nix.hpp:23,
warning: attic@0.1.0:                  from src/nix_store/bindings/nix.cpp:11:
warning: attic@0.1.0: /nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/args/root.hh:3:10: fatal error: args.hh: No such file or directory
warning: attic@0.1.0:     3 | #include "args.hh"
warning: attic@0.1.0:       |          ^~~~~~~~~
warning: attic@0.1.0: compilation terminated.
warning: attic@0.1.0: ToolExecError: Command "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/0ce6e65ccf5c0de0-mod.rs.o" "-c" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/sources/attic/src/nix_store/bindings/mod.rs.cc" with args "g++" did not execute successfully (status code exit status: 1).
warning: attic@0.1.0: ToolExecError: Command "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/src/nix_store/bindings/nix.o" "-c" "src/nix_store/bindings/nix.cpp" with args "g++" did not execute successfully (status code exit status: 1).

error: failed to run custom build command for `attic v0.1.0 (/build/source/attic)`

Caused by:
  process didn't exit successfully: `/build/source/target/release/build/attic-20ffb2e825a558ea/build-script-build` (exit status: 1)
  --- stdout
  cargo:CXXBRIDGE_PREFIX=attic
  cargo:CXXBRIDGE_DIR0=/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include
  cargo:CXXBRIDGE_DIR1=/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate
  TARGET = Some("aarch64-unknown-linux-gnu")
  OPT_LEVEL = Some("3")
  HOST = Some("aarch64-unknown-linux-gnu")
  cargo:rerun-if-env-changed=CXX_aarch64-unknown-linux-gnu
  CXX_aarch64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXX_aarch64_unknown_linux_gnu
  CXX_aarch64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXX
  HOST_CXX = None
  cargo:rerun-if-env-changed=CXX
  CXX = Some("g++")
  running: "g++" "--version"
  exit status: 0
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("neon")
  cargo:rerun-if-env-changed=CXXFLAGS_aarch64-unknown-linux-gnu
  CXXFLAGS_aarch64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CXXFLAGS_aarch64_unknown_linux_gnu
  CXXFLAGS_aarch64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CXXFLAGS
  HOST_CXXFLAGS = None
  cargo:rerun-if-env-changed=CXXFLAGS
  CXXFLAGS = None
  running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/0ce6e65ccf5c0de0-mod.rs.o" "-c" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/sources/attic/src/nix_store/bindings/mod.rs.cc"
  running: "g++" "--version"
  exit status: 0
  running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/src/nix_store/bindings/nix.o" "-c" "src/nix_store/bindings/nix.cpp"
  cargo:warning=In file included from /nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/shared.hh:6,

  cargo:warning=                 from /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate/attic/src/nix_store/bindings/nix.hpp:23,

  cargo:warning=                 from /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/sources/attic/src/nix_store/bindings/mod.rs.cc:1:

  cargo:warning=/nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/args/root.hh:3:10: fatal error: args.hh: No such file or directory

  cargo:warning=    3 | #include "args.hh"

  cargo:warning=      |          ^~~~~~~~~

  cargo:warning=compilation terminated.

  cargo:warning=In file included from /nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/shared.hh:6,

  cargo:warning=                 from /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate/attic/src/nix_store/bindings/nix.hpp:23,

  cargo:warning=                 from src/nix_store/bindings/nix.cpp:11:

  cargo:warning=/nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/args/root.hh:3:10: fatal error: args.hh: No such file or directory

  cargo:warning=    3 | #include "args.hh"

  cargo:warning=      |          ^~~~~~~~~

  cargo:warning=compilation terminated.

  exit status: 1
  cargo:warning=ToolExecError: Command "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/0ce6e65ccf5c0de0-mod.rs.o" "-c" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/sources/attic/src/nix_store/bindings/mod.rs.cc" with args "g++" did not execute successfully (status code exit status: 1).
  exit status: 1
  cargo:warning=ToolExecError: Command "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/src/nix_store/bindings/nix.o" "-c" "src/nix_store/bindings/nix.cpp" with args "g++" did not execute successfully (status code exit status: 1).

  --- stderr

  CXX include path:
    /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include
    /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate


  error occurred: Command "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/src/nix_store/bindings/nix.o" "-c" "src/nix_store/bindings/nix.cpp" with args "g++" did not execute successfully (status code exit status: 1).


## Describe the bug Attic cli does not build with Lix ## Steps To Reproduce - Add the overlay from https://github.com/zhaofengli/attic/commit/fbe252a5c21febbe920c025560cbd63b20e24f3b - The lix nixosModule/overlay included with lix revision a69f6e185adabf42cc310375b5b57d7dda52397c - Add attic to systemPackages - Rebuild and see error ## Expected behavior The attic cli package should build ## `nix --version` output nix (Nix) 2.90.0-lixpre20240326-a536438 ## Additional context <details> <summary>Log</summary> ``` @nix { "action": "setPhase", "phase": "unpackPhase" } Running phase: unpackPhase unpacking source archive /nix/store/6daslzwpm9fzr6sw11irw1jcnsmspmhm-source source root is source @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: patchPhase Executing configureCargoCommonVars decompressing cargo artifacts from /nix/store/rw3qnk40j5b1avaprnyq8ka37k1ix21i-attic-deps-0.1.0/target.tar.zst to target @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } Running phase: updateAutotoolsGnuConfigScriptsPhase @nix { "action": "setPhase", "phase": "configurePhase" } Running phase: configurePhase will append /build/source/.cargo-home/config.toml with contents of /nix/store/7mc8phkp015fgmr1a6fphv4bd0wczaq5-vendor-cargo-deps/config.toml default configurePhase, nothing to do @nix { "action": "setPhase", "phase": "buildPhase" } Running phase: buildPhase ++ command cargo --version cargo 1.76.0 ++ command cargo build --profile release --message-format json-render-diagnostics -p attic-client -p attic-server  Compiling attic v0.1.0 (/build/source/attic)  Compiling lzma-sys v0.1.20  Compiling xz2 v0.1.7  Compiling async-compression v0.4.4 The following warnings were emitted during compilation: warning: attic@0.1.0: In file included from /nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/shared.hh:6, warning: attic@0.1.0: from /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate/attic/src/nix_store/bindings/nix.hpp:23, warning: attic@0.1.0: from /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/sources/attic/src/nix_store/bindings/mod.rs.cc:1: warning: attic@0.1.0: /nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/args/root.hh:3:10: fatal error: args.hh: No such file or directory warning: attic@0.1.0: 3 | #include "args.hh" warning: attic@0.1.0: | ^~~~~~~~~ warning: attic@0.1.0: compilation terminated. warning: attic@0.1.0: In file included from /nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/shared.hh:6, warning: attic@0.1.0: from /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate/attic/src/nix_store/bindings/nix.hpp:23, warning: attic@0.1.0: from src/nix_store/bindings/nix.cpp:11: warning: attic@0.1.0: /nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/args/root.hh:3:10: fatal error: args.hh: No such file or directory warning: attic@0.1.0: 3 | #include "args.hh" warning: attic@0.1.0: | ^~~~~~~~~ warning: attic@0.1.0: compilation terminated. warning: attic@0.1.0: ToolExecError: Command "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/0ce6e65ccf5c0de0-mod.rs.o" "-c" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/sources/attic/src/nix_store/bindings/mod.rs.cc" with args "g++" did not execute successfully (status code exit status: 1). warning: attic@0.1.0: ToolExecError: Command "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/src/nix_store/bindings/nix.o" "-c" "src/nix_store/bindings/nix.cpp" with args "g++" did not execute successfully (status code exit status: 1). error: failed to run custom build command for `attic v0.1.0 (/build/source/attic)` Caused by: process didn't exit successfully: `/build/source/target/release/build/attic-20ffb2e825a558ea/build-script-build` (exit status: 1) --- stdout cargo:CXXBRIDGE_PREFIX=attic cargo:CXXBRIDGE_DIR0=/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include cargo:CXXBRIDGE_DIR1=/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate TARGET = Some("aarch64-unknown-linux-gnu") OPT_LEVEL = Some("3") HOST = Some("aarch64-unknown-linux-gnu") cargo:rerun-if-env-changed=CXX_aarch64-unknown-linux-gnu CXX_aarch64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXX_aarch64_unknown_linux_gnu CXX_aarch64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXX HOST_CXX = None cargo:rerun-if-env-changed=CXX CXX = Some("g++") running: "g++" "--version" exit status: 0 cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = Some("neon") cargo:rerun-if-env-changed=CXXFLAGS_aarch64-unknown-linux-gnu CXXFLAGS_aarch64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_aarch64_unknown_linux_gnu CXXFLAGS_aarch64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/0ce6e65ccf5c0de0-mod.rs.o" "-c" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/sources/attic/src/nix_store/bindings/mod.rs.cc" running: "g++" "--version" exit status: 0 running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/src/nix_store/bindings/nix.o" "-c" "src/nix_store/bindings/nix.cpp" cargo:warning=In file included from /nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/shared.hh:6, cargo:warning= from /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate/attic/src/nix_store/bindings/nix.hpp:23, cargo:warning= from /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/sources/attic/src/nix_store/bindings/mod.rs.cc:1: cargo:warning=/nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/args/root.hh:3:10: fatal error: args.hh: No such file or directory cargo:warning= 3 | #include "args.hh" cargo:warning= | ^~~~~~~~~ cargo:warning=compilation terminated. cargo:warning=In file included from /nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/shared.hh:6, cargo:warning= from /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate/attic/src/nix_store/bindings/nix.hpp:23, cargo:warning= from src/nix_store/bindings/nix.cpp:11: cargo:warning=/nix/store/x6llms5iczzk3hjgpqqi1x6xidy13vg1-nix-2.18.3-lixpre20240326-a536438-dev/include/nix/args/root.hh:3:10: fatal error: args.hh: No such file or directory cargo:warning= 3 | #include "args.hh" cargo:warning= | ^~~~~~~~~ cargo:warning=compilation terminated. exit status: 1 cargo:warning=ToolExecError: Command "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/0ce6e65ccf5c0de0-mod.rs.o" "-c" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/sources/attic/src/nix_store/bindings/mod.rs.cc" with args "g++" did not execute successfully (status code exit status: 1). exit status: 1 cargo:warning=ToolExecError: Command "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/src/nix_store/bindings/nix.o" "-c" "src/nix_store/bindings/nix.cpp" with args "g++" did not execute successfully (status code exit status: 1). --- stderr CXX include path: /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include /build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate error occurred: Command "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/include" "-I" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/cxxbridge/crate" "-Wall" "-Wextra" "-std=c++2a" "-O2" "-include" "nix/config.h" "-idirafter" "/build/.tmpWIiQ6J" "-o" "/build/source/target/release/build/attic-4b12d742c5137bf2/out/src/nix_store/bindings/nix.o" "-c" "src/nix_store/bindings/nix.cpp" with args "g++" did not execute successfully (status code exit status: 1). ``` </details>
yu-re-ka added the
bug
label 2024-03-27 13:11:22 +00:00
Member

Does reverting 3d065192c0 fix it?

Does reverting https://git.lix.systems/lix-project/lix/commit/3d065192c08b3dcb76b9cf70cd0104974106ae8f fix it?
Author
Member

0be766c12d is bad
0be766c12d~1 is good
=> 0be766c12d is the first bad commit

Revert is difficult to test since the revert does not apply cleanly.

0be766c12d is bad 0be766c12d~1 is good => 0be766c12d is the first bad commit Revert is difficult to test since the revert does not apply cleanly.
winter self-assigned this 2024-03-27 14:04:17 +00:00
Member

Going to prod at this later.

Going to prod at this later.
Author
Member

We discussed on matrix that this api change also applies to Nix master, and it has to be fixed in attic

We discussed on matrix that this api change also applies to Nix master, and it has to be fixed in attic
Member

Fixed in https://github.com/zhaofengli/attic/pull/123, will close when merged.

Fixed in https://github.com/zhaofengli/attic/pull/123, will close when merged.
Member
[Merged](https://github.com/zhaofengli/attic/commit/4dbdbee45728d8ce5788db6461aaaa89d98081f0).
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#192
No description provided.