conan-io / conan-center-index Goto Github PK
View Code? Open in Web Editor NEWRecipes for the ConanCenter repository
Home Page: https://conan.io/center
License: MIT License
Recipes for the ConanCenter repository
Home Page: https://conan.io/center
License: MIT License
Probable there are some problems with multiple coexisting XCodes on CCI build machine.
A build requests apple-clang 9.1 which is shipped with XCode 9.3 and XCode 9.4 according to https://gist.github.com/yamaya/2924292 . Build log shows that a darwin18.2.0 compiler is used which is shipped with XCode 10.1. The directory with XCode installation can be seen in logs - /Applications/Xcode-9.4.app/
. For example, various Travis builds executing on xcode9.4 images show compiler x86_64-apple-darwin17.4.0.
Build profile:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Debug
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=9.1
os=Macos
os_build=Macos
[options]
lcms:shared=True
[build_requires]
[env]
Output:
Output of task by conan-center-bot: #112 (comment)
Excerpt:
checking whether the gcc linker (/Applications/Xcode-9.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.2.0 dyld
Expected:
darwin17.4.0 is found
Actual:
darwin18.2.0 is found
One extra note (may be not related) that this compiler does not pass __attribute__((visibility))
check which is very strange since all apple-clang compilers have this flag. It leads to a build failure for lcms recipe.
moved from https://github.com/conan-community/community/issues/238, by @Johnnyxy
Hi,
as Conan does support QNX Neutrino and its compiler QCC the conan-boost recipe could add support for QNX too. This thread should be the discussion for problems with the intercorporation between Conan, Boost and QNX.
I already have a fully working recipe locally (based on the official Conan-Boost-recipe) for QNX SDP 6.5 and QNX SDP 7.0 but to make those changes public I would like to hear opinions on how to approach certain problems to solve them in a more generic way.
One obstacle is the architecture strings that Conan supplies and what QNX expects.
For example:
Conan | maps to | QNX |
---|---|---|
armv7 | -> | armv7le |
armv8 | -> | aarch64le |
The Conan docs define armv8
as
armv8: The ARM 64 bit and 32 bit compatible version 8 architecture. It covers only the aarch64 instruction set.
Now one could use this as concrete mapping from armv8
to aarch64
but this still is missing the little endian
notation.
As QNX 6.5 and 7.0 do not specify a different endianess setting except little endian
(le) the mapping could be hardcoded to always postfix a le
-specifier armv7le
.
Now what tickles me is that the ARM architecture supports both endians as bi-endianess
. Thus this allows to run software with different endianess-specifications.
This would make it difficult to map only to one endianess (e.g. armv7 -> armv7le) as maybe this could change in the future.
I am not that expert for ARM programming. Maybe someone with more insights could answer the following:
Based on ARM's bi-endianess
:
settings.yml
.settings.yml
. Such a topic has been discussed in the Conan issue tracker (see here).armv8
until now....
moved from https://github.com/conan-community/community/issues/223, by @theodelrieu
Hello,
I'm having some trouble with the without_*
options:
Let's say I want to build Boost without boost_system
, so I run conan install boost/1.70.0@conan/stable -o:without_system=True
.
Obviously, boost_system
is a dependency of almost every Boost library, so it still gets built, but the without_system=True
option is still a part of the package ID...
I'd suggest detecting this kind of incoherence, and warn that the option will be overriden with the correct value.
What do you think?
I can't sign CLA, the error message is:
Error
There is no CLA to sign for conan-io/conan-center-index
(<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]--> <head> <meta http-equiv="refresh" content="0"> <title>cla-assistant.io | 502: Bad gateway</title> <meta charset="UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" /> <meta name="robots" content="noindex, nofollow" /> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" /> <link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" /> <!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]--> <style type="text/css">body{margin:0;padding:0}</style> </head> <body> <div id="cf-wrapper"> <div id="cf-error-details" class="cf-error-details-wrapper"> <div class="cf-wrapper cf-error-overview"> <h1> <span class="cf-error-type">Error</span> <span class="cf-error-code">502</span> <small class="heading-ray-id">Ray ID: 5120a6aa8d13d6bd • 2019-09-06 13:04:52 UTC</small> </h1> <h2 class="cf-subheadline">Bad gateway</h2> </div><!-- /.error-overview --> <div class="cf-section cf-highlight cf-status-display"> <div class="cf-wrapper"> <div class="cf-columns cols-3"> <div id="cf-browser-status" class="cf-column cf-status-item cf-browser-status "> <div class="cf-icon-error-container"> <i class="cf-icon cf-icon-browser"></i> <i class="cf-icon-status cf-icon-ok"></i> </div> <span class="cf-status-desc">You</span> <h3 class="cf-status-name">Browser</h3> <span class="cf-status-label">Working</span> </div> <div id="cf-cloudflare-status" class="cf-column cf-status-item cf-cloudflare-status "> <div class="cf-icon-error-container"> <i class="cf-icon cf-icon-cloud"></i> <i class="cf-icon-status cf-icon-ok"></i> </div> <span class="cf-status-desc">Frankfurt</span> <h3 class="cf-status-name">Cloudflare</h3> <span class="cf-status-label">Working</span> </div> <div id="cf-host-status" class="cf-column cf-status-item cf-host-status cf-error-source"> <div class="cf-icon-error-container"> <i class="cf-icon cf-icon-server"></i> <i class="cf-icon-status cf-icon-error"></i> </div> <span class="cf-status-desc">cla-assistant.io</span> <h3 class="cf-status-name">Host</h3> <span class="cf-status-label">Error</span> </div> </div> </div> </div><!-- /.status-display --> <div class="cf-section cf-wrapper"> <div class="cf-columns two"> <div class="cf-column"> <h2>What happened?</h2> <p>The web server reported a bad gateway error.</p> </div> <div class="cf-column"> <h2>What can I do?</h2> <p>Please try again in a few minutes.</p> </div> </div> </div><!-- /.section --> <div class="cf-error-footer cf-wrapper"> <p> <span class="cf-footer-item">Cloudflare Ray ID: <strong>5120a6aa8d13d6bd</strong></span> <span class="cf-footer-separator">•</span> <span class="cf-footer-item"><span>Your IP</span>: 90.188.115.85</span> <span class="cf-footer-separator">•</span> <span class="cf-footer-item"><span>Performance & security by</span> <a href="https://www.cloudflare.com/5xx-error-landing?utm_source=error_footer" id="brand_link" target="_blank">Cloudflare</a></span> </p> </div><!-- /.error-footer --> </div><!-- /#cf-error-details --> </div><!-- /#cf-wrapper --> </body> </html> )
To help us debug your issue please explain:
I'm reporting a bug/issue in a package:
[package]
tag in the title.I'm requesting a new library to be added:
[request]
tag in the title.I'm reporting a failure in the CI system:
[service]
tag in the title.moved from https://github.com/conan-community/community/issues/164, by @firewave
When build on Windows with a 64-bit Visual Studio compiler it will generate working 64-bit libraries, but somehow just use a 32-bit address-model:
- default address-model : 32-bit
- default architecture : x86
Using a compiler on Linux will show:
- default address-model : 64-bit
- default architecture : x86
moved from https://github.com/conan-community/community/issues/236, by @LunarWatcher
Very related to #188, with the main difference that I'm using Clang (not clang-cl) with MinGW. The stacktrace is actually identical:
ERROR: OpenSSL/1.0.2o@conan/stable: Error in build() method, line 124
raise Exception("Unsupported operating system: %s" % self.settings.os)
Exception: Unsupported operating system: Windows
Same issue with 1.1.1c and 1.1.1b.
ERROR: OpenSSL/1.1.1c@conan/stable: Error in build() method, line 101
raise Exception("Unsupported operating system: %s" % self.settings.os)
Exception: Unsupported operating system: Windows
Other packages compile fine (off the top of my head, fmt and I think zlib) with my setup as well, including packages from conan/stable (so this seems to be specific to this package, and maybe others I haven't tried).
pacman -Sy base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-glew mingw-w64-x86_64-SDL2
. Not sure if I've left out any - I've installed a lot to get the environment working), Python 3, pip, and Conan)export CXX=clang++ -target x86_64-pc-windows-gnu
export CC=clang -target x86_64-pc-windows-gnu
conan install OpenSSL/1.1.1c@conan/stable --build missing
moved from https://github.com/conan-community/community/issues/263, by @arcashka
I tried to crossbuild boost/1.70.0@conan/stable from Windows to Android
Seems like build was fine
boost/1.70.0@conan/stable: Package '163d7aa5f52339d96e39844e270fbec32de355ba' built
boost/1.70.0@conan/stable: Package '163d7aa5f52339d96e39844e270fbec32de355ba' created
But then i got this error
-- [ C:/Program Files/CMake/share/cmake-3.15/Modules/FindBoost.cmake:1836 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "d:/.conan/e88573/1/lib;d:/.conan/e88573/1/stage/lib;D:/.conan/e88573/1/include/lib;D:/.conan/e88573/1/include/../lib;D:/.conan/e88573/1/include/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib"
-- [ C:/Program Files/CMake/share/cmake-3.15/Modules/FindBoost.cmake:1837 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "d:/.conan/e88573/1/lib;d:/.conan/e88573/1/stage/lib;D:/.conan/e88573/1/include/lib;D:/.conan/e88573/1/include/../lib;D:/.conan/e88573/1/include/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib"
-- [ C:/Program Files/CMake/share/cmake-3.15/Modules/FindBoost.cmake:2021 ] Searching for REGEX_LIBRARY_RELEASE: boost_regex-clang5-mt-1_70;boost_regex-clang5-mt;boost_regex-clang5-mt;boost_regex-mt-1_70;boost_regex-mt;boost_regex-mt;boost_regex-mt;boost_regex
-- [ C:/Program Files/CMake/share/cmake-3.15/Modules/FindBoost.cmake:2076 ] Searching for REGEX_LIBRARY_DEBUG: boost_regex-clang5-mt-d-1_70;boost_regex-clang5-mt-d;boost_regex-clang5-mt-d;boost_regex-mt-d-1_70;boost_regex-mt-d;boost_regex-mt-d;boost_regex-mt;boost_regex
CMake Error at C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Boost (missing: regex) (found version "1.70.0")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.15/Modules/FindBoost.cmake:2142 (find_package_handle_standard_args)
CMakeLists.txt:18 (find_package)
Here's my toolchain
standalone_toolchain=E:/ndk_toolchain2
target_host=arm-linux-androideabi
cc_compiler=clang.cmd
cxx_compiler=clang++.cmd
[settings]
compiler=clang
compiler.version=5.0
compiler.libcxx=libc++
os=Android
os.api_level=18
arch=armv7
build_type=Release
[env]
CONAN_CMAKE_FIND_ROOT_PATH=$standalone_toolchain/sysroot
PATH=[$standalone_toolchain/bin]
CHOST=$target_host
AR=$target_host-ar
AS=$target_host-as
RANLIB=$target_host-ranlib
CC=$target_host-$cc_compiler
CXX=$target_host-$cxx_compiler
LD=$target_host-ld
STRIP=$target_host-strip
CFLAGS= -fPIC -I$standalone_toolchain/include/c++/4.9.x
CXXFLAGS= -fPIC -I$standalone_toolchain/include/c++/4.9.x
LDFLAGS=
clang.cmd
is a workaround for this: https://github.com/conan-community/community/issues/216
And call to conan create conan create . conan/stable --profile=android_toolchain_clang --build=missing -o boost:shared=True -o boost:system_no_deprecated=True
I found shared libs at conan folder, and they have names like this libboost_regex.so.1.71.0
Maybe that's why cmake can't find them.
Also i have faced this problem: https://gitlab.kitware.com/cmake/cmake/issues/18342
And i just fixed it by writing set(_ANDROID_HOST_EXT ".cmd")
to my local Determine-Compiler-Standalone.cmake
i don't know if this related.
conan version 1.16.1
cmake version 3.15.0-rc3
it's often needed to specify patches to apply, and list of patches may vary from version to version.
we may use something like:
patches:
1.70.0:
- "001-xxx"
- "002-xxxx"
it also would be nice to ensure every recipe uses the same format. consider use some sort of schema to validate conandata.yml
has only allowed fields.
moved from https://github.com/conan-community/community/issues/142, by @joaquin-herrero
I get a fatal error while using boost_python recipe from conan community.
It seems to need a missing header pyconfig.h.
Not sure what Python version is using although I set it on conanfile to v3.5.
I'm using this conanfile on a test Project:
[requires]
boost/1.68.0@conan/stable
[generators]
cmake
[options]
boost_python:python_version = 3.5
boost_python:python_executable = /usr/bin/python3
[imports]
Logs:
joaquin@debian:~/Documents/boost-python-test/build$ conan install .. --build missing
boost/1.68.0@conan/stable: Not found in local cache, looking in remotes...
boost/1.68.0@conan/stable: Trying with 'conan-center'...
Downloading conanmanifest.txt
[==================================================] 125B/125B
Downloading conanfile.py
[==================================================] 23.1KB/23.1KB
Downloading conan_export.tgz
[==================================================] 602B/602B
bzip2/1.0.6@conan/stable: Not found in local cache, looking in remotes...
bzip2/1.0.6@conan/stable: Trying with 'conan-center'...
Downloading conanmanifest.txt
[==================================================] 163B/163B
Downloading conanfile.py
[==================================================] 2.1KB/2.1KB
Downloading conan_export.tgz
[==================================================] 747B/747B
zlib/1.2.11@conan/stable: Not found in local cache, looking in remotes...
zlib/1.2.11@conan/stable: Trying with 'conan-center'...
Downloading conanmanifest.txt
[==================================================] 296B/296B
Downloading conanfile.py
[==================================================] 11.6KB/11.6KB
Downloading conan_export.tgz
[==================================================] 742B/742B
Downloading conaninfo.txt
[==================================================] 392B/392B
Downloading conaninfo.txt
[==================================================] 428B/428B
Downloading conaninfo.txt
PROJECT: Installing /home/joaquin/Documents/boost-python-test/conanfile.txt
Requirements
boost/1.68.0@conan/stable from 'conan-center' - Downloaded
bzip2/1.0.6@conan/stable from 'conan-center' - Downloaded
zlib/1.2.11@conan/stable from 'conan-center' - Downloaded
Packages
boost/1.68.0@conan/stable:13daee7a47e302c72dad593b4ee2795702b91d30 - Download
bzip2/1.0.6@conan/stable:f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb - Download
zlib/1.2.11@conan/stable:f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb - Download
bzip2/1.0.6@conan/stable: Retrieving package f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb from remote 'conan-center'
Downloading conanmanifest.txt
[==================================================] 395B/395B
Downloading conaninfo.txt
[==================================================] 392B/392B
Downloading conan_package.tgz
[==================================================] 100.5KB/100.5KB
bzip2/1.0.6@conan/stable: Package installed f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb
zlib/1.2.11@conan/stable: Retrieving package f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb from remote 'conan-center'
Downloading conanmanifest.txt
[==================================================] 296B/296B
Downloading conaninfo.txt
[==================================================] 428B/428B
Downloading conan_package.tgz
[==================================================] 94.1KB/94.1KB
zlib/1.2.11@conan/stable: Package installed f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb
boost/1.68.0@conan/stable: Retrieving package 13daee7a47e302c72dad593b4ee2795702b91d30 from remote 'conan-center'
Downloading conanmanifest.txt
[==================================================] 1.1MB/1.1MB
Downloading conaninfo.txt
[==================================================] 2.5KB/2.5KB
Downloading conan_package.tgz
[==================================================] 18.9MB/18.9MB
boost/1.68.0@conan/stable: Package installed 13daee7a47e302c72dad593b4ee2795702b91d30
boost/1.68.0@conan/stable: LIBRARIES: ['boost_wave', 'boost_container', 'boost_contract', 'boost_exception', 'boost_graph', 'boost_iostreams', 'boost_locale', 'boost_log', 'boost_program_options', 'boost_random', 'boost_regex', 'boost_wserialization', 'boost_serialization', 'boost_signals', 'boost_coroutine', 'boost_fiber', 'boost_context', 'boost_timer', 'boost_thread', 'boost_chrono', 'boost_date_time', 'boost_atomic', 'boost_filesystem', 'boost_system', 'boost_type_erasure', 'boost_math_c99l', 'boost_stacktrace_noop', 'boost_log_setup', 'boost_unit_test_framework', 'boost_math_tr1l', 'boost_math_c99', 'boost_stacktrace_backtrace', 'boost_math_tr1', 'boost_math_tr1f', 'boost_math_c99f', 'boost_stacktrace_addr2line', 'boost_stacktrace_basic']
boost/1.68.0@conan/stable: Package folder: /home/joaquin/.conan/data/boost/1.68.0/conan/stable/package/13daee7a47e302c72dad593b4ee2795702b91d30
PROJECT: Generator cmake created conanbuildinfo.cmake
PROJECT: Generator txt created conanbuildinfo.txt
PROJECT: Generated conaninfo.txt
joaquin@debian:~/Documents/boost-python-test/build$ make
Scanning dependencies of target hello
[ 50%] Building CXX object CMakeFiles/hello.dir/world.cpp.o
In file included from /home/joaquin/.conan/data/boost/1.68.0/conan/stable/package/13daee7a47e302c72dad593b4ee2795702b91d30/include/boost/python/detail/prefix.hpp:13:0,
from /home/joaquin/.conan/data/boost/1.68.0/conan/stable/package/13daee7a47e302c72dad593b4ee2795702b91d30/include/boost/python/args.hpp:8,
from /home/joaquin/.conan/data/boost/1.68.0/conan/stable/package/13daee7a47e302c72dad593b4ee2795702b91d30/include/boost/python.hpp:11,
from /home/joaquin/Documents/boost-python-test/world.cpp:2:
/home/joaquin/.conan/data/boost/1.68.0/conan/stable/package/13daee7a47e302c72dad593b4ee2795702b91d30/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
^
compilation terminated.
CMakeFiles/hello.dir/build.make:62: recipe for target 'CMakeFiles/hello.dir/world.cpp.o' failed
make[2]: *** [CMakeFiles/hello.dir/world.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/hello.dir/all' failed
make[1]: *** [CMakeFiles/hello.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
While building OpenSSL for android on macOS I've seen the following issue when building for arm:
openssl/conanfile.py
modifies Makefile.org
with a string replace AR=arm-linux-androideabi-ar
this replace is somehow triggered two times resulting in AR=arm-linux-androideabi-arm-linux-androideabi-ar
.
I think the problem always triggers when using an arm-
prefix as this also matches searching for AR=ar
My conanfile.txt:
[requires]
OpenSSL/1.0.2s@conan/stable
Poco/1.9.3@pocoproject/stable
[generators]
cmake
My profile:
ndk_root=$HOME/Library/Android/sdk/ndk-bundle
standalone_toolchain=$HOME/Development/toolchains/android-16-arm/
target_host=arm-linux-androideabi
cc_compiler=clang
cxx_compiler=clang++
[settings]
compiler=clang
compiler.version=8
compiler.libcxx=libc++
os=Android
os.api_level=16
arch=armv7
build_type=Release
[env]
CONAN_CMAKE_TOOLCHAIN_FILE=$ndk_root/build/cmake/android.toolchain.cmake
CONAN_CMAKE_FIND_ROOT_PATH=$standalone_toolchain/sysroot
PATH=[$standalone_toolchain/bin]
CHOST=$target_host
AR=\$target_host-ar
AS=$target_host-as
RANLIB=$target_host-ranlib
CC=$target_host-$cc_compiler
CXX=$target_host-$cxx_compiler
LD=$target_host-ld
STRIP=$target_host-strip
CFLAGS= -fPIE -fPIC -I$standalone_toolchain/include/c++/4.9.x
CXXFLAGS= -fPIE -fPIC -I$standalone_toolchain/include/c++/4.9.x
LDFLAGS= -pie
moved from https://github.com/conan-community/community/issues/276
by @ruipires
Unable to build OpenSSL on windows, using the mingw64 compiler.
Opened an issue upstream, but was wondering if a workaround could be implemented in the conan recipe.
Compilation fails with:
x86_64-w64-mingw32/bin/as.exe: unknown option -- noexecstack
Attempt to install OpenSSL as a dependency and request it is built
conan install .. --build=OpenSSL
OpenSSL/1.1.1c@conan/stable: ['"mingw-conan-Release-Windows-x86_64-gcc-8"', 'no-shared', '--prefix=/mnt/c/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/package/040a01a894215f08a44b81859276e66540fc0822', '--opens
sldir=/mnt/c/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/package/040a01a894215f08a44b81859276e66540fc0822/res', 'no-unit-test', 'PERL=perl', 'no-tests', '--release', '--with-zlib-include="C:/Users/rupires/.con
an/data/zlib/1.2.11/conan/stable/package/9965605309592d7e617ec929633249a2031e4263/include"', '--with-zlib-lib="C:/Users/rupires/.conan/data/zlib/1.2.11/conan/stable/package/9965605309592d7e617ec929633249a2031e4263/lib/z
lib.lib"']
OpenSSL/1.1.1c@conan/stable: run_in_windows_bash: C:\WINDOWS\system32\bash.exe --login -c ^"cd \^"/mnt/c/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/build/040a01a894215f08a44b81859276e66540fc0822/sources\^" ^&
^& perl ./Configure \^"mingw-conan-Release-Windows-x86_64-gcc-8\^" no-shared --prefix=/mnt/c/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/package/040a01a894215f08a44b81859276e66540fc0822 --openssldir=/mnt/c/Use
rs/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/package/040a01a894215f08a44b81859276e66540fc0822/res no-unit-test PERL=perl no-tests --release --with-zlib-include=\^"C:/Users/rupires/.conan/data/zlib/1.2.11/conan/sta
ble/package/9965605309592d7e617ec929633249a2031e4263/include\^" --with-zlib-lib=\^"C:/Users/rupires/.conan/data/zlib/1.2.11/conan/stable/package/9965605309592d7e617ec929633249a2031e4263/lib/zlib.lib\^" ^"
OpenSSL/1.1.1c@conan/stable: Configuring OpenSSL version 1.1.1c (0x1010103fL) for mingw-conan-Release-Windows-x86_64-gcc-8
OpenSSL/1.1.1c@conan/stable: Using os-specific seed configuration
OpenSSL/1.1.1c@conan/stable: Creating configdata.pm
OpenSSL/1.1.1c@conan/stable: Creating Makefile
OpenSSL/1.1.1c@conan/stable:
OpenSSL/1.1.1c@conan/stable: **********************************************************************
OpenSSL/1.1.1c@conan/stable: *** ***
OpenSSL/1.1.1c@conan/stable: *** OpenSSL has been successfully configured ***
OpenSSL/1.1.1c@conan/stable: *** ***
OpenSSL/1.1.1c@conan/stable: *** If you encounter a problem while building, please open an ***
OpenSSL/1.1.1c@conan/stable: *** issue on GitHub <https://github.com/openssl/openssl/issues> ***
OpenSSL/1.1.1c@conan/stable: *** and include the output from the following command: ***
OpenSSL/1.1.1c@conan/stable: *** ***
OpenSSL/1.1.1c@conan/stable: *** perl configdata.pm --dump ***
OpenSSL/1.1.1c@conan/stable: *** ***
OpenSSL/1.1.1c@conan/stable: *** (If you are new to OpenSSL, you might want to consult the ***
OpenSSL/1.1.1c@conan/stable: *** 'Troubleshooting' section in the INSTALL file first) ***
OpenSSL/1.1.1c@conan/stable: *** ***
OpenSSL/1.1.1c@conan/stable: **********************************************************************
OpenSSL/1.1.1c@conan/stable: run_in_windows_bash: C:\WINDOWS\system32\bash.exe --login -c ^"cd \^"/mnt/c/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/build/040a01a894215f08a44b81859276e66540fc0822/sources\^" ^&
^& /mnt/c/ProgramData/chocolatey/bin/mingw32-make.exe -j4 ^"
OpenSSL/1.1.1c@conan/stable: perl "-I." -Mconfigdata "util/dofile.pl" \
OpenSSL/1.1.1c@conan/stable: "-oMakefile" crypto/include/internal/bn_conf.h.in > crypto/include/internal/bn_conf.h
OpenSSL/1.1.1c@conan/stable: perl "-I." -Mconfigdata "util/dofile.pl" \
OpenSSL/1.1.1c@conan/stable: "-oMakefile" crypto/include/internal/dso_conf.h.in > crypto/include/internal/dso_conf.h
OpenSSL/1.1.1c@conan/stable: perl "-I." -Mconfigdata "util/dofile.pl" \
OpenSSL/1.1.1c@conan/stable: "-oMakefile" include/openssl/opensslconf.h.in > include/openssl/opensslconf.h
OpenSSL/1.1.1c@conan/stable: C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/mingw32-make depend && C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/mingw32-make _all
OpenSSL/1.1.1c@conan/stable: mingw32-make[1]: Entering directory 'C:/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/build/040a01a894215f08a44b81859276e66540fc0822/sources'
OpenSSL/1.1.1c@conan/stable: mingw32-make[1]: Leaving directory 'C:/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/build/040a01a894215f08a44b81859276e66540fc0822/sources'
OpenSSL/1.1.1c@conan/stable: mingw32-make[1]: Entering directory 'C:/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/build/040a01a894215f08a44b81859276e66540fc0822/sources'
OpenSSL/1.1.1c@conan/stable: gcc -I. -Iinclude -m64 -m64 -O3 -s -Wa,--noexecstack -Wall -O3 -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM
_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/mnt/c/Users/rupires/.conan/da
ta/OpenSSL/1.1.1c/conan/stable/package/040a01a894215f08a44b81859276e66540fc0822/res\"" -DENGINESDIR="\"/mnt/c/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/package/040a01a894215f08a44b81859276e66540fc0822/lib/en
gines-1_1\"" -DUNICODE -D_UNICODE -DWIN32_LEAN_AND_MEAN -D_MT -DNDEBUG -DNDEBUG -IC:/Users/rupires/.conan/data/zlib/1.2.11/conan/stable/package/9965605309592d7e617ec929633249a2031e4263/include -MMD -MF apps/app_rand.d.
tmp -MT apps/app_rand.o -c -o apps/app_rand.o apps/app_rand.c
OpenSSL/1.1.1c@conan/stable: gcc -I. -Iinclude -m64 -m64 -O3 -s -Wa,--noexecstack -Wall -O3 -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM
_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/mnt/c/Users/rupires/.conan/da
ta/OpenSSL/1.1.1c/conan/stable/package/040a01a894215f08a44b81859276e66540fc0822/res\"" -DENGINESDIR="\"/mnt/c/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/package/040a01a894215f08a44b81859276e66540fc0822/lib/en
gines-1_1\"" -DUNICODE -D_UNICODE -DWIN32_LEAN_AND_MEAN -D_MT -DNDEBUG -DNDEBUG -IC:/Users/rupires/.conan/data/zlib/1.2.11/conan/stable/package/9965605309592d7e617ec929633249a2031e4263/include -MMD -MF apps/apps.d.tmp -MT apps/apps.o -c -o apps/apps.o apps/apps.c
OpenSSL/1.1.1c@conan/stable: gcc -I. -Iinclude -m64 -m64 -O3 -s -Wa,--noexecstack -Wall -O3 -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DK
ECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/mnt/c/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/package/040a01a894215f08a44b81859276e66540fc0822/res\"" -DENG
INESDIR="\"/mnt/c/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/package/040a01a894215f08a44b81859276e66540fc0822/lib/engines-1_1\"" -DUNICODE -D_UNICODE -DWIN32_LEAN_AND_MEAN -D_MT -DNDEBUG -DNDEBUG -IC:/Users/rupires/.conan/data/zlib/1.2.11/conan/stable/pa
ckage/9965605309592d7e617ec929633249a2031e4263/include -MMD -MF apps/bf_prefix.d.tmp -MT apps/bf_prefix.o -c -o apps/bf_prefix.o apps/bf_prefix.c
OpenSSL/1.1.1c@conan/stable: gcc -I. -Iinclude -m64 -m64 -O3 -s -Wa,--noexecstack -Wall -O3 -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DK
ECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/mnt/c/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/package/040a01a894215f08a44b81859276e66540fc0822/res\"" -DENG
INESDIR="\"/mnt/c/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/package/040a01a894215f08a44b81859276e66540fc0822/lib/engines-1_1\"" -DUNICODE -D_UNICODE -DWIN32_LEAN_AND_MEAN -D_MT -DNDEBUG -DNDEBUG -IC:/Users/rupires/.conan/data/zlib/1.2.11/conan/stable/pa
ckage/9965605309592d7e617ec929633249a2031e4263/include -MMD -MF apps/opt.d.tmp -MT apps/opt.o -c -o apps/opt.o apps/opt.c
OpenSSL/1.1.1c@conan/stable: C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/as.exe: unknown option -- noexecstack
OpenSSL/1.1.1c@conan/stable: mingw32-make[1]: *** [Makefile:678: apps/app_rand.o] Error 1
OpenSSL/1.1.1c@conan/stable: mingw32-make[1]: *** Waiting for unfinished jobs....
OpenSSL/1.1.1c@conan/stable: C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/as.exe: unknown option -- noexecstack
OpenSSL/1.1.1c@conan/stable: mingw32-make[1]: *** [Makefile:694: apps/bf_prefix.o] Error 1
OpenSSL/1.1.1c@conan/stable: C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/as.exe: unknown option -- noexecstack
OpenSSL/1.1.1c@conan/stable: mingw32-make[1]: *** [Makefile:702: apps/opt.o] Error 1
OpenSSL/1.1.1c@conan/stable: C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/as.exe: unknown option -- noexecstack
OpenSSL/1.1.1c@conan/stable: mingw32-make[1]: *** [Makefile:686: apps/apps.o] Error 1
OpenSSL/1.1.1c@conan/stable: mingw32-make[1]: Leaving directory 'C:/Users/rupires/.conan/data/OpenSSL/1.1.1c/conan/stable/build/040a01a894215f08a44b81859276e66540fc0822/sources'
OpenSSL/1.1.1c@conan/stable: mingw32-make: *** [Makefile:172: all] Error 2
OpenSSL/1.1.1c@conan/stable:
OpenSSL/1.1.1c@conan/stable: ERROR: Package '040a01a894215f08a44b81859276e66540fc0822' build failed
OpenSSL/1.1.1c@conan/stable: WARN: Build folder C:\Users\rupires\.conan\data\OpenSSL\1.1.1c\conan\stable\build\040a01a894215f08a44b81859276e66540fc0822
ERROR: OpenSSL/1.1.1c@conan/stable: Error in build() method, line 552
self._make()
while calling '_make', line 522
self._run_make()
while calling '_run_make', line 482
self.run(" ".join(command), win_bash=self._win_bash)
ConanException: Error 2 while executing /mnt/c/ProgramData/chocolatey/bin/mingw32-make.exe -j4
Hi!
When submitting a new PR, adding a new package, some of them could contain multiple words and as separator we have some options: -
, _
As users can deduce the package name when searching, probably anyone would prefer a pattern for cases where a separator is required, so we can deduce easily the correct package name.
However, Conan Center Index has both separators included:
Famous packages like Boost modules use _
.
We could create a new rule for new packages, where the hook is able to check the package name, also as CCI is just on the beginning, so I think we can rename some packages to follow the same pattern.
But first, we need to vote for a specific separator.
/cc @Croydon
moved from https://github.com/conan-community/community/issues/160, by @Firefly35
Using conan install to install boost 1.68.0 I noticed in recipes "without_fibers = false", hence I expected to have the fibers library once the package installed.
I met "missing symbols" errors during link stage as the libboost-fiber.dylib was missing.
It seems no boost package is built with at least cppstd=14, which leads to fibers not being built.
I have built the package locally. Can you consider to build boost with c++14 or even 17 flag to be coherent with the recipe's values ?
Package Name/Version: boost/1.68.0 also applies for boost/1.69.0
Operating System: Mac OSX
This is my main environment. The same issue applies on linux and windows, as fibers is not built when the flag -std=c++14 (or c++17) is missing.
Operation System Version: Mojave
Compiler+version: Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Conan version: conan 1.10.0
Python version: python 3.7.1
conan install -g qmake -o boost:shared=True -if build boost/1.68.0@conan/stable
build a software using boost::fibers (for instance https://github.com/b-com-software-basis/xpcf, replacing the dependency to boost with conan dependency)
Undefined symbols for architecture x86_64:
"boost::fibers::future_category()", referenced from:
std::make_error_code(boost::fibers::future_errc) in BaseTask.o
"boost::fibers::condition_variable_any::notify_all()", referenced from:
boost::fibers::condition_variable::notify_all() in BaseTask.o
"boost::fibers::fiber::join()", referenced from:
org::bcom::xpcf::FiberTask::stop() in BaseTask.o
...
If the folder containing the recipe is not lowercase the error is on the export and it is very confusing. Check the folder lowercase first.
moved from https://github.com/conan-community/community/issues/156, by @rdeterre
Using the cmake_paths
conan generator with boost::log 1.69.0, CMake warns that "New Boost version may have incorrect or missing dependencies and imported targets" on a Fedora 29 machine (full log below). The warning comes from the system-wide FindBoost.cmake file, which is still version 1.66 on this system. Shouldn't the conan boost package include FindBoost.cmake directly?
Build a package with the following files:
from conans import ConanFile, CMake
from conans.tools import vcvars
import os
class BoostIssueConan(ConanFile):
name = "boost-issue"
requires = "boost/1.69.0@conan/stable"
settings = "os", "compiler", "build_type", "arch"
generators = "cmake_paths"
def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()
project(boost-issue)
include(${CMAKE_BINARY_DIR}/conan_paths.cmake)
find_package(Boost 1.69.0 REQUIRED COMPONENTS log)
add_executable(boost-issue main.cpp)
target_link_libraries(boost-issue PRIVATE Boost::log)
#include <boost/log/trivial.hpp>
namespace keywords = boost::log::keywords;
int main()
{
BOOST_LOG_TRIVIAL(info) << "An informational severity message";
}
[rdeterre@localhost build]$ conan install .. && conan build ..
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Debug
compiler=clang
compiler.libcxx=libstdc++11
compiler.version=7.0
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
CC=clang
CXX=clang++
conanfile.py (boost-issue/None@None/None): Installing package
Requirements
boost/1.69.0@conan/stable from 'conan-center' - Cache
bzip2/1.0.6@conan/stable from 'conan-center' - Cache
zlib/1.2.11@conan/stable from 'conan-center' - Cache
Packages
boost/1.69.0@conan/stable:cabba3b08559858fc9c32b2017ab7a3cb8781a5e - Cache
bzip2/1.0.6@conan/stable:35437353b857392790f3121d268b1db3fb9a09b0 - Cache
zlib/1.2.11@conan/stable:35437353b857392790f3121d268b1db3fb9a09b0 - Cache
bzip2/1.0.6@conan/stable: Already installed!
zlib/1.2.11@conan/stable: Already installed!
boost/1.69.0@conan/stable: Already installed!
boost/1.69.0@conan/stable: LIBRARIES: ['boost_wave', 'boost_container', 'boost_contract', 'boost_exception', 'boost_graph', 'boost_iostreams', 'boost_locale', 'boost_log', 'boost_program_options', 'boost_random', 'boost_regex', 'boost_serialization', 'boost_wserialization', 'boost_coroutine', 'boost_fiber', 'boost_context', 'boost_timer', 'boost_thread', 'boost_chrono', 'boost_date_time', 'boost_atomic', 'boost_filesystem', 'boost_system', 'boost_type_erasure', 'boost_math_tr1l', 'boost_unit_test_framework', 'boost_stacktrace_noop', 'boost_stacktrace_basic', 'boost_math_tr1', 'boost_math_c99f', 'boost_log_setup', 'boost_math_c99l', 'boost_math_tr1f', 'boost_math_c99', 'boost_stacktrace_addr2line']
boost/1.69.0@conan/stable: Package folder: /home/rdeterre/.conan/data/boost/1.69.0/conan/stable/package/cabba3b08559858fc9c32b2017ab7a3cb8781a5e
conanfile.py (boost-issue/None@None/None): Generator cmake_paths created conan_paths.cmake
conanfile.py (boost-issue/None@None/None): Generator txt created conanbuildinfo.txt
conanfile.py (boost-issue/None@None/None): Generated conaninfo.txt
conanfile.py (boost-issue/None@None/None): Generated graphinfo
conanfile.py (boost-issue/None@None/None): Running build()
-- The C compiler identification is Clang 7.0.1
-- The CXX compiler identification is Clang 7.0.1
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:847 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:959 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:5 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:847 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:959 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:5 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:847 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:959 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:5 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:847 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:959 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:5 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:847 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:959 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:5 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:847 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:959 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:5 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:847 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:959 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:5 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:847 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:959 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:5 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:847 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:959 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:5 (find_package)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.69.0
-- Found the following Boost libraries:
-- log
-- date_time
-- log_setup
-- system
-- filesystem
-- thread
-- regex
-- chrono
-- atomic
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_SBINDIR
CONAN_COMPILER
CONAN_COMPILER_VERSION
CONAN_CXX_FLAGS
CONAN_C_FLAGS
CONAN_EXPORTED
CONAN_IN_LOCAL_CACHE
CONAN_LIBCXX
CONAN_SHARED_LINKER_FLAGS
-- Build files have been written to: /home/rdeterre/boost-issue/build
Scanning dependencies of target boost-issue
[ 50%] Building CXX object CMakeFiles/boost-issue.dir/main.o
[100%] Linking CXX executable boost-issue
[100%] Built target boost-issue
The bincrafters repository has some nice issue templates that really help. They make creating new issues easier and more consistent.
For instance, when creating a new issue a user can select the Upstream Update template and the only thing he/she needs to do is filling the library name and version. This improves consistence and maybe the CI could parse these kinds of issues and try to just change the library version in the conan recipe and build it again.
moved from https://github.com/conan-community/community/issues/220, by @kevswims
I am trying to cross compile OpenSSL with a yocto toolchain. My issue looks similar to https://github.com/conan-community/community/issues/157 but I that is already been fixed so I am not quite sure what is causing this.
The error output says error "unsupported ARM architecture"
kelannen@LANNENXPS1:sensor-driver/luci-sensors/cross-build$ conan install .. -pr=cross --build=missing *(master)
Configuration:
[settings]
arch=armv8
arch_build=x86_64
arch_target=armv8
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=7
os=Linux
os_build=Linux
os_target=Linux
[options]
[build_requires]
[env]
WARN: grpc/1.20.0@inexorgame/stable requirement OpenSSL/1.0.2r@conan/stable overridden by Luci-Sensors/0.1@None/None to OpenSSL/1.1.1c@conan/stable
OpenSSL/1.1.1c@conan/stable: WARN: Package is corrupted, removing folder: /home/kelannen/.conan/data/OpenSSL/1.1.1c/conan/stable/package/36b9b759adbdc3339846872cd740914337e50db3
conanfile.py (Luci-Sensors/0.1@None/None): Installing package
Requirements
OpenSSL/1.1.1c@conan/stable from 'conan-center' - Cache
c-ares/1.14.0@conan/stable from 'conan-center' - Cache
fmt/5.3.0@bincrafters/stable from 'conan-center' - Cache
grpc/1.20.0@inexorgame/stable from 'kevswims' - Cache
protobuf/3.6.1@bincrafters/stable from 'conan-center' - Cache
protoc_installer/3.6.1@bincrafters/stable from 'conan-center' - Cache
spdlog/1.3.1@bincrafters/stable from 'conan-center' - Cache
toolchain-cl-som-imx8/0.1@kevin/testing from local cache - Cache
wjwwood-serial/1.2.2@kevin/testing from 'inexor' - Cache
zlib/1.2.11@conan/stable from 'conan-center' - Cache
Packages
OpenSSL/1.1.1c@conan/stable:36b9b759adbdc3339846872cd740914337e50db3 - Build
c-ares/1.14.0@conan/stable:8fd38d381db52e2495321ce060b9f457656f6c8f - Cache
fmt/5.3.0@bincrafters/stable:08f0f6b54224d0f59c7a23bfbaa25f463db315ae - Cache
grpc/1.20.0@inexorgame/stable:380b3a3e618d42dc0708ef6503026b1be17c115c - Build
protobuf/3.6.1@bincrafters/stable:08f0f6b54224d0f59c7a23bfbaa25f463db315ae - Cache
protoc_installer/3.6.1@bincrafters/stable:2b2f4ca39fdf65aab1ea9cf3b7310f4405e98078 - Cache
spdlog/1.3.1@bincrafters/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
toolchain-cl-som-imx8/0.1@kevin/testing:44fcf6b9a7fb86b2586303e3db40189d3b511830 - Cache
wjwwood-serial/1.2.2@kevin/testing:d8efcbbc8e926570d730b719245d7a6a041dc91e - Cache
zlib/1.2.11@conan/stable:8fd38d381db52e2495321ce060b9f457656f6c8f - Cache
Build requirements
gtest/1.8.1@bincrafters/stable from 'conan-center' - Cache
Build requirements packages
gtest/1.8.1@bincrafters/stable:5816edce1eaf5f90b062a1a8b9606fa206fb6c29 - Cache
Cross-build from 'Linux:x86_64' to 'Linux:armv8'
c-ares/1.14.0@conan/stable: Already installed!
fmt/5.3.0@bincrafters/stable: Already installed!
gtest/1.8.1@bincrafters/stable: Already installed!
protobuf/3.6.1@bincrafters/stable: Already installed!
toolchain-cl-som-imx8/0.1@kevin/testing: Already installed!
wjwwood-serial/1.2.2@kevin/testing: Already installed!
zlib/1.2.11@conan/stable: Already installed!
OpenSSL/1.1.1c@conan/stable: WARN: Build folder is dirty, removing it: /home/kelannen/.conan/data/OpenSSL/1.1.1c/conan/stable/build/36b9b759adbdc3339846872cd740914337e50db3
OpenSSL/1.1.1c@conan/stable: Copying sources to build folder
OpenSSL/1.1.1c@conan/stable: Building your package in /home/kelannen/.conan/data/OpenSSL/1.1.1c/conan/stable/build/36b9b759adbdc3339846872cd740914337e50db3
OpenSSL/1.1.1c@conan/stable: Generator txt created conanbuildinfo.txt
OpenSSL/1.1.1c@conan/stable: Calling build()
OpenSSL/1.1.1c@conan/stable: =====> Options: --with-zlib-include="/home/kelannen/.conan/data/zlib/1.2.11/conan/stable/package/8fd38d381db52e2495321ce060b9f457656f6c8f/include" --with-zlib-lib="/home/kelannen/.conan/data/zlib/1.2.11/conan/stable/package/8fd38d381db52e2495321ce060b9f457656f6c8f/lib"
OpenSSL/1.1.1c@conan/stable: ------RUNNING-------
bash -l -c -o pipefail "./Configure linux-aarch64 -O3 -s -fPIC --with-zlib-include=\"/home/kelannen/.conan/data/zlib/1.2.11/conan/stable/package/8fd38d381db52e2495321ce060b9f457656f6c8f/include\" --with-zlib-lib=\"/home/kelannen/.conan/data/zlib/1.2.11/conan/stable/package/8fd38d381db52e2495321ce060b9f457656f6c8f/lib\" | while read line; do printf \"%c\" .; done"...................OpenSSL/1.1.1c@conan/stable:
OpenSSL/1.1.1c@conan/stable: ------RUNNING-------
bash -l -c -o pipefail "make depend | while read line; do printf \"%c\" .; done"OpenSSL/1.1.1c@conan/stable:
OpenSSL/1.1.1c@conan/stable: WARN: ----------MAKE OPENSSL 1.1.1c-------------
OpenSSL/1.1.1c@conan/stable: ------RUNNING-------
make -j12/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" crypto/include/internal/bn_conf.h.in > crypto/include/internal/bn_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" crypto/include/internal/dso_conf.h.in > crypto/include/internal/dso_conf.h
/usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" \
"-oMakefile" include/openssl/opensslconf.h.in > include/openssl/opensslconf.h
make depend && make _all
make[1]: Entering directory '/home/kelannen/.conan/data/OpenSSL/1.1.1c/conan/stable/build/36b9b759adbdc3339846872cd740914337e50db3/openssl-1.1.1c'
make[1]: Leaving directory '/home/kelannen/.conan/data/OpenSSL/1.1.1c/conan/stable/build/36b9b759adbdc3339846872cd740914337e50db3/openssl-1.1.1c'
make[1]: Entering directory '/home/kelannen/.conan/data/OpenSSL/1.1.1c/conan/stable/build/36b9b759adbdc3339846872cd740914337e50db3/openssl-1.1.1c'
gcc -I. -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF apps/app_rand.d.tmp -MT apps/app_rand.o -c -o apps/app_rand.o apps/app_rand.c
gcc -I. -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF apps/apps.d.tmp -MT apps/apps.o -c -o apps/apps.o apps/apps.c
gcc -I. -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF apps/bf_prefix.d.tmp -MT apps/bf_prefix.o -c -o apps/bf_prefix.o apps/bf_prefix.c
gcc -I. -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF apps/opt.d.tmp -MT apps/opt.o -c -o apps/opt.o apps/opt.c
gcc -I. -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF apps/s_cb.d.tmp -MT apps/s_cb.o -c -o apps/s_cb.o apps/s_cb.c
gcc -I. -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF apps/s_socket.d.tmp -MT apps/s_socket.o -c -o apps/s_socket.o apps/s_socket.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/aes/aes_cbc.d.tmp -MT crypto/aes/aes_cbc.o -c -o crypto/aes/aes_cbc.o crypto/aes/aes_cbc.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/aes/aes_cfb.d.tmp -MT crypto/aes/aes_cfb.o -c -o crypto/aes/aes_cfb.o crypto/aes/aes_cfb.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/aes/aes_core.d.tmp -MT crypto/aes/aes_core.o -c -o crypto/aes/aes_core.o crypto/aes/aes_core.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/aes/aes_ecb.d.tmp -MT crypto/aes/aes_ecb.o -c -o crypto/aes/aes_ecb.o crypto/aes/aes_ecb.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/aes/aes_ige.d.tmp -MT crypto/aes/aes_ige.o -c -o crypto/aes/aes_ige.o crypto/aes/aes_ige.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/aes/aes_misc.d.tmp -MT crypto/aes/aes_misc.o -c -o crypto/aes/aes_misc.o crypto/aes/aes_misc.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/aes/aes_ofb.d.tmp -MT crypto/aes/aes_ofb.o -c -o crypto/aes/aes_ofb.o crypto/aes/aes_ofb.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/aes/aes_wrap.d.tmp -MT crypto/aes/aes_wrap.o -c -o crypto/aes/aes_wrap.o crypto/aes/aes_wrap.c
CC="gcc" /usr/bin/perl crypto/aes/asm/aesv8-armx.pl linux64 crypto/aes/aesv8-armx.S
CC="gcc" /usr/bin/perl crypto/aes/asm/vpaes-armv8.pl linux64 crypto/aes/vpaes-armv8.S
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/aria/aria.d.tmp -MT crypto/aria/aria.o -c -o crypto/aria/aria.o crypto/aria/aria.c
CC="gcc" /usr/bin/perl crypto/arm64cpuid.pl linux64 crypto/arm64cpuid.S
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/armcap.d.tmp -MT crypto/armcap.o -c -o crypto/armcap.o crypto/armcap.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/asn1/a_bitstr.d.tmp -MT crypto/asn1/a_bitstr.o -c -o crypto/asn1/a_bitstr.o crypto/asn1/a_bitstr.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/asn1/a_d2i_fp.d.tmp -MT crypto/asn1/a_d2i_fp.o -c -o crypto/asn1/a_d2i_fp.o crypto/asn1/a_d2i_fp.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/asn1/a_digest.d.tmp -MT crypto/asn1/a_digest.o -c -o crypto/asn1/a_digest.o crypto/asn1/a_digest.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/asn1/a_dup.d.tmp -MT crypto/asn1/a_dup.o -c -o crypto/asn1/a_dup.o crypto/asn1/a_dup.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/asn1/a_gentm.d.tmp -MT crypto/asn1/a_gentm.o -c -o crypto/asn1/a_gentm.o crypto/asn1/a_gentm.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/asn1/a_i2d_fp.d.tmp -MT crypto/asn1/a_i2d_fp.o -c -o crypto/asn1/a_i2d_fp.o crypto/asn1/a_i2d_fp.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/asn1/a_int.d.tmp -MT crypto/asn1/a_int.o -c -o crypto/asn1/a_int.o crypto/asn1/a_int.c
gcc -I. -Icrypto/include -Iinclude -fPIC -pthread -Wa,--noexecstack -Wall -O3 -O3 -s -fPIC -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-1.1\"" -DNDEBUG -MMD -MF crypto/asn1/a_mbstr.d.tmp -MT crypto/asn1/a_mbstr.o -c -o crypto/asn1/a_mbstr.o crypto/asn1/a_mbstr.c
In file included from crypto/armcap.c:18:0:
crypto/arm_arch.h:55:6: error: #error "unsupported ARM architecture"
# error "unsupported ARM architecture"
^~~~~
Makefile:848: recipe for target 'crypto/armcap.o' failed
make[1]: *** [crypto/armcap.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/kelannen/.conan/data/OpenSSL/1.1.1c/conan/stable/build/36b9b759adbdc3339846872cd740914337e50db3/openssl-1.1.1c'
Makefile:172: recipe for target 'all' failed
make: *** [all] Error 2
OpenSSL/1.1.1c@conan/stable:
OpenSSL/1.1.1c@conan/stable: ERROR: Package '36b9b759adbdc3339846872cd740914337e50db3' build failed
OpenSSL/1.1.1c@conan/stable: WARN: Build folder /home/kelannen/.conan/data/OpenSSL/1.1.1c/conan/stable/build/36b9b759adbdc3339846872cd740914337e50db3
ERROR: OpenSSL/1.1.1c@conan/stable: Error in build() method, line 90
self.unix_build()
while calling 'unix_build', line 252
self.run_in_src("make -j%s" % tools.cpu_count(), show_output=True, win_bash=win_bash)
while calling 'run_in_src', line 112
self.run(command, win_bash=win_bash, output=buf)
ConanException: Error 512 while executing make -j12
It looks like the linux-aarch64
is getting passed into the ./Configure
call but it is not setting the correct macro in GCC to set the architecture correctly in https://github.com/openssl/openssl/blob/OpenSSL_1_1_1-stable/crypto/arm_arch.h
The service should generate packages for Clang 8.
If added the wiki should be updated as well: https://github.com/conan-io/conan-center-index/wiki/Supported-Platforms-And-Configurations
moved from https://github.com/conan-community/community/issues/208, by @planetmarshall
conan source . -sf tmp/source
conan install . -if tmp/build
conan build . -bf tmp/build -sf tmp/source
conanfile.py (zlib/1.2.11@None/None): Running build()
ERROR: conanfile.py (zlib/1.2.11@None/None): Error in build() method, line 49
self._build_zlib()
while calling '_build_zlib', line 81
with tools.chdir(self._source_subfolder):
FileNotFoundError: [Errno 2] No such file or directory: 'source_subfolder'
I'm requesting the apache arrow library version 0.14.1 to be added:
Link to the website: https://arrow.apache.org/docs/index.html
There is a slightly outdated recipe here: https://github.com/FiligreeTech/conan-arrow
Recipes should handle problems of incompatible standard version flags gracefully and raise ConanInvalidConfiguration
appropriately.
The mentioned version is released by the upstream project. Please add this version.
To help us debug your issue please explain:
Hi!
As Conan Center is growing, the time requested to list all recipes is no longer enough:
conan search -r conan-center
ERROR: HTTPSConnectionPool(host='conan.bintray.com', port=443): Read timed out. (read timeout=60.0). [Remote: conan-center]
As you can see, 60 seconds is not enough to retrieve all information.
However, if I update the timeout request by CONAN_TIMEOUT_REQUEST
, I can receive the answer:
CONAN_REQUEST_TIMEOUT=360 conan search -r conan-center
Existing package recipes:
7z_installer/1.0@conan/stable
Args/5.0.1.4@igormironchik/stable
...
Usingtime
it took 1m39.
As Conan Center is the official repository, I think search
should work without timeouts. So Or Bintray is slow, Or Conan needs to update its timeout limit.
Conan Version: 1.16.1
It would be useful to explicitly state the repository policies on different problems that could occur.
For example, since the repository will use the project/version
format it's a very big chance that there will be conflicts, legal ones included (experience from the npm).
Contributing to this repository requires the author to request access first (in this same issue). We are new people every week.
While you wait for the approval, maybe you can read the guide about how to add packages.
Some libraries, like boost, could have or have an option to create a package with only "header_only" we currently don't have a mechanism to take into account that option to generate the binary package corresponding to the header_only
option.
Should we?
Could it be confusing?
moved from https://github.com/conan-community/community/issues/241, by @canatella
On mac os when building with a custom clang installation (not apple-clang!). The boost build is failing because it is missing the -isysroot flag. From the code:
if tools.is_apple_os(self.settings.os):
if self.settings.compiler == "apple-clang":
contents += " -isysroot %s" % tools.XCRun(self.settings).sdk_path
In this case the compiler is clang, not apple-clang but it still needs the sysroot flag added.
Build a custom LLVM 8.0.0 on mac, and try to build boost with conan.
"/Users/dam/.conan/data/llvm/8.0.0/bloomlife/testing/package/743cf0321be3152777da4d05247a66d1552e70a2/bin/clang++" "-arch" "x86_64" -x c++ -fvisibility-inlines-hidden -DDEBUG -fsanitize=address -fsanitize-address-use-after-scope -fno-omit-frame-pointer -fno-optimize-sibling-calls -fsanitize=undefined -fsanitize=i
mplicit-conversion -march=native -mtune=native -D__ARM_ARCH_6M__ -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-math-errno -fwrapv -m64 -O0 -fno-inline -w -g -fvisibility=hidden -fPIC -stdlib=libc++ -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_USE_LIB=1 -I"." -c -o "/Users/dam/.conan/data/boost/1.70.0/conan/sta
ble/build/d41fa7a9d7dab74a67bd74381d319cac46527183/boost/bin.v2/libs/wave/build/clng-drwn-8/dbg/lnk-sttc/thrd-mlt/vsblt-hdn/cpplexer/re2clex/cpp_re.o" "libs/wave/src/cpplexer/re2clex/cpp_re.cpp"
In file included from libs/wave/src/cpplexer/re2clex/cpp_re.cpp:20:
/Users/dam/.conan/data/llvm/8.0.0/bloomlife/testing/package/743cf0321be3152777da4d05247a66d1552e70a2/bin/../include/c++/v1/ctime:50:10: fatal error: 'time.h' file not found
#include <time.h>
^~~~~~~~
1 error generated.
...failed clang-darwin.compile.c++ /Users/dam/.conan/data/boost/1.70.0/conan/stable/build/d41fa7a9d7dab74a67bd74381d319cac46527183/boost/bin.v2/libs/wave/build/clng-drwn-8/dbg/lnk-sttc/thrd-mlt/vsblt-hdn/cpplexer/re2clex/cpp_re.o...
...skipped <p/Users/dam/.conan/data/boost/1.70.0/conan/stable/build/d41fa7a9d7dab74a67bd74381d319cac46527183/boost/bin.v2/libs/wave/build/clng-drwn-8/dbg/lnk-sttc/thrdp-pthrd/thrd-mlt/vsblt-hdn>libboost_wave.a(clean) for lack of <p/Users/dam/.conan/data/boost/1.70.0/conan/stable/build/d41fa7a9d7dab74a67bd74381d319cac
46527183/boost/bin.v2/libs/wave/build/clng-drwn-8/dbg/lnk-sttc/thrd-mlt/vsblt-hdn>instantiate_cpp_exprgrammar.o...
...skipped <p/Users/dam/.conan/data/boost/1.70.0/conan/stable/build/d41fa7a9d7dab74a67bd74381d319cac46527183/boost/bin.v2/libs/wave/build/clng-drwn-8/dbg/lnk-sttc/thrdp-pthrd/thrd-mlt/vsblt-hdn>libboost_wave.a for lack of <p/Users/dam/.conan/data/boost/1.70.0/conan/stable/build/d41fa7a9d7dab74a67bd74381d319cac4652718
3/boost/bin.v2/libs/wave/build/clng-drwn-8/dbg/lnk-sttc/thrd-mlt/vsblt-hdn>instantiate_cpp_exprgrammar.o...
...skipped <p/Users/dam/.conan/data/boost/1.70.0/conan/stable/source/boost_1_70_0/stage/lib>libboost_wave.a for lack of <p/Users/dam/.conan/data/boost/1.70.0/conan/stable/build/d41fa7a9d7dab74a67bd74381d319cac46527183/boost/bin.v2/libs/wave/build/clng-drwn-8/dbg/lnk-sttc/thrdp-pthrd/thrd-mlt/vsblt-hdn>libboost_wave.a
...
...failed updating 277 targets...
...skipped 96 targets...
...updated 172 targets...
boost/1.70.0@conan/stable:
boost/1.70.0@conan/stable: ERROR: Package 'd41fa7a9d7dab74a67bd74381d319cac46527183' build failed
boost/1.70.0@conan/stable: WARN: Build folder /Users/dam/.conan/data/boost/1.70.0/conan/stable/build/d41fa7a9d7dab74a67bd74381d319cac46527183
ERROR: boost/1.70.0@conan/stable: Error in build() method, line 421
self.run(full_command)
ConanException: Error 256 while executing /Users/dam/.conan/data/boost/1.70.0/conan/stable/source/boost_1_70_0/tools/build/b2 target-os=darwin architecture=x86 address-model=64 binary-format=mach-o abi=sysv --layout=system -sBOOST_BUILD_PATH=/Users/dam/.conan/data/boost/1.70.0/conan/stable/source/boost_1_70_0
/tools/build -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 threading=multi link=static variant=debug --without-python toolset=clang linkflags="-stdlib=libc++" cxxflags="-fPIC -stdlib=libc++" -j8 --abbreviate-paths -d2 --debug-configuration --build-dir="/Users/dam/.conan/data/boost/1.70.0/conan/stable/build/d41fa7a
9d7dab74a67bd74381d319cac46527183"
moved from https://github.com/conan-community/community/issues/279, by @thedracle
when trying to build from source.
It works as of b27e2b40bcb70be2e7d6f0e0c6e43e35c530f8d3
The error it chokes on is :
bzip2/1.0.6@conan/stable: Configuring sources in /root/.conan/data/bzip2/1.0.6/conan/stable/source ERROR: bzip2/1.0.6@conan/stable: Error in source() method, line 37 tools.get(url="%s/download_file?file_path=%s" % (url, zip_name), sha256=sha256, filename=zip_name) AttributeError: 'NoneType' object has no attribute 'token'
conanfile.txt
[requires]
boost/1.65.1@conan/stable
OpenSSL/1.0.2@conan/stable
[options]
boost:shared=False
[generators]
make
And build with
conan install . -s compiler.libcxx=libstdc++11 --build boost --build bzip2 --build zlib --build OpenSSL
`Requirement already satisfied: conan in /usr/lib/python2.7/site-packages (1.18.4)
Requirement already satisfied: PyJWT<2.0.0,>=1.4.0 in /usr/lib/python2.7/site-packages (from conan) (1.7.1)
Requirement already satisfied: requests<3.0.0,>=2.8.1 in /usr/lib/python2.7/site-packages (from conan) (2.22.0)
Requirement already satisfied: colorama<0.5.0,>=0.3.3 in /usr/lib/python2.7/site-packages (from conan) (0.4.1)
Requirement already satisfied: PyYAML<6.0,>=3.11 in /usr/lib/python2.7/site-packages (from conan) (5.1.2)
Requirement already satisfied: patch==1.16 in /usr/lib/python2.7/site-packages (from conan) (1.16)
Requirement already satisfied: fasteners>=0.14.1 in /usr/lib/python2.7/site-packages (from conan) (0.15)
Requirement already satisfied: six>=1.10.0 in /usr/lib/python2.7/site-packages (from conan) (1.12.0)
Requirement already satisfied: node-semver==0.6.1 in /usr/lib/python2.7/site-packages (from conan) (0.6.1)
Requirement already satisfied: distro<1.2.0,>=1.0.2 in /usr/lib/python2.7/site-packages (from conan) (1.1.0)
Requirement already satisfied: pylint!=2.3.0,>=1.9.3 in /usr/lib/python2.7/site-packages (from conan) (1.9.5)
Requirement already satisfied: future==0.16.0 in /usr/lib/python2.7/site-packages (from conan) (0.16.0)
Requirement already satisfied: pygments<3.0,>=2.0 in /usr/lib/python2.7/site-packages (from conan) (2.4.2)
Requirement already satisfied: astroid>=1.6.5 in /usr/lib/python2.7/site-packages (from conan) (1.6.6)
Requirement already satisfied: deprecation<2.1,>=2.0 in /usr/lib/python2.7/site-packages (from conan) (2.0.7)
Requirement already satisfied: tqdm<5,>=4.28.1 in /usr/lib/python2.7/site-packages (from conan) (4.36.1)
Requirement already satisfied: Jinja2<3,>=2.3 in /usr/lib/python2.7/site-packages (from conan) (2.10.1)
Requirement already satisfied: python-dateutil<3,>=2.7.0 in /usr/lib/python2.7/site-packages (from conan) (2.8.0)
Requirement already satisfied: bottle<0.13,>=0.12.8 in /usr/lib/python2.7/site-packages (from conan) (0.12.17)
Requirement already satisfied: pluginbase<1.0,>=0.5 in /usr/lib/python2.7/site-packages (from conan) (0.7)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python2.7/site-packages (from requests<3.0.0,>=2.8.1->conan) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in /usr/lib/python2.7/site-packages (from requests<3.0.0,>=2.8.1->conan) (2.8)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python2.7/site-packages (from requests<3.0.0,>=2.8.1->conan) (1.25.5)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python2.7/site-packages (from requests<3.0.0,>=2.8.1->conan) (2019.9.11)
Requirement already satisfied: monotonic>=0.1 in /usr/lib/python2.7/site-packages (from fasteners>=0.14.1->conan) (1.5)
Requirement already satisfied: isort>=4.2.5 in /usr/lib/python2.7/site-packages (from pylint!=2.3.0,>=1.9.3->conan) (4.3.21)
Requirement already satisfied: singledispatch; python_version < "3.4" in /usr/lib/python2.7/site-packages (from pylint!=2.3.0,>=1.9.3->conan) (3.4.0.3)
Requirement already satisfied: configparser; python_version == "2.7" in /usr/lib/python2.7/site-packages (from pylint!=2.3.0,>=1.9.3->conan) (4.0.2)
Requirement already satisfied: mccabe in /usr/lib/python2.7/site-packages (from pylint!=2.3.0,>=1.9.3->conan) (0.6.1)
Requirement already satisfied: backports.functools-lru-cache; python_version == "2.7" in /usr/lib/python2.7/site-packages (from pylint!=2.3.0,>=1.9.3->conan) (1.5)
Requirement already satisfied: enum34>=1.1.3; python_version < "3.4" in /usr/lib/python2.7/site-packages (from astroid>=1.6.5->conan) (1.1.6)
Requirement already satisfied: wrapt in /usr/lib/python2.7/site-packages (from astroid>=1.6.5->conan) (1.11.2)
Requirement already satisfied: lazy-object-proxy in /usr/lib/python2.7/site-packages (from astroid>=1.6.5->conan) (1.4.2)
Requirement already satisfied: packaging in /usr/lib/python2.7/site-packages (from deprecation<2.1,>=2.0->conan) (19.2)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python2.7/site-packages (from Jinja2<3,>=2.3->conan) (1.1.1)
Requirement already satisfied: futures; python_version < "3.2" in /usr/lib/python2.7/site-packages (from isort>=4.2.5->pylint!=2.3.0,>=1.9.3->conan) (3.3.0)
Requirement already satisfied: pyparsing>=2.0.2 in /usr/lib/python2.7/site-packages (from packaging->deprecation<2.1,>=2.0->conan) (2.4.2)
Auto detecting your dev setup to initialize the default profile (/root/.conan/profiles/default)
Found gcc 8.3
Found clang 5.0
gcc>=5, using the major as version
************************* WARNING: GCC OLD ABI COMPATIBILITY ***********************
Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to
'libstdc++' for backwards compatibility.
Your compiler is likely using the new CXX11 ABI by default (libstdc++11).
If you want Conan to use the new ABI for the default profile, run:
$ conan profile update settings.compiler.libcxx=libstdc++11 default
Or edit '/root/.conan/profiles/default' and set compiler.libcxx=libstdc++11
Default settings
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=8
compiler.libcxx=libstdc++
build_type=Release
*** You can change them in /root/.conan/profiles/default ***
*** Or override with -s compiler='other' -s ...s***
WARN: Remotes registry file missing, creating default one in /root/.conan/remotes.json
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=8
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
boost/1.65.1@conan/stable: Not found in local cache, looking in remotes...
boost/1.65.1@conan/stable: Trying with 'conan-center'...
Downloading conanmanifest.txt: 100%|##########| 180/180 [00:00<00:00, 114kB/s]
Downloading conanfile.py: 100%|##########| 31.1k/31.1k [00:00<00:00, 464kB/s]
Downloading conan_export.tgz: 100%|##########| 1.00k/1.00k [00:00<00:00, 822kB/s]
Decompressing conan_export.tgz: 1.00kB [00:00, 518kB/s]
boost/1.65.1@conan/stable: Downloaded recipe revision 0
boost/1.65.1@conan/stable: WARN: Setting 'cppstd' is deprecated in favor of 'compiler.cppstd', please update your recipe.
bzip2/1.0.6@conan/stable: Not found in local cache, looking in remotes...
bzip2/1.0.6@conan/stable: Trying with 'conan-center'...
Downloading conanmanifest.txt: 100%|##########| 163/163 [00:00<00:00, 154kB/s]
Downloading conanfile.py: 100%|##########| 2.21k/2.21k [00:00<00:00, 1.67MB/s]
Downloading conan_export.tgz: 100%|##########| 766/766 [00:00<00:00, 481kB/s]
Decompressing conan_export.tgz: 774B [00:00, 723kB/s]
bzip2/1.0.6@conan/stable: Downloaded recipe revision 0
zlib/1.2.11@conan/stable: Not found in local cache, looking in remotes...
zlib/1.2.11@conan/stable: Trying with 'conan-center'...
Downloading conanmanifest.txt: 100%|##########| 296/296 [00:00<00:00, 225kB/s]
Downloading conanfile.py: 100%|##########| 8.74k/8.74k [00:00<00:00, 7.41MB/s]
Downloading conan_export.tgz: 100%|##########| 766/766 [00:00<00:00, 401kB/s]
Decompressing conan_export.tgz: 774B [00:00, 729kB/s]
zlib/1.2.11@conan/stable: Downloaded recipe revision 0
OpenSSL/1.0.2@conan/stable: Not found in local cache, looking in remotes...
OpenSSL/1.0.2@conan/stable: Trying with 'conan-center'...
Downloading conanmanifest.txt: 100%|##########| 58.0/58.0 [00:00<00:00, 43.3kB/s]
Downloading conanfile.py: 100%|##########| 106/106 [00:00<00:00, 63.5kB/s]
OpenSSL/1.0.2@conan/stable: Downloaded recipe revision 0
OpenSSL/1.0.2q@conan/stable: Not found in local cache, looking in remotes...
OpenSSL/1.0.2q@conan/stable: Trying with 'conan-center'...
Downloading conanmanifest.txt: 100%|##########| 58.0/58.0 [00:00<00:00, 41.3kB/s]
Downloading conanfile.py: 100%|##########| 28.7k/28.7k [00:00<00:00, 14.6MB/s]
OpenSSL/1.0.2q@conan/stable: Downloaded recipe revision 0
bzip2/1.0.6@conan/stable: Forced build from source
zlib/1.2.11@conan/stable: Forced build from source
OpenSSL/1.0.2q@conan/stable: Forced build from source
boost/1.65.1@conan/stable: Forced build from source
conanfile.txt: Installing package
Requirements
OpenSSL/1.0.2q@conan/stable from 'conan-center' - Downloaded
boost/1.65.1@conan/stable from 'conan-center' - Downloaded
bzip2/1.0.6@conan/stable from 'conan-center' - Downloaded
zlib/1.2.11@conan/stable from 'conan-center' - Downloaded
Packages
OpenSSL/1.0.2q@conan/stable:4f75e4b120320a9fb6ac0012242d9ac95d18b6f6 - Build
boost/1.65.1@conan/stable:5e8eff81f2db7ac8c8c3d41364df2f92d8c53fdb - Build
bzip2/1.0.6@conan/stable:a5875aed3fc7ae8dd0488f7e5e99acbc480d721d - Build
zlib/1.2.11@conan/stable:1d877a3df840030e6a8abb74c5ffb9088d08b47a - Build
Downloading conan_sources.tgz: 100%|##########| 807/807 [00:00<00:00, 504kB/s]
Decompressing conan_sources.tgz: 815B [00:00, 691kB/s]
bzip2/1.0.6@conan/stable: Configuring sources in /root/.conan/data/bzip2/1.0.6/conan/stable/source
ERROR: bzip2/1.0.6@conan/stable: Error in source() method, line 37
tools.get(url="%s/download_file?file_path=%s" % (url, zip_name), sha256=sha256, filename=zip_name)
AttributeError: 'NoneType' object has no attribute 'token'
`
The service should generate packages for Apple Clang 11 / XCode 11.
If added the wiki should be updated as well: https://github.com/conan-io/conan-center-index/wiki/Supported-Platforms-And-Configurations
Please don't forget to update the wiki, it doesn't list Clang 8 and GCC 9 yet for instance
What's the strategy for the inclusion of such projects? For example - https://github.com/catchorg/Catch2
moved from https://github.com/conan-community/community/issues/51, by @uilianries
Hi!
I'm trying to build Facebook Folly package, but during linkage stage I get the follow error:
/home/conan/.conan/data/folly/2018.10.15.00/bincrafters/testing/package/a2b5bbc27f5f32aaf3f11506fa66f3c83eca270f/lib/libfolly.so: undefined reference to `boost::system::detail::generic_category_instance'
/home/conan/.conan/data/folly/2018.10.15.00/bincrafters/testing/package/a2b5bbc27f5f32aaf3f11506fa66f3c83eca270f/lib/libfolly.so: undefined reference to `boost::system::detail::system_category_instance'
@vdeurzen reported the same problem on Slack channel Conan:
I'm having some trouble linking with boost from conan center, I'm missing some of the multithreading symbols it seems, any ideas what I might be doing wrong?
for example:boost::system::generic_category()
well, that's the first that's missing, I'm considering it may simply be the linking order
orundefined reference to
> boost::log::v2s_mt_posix::aux::futex_based_event::wait()`
git clone https://github.com/bincrafters/conan-folly.git
cd conan-folly
git checkout testing/2018.10.15.00
conan create . bincrafters/testing -s build_type=Release -s arch=x86_64 -o folly:shared=True
i think one could add cmake-format to the pipeline i.o. to only merge cmake scripts which are uniformly formatted.
for example this one: https://github.com/conan-io/conan-center-index/blob/master/recipes/boost/all/test_package/CMakeLists.txt uses capital case, lower case, different indentation etc.
this can be automatically done by putting a cmake-format.yml file into the repo and formatting according to this style
ref:
https://github.com/cheshirekow/cmake_format
my format file:
# https://github.com/cheshirekow/cmake_format
# How wide to allow formatted cmake files
line_width: 120
# How many spaces to tab for indent
tab_size: 2
# Format command names consistently as 'lower' or 'upper' case
command_case: "lower"
first_comment_is_literal: False
# enable comment markup parsing and reflow
enable_markup: False
# If arglists are longer than this, break them always
max_subargs_per_line: 1
script I run in gitlab ci:
#!/bin/bash
FAILED=0
echo "Script name: $0"
work_dir=$(pwd)
if [[ -z "${CI_PROJECT_DIR}" ]]; then
echo "CI_PROJECT_DIR is not defined"
else
work_dir="${CI_PROJECT_DIR}"
echo "CI_PROJECT_DIR is defined: $work_dir"
fi
echo "Working directory is: $work_dir"
echo ""
cmakeFormat="cmake-format"
path_to_cmake_format="$(which $cmakeFormat)"
echo "path_to_cmake_format :$path_to_cmake_format"
echo "version :$($cmakeFormat --version)"
if [ -z "$path_to_cmake_format" ]
then
echo "$cmakeFormat is not installed. Cannot format cmake files..."
echo "run: pip3 install cmake-format"
exit 1
fi
echo "$cmakeFormat was found, going to format your cmake scripts..." >&2
for i in `
find "$work_dir"/ \
-not \( -path "*/build/*" -prune \) \
-not \( -path "*/_build/*" -prune \) \
-not \( -path "*/_build_target/*" -prune \) \
-not \( -path "*/config/*" -prune \) \
-not \( -path "*/scripts/*" -prune \) \
-not \( -path "*/.vscode/*" -prune \) \
-not \( -path "*/third_party/*" -prune \) \
-not \( -path "*/cmake-build-debug/*" -prune \) \
-not \( -path '*/cmake/conan.cmake' -prune \) \
-not \( -path '*/cmake/debug.cmake' -prune \) \
-not \( -path '*/cmake/grpc_helper.cmake' -prune \) \
-not \( -path '*/cmake/gtest_helper.cmake' -prune \) \
-not \( -path '*/cmake/openssl_helper.cmake' -prune \) \
-not \( -path '*/cmake/protobuf_helper.cmake' -prune \) \
-not \( -path '*/cmake/zlib_helper.cmake' -prune \) \
-not \( -path '*/cmake/FindGRPC.cmake' -prune \) \
-not \( -path '*/cmake/FindProtobuf.cmake' -prune \) \
\( -type f -name '*.cmake' -o -name 'CMakeLists.txt' \)`
do
$cmakeFormat -c cmake-format.yaml -i "$i" >/dev/null
diff=(`git diff --name-only`)
for line in "${diff[@]}"
do
fullPath=$work_dir/$line
if [[ $fullPath == *"$i"* ]]; then
printf "\033[0;31m"
echo "Not correctly formatted: $fullPath"
printf "\033[0m"
FAILED=1
fi
done
done
if [ "$FAILED" -eq "1" ]
then
echo ""
echo "linted with cmake-format version: $($cmakeFormat --version)"
echo "run: pip3 install cmake-format --upgrade"
echo "run: ./format_code.sh"
echo "Failing..."
echo ""
exit 1
fi
echo "done..."
Why fmt recepie removes cmake directory?
With fmt/5.3.0@bincrafters/stable
I was able to use find_package( fmt 5.3.0 REQUIRED )
in cmake. Trying to upgrade to fmt/6.0.0
breaks my cmake usage logic.
So what is the idiomatic way to introduce fmtlib in one's cmake project now?
When building poco/1.9.3
for Android the dependent OpenSSL is build correctly. But it can't be found when building poco. This results in the poco libs Crypto
and NetSSL
not to be build.
I tried this on macOS building the latest NDK but I'm pretty sure it's a general cross compiling issue.
My conanfile.txt:
[requires]
poco/1.9.3
My profile:
ndk_root=$HOME/Library/Android/sdk/ndk-bundle
standalone_toolchain=$HOME/Development/toolchains/android-16-arm/
target_host=arm-linux-androideabi
cc_compiler=clang
cxx_compiler=clang++
[settings]
compiler=clang
compiler.version=8
compiler.libcxx=libc++
os=Android
os.api_level=16
arch=armv7
build_type=Release
[env]
CONAN_CMAKE_TOOLCHAIN_FILE=$ndk_root/build/cmake/android.toolchain.cmake
CONAN_CMAKE_FIND_ROOT_PATH=$standalone_toolchain/sysroot
PATH=[$standalone_toolchain/bin]
CHOST=$target_host
AR=\$target_host-ar
AS=$target_host-as
RANLIB=$target_host-ranlib
CC=$target_host-$cc_compiler
CXX=$target_host-$cxx_compiler
LD=$target_host-ld
STRIP=$target_host-strip
CFLAGS= -fPIE -fPIC -I$standalone_toolchain/include/c++/4.9.x
CXXFLAGS= -fPIE -fPIC -I$standalone_toolchain/include/c++/4.9.x
LDFLAGS= -pie
To help us debug your issue please explain:
Other CI services, like Travis, have a hotsite for status and also a badge using semaphore lights.
We could add a badge on README file with current CI status, not about if all builds are okay, but about Jenkins health, like:
GREEN: "all good, go ahead!"
YELLOW: "we are operating with less capacity"
RED: "we are under maintenance right now"
When using flatbuffers with the cmake_paths generator (which is nice as it does not require any conan references in your cmake file) find_package will not work as the flatbuffers/flatc do not include the relevant cmake files (which also includes build_flatbuffers). Would it be possible to add these to the package?
[settings]
arch=x86_64
arch_build=x86_64
os=Neutrino
os_build=Windows
compiler=qcc
compiler.libcxx=cxx
compiler.version=5.4
os.version=7.0
flatbuffers*:compiler=qcc
flatbuffers*:compiler.libcxx=cxx
flatbuffers*:compiler.version=5.4
flatbuffers*:compiler.cppstd=gnu11
moved from https://github.com/conan-community/community/issues/242, by @Facon
Boost fails to build while using MSYS2 and clang under Windows 10.
profiles/msys2:
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=clang
compiler.version=8
compiler.libcxx=libstdc++11
build_type=Debug
[options]
[build_requires]
[env]
conanfile.txt:
[requires]
doctest/2.3.1@bincrafters/stable
boost/1.70.0@conan/stable
[generators]
cmake
Before executing any command the following environment variables have been set:
CC=/mingw64/bin/clang
CXX=/mingw64/bin/clang++
$ conan install .. --profile msys2 --build boost
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Debug
compiler=clang
compiler.libcxx=libstdc++11
compiler.version=8
os=Windows
os_build=Windows
[options]
[build_requires]
[env]
boost/1.70.0@conan/stable: Forced build from source
conanfile.txt: Installing package
Requirements
boost/1.70.0@conan/stable from 'conan-center' - Cache
bzip2/1.0.6@conan/stable from 'conan-center' - Cache
doctest/2.3.1@bincrafters/stable from 'conan-center' - Cache
zlib/1.2.11@conan/stable from 'conan-center' - Cache
Packages
boost/1.70.0@conan/stable:64ccc6fb1abd6584ac4cdd701651fb992efc3324 - Build
bzip2/1.0.6@conan/stable:75e25912e815a89189c676daf5f2cf5d81cb3d55 - Cache
doctest/2.3.1@bincrafters/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
zlib/1.2.11@conan/stable:19a80f93aa4024357a9deaaf435ca7784fef3130 - Cache
bzip2/1.0.6@conan/stable: Already installed!
doctest/2.3.1@bincrafters/stable: Already installed!
zlib/1.2.11@conan/stable: Already installed!
boost/1.70.0@conan/stable: WARN: Build folder is dirty, removing it: C:/.conan/5b0ee3/1
boost/1.70.0@conan/stable: Building your package in C:/.conan/5b0ee3/1
boost/1.70.0@conan/stable: Generator txt created conanbuildinfo.txt
boost/1.70.0@conan/stable: Calling build()
boost/1.70.0@conan/stable: WARN: removing "C:\.conan\0c42c2\1/boost_1_70_0/tools/build/src/engine/bootstrap"
boost/1.70.0@conan/stable: WARN: removing "C:\.conan\0c42c2\1/boost_1_70_0/tools/build/src/engine/bin.ntx86"
boost/1.70.0@conan/stable: bootstrap.bat
Bootstrapping the build engine
Bootstrapping is done. To build, run:
.\b2 --prefix=DIR install
boost/1.70.0@conan/stable: WARN: Patching user-config.jam
boost/1.70.0@conan/stable: WARN:
using zlib : 1.2.11 : <include>C:/Users/User/.conan/data/zlib/1.2.11/conan/stable/package/19a80f93aa4024357a9deaaf435ca7784fef3130/include <search>C:/Users/User/.conan/data/zlib/1.2.11/conan/stable/package/19a80f93aa4024357a9deaaf435ca7784fef3130/lib <name>zlib ;
using bzip2 : 1.0.6 : <include>C:/Users/User/.conan/data/bzip2/1.0.6/conan/stable/package/75e25912e815a89189c676daf5f2cf5d81cb3d55/include <search>C:/Users/User/.conan/data/bzip2/1.0.6/conan/stable/package/75e25912e815a89189c676daf5f2cf5d81cb3d55/lib <name>bz2 ;
using "clang-win" : "8" : C:/msys64/mingw64/bin/clang++ :
;
boost/1.70.0@conan/stable: WARN: C:\.conan\0c42c2\1/boost_1_70_0/tools/build/b2.exe target-os=windows architecture=x86 address-model=64 binary-format=pe abi=ms --layout=system -sBOOST_BUILD_PATH=C:\.conan\0c42c2\1/boost_1_70_0/tools/build -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 threading=multi link=static variant=debug --without-python toolset=clang-win define=_GLIBCXX_USE_CXX11_ABI=1 cxxflags="-stdlib=libstdc++" -j8 --abbreviate-paths -d2 --debug-configuration --build-dir="C:/.conan/5b0ee3/1"
notice: found boost-build.jam at C:/.conan/0c42c2/1/boost_1_70_0/boost-build.jam
notice: loading Boost.Build from C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src
notice: Searching 'C:\Users\User' 'C:\msys64\home\User' 'C:\Users\User' 'C:\.conan\0c42c2\1\boost_1_70_0\tools/build/src' 'C:\.conan\0c42c2\1/boost_1_70_0/tools/build' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/kernel' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/util' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/build' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/tools' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/contrib' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/.' for site-config configuration file 'site-config.jam'.
notice: Configuration file 'site-config.jam' not found in 'C:\Users\User' 'C:\msys64\home\User' 'C:\Users\User' 'C:\.conan\0c42c2\1\boost_1_70_0\tools/build/src' 'C:\.conan\0c42c2\1/boost_1_70_0/tools/build' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/kernel' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/util' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/build' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/tools' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/contrib' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/.'.
notice: Searching 'C:\Users\User' 'C:\msys64\home\User' 'C:\Users\User' 'C:\.conan\0c42c2\1\boost_1_70_0\tools/build/src' 'C:\.conan\0c42c2\1/boost_1_70_0/tools/build' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/kernel' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/util' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/build' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/tools' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/contrib' 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/.' for user-config configuration file 'user-config.jam'.
notice: Loading user-config configuration file 'user-config.jam' from 'C:/.conan/0c42c2/1/boost_1_70_0/tools/build'.
notice: [zlib] Using pre-installed library
notice: [zlib] Condition
notice: [bzip2] Using pre-installed library
notice: [bzip2] Condition
notice: [msvc-cfg] msvc-9.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe'
notice: [msvc-cfg] msvc-14.2 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe'
notice: [clang-win] using compiler '"C:/msys64/mingw64/bin/clang++"', version '8'
notice: will use 'C:/msys64/mingw64/bin/clang++' for clang-win, condition <toolset>clang-win-8
C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/tools\clang-win.jam:103: in clang-win.init
*** argument error
* rule regex.replace ( string match replacement )
* called with: ( x64\\+link\.exe x64\ml64.exe )
* missing argument replacement
(builtin):see definition of rule 'regex.replace' being called
C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/build\toolset.jam:44: in toolset.using
C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src/build\project.jam:1104: in using
C:\.conan\0c42c2\1/boost_1_70_0/tools/build\user-config.jam:5: in modules.load
C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src\build-system.jam:255: in load-config
C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src\build-system.jam:453: in load-configuration-files
C:/.conan/0c42c2/1/boost_1_70_0/tools/build/src\build-system.jam:607: in load
C:\.conan\0c42c2\1\boost_1_70_0\tools\build\src/kernel\modules.jam:295: in import
C:\.conan\0c42c2\1\boost_1_70_0\tools\build\src/kernel/bootstrap.jam:139: in boost-build
C:\.conan\0c42c2\1\boost_1_70_0\boost-build.jam:17: in module scope
boost/1.70.0@conan/stable:
boost/1.70.0@conan/stable: ERROR: Package '64ccc6fb1abd6584ac4cdd701651fb992efc3324' build failed
boost/1.70.0@conan/stable: WARN: Build folder C:/.conan/5b0ee3/1
ERROR: boost/1.70.0@conan/stable: Error in build() method, line 421
self.run(full_command)
ConanException: Error 1 while executing C:\.conan\0c42c2\1/boost_1_70_0/tools/build/b2.exe target-os=windows architecture=x86 address-model=64 binary-format=pe abi=ms --layout=system -sBOOST_BUILD_PATH=C:\.conan\0c42c2\1/boost_1_70_0/tools/build -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 threading=multi link=static variant=debug --without-python toolset=clang-win define=_GLIBCXX_USE_CXX11_ABI=1 cxxflags="-stdlib=libstdc++" -j8 --abbreviate-paths -d2 --debug-configuration --build-dir="C:/.conan/5b0ee3/1"
Using a zipped source of a library from github is not an option if it uses submodules as these are not provided in the zip. However by downloading as a zip we also lose the git metadata, so we can't do a "git submodule update" from the recipes' source
method.
How do you plan to deal with these cases?
Hi,
it is really interesting to see the setup of this repository. We're hosting all third-party libraries for in-house consumption in a similar way.
So I am wondering if the Jenkins library code for building / checking all recipes is publicly available somewhere. That would be very, very interesting to see how you are handling it, because we are still struggling on deciding when and what to to rebuild on a PR / how to handle packages which support only one platform / and so on.
Thanks for the feedback!
I'm currently packaging patchelf
, but I'm a bit unhappy with the restrictions on the package layout (KB-H013).
license
directory: I think there should be subdirectories per package the licenses refer to. For easy deployment of a set of packages I've written a custom generator that generates a union of all package trees. This works well for most packages, except for the license files, which often collide. I'd prefer if we stick with prior art and put the licenses in share/licenses/<package-name>
like Arch or share/doc/<package-name>/copyright
like Ubuntu.
Man pages: patchelf
comes with a manpage and it would make sense to ship it and append MANDIR
in package_info
. HIER(7)
recommends to put man pages in share/man
and the build script puts it there, already, but KB-H013 has no notion of share/
.
"Stick everything in bin". This is not always possible. Many packages put internal applications in libexec
to keep them private and to avoid name clashes. For example, a custom compiler might decide to move its linker there to avoid the linker accidentally overriding the system linker when using the system compiler. Qt applications often have a hardcoded custom (relative) search path for plugins and QML modules.
I tihnk I'd prefer if the rule is dropped and packagers are advised to keep the packages as vanilla as possible. Not only because of edge cases that would just end up in fragile patches or post-install steps unknown to the build system being applied, but also to stick with existing conventions in Linux distributions. CMake config files and pkg-config files expect certain files to be at a certain relative location.
In the future I'd like to be able to write custom generators for DEB, RPM and Arch packages and I'd rather avoid reverting Conan-isms while generating a package.
moved from https://github.com/conan-community/community/issues/234, by @firewave
In the latest OpenSSL 1.1.1 the following options are disabled by default and can be removed: no_zlib
, no_md2
, no_rc4
, no_rc5
See https://github.com/openssl/openssl/blob/262c00882a2fd7cf16672bf467a86f75b4098a7c/Configure#L449
Also as zlib is no longer needed the dependency can be removed as well.
Hi!
When a build is finished on a PR, the total packages created on that build is showed by the conan-center-bot. So far, so good, but when we have unexpected errors, like Jenkins problems, we need to cancel and start a new job, at end, conan-center-bot will show only what was built on this new build, not the total, which makes sense, since we don't want to re-build all packages again.
However, the result is a bit confusing, since we don't the total number of packages, even summing all partial results, because an internal error does not expose how many packages were built.
Related PR: #84
An idea is showing both partial result + total result:
It'd be nice to explicitly state in contribution guidelines such rules that would allow Conan repository to not be against the world, but play nicely with it.
After the Components feature comes in, each contribution should specify names in the cppinfo
in accordance with the upstream project's build scripts. Would allow users of these libraries in the native build system to plug&play Conan.
Extending #21, we should check if there same packages in the Vcpkg, another fairly popular dependency manager, and name our projects the same if so (though I understand that there could be moments when we can't).
When there are problems with Bintray, the bintray status page is not automatically updated, so users are reporting apparently before the Bintray team got notification about those errors.
I suggest:
The service should generate packages for GCC 9.
If added the wiki should be updated as well: https://github.com/conan-io/conan-center-index/wiki/Supported-Platforms-And-Configurations
moved from https://github.com/conan-community/community/issues/162, by @Johnnyxy
hi there,
I have a problem with the boost recipe. The recipe executes python scripts to detect the current version and other stuff. But for cross-compiling I need to specify the python libs which boost should be linked with by myself. I cannot rely on any autodetection the boost recipe does.
You can test this easily by "cross-building" boost on Windows from e.g. x86_64 to x86.
os_build = "Windows"
os_arch = "x86_64"
os = "Windows"
arch = "x86"
When I am executing a Python x86_64 (64 bit) then the boost recipe would try to link against the wrong libs which it detects in the executing Python (x86_64) path.
The same applies to the Python version. If I want to link against Python 3.6 (target machine) but running Conan (build machine) with Python 3.7. Again the boost recipe tries to link against 3.7 (detected for the build machine) not 3.6 for the target machine.
Did I overlook something or is this not possible with the current boost recipe?
Best regards
moved from https://github.com/conan-community/community/issues/123, by @barcharcraz
building boost with python builds boost_numpy depending on if numpy happens to be installed on the building machine.
boost/1.69.0@conan/stable
Hi!
When a PR fails I receive 3 logs, the profile, error log (stderr) and the regular build log (stdout). So far, so good, but how could I check if a successfully build is missing something? For now I can't read all build logs as exposed when running Appveyor or any other CI service.
Possible solution: Generates a table with profiles, where we can read the logs based on package id a specific setting, like compiler version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.