Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678068 - dev-db/clickhouse-18.12.17 missing clang dep
Summary: dev-db/clickhouse-18.12.17 missing clang dep
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-15 13:34 UTC by Patrick Lauer
Modified: 2019-09-13 15:15 UTC (History)
0 users

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 Patrick Lauer gentoo-dev 2019-02-15 13:34:04 UTC
[949/982] /usr/bin/x86_64-pc-linux-gnu-g++  -isystem /usr/lib/llvm/6/include  -DNDEBUG -O2 -pipe -ggdb -march=haswell -fdiagnostics-color=always  -pipe -msse4.1 -msse4.2 -mpopcnt  -fno-omit-frame-pointer  -Wall  -Wnon-virtual-dtor -Wextra -fPIC   -fno-tree-loop-distribute-patterns -Wno-error -Wno-unused-parameter -Wno-non-virtual-dtor -U_LIBCPP_DEBUG -fno-rtti -fno-exceptions -g0 -pthread -std=c++1z -MD -MT dbms/programs/clang/Compiler-6.0.1/CMakeFiles/clickhouse-compiler-lib.dir/driver.cpp.o -MF dbms/programs/clang/Compiler-6.0.1/CMakeFiles/clickhouse-compiler-lib.dir/driver.cpp.o.d -o dbms/programs/clang/Compiler-6.0.1/CMakeFiles/clickhouse-compiler-lib.dir/driver.cpp.o -c /var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable/dbms/programs/clang/Compiler-6.0.1/driver.cpp
FAILED: dbms/programs/clang/Compiler-6.0.1/CMakeFiles/clickhouse-compiler-lib.dir/driver.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++  -isystem /usr/lib/llvm/6/include  -DNDEBUG -O2 -pipe -ggdb -march=haswell -fdiagnostics-color=always  -pipe -msse4.1 -msse4.2 -mpopcnt  -fno-omit-frame-pointer  -Wall  -Wnon-virtual-dtor -Wextra -fPIC   -fno-tree-loop-distribute-patterns -Wno-error -Wno-unused-parameter -Wno-non-virtual-dtor -U_LIBCPP_DEBUG -fno-rtti -fno-exceptions -g0 -pthread -std=c++1z -MD -MT dbms/programs/clang/Compiler-6.0.1/CMakeFiles/clickhouse-compiler-lib.dir/driver.cpp.o -MF dbms/programs/clang/Compiler-6.0.1/CMakeFiles/clickhouse-compiler-lib.dir/driver.cpp.o.d -o dbms/programs/clang/Compiler-6.0.1/CMakeFiles/clickhouse-compiler-lib.dir/driver.cpp.o -c /var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable/dbms/programs/clang/Compiler-6.0.1/driver.cpp
/var/tmp/portage/dev-db/clickhouse-18.12.17/work/ClickHouse-18.12.17-stable/dbms/programs/clang/Compiler-6.0.1/driver.cpp:15:10: fatal error: clang/Basic/DiagnosticOptions.h: No such file or directory
 #include "clang/Basic/DiagnosticOptions.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[...]
ninja: build stopped: subcommand failed.
 * ERROR: dev-db/clickhouse-18.12.17::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 failed

Ebuild says:
        || (
                >=sys-devel/gcc-7.0
                >=sys-devel/clang-6.0
        )
but it looks like *both* are required.

[ebuild  N     ] sys-devel/clang-6.0.1:6::gentoo - clang is not installed, gcc7 is, so the conditional is satisfied and build still fails