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

Every build fails "could not find a working compiler" #903

Open
mindtheegab opened this issue Sep 18, 2024 · 3 comments
Open

Every build fails "could not find a working compiler" #903

mindtheegab opened this issue Sep 18, 2024 · 3 comments
Milestone

Comments

@mindtheegab
Copy link

mindtheegab commented Sep 18, 2024

i already installed gcc multilib but still same error. tried different modules.

ubuntu 22.04.03

easybuild installed via pip

== 2024-09-18 13:54:25,196 configuremake.py:252 INFO /home/itsupport/.local/easybuild/sources/generic/eb_v4.9.3/ConfigureMake/config.guess returned a system type 'x86_64-pc-linux-gnu' == 2024-09-18 13:54:25,196 configuremake.py:256 INFO Providing 'x86_64-pc-linux-gnu' as value to --build option of configure script == 2024-09-18 13:54:25,196 configuremake.py:260 INFO Providing 'x86_64-pc-linux-gnu' as value to --host option of configure script == 2024-09-18 13:54:25,196 run.py:247 INFO running cmd: ./configure --prefix=/home/itsupport/.local/easybuild/build/GCCcore/10.2.0/system-system/gcc-10.2.0/stage2_stuff --with-pic --disable-shared --enable-cxx --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu == 2024-09-18 13:54:26,495 build_log.py:171 ERROR EasyBuild crashed with an error (at easybuild/base/exceptions.py:126 in __init__): cmd " ./configure --prefix=/home/itsupport/.local/easybuild/build/GCCcore/10.2.0/system-system/gcc-10.2.0/stage2_stuff --with-pic --disable-shared --enable-cxx --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu" exited with exit code 1 and output: checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking compiler gcc -O2 -pedantic -fomit-frame-pointer -m64 ... no checking ABI=x32 checking compiler gcc -O2 -pedantic -fomit-frame-pointer -mx32 ... no checking ABI=32 checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... no configure: error: could not find a working compiler, see config.log for details (at easybuild/tools/run.py:682 in parse_cmd_output) == 2024-09-18 13:54:26,496 build_log.py:267 INFO ... (took 4 mins 1 secs) == 2024-09-18 13:54:26,497 filetools.py:2023 INFO Removing lock /home/itsupport/.local/easybuild/software/.locks/_home_itsupport_.local_easybuild_software_GCCcore_10.2.0.lock... == 2024-09-18 13:54:26,497 filetools.py:383 INFO Path /home/itsupport/.local/easybuild/software/.locks/_home_itsupport_.local_easybuild_software_GCCcore_10.2.0.lock successfully removed. == 2024-09-18 13:54:26,497 filetools.py:2027 INFO Lock removed: /home/itsupport/.local/easybuild/software/.locks/_home_itsupport_.local_easybuild_software_GCCcore_10.2.0.lock == 2024-09-18 13:54:26,497 easyblock.py:4297 WARNING build failed (first 300 chars): cmd " ./configure --prefix=/home/itsupport/.local/easybuild/build/GCCcore/10.2.0/system-system/gcc-10.2.0/stage2_stuff --with-pic --disable-shared --enable-cxx --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu" exited with exit code 1 and output: checking build system type... x86_64-pc-linux-g == 2024-09-18 13:54:26,497 easyblock.py:326 INFO Closing log for application name GCCcore version 10.2.0

used this command to install

eb --software-name=ack --toolchain=GCCcore,10.2.0 --robot

@boegel boegel added this to the 4.x milestone Sep 18, 2024
@boegel
Copy link
Member

boegel commented Sep 18, 2024

@mindtheegab You'll need to look into the config.log file in the build directory to see why it thinks the compiler is broken...

@mindtheegab
Copy link
Author

well thats the thing i have no config.log in the build directory only these files

should it be under .local/easybuild/build/ack ?

@boegel
Copy link
Member

boegel commented Sep 25, 2024

@mindtheegab If you run with eb --trace, the full path to the build directory will be printed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants