Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-6554

dev-libs/hyperscan-5.1.0 failed to build

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      Prev versions are also failed to build. With 1.3-release was no issues.

      romikb ~ # emerge -auDN @world
      These are the packages that would be merged, in order:Calculating dependencies... done!
      [ebuild  N     ] dev-libs/hyperscan-5.1.0  USE="-static-libs" CPU_FLAGS_X86="ssse3" PYTHON_TARGETS="python2_7"
      [ebuild     U  ] mail-filter/rspamd-1.9.0 [1.8.1]Would you like to merge these packages? [Yes/No] y>>> Verifying ebuild manifests>>> Emerging (1 of 2) dev-libs/hyperscan-5.1.0::dev-kit
       * Fetching files in the background.
       * To view fetch progress, run in another terminal:
       * tail -f /var/log/emerge-fetch.log
       * hyperscan-5.1.0.tar.gz BLAKE2B SHA512 size ;-) ...                                                                               [ ok ]
      >>> Unpacking source...
      >>> Unpacking hyperscan-5.1.0.tar.gz to /var/tmp/portage/dev-libs/hyperscan-5.1.0/work
      >>> Source unpacked in /var/tmp/portage/dev-libs/hyperscan-5.1.0/work
      >>> Preparing source in /var/tmp/portage/dev-libs/hyperscan-5.1.0/work/hyperscan-5.1.0 ...
       * Hardcoded definition(s) removed in CMakeLists.txt:
       *      set(CMAKE_BUILD_TYPE RELWITHDEBINFO CACHE STRING "" FORCE )
      >>> Source prepared.
      >>> Configuring source in /var/tmp/portage/dev-libs/hyperscan-5.1.0/work/hyperscan-5.1.0 ...
      >>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/hyperscan-5.1.0/work/hyperscan-5.1.0_build"
      cmake -C /var/tmp/portage/dev-libs/hyperscan-5.1.0/work/hyperscan-5.1.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_AND_SHARED=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/hyperscan-5.1.0/work/hyperscan-5.1.0_build/gentoo_toolchain.cmake  /var/tmp/portage/dev-libs/hyperscan-5.1.0/work/hyperscan-5.1.0
      loading initial cache file /var/tmp/portage/dev-libs/hyperscan-5.1.0/work/hyperscan-5.1.0_build/gentoo_common_config.cmake
      CMake Warning (dev) at gentoo_common_config.cmake:8 (SET):
        implicitly converting 'BOOLEAN' to 'STRING' type.
      This warning is for project developers.  Use -Wno-dev to suppress it.-- The C compiler identification is GNU 9.1.1
      -- The CXX compiler identification is GNU 9.1.1
      -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
      -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- 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/x86_64-pc-linux-gnu-g++
      -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Performing Test ARCH_64_BIT
      -- Performing Test ARCH_64_BIT - Success
      -- Performing Test ARCH_32_BIT
      -- Performing Test ARCH_32_BIT - Failed
      -- Build type GENTOO
      -- Boost version: 1.70.0
      -- Found PythonInterp: /usr/bin/python (found version "3.7.3")
      -- Build date: 2019-07-25
      -- Building shared libraries
      -- gcc version 9.1.1
      CMake Error at CMakeLists.txt:204 (message):
        Something went wrong determining gcc tune: -mtune=option: not valid
      -- g++ version 9.1.1
      -- Looking for include file unistd.h
      -- Looking for include file unistd.h - found
      -- Looking for include file intrin.h
      -- Looking for include file intrin.h - not found
      -- Looking for C++ include intrin.h
      -- Looking for C++ include intrin.h - not found
      -- Looking for include file x86intrin.h
      -- Looking for include file x86intrin.h - found
      -- Looking for C++ include x86intrin.h
      -- Looking for C++ include x86intrin.h - found
      -- Looking for posix_memalign
      -- Looking for posix_memalign - found
      -- Looking for _aligned_malloc
      -- Looking for _aligned_malloc - not found
      -- Performing Test HAS_C_HIDDEN
      -- Performing Test HAS_C_HIDDEN - Success
      -- Performing Test HAS_CXX_HIDDEN
      -- Performing Test HAS_CXX_HIDDEN - Success
      -- Looking for _LIBCPP_VERSION
      -- Looking for _LIBCPP_VERSION - not found
      -- generator is Ninja
      -- Performing Test HAS_C_ATTR_IFUNC
      -- Performing Test HAS_C_ATTR_IFUNC - Success
      -- Performing Test HAVE_SSSE3
      -- Performing Test HAVE_SSSE3 - Success
      -- Performing Test HAVE_AVX2
      -- Performing Test HAVE_AVX2 - Failed
      -- Performing Test HAVE_AVX512
      -- Performing Test HAVE_AVX512 - Failed
      -- Building without AVX2 support
      -- Building without AVX512 support
      -- Performing Test HAVE_CC_BUILTIN_ASSUME_ALIGNED
      -- Performing Test HAVE_CC_BUILTIN_ASSUME_ALIGNED - Success
      -- Performing Test HAVE_CXX_BUILTIN_ASSUME_ALIGNED
      -- Performing Test HAVE_CXX_BUILTIN_ASSUME_ALIGNED - Success
      -- Performing Test HAVE__BUILTIN_CONSTANT_P
      -- Performing Test HAVE__BUILTIN_CONSTANT_P - Success
      -- Performing Test C_FLAG_Wvla
      -- Performing Test C_FLAG_Wvla - Success
      -- Performing Test C_FLAG_Wpointer_arith
      -- Performing Test C_FLAG_Wpointer_arith - Success
      -- Performing Test C_FLAG_Wstrict_prototypes
      -- Performing Test C_FLAG_Wstrict_prototypes - Success
      -- Performing Test C_FLAG_Wmissing_prototypes
      -- Performing Test C_FLAG_Wmissing_prototypes - Success
      -- Performing Test CXX_FLAG_Wvla
      -- Performing Test CXX_FLAG_Wvla - Success
      -- Performing Test CXX_FLAG_Wpointer_arith
      -- Performing Test CXX_FLAG_Wpointer_arith - Success
      -- Performing Test CC_SELF_ASSIGN
      -- Performing Test CC_SELF_ASSIGN - Failed
      -- Performing Test CXX_SELF_ASSIGN
      -- Performing Test CXX_SELF_ASSIGN - Failed
      -- Performing Test CC_PAREN_EQUALITY
      -- Performing Test CC_PAREN_EQUALITY - Failed
      -- Performing Test CXX_UNUSED_CONST_VAR
      -- Performing Test CXX_UNUSED_CONST_VAR - Success
      -- Performing Test CXX_IGNORED_ATTR
      -- Performing Test CXX_IGNORED_ATTR - Success
      -- Performing Test CXX_WEAK_VTABLES
      -- Performing Test CXX_WEAK_VTABLES - Failed
      -- Performing Test CXX_MISSING_DECLARATIONS
      -- Performing Test CXX_MISSING_DECLARATIONS - Success
      -- Performing Test CXX_UNUSED_LOCAL_TYPEDEFS
      -- Performing Test CXX_UNUSED_LOCAL_TYPEDEFS - Success
      -- Performing Test CXX_WUNUSED_VARIABLE
      -- Performing Test CXX_WUNUSED_VARIABLE - Success
      -- Building for current host CPU:
      -- Looking for mmap
      -- Looking for mmap - found
      -- Doxygen not found, unable to generate API reference
      -- Sphinx not found, unable to generate developer reference
      -- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.5.4")
      -- Checking for module 'libpcre>=8.41'
      --   Found libpcre, version 8.43
      -- PCRE version 8.41 or above
      -- 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
      -- Checking for module 'sqlite3'
      --   Found sqlite3, version 3.28.0
      -- Performing Test SQLITE_VERSION_OK
      -- Performing Test SQLITE_VERSION_OK - Success
      -- Looking for sqlite3_open_v2
      -- Looking for sqlite3_open_v2 - found
      -- Looking for C++ include pthread_np.h
      -- Looking for C++ include pthread_np.h - not found
      -- Looking for pthread_setaffinity_np
      -- Looking for pthread_setaffinity_np - found
      -- Looking for malloc_info
      -- Looking for malloc_info - found
      -- Looking for shmget
      -- Looking for shmget - found
      -- Performing Test BACKTRACE_LIBC
      -- Performing Test BACKTRACE_LIBC - Success
      -- Performing Test HAS_RDYNAMIC
      -- Performing Test HAS_RDYNAMIC - Success
      -- <<< Gentoo configuration >>>
      Build type      GENTOO
      Install path    /usr
      Compiler flags:
      C               -march=westmere -O2 -pipe  -O3 -std=c99 -Wall -Wextra -Wshadow -Wcast-qual -fno-strict-aliasing -Werror -Wno-array-bounds -Wno-maybe-uninitialized -Wno-abi -fno-omit-frame-pointer -Wvla -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
      C++             -march=westmere -O2 -pipe  -O2 -std=c++11 -Wall -Wextra -Wshadow -Wswitch -Wreturn-type -Wcast-qual -Wno-deprecated -Wnon-virtual-dtor -fno-strict-aliasing -Werror -Wno-maybe-uninitialized -Wno-abi -fno-omit-frame-pointer -Wvla -Wpointer-arith -Wno-unused-const-variable -Wno-ignored-attributes -Wmissing-declarations
      Linker flags:
      Executable      -Wl,-O1 -Wl,--sort-common -Wl,--as-needed
      Module          -Wl,-O1 -Wl,--sort-common -Wl,--as-needed
      Shared          -Wl,-O1 -Wl,--sort-common -Wl,--as-needed-- Configuring incomplete, errors occurred!
      See also "/var/tmp/portage/dev-libs/hyperscan-5.1.0/work/hyperscan-5.1.0_build/CMakeFiles/CMakeOutput.log".
      See also "/var/tmp/portage/dev-libs/hyperscan-5.1.0/work/hyperscan-5.1.0_build/CMakeFiles/CMakeError.log".
       * ERROR: dev-libs/hyperscan-5.1.0::dev-kit failed (configure phase):
       *   cmake failed
       *
       * Call stack:
       *     ebuild.sh, line   93:  Called src_configure
       *   environment, line 3190:  Called cmake-utils_src_configure
       *   environment, line 1075:  Called die
       * The specific snippet of code:
       *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
       *
       * If you need support, post the output of `emerge --info '=dev-libs/hyperscan-5.1.0::dev-kit'`,
       * the complete build log and the output of `emerge -pqv '=dev-libs/hyperscan-5.1.0::dev-kit'`.
       * The complete build log is located at '/var/tmp/portage/dev-libs/hyperscan-5.1.0/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/dev-libs/hyperscan-5.1.0/temp/environment'.
       * Working directory: '/var/tmp/portage/dev-libs/hyperscan-5.1.0/work/hyperscan-5.1.0_build'
       * S: '/var/tmp/portage/dev-libs/hyperscan-5.1.0/work/hyperscan-5.1.0'
      

            Unassigned Unassigned
            romikb romikb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: