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

curl project configuration failure #559

Closed
tyuldashev opened this issue Dec 1, 2022 · 1 comment
Closed

curl project configuration failure #559

tyuldashev opened this issue Dec 1, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@tyuldashev
Copy link
Collaborator

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:

  1. Ping me to get preconfigured project or
  2. Clone https://github.com/curl/curl
  3. Run buildconf
  4. Run configure --without-ssl to simplify project configuration
  5. 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
@tyuldashev tyuldashev added the bug Something isn't working label Dec 1, 2022
@ladisgin
Copy link
Member

#575

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: Done
Development

No branches or pull requests

2 participants