Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package] libarchive/3.7.4: openssl/3.2.1 integration issue #23929

Open
james94 opened this issue May 8, 2024 · 0 comments
Open

[package] libarchive/3.7.4: openssl/3.2.1 integration issue #23929

james94 opened this issue May 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@james94
Copy link

james94 commented May 8, 2024

Description

When I create the libarchive conan package with_openssl set to True, I get the following error when building the conan package and we see it coming from not being able to find openssl::openssl target:

-- Checking support for ARCHIVE_CRYPTO_MD5_OPENSSL
CMake Error at /home/ubuntu/.conan2/p/b/libarbbefef0fb88dc/b/build/Release/CMakeFiles/CMakeTmp/CMakeLists.txt:17 (target_link_libraries):
  Target "cmTC_669d2" links to:

    openssl::openssl

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



CMake Error at CMakeLists.txt:890 (TRY_COMPILE):
  Failed to generate test project build system.
Call Stack (most recent call first):
  CMakeLists.txt:1998 (CHECK_CRYPTO)

Package and Environment Details

  • Package Name/Version: libarchive/3.7.4
  • Operating System+version: Linux Ubuntu 22.04
  • Compiler+version: GCC 11.4.0
  • Docker image: My Own Image with Ubuntu 22.04 and GCC 11.4.0
  • Conan version: conan 2.2.3
  • Python version: Python 3.10.12

Conan profile

[settings]
os=Linux
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu20
compiler.libcxx=libstdc++11
compiler.version=11
[conf]
tools.system.package_manager:mode=install
tools.system.package_manager:sudo=True
[options]

Steps to reproduce

pushd libarchive/all

path to profile will be different, but you can use the profile I shared above

conan create . --version=3.7.4 --user=minifi --channel=dev --build=missing -pr=$HOME/src/james/pipeline/nifi-minifi-cpp/etc/build/conan/profiles/release-linux

Logs

When I build libarchive with_openssl set to True, I get the following error when creating the libarchive conan package:
======== Exporting recipe to the cache ========
libarchive/3.7.4@minifi/dev: Exporting package recipe: /home/ubuntu/src/james/pipeline/nifi-minifi-cpp/thirdparty/libarchive/all/conanfile.py
libarchive/3.7.4@minifi/dev: exports: File 'conandata.yml' found. Exporting it...
libarchive/3.7.4@minifi/dev: Calling export_sources()
libarchive/3.7.4@minifi/dev: Copied 1 '.yml' file: conandata.yml
libarchive/3.7.4@minifi/dev: Copied 1 '.py' file: conanfile.py
libarchive/3.7.4@minifi/dev: Copied 4 '.patch' files: 0006-3.7.4-fix-msvc-build.patch, 0005-3.7.4-try-compile-cmakedeps.patch, 0003-3.7.4-cmake.patch, 0001-3.7.4-zlib-winapi.patch
libarchive/3.7.4@minifi/dev: Exported to cache folder: /home/ubuntu/.conan2/p/libarc18fcf6c454b4/e
libarchive/3.7.4@minifi/dev: Exported: libarchive/3.7.4@minifi/dev#f6e37ac7ce120540347db7a200ba71a9 (2024-05-08 17:32:57 UTC)

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu20
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux
[conf]
tools.system.package_manager:mode=install
tools.system.package_manager:sudo=True

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu17
compiler.libcxx=libstdc++11
compiler.version=11
os=Linux


======== Computing dependency graph ========
openssl/3.2.1: Not found in local cache, looking in remotes...
openssl/3.2.1: Checking remote: conancenter
openssl/3.2.1: Downloaded recipe revision c7b554068caae5eda12b735ea6f23d70
Graph root
    cli
Requirements
    bzip2/1.0.8@minifi/dev#38d5e7f1fbb5bb05ef3cfaf68eb63c86 - Cache
    libarchive/3.7.4@minifi/dev#f6e37ac7ce120540347db7a200ba71a9 - Cache
    openssl/3.2.1#c7b554068caae5eda12b735ea6f23d70 - Downloaded (conancenter)
    xz_utils/5.2.5@minifi/dev#11b30a06aae96bd8f3c63fa5cd1b0a7f - Cache
    zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache
Resolved version ranges
    openssl/[>=1.1 <4]: openssl/3.2.1
    zlib/[>=1.2.11 <2]: zlib/1.3.1

======== Computing necessary packages ========
Requirements
    bzip2/1.0.8@minifi/dev#38d5e7f1fbb5bb05ef3cfaf68eb63c86:763ddd53d7a4775fe84a285f56005a096d9786fd#499c6dbb5f5df9bdb08f158de56c4056 - Cache
    libarchive/3.7.4@minifi/dev#f6e37ac7ce120540347db7a200ba71a9:be74adc1185d2280cf913b2a0a451618f79e170b - Build
    openssl/3.2.1#c7b554068caae5eda12b735ea6f23d70:ba0c965640dfc9185194d683d05bfbe6419b47a3#d1726bfc4b66d9392fb7e73a90ed3d9c - Download (conancenter)
    xz_utils/5.2.5@minifi/dev#11b30a06aae96bd8f3c63fa5cd1b0a7f:77795c4b03b9982eac49976e61e767387558d8cf#13f30a8e8ea83f21f34ec68dc4b44393 - Cache
    zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:b647c43bfefae3f830561ca202b6cfd935b56205#6b307bbcbae23635c4006543ffdbf3ef - Cache

======== Installing packages ========

-------- Downloading 1 package --------
openssl/3.2.1: Retrieving package ba0c965640dfc9185194d683d05bfbe6419b47a3 from remote 'conancenter' 
openssl/3.2.1: Package installed ba0c965640dfc9185194d683d05bfbe6419b47a3
openssl/3.2.1: Downloaded package revision d1726bfc4b66d9392fb7e73a90ed3d9c
bzip2/1.0.8@minifi/dev: Already installed! (1 of 5)
xz_utils/5.2.5@minifi/dev: Already installed! (2 of 5)
zlib/1.3.1: Already installed! (3 of 5)
libarchive/3.7.4@minifi/dev: Calling source() in /home/ubuntu/.conan2/p/libarc18fcf6c454b4/s/src

-------- Installing package libarchive/3.7.4@minifi/dev (5 of 5) --------
libarchive/3.7.4@minifi/dev: Building from source
libarchive/3.7.4@minifi/dev: Package libarchive/3.7.4@minifi/dev:be74adc1185d2280cf913b2a0a451618f79e170b
libarchive/3.7.4@minifi/dev: Copying sources to build folder
libarchive/3.7.4@minifi/dev: Building your package in /home/ubuntu/.conan2/p/b/libare8952ef992ca9/b
libarchive/3.7.4@minifi/dev: Calling generate()
libarchive/3.7.4@minifi/dev: Generators folder: /home/ubuntu/.conan2/p/b/libare8952ef992ca9/b/build/Release/generators
libarchive/3.7.4@minifi/dev: CMakeDeps necessary find_package() and targets for your CMakeLists.txt
    find_package(BZip2)
    find_package(OpenSSL)
    find_package(ZLIB)
    find_package(LibLZMA)
    target_link_libraries(... BZip2::BZip2 openssl::openssl ZLIB::ZLIB LibLZMA::LibLZMA)
libarchive/3.7.4@minifi/dev: CMakeToolchain generated: conan_toolchain.cmake
libarchive/3.7.4@minifi/dev: CMakeToolchain generated: CMakePresets.json
libarchive/3.7.4@minifi/dev: CMakeToolchain generated: ../../../src/CMakeUserPresets.json
libarchive/3.7.4@minifi/dev: Generating aggregated env files
libarchive/3.7.4@minifi/dev: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
libarchive/3.7.4@minifi/dev: Calling build()
libarchive/3.7.4@minifi/dev: Apply patch (portability): Remove broken ZLIB WINAPI check
libarchive/3.7.4@minifi/dev: Apply patch (conan): Make CMake build-system compatible with Conan
libarchive/3.7.4@minifi/dev: Apply patch (conan): Patch try_compile check to work with imported CMake targets from Conan packages
libarchive/3.7.4@minifi/dev: Apply patch (conan): Fix MSVC build
libarchive/3.7.4@minifi/dev: Running CMake.configure()
libarchive/3.7.4@minifi/dev: RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/ubuntu/.conan2/p/b/libare8952ef992ca9/b/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/ubuntu/.conan2/p/b/libare8952ef992ca9/p" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/ubuntu/.conan2/p/b/libare8952ef992ca9/b/src"
-- Using Conan toolchain: /home/ubuntu/.conan2/p/b/libare8952ef992ca9/b/build/Release/generators/conan_toolchain.cmake
-- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC)
-- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
-- The C compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Conan: Target declared 'ZLIB::ZLIB'
-- Conan: Target declared 'BZip2::BZip2'
-- Conan: Including build module from '/home/ubuntu/.conan2/p/b/bzip2bcf1f31794423/p/lib/cmake/conan-official-bzip2-variables.cmake'
-- Conan: Target declared 'LibLZMA::LibLZMA'
-- Conan: Including build module from '/home/ubuntu/.conan2/p/b/xz_uted81967ad0e26/p/lib/cmake/conan-official-xz_utils-variables.cmake'
-- Performing Test HAVE_LZMA_STREAM_ENCODER_MT
-- Performing Test HAVE_LZMA_STREAM_ENCODER_MT - Failed
-- Performing Test HAVE_DIRENT_H
-- Performing Test HAVE_DIRENT_H - Success
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include files sys/types.h, acl/libacl.h
-- Looking for include files sys/types.h, acl/libacl.h - not found
-- Looking for include files sys/types.h, attr/xattr.h
-- Looking for include files sys/types.h, attr/xattr.h - not found
-- Looking for include files sys/types.h, ctype.h
-- Looking for include files sys/types.h, ctype.h - found
-- Looking for 3 include files sys/types.h, ..., copyfile.h
-- Looking for 3 include files sys/types.h, ..., copyfile.h - not found
-- Looking for 3 include files sys/types.h, ..., direct.h
-- Looking for 3 include files sys/types.h, ..., direct.h - not found
-- Looking for 3 include files sys/types.h, ..., dlfcn.h
-- Looking for 3 include files sys/types.h, ..., dlfcn.h - found
-- Looking for 4 include files sys/types.h, ..., errno.h
-- Looking for 4 include files sys/types.h, ..., errno.h - found
-- Looking for 5 include files sys/types.h, ..., ext2fs/ext2_fs.h
-- Looking for 5 include files sys/types.h, ..., ext2fs/ext2_fs.h - not found
-- Performing Test HAVE_WORKING_EXT2_IOC_GETFLAGS
-- Performing Test HAVE_WORKING_EXT2_IOC_GETFLAGS - Failed
-- Looking for 5 include files sys/types.h, ..., fcntl.h
-- Looking for 5 include files sys/types.h, ..., fcntl.h - found
-- Looking for 6 include files sys/types.h, ..., fnmatch.h
-- Looking for 6 include files sys/types.h, ..., fnmatch.h - found
-- Looking for 7 include files sys/types.h, ..., grp.h
-- Looking for 7 include files sys/types.h, ..., grp.h - found
-- Looking for 8 include files sys/types.h, ..., inttypes.h
-- Looking for 8 include files sys/types.h, ..., inttypes.h - found
-- Looking for 9 include files sys/types.h, ..., io.h
-- Looking for 9 include files sys/types.h, ..., io.h - not found
-- Looking for 9 include files sys/types.h, ..., langinfo.h
-- Looking for 9 include files sys/types.h, ..., langinfo.h - found
-- Looking for 10 include files sys/types.h, ..., limits.h
-- Looking for 10 include files sys/types.h, ..., limits.h - found
-- Looking for 11 include files sys/types.h, ..., linux/types.h
-- Looking for 11 include files sys/types.h, ..., linux/types.h - found
-- Looking for 12 include files sys/types.h, ..., linux/fiemap.h
-- Looking for 12 include files sys/types.h, ..., linux/fiemap.h - found
-- Looking for 13 include files sys/types.h, ..., linux/fs.h
-- Looking for 13 include files sys/types.h, ..., linux/fs.h - found
-- Performing Test HAVE_WORKING_FS_IOC_GETFLAGS
-- Performing Test HAVE_WORKING_FS_IOC_GETFLAGS - Success
-- Looking for 14 include files sys/types.h, ..., linux/magic.h
-- Looking for 14 include files sys/types.h, ..., linux/magic.h - found
-- Looking for 15 include files sys/types.h, ..., locale.h
-- Looking for 15 include files sys/types.h, ..., locale.h - found
-- Looking for 16 include files sys/types.h, ..., membership.h
-- Looking for 16 include files sys/types.h, ..., membership.h - not found
-- Looking for 16 include files sys/types.h, ..., memory.h
-- Looking for 16 include files sys/types.h, ..., memory.h - found
-- Looking for 17 include files sys/types.h, ..., paths.h
-- Looking for 17 include files sys/types.h, ..., paths.h - found
-- Looking for 18 include files sys/types.h, ..., poll.h
-- Looking for 18 include files sys/types.h, ..., poll.h - found
-- Looking for 19 include files sys/types.h, ..., process.h
-- Looking for 19 include files sys/types.h, ..., process.h - not found
-- Looking for 19 include files sys/types.h, ..., pthread.h
-- Looking for 19 include files sys/types.h, ..., pthread.h - found
-- Looking for 20 include files sys/types.h, ..., pwd.h
-- Looking for 20 include files sys/types.h, ..., pwd.h - found
-- Looking for 21 include files sys/types.h, ..., readpassphrase.h
-- Looking for 21 include files sys/types.h, ..., readpassphrase.h - not found
-- Looking for 21 include files sys/types.h, ..., regex.h
-- Looking for 21 include files sys/types.h, ..., regex.h - found
-- Looking for 22 include files sys/types.h, ..., signal.h
-- Looking for 22 include files sys/types.h, ..., signal.h - found
-- Looking for 23 include files sys/types.h, ..., spawn.h
-- Looking for 23 include files sys/types.h, ..., spawn.h - found
-- Looking for 24 include files sys/types.h, ..., stdarg.h
-- Looking for 24 include files sys/types.h, ..., stdarg.h - found
-- Looking for 25 include files sys/types.h, ..., stdint.h
-- Looking for 25 include files sys/types.h, ..., stdint.h - found
-- Looking for 26 include files sys/types.h, ..., stdlib.h
-- Looking for 26 include files sys/types.h, ..., stdlib.h - found
-- Looking for 27 include files sys/types.h, ..., string.h
-- Looking for 27 include files sys/types.h, ..., string.h - found
-- Looking for 28 include files sys/types.h, ..., strings.h
-- Looking for 28 include files sys/types.h, ..., strings.h - found
-- Looking for 29 include files sys/types.h, ..., sys/acl.h
-- Looking for 29 include files sys/types.h, ..., sys/acl.h - not found
-- Looking for 29 include files sys/types.h, ..., sys/cdefs.h
-- Looking for 29 include files sys/types.h, ..., sys/cdefs.h - found
-- Looking for 30 include files sys/types.h, ..., sys/extattr.h
-- Looking for 30 include files sys/types.h, ..., sys/extattr.h - not found
-- Looking for 30 include files sys/types.h, ..., sys/ioctl.h
-- Looking for 30 include files sys/types.h, ..., sys/ioctl.h - found
-- Looking for 31 include files sys/types.h, ..., sys/mkdev.h
-- Looking for 31 include files sys/types.h, ..., sys/mkdev.h - not found
-- Looking for 31 include files sys/types.h, ..., sys/mount.h
-- Looking for 31 include files sys/types.h, ..., sys/mount.h - not found
-- Looking for 31 include files sys/types.h, ..., sys/param.h
-- Looking for 31 include files sys/types.h, ..., sys/param.h - found
-- Looking for 32 include files sys/types.h, ..., sys/poll.h
-- Looking for 32 include files sys/types.h, ..., sys/poll.h - found
-- Looking for 33 include files sys/types.h, ..., sys/queue.h
-- Looking for 33 include files sys/types.h, ..., sys/queue.h - found
-- Looking for 34 include files sys/types.h, ..., sys/richacl.h
-- Looking for 34 include files sys/types.h, ..., sys/richacl.h - not found
-- Looking for 34 include files sys/types.h, ..., sys/select.h
-- Looking for 34 include files sys/types.h, ..., sys/select.h - found
-- Looking for 35 include files sys/types.h, ..., sys/stat.h
-- Looking for 35 include files sys/types.h, ..., sys/stat.h - found
-- Looking for 36 include files sys/types.h, ..., sys/statfs.h
-- Looking for 36 include files sys/types.h, ..., sys/statfs.h - found
-- Looking for 37 include files sys/types.h, ..., sys/statvfs.h
-- Looking for 37 include files sys/types.h, ..., sys/statvfs.h - found
-- Looking for 38 include files sys/types.h, ..., sys/sysmacros.h
-- Looking for 38 include files sys/types.h, ..., sys/sysmacros.h - found
-- Looking for 39 include files sys/types.h, ..., sys/time.h
-- Looking for 39 include files sys/types.h, ..., sys/time.h - found
-- Looking for 40 include files sys/types.h, ..., sys/utime.h
-- Looking for 40 include files sys/types.h, ..., sys/utime.h - not found
-- Looking for 40 include files sys/types.h, ..., sys/utsname.h
-- Looking for 40 include files sys/types.h, ..., sys/utsname.h - found
-- Looking for 41 include files sys/types.h, ..., sys/vfs.h
-- Looking for 41 include files sys/types.h, ..., sys/vfs.h - found
-- Looking for 42 include files sys/types.h, ..., sys/wait.h
-- Looking for 42 include files sys/types.h, ..., sys/wait.h - found
-- Looking for 43 include files sys/types.h, ..., sys/xattr.h
-- Looking for 43 include files sys/types.h, ..., sys/xattr.h - found
-- Looking for 44 include files sys/types.h, ..., time.h
-- Looking for 44 include files sys/types.h, ..., time.h - found
-- Looking for 45 include files sys/types.h, ..., unistd.h
-- Looking for 45 include files sys/types.h, ..., unistd.h - found
-- Looking for 46 include files sys/types.h, ..., utime.h
-- Looking for 46 include files sys/types.h, ..., utime.h - found
-- Looking for 47 include files sys/types.h, ..., wchar.h
-- Looking for 47 include files sys/types.h, ..., wchar.h - found
-- Looking for 48 include files sys/types.h, ..., wctype.h
-- Looking for 48 include files sys/types.h, ..., wctype.h - found
-- Looking for 49 include files sys/types.h, ..., windows.h
-- Looking for 49 include files sys/types.h, ..., windows.h - not found
-- Looking for 49 include files sys/types.h, ..., wincrypt.h
-- Looking for 49 include files sys/types.h, ..., wincrypt.h - not found
-- Looking for 49 include files sys/types.h, ..., winioctl.h
-- Looking for 49 include files sys/types.h, ..., winioctl.h - not found
-- Performing Test SAFE_TO_DEFINE_EXTENSIONS
-- Performing Test SAFE_TO_DEFINE_EXTENSIONS - Success
-- Conan: Component target declared 'OpenSSL::Crypto'
-- Conan: Component target declared 'OpenSSL::SSL'
-- Conan: Target declared 'openssl::openssl'
-- Conan: Including build module from '/home/ubuntu/.conan2/p/opens8d497900e3fd5/p/lib/cmake/conan-official-openssl-variables.cmake'
-- Looking for 49 include files sys/types.h, ..., openssl/evp.h
-- Looking for 49 include files sys/types.h, ..., openssl/evp.h - found
-- Looking for PKCS5_PBKDF2_HMAC_SHA1
-- Looking for PKCS5_PBKDF2_HMAC_SHA1 - found
-- Looking for regcomp
-- Looking for regcomp - found
-- Looking for _CrtSetReportMode
-- Looking for _CrtSetReportMode - not found
-- Looking for arc4random_buf
-- Looking for arc4random_buf - not found
-- Looking for chown
-- Looking for chown - found
-- Looking for chroot
-- Looking for chroot - found
-- Looking for ctime_r
-- Looking for ctime_r - found
-- Looking for fchdir
-- Looking for fchdir - found
-- Looking for fchmod
-- Looking for fchmod - found
-- Looking for fchown
-- Looking for fchown - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for fdopendir
-- Looking for fdopendir - found
-- Looking for fnmatch
-- Looking for fnmatch - found
-- Looking for fork
-- Looking for fork - found
-- Looking for fstat
-- Looking for fstat - found
-- Looking for fstatat
-- Looking for fstatat - found
-- Looking for fstatfs
-- Looking for fstatfs - found
-- Looking for fstatvfs
-- Looking for fstatvfs - found
-- Looking for ftruncate
-- Looking for ftruncate - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for futimesat
-- Looking for futimesat - found
-- Looking for geteuid
-- Looking for geteuid - found
-- Looking for getgrgid_r
-- Looking for getgrgid_r - found
-- Looking for getgrnam_r
-- Looking for getgrnam_r - found
-- Looking for getline
-- Looking for getline - found
-- Looking for getpwnam_r
-- Looking for getpwnam_r - found
-- Looking for getpwuid_r
-- Looking for getpwuid_r - found
-- Looking for getpid
-- Looking for getpid - found
-- Looking for getvfsbyname
-- Looking for getvfsbyname - not found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for lchflags
-- Looking for lchflags - not found
-- Looking for lchmod
-- Looking for lchmod - found
-- Looking for lchown
-- Looking for lchown - found
-- Looking for link
-- Looking for link - found
-- Looking for linkat
-- Looking for linkat - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for lstat
-- Looking for lstat - found
-- Looking for lutimes
-- Looking for lutimes - found
-- Looking for mbrtowc
-- Looking for mbrtowc - found
-- Looking for mkdir
-- Looking for mkdir - found
-- Looking for mkfifo
-- Looking for mkfifo - found
-- Looking for mknod
-- Looking for mknod - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for nl_langinfo
-- Looking for nl_langinfo - found
-- Looking for openat
-- Looking for openat - found
-- Looking for pipe
-- Looking for pipe - found
-- Looking for poll
-- Looking for poll - found
-- Looking for posix_spawnp
-- Looking for posix_spawnp - found
-- Looking for readlink
-- Looking for readlink - found
-- Looking for readpassphrase
-- Looking for readpassphrase - not found
-- Looking for select
-- Looking for select - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for setlocale
-- Looking for setlocale - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for statfs
-- Looking for statfs - found
-- Looking for statvfs
-- Looking for statvfs - found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strncpy_s
-- Looking for strncpy_s - not found
-- Looking for strnlen
-- Looking for strnlen - found
-- Looking for strrchr
-- Looking for strrchr - found
-- Looking for symlink
-- Looking for symlink - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for tzset
-- Looking for tzset - found
-- Looking for unlinkat
-- Looking for unlinkat - found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for utime
-- Looking for utime - found
-- Looking for utimes
-- Looking for utimes - found
-- Looking for utimensat
-- Looking for utimensat - found
-- Looking for vfork
-- Looking for vfork - found
-- Looking for _fseeki64
-- Looking for _fseeki64 - not found
-- Looking for _get_timezone
-- Looking for _get_timezone - not found
-- Looking for ctime_s
-- Looking for ctime_s - not found
-- Looking for gmtime_s
-- Looking for gmtime_s - not found
-- Looking for localtime_s
-- Looking for localtime_s - not found
-- Looking for _mkgmtime
-- Looking for _mkgmtime - not found
-- Looking for cygwin_conv_path
-- Looking for cygwin_conv_path - not found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strftime
-- Looking for strftime - found
-- Performing Test HAVE_STRUCT_VFSCONF
-- Performing Test HAVE_STRUCT_VFSCONF - Failed
-- Performing Test HAVE_STRUCT_XVFSCONF
-- Performing Test HAVE_STRUCT_XVFSCONF - Failed
-- Performing Test HAVE_STRUCT_STATFS
-- Performing Test HAVE_STRUCT_STATFS - Failed
-- Performing Test HAVE_READDIR_R
-- Performing Test HAVE_READDIR_R - Success
-- Performing Test HAVE_DIRFD
-- Performing Test HAVE_DIRFD - Success
-- Performing Test HAVE_READLINKAT
-- Performing Test HAVE_READLINKAT - Success
-- Performing Test MAJOR_IN_MKDEV
-- Performing Test MAJOR_IN_MKDEV - Failed
-- Performing Test MAJOR_IN_SYSMACROS
-- Performing Test MAJOR_IN_SYSMACROS - Success
-- Looking for EFTYPE
-- Looking for EFTYPE - not found
-- Looking for EILSEQ
-- Looking for EILSEQ - found
-- Looking for D_MD_ORDER
-- Looking for D_MD_ORDER - not found
-- Looking for INT32_MAX
-- Looking for INT32_MAX - found
-- Looking for INT32_MIN
-- Looking for INT32_MIN - found
-- Looking for INT64_MAX
-- Looking for INT64_MAX - found
-- Looking for INT64_MIN
-- Looking for INT64_MIN - found
-- Looking for INTMAX_MAX
-- Looking for INTMAX_MAX - found
-- Looking for INTMAX_MIN
-- Looking for INTMAX_MIN - found
-- Looking for UINT32_MAX
-- Looking for UINT32_MAX - found
-- Looking for UINT64_MAX
-- Looking for UINT64_MAX - found
-- Looking for UINTMAX_MAX
-- Looking for UINTMAX_MAX - found
-- Looking for SIZE_MAX
-- Looking for SIZE_MAX - found
-- Looking for SSIZE_MAX
-- Looking for SSIZE_MAX - found
-- Performing Test HAVE_STRUCT_TM_TM_GMTOFF
-- Performing Test HAVE_STRUCT_TM_TM_GMTOFF - Success
-- Performing Test HAVE_STRUCT_TM___TM_GMTOFF
-- Performing Test HAVE_STRUCT_TM___TM_GMTOFF - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIME - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_N
-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_N - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_UMTIME
-- Performing Test HAVE_STRUCT_STAT_ST_UMTIME - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_USEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIME_USEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE
-- Performing Test HAVE_STRUCT_STAT_ST_BLKSIZE - Success
-- Performing Test HAVE_STRUCT_STAT_ST_FLAGS
-- Performing Test HAVE_STRUCT_STAT_ST_FLAGS - Failed
-- Performing Test HAVE_STRUCT_STATVFS_F_IOSIZE
-- Performing Test HAVE_STRUCT_STATVFS_F_IOSIZE - Failed
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Check size of unsigned
-- Check size of unsigned - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Check size of __int64
-- Check size of __int64 - failed
-- Check size of unsigned __int64
-- Check size of unsigned __int64 - failed
-- Check size of int16_t
-- Check size of int16_t - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of intmax_t
-- Check size of intmax_t - done
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Check size of uintmax_t
-- Check size of uintmax_t - done
-- Check size of dev_t
-- Check size of dev_t - done
-- Check size of gid_t
-- Check size of gid_t - done
-- Check size of id_t
-- Check size of id_t - done
-- Check size of mode_t
-- Check size of mode_t - done
-- Check size of off_t
-- Check size of off_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of uid_t
-- Check size of uid_t - done
-- Check size of pid_t
-- Check size of pid_t - done
-- Check size of intptr_t
-- Check size of intptr_t - done
-- Check size of uintptr_t
-- Check size of uintptr_t - done
-- Check size of wchar_t
-- Check size of wchar_t - done
-- Checking _FILE_OFFSET_BITS for large files
-- Checking _FILE_OFFSET_BITS for large files - not needed
-- Looking for setxattr in attr
-- Looking for setxattr in attr - not found
-- Looking for setxattr in gnu
-- Looking for setxattr in gnu - not found
-- Looking for EXTATTR_NAMESPACE_USER
-- Looking for EXTATTR_NAMESPACE_USER - not found
-- Looking for XATTR_NOFOLLOW
-- Looking for XATTR_NOFOLLOW - not found
-- Looking for fgetxattr
-- Looking for fgetxattr - found
-- Looking for flistxattr
-- Looking for flistxattr - found
-- Looking for fsetxattr
-- Looking for fsetxattr - found
-- Looking for getxattr
-- Looking for getxattr - found
-- Looking for lgetxattr
-- Looking for lgetxattr - found
-- Looking for listxattr
-- Looking for listxattr - found
-- Looking for llistxattr
-- Looking for llistxattr - found
-- Looking for lsetxattr
-- Looking for lsetxattr - found
-- Extended attributes support: Linux
-- Looking for acl
-- Looking for acl - not found
-- Looking for facl
-- Looking for facl - not found
-- Looking for acl_get_file in acl
-- Looking for acl_get_file in acl - not found
-- Performing Test HAVE_ACL_T
-- Performing Test HAVE_ACL_T - Failed
-- Performing Test HAVE_ACL_ENTRY_T
-- Performing Test HAVE_ACL_ENTRY_T - Failed
-- Performing Test HAVE_ACL_PERMSET_T
-- Performing Test HAVE_ACL_PERMSET_T - Failed
-- Performing Test HAVE_ACL_TAG_T
-- Performing Test HAVE_ACL_TAG_T - Failed
-- Looking for richacl_get_file in richacl
-- Looking for richacl_get_file in richacl - not found
-- Performing Test HAVE_STRUCT_RICHACE
-- Performing Test HAVE_STRUCT_RICHACE - Failed
-- Performing Test HAVE_STRUCT_RICHACL
-- Performing Test HAVE_STRUCT_RICHACL - Failed
-- ACL support: none
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBC
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBC
-- Checking support for ARCHIVE_CRYPTO_RMD160_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBC
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC2
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC2 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC2
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC2 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC2
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC2 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC3
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBC3 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC3
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBC3 -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC3
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBC3 -- not found
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM
-- Checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM -- not found
-- Checking support for ARCHIVE_CRYPTO_MD5_OPENSSL
CMake Error at /home/ubuntu/.conan2/p/b/libare8952ef992ca9/b/build/Release/CMakeFiles/CMakeTmp/CMakeLists.txt:17 (target_link_libraries):
  Target "cmTC_e246a" links to:

    openssl::openssl

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



CMake Error at CMakeLists.txt:941 (TRY_COMPILE):
  Failed to generate test project build system.
Call Stack (most recent call first):
  CMakeLists.txt:2121 (CHECK_CRYPTO)


-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/.conan2/p/b/libare8952ef992ca9/b/build/Release/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/.conan2/p/b/libare8952ef992ca9/b/build/Release/CMakeFiles/CMakeError.log".

libarchive/3.7.4@minifi/dev: ERROR: 
Package 'be74adc1185d2280cf913b2a0a451618f79e170b' build failed
libarchive/3.7.4@minifi/dev: WARN: Build folder /home/ubuntu/.conan2/p/b/libare8952ef992ca9/b/build/Release
ERROR: libarchive/3.7.4@minifi/dev: Error in build() method, line 174
	cmake.configure()
	ConanException: Error 1 while executing
@james94 james94 added the bug Something isn't working label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant