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

getdns: update dependencies, enable libuv and support cross compiling #12020

Closed
wants to merge 5 commits into from

Conversation

toge
Copy link
Contributor

@toge toge commented Aug 3, 2022

Specify library name and version: getdns/*

  • update dependencies
  • fix compilation error when with_libuv=True

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@toge toge changed the title getdns: update dependencies and enable libuv getdns: update dependencies, enable libuv and support cross compiling Aug 3, 2022
@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Failure in build 5 (65ba52508261e09557c97a5346599181daecbea6):

  • getdns/1.6.0@:
    CI failed to create some packages (All logs)

    Logs for packageID aec089965487a70dc0ca82f7965fe817d2f821ab:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=9
    os=Linux
    [options]
    getdns:shared=False
    
    [...]
    CMake Error at src/CMakeLists.txt:781 (add_library):
      Target "getdns_ex_ev" links to target "Libidn2::Libidn2" but the target was
      not found.  Perhaps a find_package() call is missing for an IMPORTED
      target, or an ALIAS target is missing?
    
    
    CMake Error at src/CMakeLists.txt:781 (add_library):
      Target "getdns_ex_ev" links to target "Libev::Libev" but the target was not
      found.  Perhaps a find_package() call is missing for an IMPORTED target, or
      an ALIAS target is missing?
    
    
    CMake Error at src/CMakeLists.txt:927 (add_executable):
      Target "getdns_server_mon" links to target "Libidn2::Libidn2" but the
      target was not found.  Perhaps a find_package() call is missing for an
      IMPORTED target, or an ALIAS target is missing?
    
    
    CMake Error at src/CMakeLists.txt:832 (add_library):
      Target "getdns_ex_event" links to target "Libidn2::Libidn2" but the target
      was not found.  Perhaps a find_package() call is missing for an IMPORTED
      target, or an ALIAS target is missing?
    
    
    CMake Error at src/CMakeLists.txt:884 (add_library):
      Target "getdns_ex_uv" links to target "Libidn2::Libidn2" but the target was
      not found.  Perhaps a find_package() call is missing for an IMPORTED
      target, or an ALIAS target is missing?
    
    
    CMake Error at src/CMakeLists.txt:884 (add_library):
      Target "getdns_ex_uv" links to target "Libuv::Libuv" but the target was not
      found.  Perhaps a find_package() call is missing for an IMPORTED target, or
      an ALIAS target is missing?
    
    
    CMake Error at src/CMakeLists.txt:915 (add_executable):
      Target "getdns_query" links to target "Libidn2::Libidn2" but the target was
      not found.  Perhaps a find_package() call is missing for an IMPORTED
      target, or an ALIAS target is missing?
    
    
    CMake Generate step failed.  Build files cannot be regenerated correctly.
    getdns/1.6.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    getdns/1.6.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    getdns/1.6.0: ERROR: Package 'aec089965487a70dc0ca82f7965fe817d2f821ab' build failed
    getdns/1.6.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/getdns/1.6.0/_/_/build/aec089965487a70dc0ca82f7965fe817d2f821ab/build/Release
    ERROR: getdns/1.6.0: Error in build() method, line 140
    	cmake.configure(build_script_folder=os.path.join(self.source_folder, os.pardir))
    	ConanException: Error 1 while executing cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/getdns/1.6.0/_/_/build/aec089965487a70dc0ca82f7965fe817d2f821ab/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/getdns/1.6.0/_/_/package/aec089965487a70dc0ca82f7965fe817d2f821ab" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/getdns/1.6.0/_/_/build/aec089965487a70dc0ca82f7965fe817d2f821ab/src/.."
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants