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

[QUESTION] Install from source inv install fails #903

Open
aethros opened this issue Jan 22, 2025 · 0 comments
Open

[QUESTION] Install from source inv install fails #903

aethros opened this issue Jan 22, 2025 · 0 comments
Labels

Comments

@aethros
Copy link

aethros commented Jan 22, 2025

Describe the bug
Installer fails during inv install command invocation.

To Reproduce
Steps to reproduce the behavior:

  1. Ensure perquisites are installed.
  2. Build from source as per https://github.com/coreemu/core?tab=readme-ov-file#script-install
  3. Run final build step inv install
  4. See error
(venv) ubuntu@ubuntu-dev:~/core$ inv install
installing core using python(python3) venv(/opt/core/venv) prefix(/usr/local)
checking for old installations ... done
installing system dependencies ... done
installing system grpcio-tools ... \Encountered a bad command exit code!

Command: 'python3 -m pip install --user grpcio==1.54.2 grpcio-tools==1.54.2'

Exit code: 1

Stdout:

  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): still running...
  Building wheel for grpcio (setup.py): finished with status 'error'
  Running setup.py clean for grpcio
  Building wheel for grpcio-tools (setup.py): started
  Building wheel for grpcio-tools (setup.py): still running...
  Building wheel for grpcio-tools (setup.py): finished with status 'error'
  Running setup.py clean for grpcio-tools
Failed to build grpcio grpcio-tools

Stderr:

      aarch64-linux-gnu-g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/opt/core/venv/include -I/usr/include/python3.12 -c third_party/protobuf/src/google/protobuf/wire_format.cc -o build/temp.linux-aarch64-cpython-312/third_party/protobuf/src/google/protobuf/wire_format.o -std=c++14 -fno-wrapv -frtti
      aarch64-linux-gnu-g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/opt/core/venv/include -I/usr/include/python3.12 -c third_party/protobuf/src/google/protobuf/util/internal/error_listener.cc -o build/temp.linux-aarch64-cpython-312/third_party/protobuf/src/google/protobuf/util/internal/error_listener.o -std=c++14 -fno-wrapv -frtti
      aarch64-linux-gnu-g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/opt/core/venv/include -I/usr/include/python3.12 -c third_party/protobuf/src/google/protobuf/wire_format_lite.cc -o build/temp.linux-aarch64-cpython-312/third_party/protobuf/src/google/protobuf/wire_format_lite.o -std=c++14 -fno-wrapv -frtti
      aarch64-linux-gnu-g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -DHAVE_PTHREAD=1 -I. -Igrpc_root -Igrpc_root/include -Ithird_party/protobuf/src -I/opt/core/venv/include -I/usr/include/python3.12 -c third_party/protobuf/src/google/protobuf/wrappers.pb.cc -o build/temp.linux-aarch64-cpython-312/third_party/protobuf/src/google/protobuf/wrappers.pb.o -std=c++14 -fno-wrapv -frtti
      error: command '/usr/bin/aarch64-linux-gnu-g++' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for grpcio-tools
ERROR: Could not build wheels for grpcio, grpcio-tools, which is required to install pyproject.toml-based projects

Expected behavior
Install proceeds without errors.

Desktop (please complete the following information):

  • OS: Ubuntu 24.04
  • CORE Version: develop branch (9.1.0+)
  • EMANE Version: 1.5.1

Additional context
I've reinstalled some of the other packages a few times. I'm not sure if that may have created an error.

@aethros aethros added the bug label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant