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

error: failed to parse manifest at /home/clnuser/lightning/Cargo.toml - Caused by: feature strip is required #7948

Open
overcoin opened this issue Dec 17, 2024 · 0 comments

Comments

@overcoin
Copy link

Trying to build v24.11 on Debian 12:

python3 -m venv .venv && source .venv/bin/activate

pip3 install --upgrade pip poetry
poetry install
export RUST_PROFILE=release
./configure
make
lightningd/lightningd --version ### gives v24.11

sudo su
export RUST_PROFILE=release
make install

Result after make install:

mkdir -p /usr/local/libexec/c-lightning
mkdir -p /usr/local/libexec/c-lightning/plugins
mkdir -p /usr/local/share/man/man1
mkdir -p /usr/local/share/man/man5
mkdir -p /usr/local/share/man/man7
mkdir -p /usr/local/share/man/man8
mkdir -p /usr/local/share/doc/c-lightning
cp tools/hsmtool tools/lightning-hsmtool
PYTHONPATH=contrib/msggen python3 contrib/msggen/msggen/__main__.py bundle doc/schemas
Combining schemas from /home/clnuser/lightning/doc/schemas into /home/clnuser/lightning/contrib/msggen/msggen/schema.json
Created /home/clnuser/lightning/contrib/msggen/msggen/schema.json from 2 files
cargo build --profile=release --quiet --bin cln-grpc
error: failed to parse manifest at `/home/clnuser/lightning/Cargo.toml`

Caused by:
  feature `strip` is required

  consider adding `cargo-features = ["strip"]` to the manifest
make: *** [plugins/Makefile:300: target/release/cln-grpc] Error 101

nano /home/clnuser/lightning/Cargo.toml

[profile.release]
strip = "debuginfo"

[workspace]
resolver = "2"
members = [
  "cln-rpc",
  "cln-grpc",
  "plugins",
  "plugins/grpc-plugin",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant