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

[Build] build fails with --enable_external_custom_op_schemas #18141

Closed
jdbrinton opened this issue Oct 28, 2023 · 2 comments
Closed

[Build] build fails with --enable_external_custom_op_schemas #18141

jdbrinton opened this issue Oct 28, 2023 · 2 comments
Labels
build build issues; typically submitted using template stale issues that have not been addressed in a while; categorized by a bot

Comments

@jdbrinton
Copy link

jdbrinton commented Oct 28, 2023

Describe the issue

Hello,

When building v1.16.1 with the --enable_external_custom_op_schemas option the build fails at Installing protobuf. I've tried on several different virgin Linux installs. I've also tried with and without the --use_full_protobuf option, with and without the --parallel option, and with and without the --build_wheel option.

The issue is reproducible with the build script below using the following docker: https://github.com/jdbrinton/ubuntu-onnxruntime-docker

thank you

Urgency

This is blocking for us.

Target platform

Docker - Ubuntu 22.04.3 LTS

Build script

cd
git clone --recursive https://github.com/Microsoft/onnxruntime.git
cd onnxruntime
pip install -r requirements-dev.txt
./build.sh --config RelWithDebInfo --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync --enable_training --enable_external_custom_op_schemas --allow_running_as_root > buildlog.txt 2>&1

Note, the --allow_running_as_root is only required if testing in the docker.

Error / output

Installing protobuf
/bin/sh: 1: cd: can't cd to /root/onnxruntime/build/Linux/Release/external/protobuf/cmake
make[2]: *** [CMakeFiles/install_protobuf.dir/build.make:75: install_protobuf] Error 2
make[1]: *** [CMakeFiles/Makefile2:2952: CMakeFiles/install_protobuf.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

buildlog.txt

Visual Studio Version

No response

GCC / Compiler Version

gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

@jdbrinton jdbrinton added the build build issues; typically submitted using template label Oct 28, 2023
Copy link
Contributor

This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Nov 27, 2023
Copy link
Contributor

github-actions bot commented Jan 3, 2024

This issue has been automatically closed due to inactivity. Please reactivate if further support is needed.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template stale issues that have not been addressed in a while; categorized by a bot
Projects
None yet
Development

No branches or pull requests

1 participant