Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618992 - =dev-util/creduce-2.7.0 fails to build against =sys-devel/llvm-3.9.1-r1
Summary: =dev-util/creduce-2.7.0 fails to build against =sys-devel/llvm-3.9.1-r1
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ryan Hill (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 21:13 UTC by Sergei Trofimovich (RETIRED)
Modified: 2017-05-19 21:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2017-05-19 21:13:08 UTC
I have =sys-devel/clang-3.9.1-r100 / =sys-devel/llvm-3.9.1-r1 installed.
creduce's ebuild depends seem to  explicitly suggest clang-3.9 is supported:

        <sys-devel/clang-5:=
        || (
                sys-devel/clang:4
                >=sys-devel/clang-3.9:0
        )

Alas CMakeLists.txt disagrees:

    find_package(LLVM REQUIRED CONFIG NO_CMAKE_BUILDS_PATH)
    message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
    message(STATUS "Using LLVMConfig.cmake in ${LLVM_DIR}")
    if (${LLVM_PACKAGE_VERSION} VERSION_LESS "4.0")
      message(FATAL_ERROR "C-Reduce requires LLVM 4.0 or later")
    endif()

Noticed it when got build failure today:

-- Found LLVM 3.9.1
-- Using LLVMConfig.cmake in /usr/lib64/cmake/llvm
CMake Error at CMakeLists.txt:30 (message):
  C-Reduce requires LLVM 4.0 or later
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-05-19 21:22:54 UTC
Thanks for confirming my suspicions ;-). I'll restrict it to just :4 in a minute.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-05-19 21:34:30 UTC
commit f3d41b4d466155a69c4631a9b9ea41ab6e636763 (HEAD -> master, origin/master, origin/HEAD)
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Fri May 19 23:31:54 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Fri May 19 23:33:46 2017

    dev-util/creduce: Require clang-4, #618992