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

[package] libcurl/7.71.1: build on Android started to fail with on of the last (few) commits #3121

Closed
a4z opened this issue Oct 6, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@a4z
Copy link
Contributor

a4z commented Oct 6, 2020

it worked recently, but since I merged master it stopped working.
unfortunately I have forgotten to tag the last good state :-( so I can not say exactly which commit created the problem

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: libcurl/7.7.1
  • Operating System+version: OSX cross Android
  • Compiler+version: clang 9 (ndk r21d)
  • Conan version: conan 1.29.2
  • Python version: Python 3.8.5

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

Configuration (profile_host):
[settings]
arch=armv8
build_type=Release
compiler=clang
compiler.libcxx=libc++
compiler.version=9
os=Android
os.api_level=21
[options]
libcurl:with_openssl=True
lua:compile_as_cpp=True
paho-mqtt-c:asynchronous=True
paho-mqtt-c:shared=False
paho-mqtt-c:ssl=True
paho-mqtt-cpp:ssl=True
[build_requires]
*: android-ndk/r21d, cmake/3.18.2, m4/1.4.18, autoconf/2.69, automake/1.16.2, ninja/1.10.1, meson/0.55.3, pkgconf/1.7.3
[env]

Configuration (profile_build):
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=12.0
os=Macos
os_build=Macos
[options]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

use this #3004
to build for Android

Logs (Include/Attach if Applicable)

Click to expand log
...
checking whether to enable Windows native SSL/TLS (Windows native builds only)... no
checking whether to enable Secure Transport... no
checking whether to enable Amiga native SSL/TLS (AmiSSL)... no
checking for HMAC_Update in -lcrypto... no
checking for HMAC_Init_ex in -lcrypto... no
checking OpenSSL linking with -ldl... no
checking OpenSSL linking with -ldl and -lpthread... no
configure: OPT_SSL: /Users/a4z/elux/conan/zenv1/.conan/data/openssl/1.1.1h/_/_/package/1073238fb0946932638ce9c513d1a5682040bb92
configure: OPENSSL_ENABLED: 
configure: error: --with-ssl was given but OpenSSL could not be detected
libcurl/7.71.1: 
libcurl/7.71.1: ERROR: Package '2f3dbd12954f66fe627ca6f8d118cb48c8948ec7' build failed
libcurl/7.71.1: WARN: Build folder /Users/a4z/elux/conan/zenv1/.conan/data/libcurl/7.71.1/_/_/build/2f3dbd12954f66fe627ca6f8d118cb48c8948ec7
ERROR: libcurl/7.71.1: Error in build() method, line 191
        self._build_with_autotools()
while calling '_build_with_autotools', line 355
        autotools, autotools_vars = self._configure_autotools()
while calling '_configure_autotools', line 451
        self._autotools.configure(vars=self._autotools_vars, args=configure_args)
        ConanException: Error 1 while executing ./configure '--without-libidn2' '--without-librtmp' '--without-libmetalink' '--without-libpsl' '--with-ssl=/Users/a4z/elux/conan/zenv1/.conan/data/openssl/1.1.1h/_/_/package/1073238fb0946932638ce9c513d1a5682040bb92' '--without-libssh2' '--without-nghttp2' '--with-zlib=/Users/a4z/elux/conan/zenv1/.conan/data/zlib/1.2.11/_/_/package/1073238fb0946932638ce9c513d1a5682040bb92/lib' '--without-brotli' '--disable-shared' '--enable-static' '--disable-ldap' '--prefix=/Users/a4z/elux/conan/zenv1/.conan/data/libcurl/7.71.1/_/_/package/2f3dbd12954f66fe627ca6f8d118cb48c8948ec7' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libexecdir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--datarootdir=${prefix}/share' --build=x86_64-apple-darwin --host=arm-linux-androideabi
FAILED: conan create --profile:build native --profile:host nsdk-android-armv7 --test-folder None --build outdated /Users/a4z/elux/conan/conan-center-index/recipes/libcurl/all libcurl/7.71.1@
@a4z
Copy link
Contributor Author

a4z commented Oct 6, 2020

I think this is, once more, my own fault :-(

https://github.com/conan-io/conan-center-index/pull/3004/files#r500334004

but I was previously working in an env that did not have that recipe ......

@a4z a4z closed this as completed Oct 6, 2020
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
None yet
Development

No branches or pull requests

1 participant