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

Issue in installing package atheris-libprotobuf-mutator on python base image #75

Open
pret-nitish opened this issue Dec 1, 2023 · 0 comments

Comments

@pret-nitish
Copy link

Hi Team ,

We are trying to install atheris-libprotobuf-mutator package on python base image. but we are getting issue's while installing the same. we have already installed atheris and bazel packages.

Command :- pip3 install atheris-libprotobuf-mutator

Below is the error:-
[184 / 197] Compiling src/google/protobuf/descriptor.cc; 10s processwrapper-sandbox ... (12 actions running)
#0 38.09 [190 / 197] Compiling src/google/protobuf/descriptor.cc; 11s processwrapper-sandbox ... (6 actions running)
#0 38.49 ERROR: /root/.cache/bazel/_bazel_root/6bd533e1255e6b9a4a9b8d4c9dccd8c0/external/com_google_pybind11_protobuf/pybind11_protobuf/BUILD:45:15: Compiling pybind11_protobuf/native_proto_caster.cc failed: (Exit 1): gcc failed: error executing command (from target @com_google_pybind11_protobuf//pybind11_protobuf:native_proto_caster) /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 60 arguments skipped)

subprocess.CalledProcessError: Command '['/usr/bin/bazel', 'build', '--define', "PYTHON_BIN_PATH='/usr/local/bin/python'", '-c', 'opt', '--cxxopt=-std=c++17', '//:_mutator.so']' returned non-zero exit status 1.
#0 38.70 error: subprocess-exited-with-error
#0 38.70
#0 38.70 × Building wheel for atheris-libprotobuf-mutator (pyproject.toml) did not run successfully.
#0 38.70 │ exit code: 1
#0 38.70 ╰─> See above for output.

#0 38.71 ERROR: Could not build wheels for atheris-libprotobuf-mutator, which is required to install pyproject.toml-based projects

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