offa / conan-restclient-cpp

Conan recipe for restclient-cpp.
MIT License
3 stars 1 forks source link

CI build fails due to curl #1

Closed offa closed 5 years ago

offa commented 5 years ago

Curl is not found in the ci build, though it's installed before.

offa commented 5 years ago

:question: There's a dependency already!?

offa commented 5 years ago

Issue updated, it's a CI issue.

offa commented 5 years ago

It seems to work with curl installed into the Conan Container – and removing it from conanfile.

… but the Trusty Image contains a hopelessly outdated v7.35 which doesn't work as at least 7.40 is required …

offa commented 5 years ago

Seems x86 isn't compatible:

/usr/bin/ld: i386 architecture of input file `/home/conan/.conan/data/libcurl/7.64.1/bincrafters/stable/package/301c93ed38bbbc10b765ae765d424d83716421ec/lib/libcurl.a(libcurl_la-easy.o)' is incompatible with i386:x86-64 output
offa commented 5 years ago

Finally it worked: Disabling x86 and Patching the CMakeFile.txt to use libcurl instead of CURL package.