You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When trying to use UTBot for testing curl project it fails during configuration phase. It seems that it's result of conflict between utbot distribution libraries and system libraries.
To Reproduce
Steps to reproduce the behavior:
Ping me to get preconfigured project or
Clone https://github.com/curl/curl
Run buildconf
Run configure --without-ssl to simplify project configuration
Try to start UTBot test generation for any of C-files.
Expected behavior
Tests are supposed to be generated.
Actual behavior
Configuration fails, logs contains following errors:
utbot@07c8870522cb:~/remote/curl/build$ cat /home/utbot/distr/2022.11.307/utbot_distr/logs/t00814305-RZT7/curl/2022-12-01T13-12-27360.log | grep error
/home/utbot/remote/curl/lib/easy_lock.h:80:9: error: address argument to atomic operation must be a pointer to a trivially-copyable type ('_Atomic(int) *' invalid)
/home/utbot/remote/curl/lib/easy_lock.h:80:8: error: invalid argument type 'typeof (*__atomic_exchange_ptr)' (aka '_Atomic(int)') to unary expression
/home/utbot/remote/curl/lib/easy_lock.h:83:11: error: address argument to atomic operation must be a pointer to a trivially-copyable type ('_Atomic(int) *' invalid)
/home/utbot/remote/curl/lib/easy_lock.h:83:5: error: statement requires expression of scalar type ('typeof (*__atomic_load_ptr)' (aka '_Atomic(int)') invalid)
/home/utbot/remote/curl/lib/easy_lock.h:98:3: error: address argument to atomic operation must be a pointer to a trivially-copyable type ('_Atomic(int) *' invalid)
/home/utbot/remote/curl/lib/easy_lock.h:80:9: error: address argument to atomic operation must be a pointer to a trivially-copyable type ('_Atomic(int) *' invalid)
/home/utbot/remote/curl/lib/easy_lock.h:80:8: error: invalid argument type 'typeof (*__atomic_exchange_ptr)' (aka '_Atomic(int)') to unary expression
/home/utbot/remote/curl/lib/easy_lock.h:83:11: error: address argument to atomic operation must be a pointer to a trivially-copyable type ('_Atomic(int) *' invalid)
/home/utbot/remote/curl/lib/easy_lock.h:83:5: error: statement requires expression of scalar type ('typeof (*__atomic_load_ptr)' (aka '_Atomic(int)') invalid)
:In file included from /home/utbot/distr/2022.11.307/utbot_distr/debs-install/usr/lib/gcc/x86_64-linux-gnu/9/include/limits.herror:: 34address argument to atomic operation must be a pointer to a trivially-copyable type ('_Atomic(int) *' invalid):
I assume that's result of the mix of libraries and header files of utbot-distribution and system.
Additional context
There is no any problems when I invoke cmake manualy
configure --with-openssl results in the same errors
The text was updated successfully, but these errors were encountered:
Description
When trying to use UTBot for testing
curl
project it fails during configuration phase. It seems that it's result of conflict between utbot distribution libraries and system libraries.To Reproduce
Steps to reproduce the behavior:
https://github.com/curl/curl
buildconf
configure --without-ssl
to simplify project configurationExpected behavior
Tests are supposed to be generated.
Actual behavior
Configuration fails, logs contains following errors:
I assume that's result of the mix of libraries and header files of utbot-distribution and system.
Additional context
configure --with-openssl
results in the same errorsThe text was updated successfully, but these errors were encountered: