weixin_39795419
weixin_39795419
2020-12-09 00:49

libcurl/7.60.0 broken

Description of Problem, Request, or Question

Package Details (Include if Applicable)

  • Package Name/Version: libcurl/7.60.0/stable
  • Operating System: MacOS 10.13
  • Compiler+version: Apple LLVM version 10.0.0 (clang-1000.10.44.2)

Steps to reproduce (Include if Applicable)

Upgraded to Xcode 10.0

Updated my Conan profile:


┌─[adam][hapkido][~]
└─▪ conan profile show cdt
Configuration for profile cdt:

[settings]
os=Macos
os_build=Macos
arch=x86_64
arch_build=x86_64
compiler=apple-clang
compiler.version=10.0
compiler.libcxx=libc++
build_type=Release
[options]
[build_requires]
[env]

Removed all old Conan packages.

~~~ ┌─[adam][hapkido][±][feature/refactor-simplicial-manifold {1} U:4 ✗][~/CDT-plusplus] └─▪ conan search There are no packages ~~~ Ran my build script https://github.com/acgetchell/CDT-plusplus/blob/develop/build.sh ~~~

! /bin/bash

rm -rf build/ mkdir build && cd build

cmake -G Ninja -DTESTS:BOOL=ON -DCMAKE_BUILD_TYPE=Debug ..

cmake --build .

conan install .. -pr cdt --build=missing conan build .. ctest ~~~ LibCurl is showing errors:

~~~ [==================================================] 213.9KB/213.9KB
libcurl/7.60.0/stable: Copying sources to build folder libcurl/7.60.0/stable: Generator cmake created conanbuildinfo.cmake libcurl/7.60.0/stable: Calling build() libcurl/7.60.0/stable: Autotools env vars: {'CPPFLAGS': '-I/Users/adam/.conan/data/zlib/1.2.11/conan/stable/package/bad7dd1e4b5daf2b9ae8e3ca2e4397d55b8d3583/include -DNDEBUG', 'CXXFLAGS': '-m64 -O3 -fPIC', 'CFLAGS': '-m64 -O3 -fPIC', 'LDFLAGS': '-m64 -L/Users/adam/.conan/data/zlib/1.2.11/conan/stable/package/bad7dd1e4b5daf2b9ae8e3ca2e4397d55b8d3583/lib', 'LIBS': '-lz'} libcurl/7.60.0/stable: Run vars: {'DYLD_LIBRARY_PATH': ['/Users/adam/.conan/data/zlib/1.2.11/conan/stable/package/bad7dd1e4b5daf2b9ae8e3ca2e4397d55b8d3583/lib'], 'LD_LIBRARY_PATH': ['/Users/adam/.conan/data/zlib/1.2.11/conan/stable/package/bad7dd1e4b5daf2b9ae8e3ca2e4397d55b8d3583/lib'], 'PATH': []} buildconf: autoconf version 2.69 (ok) buildconf: autom4te version 2.69 (ok) buildconf: autoheader version 2.69 (ok) buildconf: automake not found. You need automake version 1.7 or newer installed. libcurl/7.60.0/stable: libcurl/7.60.0/stable: ERROR: Package '464a888583d7cc5ec12267912e9a8e3cdb9cf25e' build failed libcurl/7.60.0/stable: WARN: Build folder /Users/adam/.conan/data/libcurl/7.60.0/bincrafters/stable/build/464a888583d7cc5ec12267912e9a8e3cdb9cf25e ERROR: libcurl/7.60.0/stable: Error in build() method, line 142 self.build_with_autotools() while calling 'build_with_autotools', line 364 self.run('./buildconf', win_bash=self.is_mingw) ConanException: Error 256 while executing ./buildconf ERROR: conanbuildinfo.txt file not found in /Users/adam/CDT-plusplus/build It is required for this command You can generate it using 'conan install'

No test configuration file found!

Usage

ctest [options] ~~~

该提问来源于开源项目:bincrafters/community

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39978696 weixin_39978696 4月前

    Do you have automake installed on your system? On macOS it is usually brought by brew install automake.

    点赞 评论 复制链接分享
  • weixin_39795419 weixin_39795419 4月前

    Either it wasn't required before, or when I updated to Xcode 10 that tooling was left out.

    点赞 评论 复制链接分享
  • weixin_39978696 weixin_39978696 4月前

    I think previously libcurl was installed as precompiled (so a build requirement automake was not required). When you have upgraded to newer Xcode, clang versions changes and it's needed to recompile a package.

    点赞 评论 复制链接分享
  • weixin_39978696 weixin_39978696 4月前

    I think it is solved. Please reopen if the problem reappears.

    点赞 评论 复制链接分享