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

activating x86 container on x64 host causes #51

Closed
piexil opened this issue Feb 19, 2022 · 2 comments
Closed

activating x86 container on x64 host causes #51

piexil opened this issue Feb 19, 2022 · 2 comments

Comments

@piexil
Copy link

piexil commented Feb 19, 2022

+ /hbb_exe/activate-exec /hbb/activate_func.sh: line 38: /opt/rh/devtoolset-8/enable: No such file or directory

reason is due to
function activate_holy_build_box_deps_installation_environment() { if [ "$(uname -m)" != x86_64 ]; then DEVTOOLSET_VER=7 else DEVTOOLSET_VER=8 fi
in /hbb/activate_func.sh
devtoolset 8 isn't readily available or in the container for x86, should always be set to 7 for the x86 container.

@FooBarWidget
Copy link
Member

When using x86 container on x64, you should run all commands with linux32 in order for the container to believe that it's actually on an x86 system. Otherwise, tools like uname will report that it's on x64. See this document: https://github.com/FooBarWidget/holy-build-box/blob/v2/BUILDING-32-BIT-BINARIES.md

@piexil
Copy link
Author

piexil commented Feb 20, 2022

ah of course, I'm sorry I missed this. Thank you!

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

2 participants