Menu

#129 "Configure" fails with gcc-4.10/5.0

v1.0 (example)
open
nobody
None
5
2015-03-30
2015-03-30
No

I can't build Strigi in Gentoo with gcc-4.10.0/5.0. Gcc-4.9.x is fine. It complains about:

-- Configuring incomplete, errors occurred!

[ebuild R ] app-misc/strigi-0.7.8-r1::gentoo USE="clucene dbus exif fam ffmpeg inotify qt4 -debug -libav (-log) {-test}" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Verifying ebuild manifests

Emerging (1 of 1) app-misc/strigi-0.7.8-r1::gentoo

  • strigi-0.7.8.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]

    Unpacking source...
    Unpacking strigi-0.7.8.tar.bz2 to /var/tmp/portage/app-misc/strigi-0.7.8-r1/work
    Source unpacked in /var/tmp/portage/app-misc/strigi-0.7.8-r1/work
    Preparing source in /var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8 ...

  • Applying strigi-0.7.8-gcc-4.8.patch ... [ ok ]
  • Applying strigi-0.7.8-libav10.patch ... [ ok ]

    Source prepared.
    Configuring source in /var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8 ...
    Working in BUILD_DIR: "/var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8_build"
    cmake --no-warn-unused-cli -C /var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_POLLING=ON -DFORCE_DEPS=ON -DENABLE_REGENERATEXSD=OFF -DENABLE_XINE=OFF -DENABLE_CLUCENE=ON -DENABLE_CLUCENE_NG=ON -DENABLE_dbus=ON -DENABLE_DBUS=ON -DENABLE_Dbus=ON -DENABLE_EXIV2=ON -DENABLE_fam=ON -DENABLE_FAM=ON -DENABLE_Fam=ON -DENABLE_ffmpeg=ON -DENABLE_FFMPEG=ON -DENABLE_Ffmpeg=ON -DENABLE_inotify=ON -DENABLE_INOTIFY=ON -DENABLE_Inotify=ON -DENABLE_LOG4CXX=OFF -DENABLE_qt4=ON -DENABLE_QT4=ON -DENABLE_Qt4=ON -DCMAKE_DISABLE_FIND_PACKAGE_CPPUNIT=ON -DENABLE_DBUS=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8_build/gentoo_toolchain.cmake /var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8
    Not searching for unused variables given on the command line.
    loading initial cache file /var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8_build/gentoo_common_config.cmake
    -- The C compiler identification is GNU 4.10.0
    -- The CXX compiler identification is GNU 4.10.0
    -- 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
    -- Checking: /var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8/libstreams/CMakeLists.txt
    -- Checking: /var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8/libstreamanalyzer/CMakeLists.txt
    -- Checking: /var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8/strigiutils/CMakeLists.txt
    -- Checking: /var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8/strigidaemon/CMakeLists.txt
    -- Checking: /var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8/strigiclient/CMakeLists.txt
    -- Performing Test __STRIGI_HAVE_GCC_VISIBILITY
    -- Performing Test __STRIGI_HAVE_GCC_VISIBILITY - Success
    CMake Error at libstreams/cmake/MacroEnsureVersion.cmake:27 (MATH):
    math cannot parse the expression: "x86_64410000 + x86_6410100 + x86_640":
    syntax error, unexpected exp_NUMBER, expecting $end (8)
    Call Stack (most recent call first):
    libstreams/cmake/MacroCheckGccVisibility.cmake:24 (macro_ensure_version)
    libstreams/CMakeLists.txt:47 (macro_check_gcc_visibility)

CMake Error at libstreams/cmake/MacroEnsureVersion.cmake:27 (MATH):
math cannot parse the expression: "x86_64410000 + x86_6410100 + x86_640":
syntax error, unexpected exp_NUMBER, expecting $end (8)
Call Stack (most recent call first):
libstreams/cmake/MacroCheckGccVisibility.cmake:25 (macro_ensure_version)
libstreams/CMakeLists.txt:47 (macro_check_gcc_visibility)

-- Looking for C++ include direct.h
-- Looking for C++ include direct.h - not found
-- Looking for C++ include dirent.h
-- Looking for C++ include dirent.h - found
-- Looking for C++ include dlfcn.h
-- Looking for C++ include dlfcn.h - found
-- Looking for C++ include ndir.h
-- Looking for C++ include ndir.h - not found
-- Looking for C++ include stddef.h
-- Looking for C++ include stddef.h - found
-- Looking for C++ include sys/dir.h
-- Looking for C++ include sys/dir.h - found
-- Looking for C++ include sys/ndir.h
-- Looking for C++ include sys/ndir.h - not found
-- Looking for C++ include windows.h
-- Looking for C++ include windows.h - not found
-- Looking for C++ include socket.h
-- Looking for C++ include socket.h - not found
-- Looking for C++ include sys/socket.h
-- Looking for C++ include sys/socket.h - found
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include unistd.h
-- Looking for C++ include unistd.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include regex.h
-- Looking for C++ include regex.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for fchdir
-- Looking for fchdir - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for isblank
-- Looking for isblank - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Looking for strlwr
-- Looking for strlwr - not found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Check size of int8_t
-- Check size of int8_t - done
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of int16_t
-- Check size of int16_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Check size of char
-- Check size of char - done
-- 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 size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of uint
-- Check size of uint - done
-- Check size of intptr_t
-- Check size of intptr_t - done
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found Iconv: /usr/lib64/libc.so
-- Looking for include file pthread.h
-- Looking for include file 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
--
-- The following REQUIRED packages have been found:

  • ZLIB , Support for gzip compressed files and data streams , http://www.zlib.net
  • BZip2 , Support for BZip2 compressed files and data streams , http://www.bzip.org
  • Iconv
  • Threads , The thread library of the system

CMake Error at libstreamanalyzer/cmake/MacroEnsureVersion.cmake:27 (MATH):
math cannot parse the expression: "x86_64410000 + x86_6410100 + x86_640":
syntax error, unexpected exp_NUMBER, expecting $end (8)
Call Stack (most recent call first):
libstreamanalyzer/cmake/MacroCheckGccVisibility.cmake:24 (macro_ensure_version)
libstreamanalyzer/CMakeLists.txt:70 (macro_check_gcc_visibility)

CMake Error at libstreamanalyzer/cmake/MacroEnsureVersion.cmake:27 (MATH):
math cannot parse the expression: "x86_64410000 + x86_6410100 + x86_640":
syntax error, unexpected exp_NUMBER, expecting $end (8)
Call Stack (most recent call first):
libstreamanalyzer/cmake/MacroCheckGccVisibility.cmake:25 (macro_ensure_version)
libstreamanalyzer/CMakeLists.txt:70 (macro_check_gcc_visibility)

-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.2")
-- Found CLucene library: /usr/lib64/libclucene-core.so
-- Found CLucene include dir: /usr/include
-- Found CLucene library dir: /usr/include
-- Found CLucene: /usr/lib64/libclucene-core.so
** CLucene is found. Support for CLucene backend is enabled
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "0.28")
-- checking for module 'libclucene-core'
-- found libclucene-core, version 2.3.3.4
** CLucene1 is found. Support for CLucene Version 1+ backend is enabled
-- checking for module 'exiv2'
-- found exiv2, version 0.24
-- Found Exiv2: /usr/lib64/libexiv2.so (found version "0.24.0", required is "0.12")
** Exiv2 is found. Support for indexing of EXIF/IPTC metadata is enabled
-- checking for module 'libavcodec'
-- found libavcodec, version 56.26.100
-- checking for module 'libavformat'
-- found libavformat, version 56.25.101
-- checking for module 'libavdevice'
-- found libavdevice, version 56.4.100
-- checking for module 'libavutil'
-- found libavutil, version 54.20.100
-- checking for module 'libswscale'
-- found libswscale, version 3.1.101
-- checking for module 'libpostproc'
-- found libpostproc, version 53.3.100
-- Found FFmpeg: /usr/lib64/libavcodec.so;/usr/lib64/libavformat.so;/usr/lib64/libavutil.so;/usr/lib64/libswscale.so
** FFmpeg is found. Support for indexing FFMPEG is enabled
-- Found xattr.h
--
-- The following OPTIONAL packages have been found:

  • PkgConfig
  • XAttr

-- The following REQUIRED packages have been found:

-- checking for module 'dbus-1'
-- found dbus-1, version 1.8.16
-- Found DBUS: /usr/lib64/libdbus-1.so
** DBus is found. Support for dbus inter-process communication is enabled
-- Found Gamin: good choice, it's better than FAM
-- Found FAM (provided by Gamin): /usr/lib64/libfam.so
** FAM is found. Support for efficient file change monitoring system is enabled
** Log4cxx is disabled. No support for advanced logging
-- Found cppunit: -L/usr/lib64 -lcppunit -ldl
-- Found Perl: /usr/bin/perl (found version "5.20.2")
-- Looking for mkdtemp
-- Looking for mkdtemp - found
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.6", minimum required is "4.3.0")
** Qt4 is found. Support for Qt4 GUI client is enabled
-- <<< Gentoo configuration >>>
Build type Gentoo
Install path /usr
Compiler flags:
C -flto=4 -fuse-linker-plugin -O2 -g -pipe -march=core2 -mtune=core2 -fno-lto -fno-use-linker-plugin
C++ -flto=4 -fuse-linker-plugin -O2 -g -pipe -march=core2 -mtune=core2 -fno-lto -fno-use-linker-plugin
Linker flags:
Executable -Wl,-flto -fuse-linker-plugin -Wl,--as-needed -Wl,-O2 -Wl,--sort-common -Wl,--hash-style=gnu -O2 -g -pipe -march=core2 -mtune=core2 -fno-lto -fno-use-linker-plugin
Module -Wl,-flto -fuse-linker-plugin -Wl,--as-needed -Wl,-O2 -Wl,--sort-common -Wl,--hash-style=gnu -O2 -g -pipe -march=core2 -mtune=core2 -fno-lto -fno-use-linker-plugin
Shared -Wl,-flto -fuse-linker-plugin -Wl,--as-needed -Wl,-O2 -Wl,--sort-common -Wl,--hash-style=gnu -O2 -g -pipe -march=core2 -mtune=core2 -fno-lto -fno-use-linker-plugin

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/app-misc/strigi-0.7.8-r1/work/strigi-0.7.8_build/CMakeFiles/CMakeError.log".

  • ERROR: app-misc/strigi-0.7.8-r1::gentoo failed (configure phase):
  • cmake failed
1 Attachments

Discussion

  • David Kredba

    David Kredba - 2015-03-30

    Error.log

     
  • David Kredba

    David Kredba - 2015-03-30

    I am sorry, it is compiling fine with fresh toolchain.eclass and gcc-5.0.0. gcc-4.10.x will never be released.

     

Log in to post a comment.

MongoDB Logo MongoDB