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

nix: build broken in a nix shell #7315

Closed
vincenzopalazzo opened this issue May 15, 2024 · 3 comments
Closed

nix: build broken in a nix shell #7315

vincenzopalazzo opened this issue May 15, 2024 · 3 comments
Assignees
Labels
state::stale This issue/PR has not seen any activity for a while, and has no actionable step. Will be closed soon
Milestone

Comments

@vincenzopalazzo
Copy link
Contributor

Setting FUZZING... 0
Setting RUST... 0
Setting PYTHON... python3
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
build flags: -j16 SHELL=/nix/store/087167dfxal194pm54cmcbbxsfy3cjgn-bash-5.2p26/bin/bash VERSION=v24.02
CC: gcc -DCLN_NEXT_VERSION="v24.05" -DBINTOPKGLIBEXECDIR="../libexec/c-lightning" -DCCAN_TAL_NEVER_RETURN_NULL=1 -Wall -Wundef -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wold-style-definition -Werror -Wno-maybe-uninitialized -Wshadow=local -std=gnu11 -g -fstack-protector-strong -Og -I ccan -I external/libwally-core/include/ -I external/libwally-core/src/secp256k1/include/ -I external/jsmn/ -I external/libbacktrace/ -I external/gheap/ -I external/build-x86_64-unknown-linux-gnu/libbacktrace-build -I external/libsodium/src/libsodium/include -I external/libsodium/src/libsodium/include/sodium -I external/build-x86_64-unknown-linux-gnu/libsodium-build/src/libsodium/include -I . -I/usr/local/include      -DSHACHAIN_BITS=48 -DJSMN_PARENT_LINKS  -DCOMPAT_V052=1 -DCOMPAT_V060=1 -DCOMPAT_V061=1 -DCOMPAT_V062=1 -DCOMPAT_V070=1 -DCOMPAT_V072=1 -DCOMPAT_V073=1 -DCOMPAT_V080=1 -DCOMPAT_V081=1 -DCOMPAT_V082=1 -DCOMPAT_V090=1 -DCOMPAT_V0100=1 -DCOMPAT_V0121=1  -c -o
LD: gcc   -Og  config.vars  -Lexternal/build-x86_64-unknown-linux-gnu -lwallycore -lsecp256k1 -ljsmn -lbacktrace -lsodium -L/usr/local/include -lm -lsqlite3 -lz  -o
/nix/store/087167dfxal194pm54cmcbbxsfy3cjgn-bash-5.2p26/bin/bash: line 1: tools/fromschema.py: cannot execute: required file not found
/nix/store/087167dfxal194pm54cmcbbxsfy3cjgn-bash-5.2p26/bin/bash: line 1: tools/fromschema.py: cannot execute: required file not found
make: *** [doc/Makefile:175: doc/lightning-addgossip.7.md] Error 127
make: *** Waiting for unfinished jobs....
make: *** [doc/Makefile:175: doc/lightning-addpsbtoutput.7.md] Error 127
/nix/store/087167dfxal194pm54cmcbbxsfy3cjgn-bash-5.2p26/bin/bash: line 1: tools/fromschema.py: cannot execute: required file not found
make: *** [doc/Makefile:175: doc/lightning-autoclean-once.7.md] Error 127
/nix/store/087167dfxal194pm54cmcbbxsfy3cjgn-bash-5.2p26/bin/bash: line 1: tools/fromschema.py: cannot execute: required file not found
make: *** [doc/Makefile:175: doc/lightning-autoclean-status.7.md] Error 127
Version updated

Nix example https://github.com/vincenzopalazzo/lampo.rs/blob/main/flake.nix just using the current master

@vincenzopalazzo
Copy link
Contributor Author

I think this a bug in https://github.com/NixOS/nixpkgs

But something change in our build system

@vincenzopalazzo
Copy link
Contributor Author

possible route cause #6995

@vincenzopalazzo vincenzopalazzo added the state::stale This issue/PR has not seen any activity for a while, and has no actionable step. Will be closed soon label May 17, 2024
@vincenzopalazzo vincenzopalazzo self-assigned this May 17, 2024
@vincenzopalazzo vincenzopalazzo added this to the v24.05 milestone May 17, 2024
@vincenzopalazzo
Copy link
Contributor Author

This issue will be fixed by https://github.com/NixOS/nixpkgs/pull/312458/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state::stale This issue/PR has not seen any activity for a while, and has no actionable step. Will be closed soon
Projects
None yet
Development

No branches or pull requests

1 participant