Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639622 - dev-libs/libclc-0.2.0_pre20170929 stablereq (was: -0.2.0_pre20160921 - ./utils/prepare-builtins.cpp:1:10: fatal error: 'llvm/Bitcode/ReaderWriter.h' file not found)
Summary: dev-libs/libclc-0.2.0_pre20170929 stablereq (was: -0.2.0_pre20160921 - ./util...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2017-12-03 12:46 UTC by Christian Strahl
Modified: 2017-12-19 05:17 UTC (History)
3 users (show)

See Also:
Package list:
dev-libs/libclc-0.2.0_pre20170929
Runtime testing required: ---
stable-bot: sanity-check+


Attachments
build.log (build.log,72.95 KB, text/plain)
2017-12-03 12:49 UTC, Christian Strahl
no flags Details
emerge --info (emerge--info.txt,6.88 KB, text/plain)
2017-12-03 12:50 UTC, Christian Strahl
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Strahl 2017-12-03 12:46:41 UTC
emerging dev-libs/libclc-0.2.0_pre20160921 fails with the following message:

/usr/lib64/llvm/5/bin/clang++ -MMD -MF utils/prepare-builtins.o.d -I/usr/lib64/llvm/5/include  -std=c++11  -DLLVM_BUILD_GLOBAL_ISEL -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -fno-rtti -c -o utils/prepare-builtins.o ./utils/prepare-builtins.cpp
./utils/prepare-builtins.cpp:1:10: fatal error: 'llvm/Bitcode/ReaderWriter.h' file not found
#include "llvm/Bitcode/ReaderWriter.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Reproducible: Always
Comment 1 Christian Strahl 2017-12-03 12:49:13 UTC
Created attachment 507876 [details]
build.log
Comment 2 Christian Strahl 2017-12-03 12:50:49 UTC
Created attachment 507878 [details]
emerge --info
Comment 3 Christian Strahl 2017-12-03 12:53:19 UTC
Note: I'm using sys-devel/llvm-5.0.0 (for latest firefox)
Comment 4 boxcars 2017-12-04 12:50:50 UTC
(In reply to Christian Strahl from comment #3)
> Note: I'm using sys-devel/llvm-5.0.0 (for latest firefox)

I think the libclc build failure is due to a change in llvm's headers; see <https://reviews.llvm.org/D26502>.

I had the same build failure, but libclc-0.2.0_pre20170929 builds ok for me.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-12-06 09:22:55 UTC
Yep, sounds like mixing stable and ~arch. If you need ~arch LLVM, please use ~arch dev-libs/libclc as well.

@x11, is it fine to stabilize libclc-0.2.0_pre20170929?
Comment 6 Matt Turner gentoo-dev 2017-12-06 16:59:55 UTC
Fine with me
Comment 7 Christian Strahl 2017-12-06 18:21:22 UTC
(In reply to Michał Górny from comment #5)
> Yep, sounds like mixing stable and ~arch. If you need ~arch LLVM, please use
> ~arch dev-libs/libclc as well.

sorry, my fault
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-08 20:40:07 UTC
x86 stable
Comment 9 Jason Zaman gentoo-dev 2017-12-19 05:17:39 UTC
amd64 stable, closing