Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523232 - dev-libs/libclc-0.0.1_pre20140101 with sys-devel/llvm-3.5.0 - ./utils/prepare-builtins.cpp:1:10: fatal error: 'llvm/ADT/OwningPtr.h' file not found
Summary: dev-libs/libclc-0.0.1_pre20140101 with sys-devel/llvm-3.5.0 - ./utils/prepare...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-19 12:53 UTC by Gangræna Gorgeous
Modified: 2014-12-31 10:09 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,37.73 KB, text/plain)
2014-09-19 12:54 UTC, Gangræna Gorgeous
Details
libclc-0.0.1-pre-llvm-3.5.0-compat.patch (000-recent_llvm_compat.patch,2.88 KB, patch)
2014-09-22 20:53 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gangræna Gorgeous 2014-09-19 12:53:39 UTC
libclc-0.0.1_pre20140101 doesn't compile with sys-devel/llvm-3.5.0 because of missing file in /usr/include/llvm

"fatal error: 'llvm/ADT/OwningPtr.h' file not found" in build.log


Reproducible: Always
Comment 1 Gangræna Gorgeous 2014-09-19 12:54:40 UTC
Created attachment 385120 [details]
build.log
Comment 2 Greg Turner 2014-09-22 20:53:35 UTC
Created attachment 385310 [details, diff]
libclc-0.0.1-pre-llvm-3.5.0-compat.patch

This is a handcrafted merge+squash of everything here: http://llvm.org/klaus/libclc/tree/0ec7437d9c9be1df92872217ec22a15aa56abcf5/utils/prepare-builtins.cpp which W4M.
Comment 3 Greg Turner 2014-09-22 20:55:49 UTC
(In reply to Greg Turner from comment #2)
> Created attachment 385310 [details, diff] [details, diff]
> libclc-0.0.1-pre-llvm-3.5.0-compat.patch
> 
> This is a handcrafted merge+squash of everything here:
> http://llvm.org/klaus/libclc/tree/0ec7437d9c9be1df92872217ec22a15aa56abcf5/
> utils/prepare-builtins.cpp which W4M.

A better approach might be to revbump the ebuild to a newer libclc although I don't know what sort of repercussions this might have (indeed, I have no clue what libclc even does :))
Comment 4 Attila Tóth 2014-09-24 20:28:36 UTC
Confirmed.
Thanks Greg, your patch works.
I'm also not familiar with any version bump repercussions, either.
Comment 5 Patrick Lauer gentoo-dev 2014-10-09 06:31:56 UTC
+  09 Oct 2014; Patrick Lauer <patrick@gentoo.org>
+  +files/libclc-llvm-3.5-compat.patch, +libclc-0.0.1_pre20140101-r1.ebuild:
+  Fix building with llvm-3.5 #523232
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-30 18:06:52 UTC
*** Bug 534028 has been marked as a duplicate of this bug. ***