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

Not able to setup the configuration in WSL2 Ubuntu 24 #690

Open
javierMolinero opened this issue Dec 3, 2024 · 0 comments
Open

Not able to setup the configuration in WSL2 Ubuntu 24 #690

javierMolinero opened this issue Dec 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@javierMolinero
Copy link

Description
I am not being able to configure the UTBot in WS2 Ubuntu 24 with VSCode

To Reproduce
Steps to reproduce the behavior:

  1. Open the 'X' project in IDE
  2. Use plugin to generate tests
  3. There is an error when trying to configure the target

It fails with the following output:

_Change Dir: /home/jmolinero/demos/cpp-example/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_057bb/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_057bb.dir/build.make CMakeFiles/cmTC_057bb.dir/build
gmake[1]: Entering directory '/home/jmolinero/demos/cpp-example/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_057bb.dir/testCCompiler.c.o
/usr/bin/gcc    -o CMakeFiles/cmTC_057bb.dir/testCCompiler.c.o -c /home/jmolinero/demos/cpp-example/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_057bb
/home/jmolinero/utbot_distr/install/bin/cmake -E cmake_link_script CMakeFiles/cmTC_057bb.dir/link.txt --verbose=1
/usr/bin/gcc CMakeFiles/cmTC_057bb.dir/testCCompiler.c.o -o cmTC_057bb 
/home/jmolinero/utbot_distr/debs-install/usr/bin/ld: /lib/x86_64-linux-gnu/libc.so.6: unknown type [0x13] section `.relr.dyn'
/home/jmolinero/utbot_distr/debs-install/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libc.so.6 when searching for /lib/x86_64-linux-gnu/libc.so.6
/home/jmolinero/utbot_distr/debs-install/usr/bin/ld: cannot find /lib/x86_64-linux-gnu/libc.so.6
/home/jmolinero/utbot_distr/debs-install/usr/bin/ld: /lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
/home/jmolinero/utbot_distr/debs-install/usr/bin/ld: skipping incompatible /lib64/ld-linux-x86-64.so.2 when searching for /lib64/ld-linux-x86-64.so.2
/home/jmolinero/utbot_distr/debs-install/usr/bin/ld: cannot find /lib64/ld-linux-x86-64.so.2
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_057bb.dir/build.make:99: cmTC_057bb] Error 1
gmake[1]: Leaving directory '/home/jmolinero/demos/cpp-example/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_057bb/fast] Error 2_

Expected behavior
Tests are supposed to be generated.

Actual behavior
An error test is generated with information about errors in the concrete executor.

Visual proofs (screenshots, logs)
image

Environment
VsCode running in Windows using WSL2 Ubuntu 24 with gcc-9 installed and running properly

Additional context
My first "failure" was trying to compile the target project with gcc-13. Then I realized that gcc-9 was required, then with gcc-9 is still failing.

@javierMolinero javierMolinero added the bug Something isn't working label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant