Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot emerge libclc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1533

PostPosted: Sun Feb 01, 2015 11:30 pm    Post subject: cannot emerge libclc Reply with quote

cannot emerge libclc, I'm emerging this package as a part of the world update.

./generic/include/clc/integer/abs.inc:1:41: warning: incompatible redeclaration of library function 'abs'
[-Wincompatible-library-redeclaration]
_CLC_OVERLOAD _CLC_DECL __CLC_U_GENTYPE abs(__CLC_GENTYPE x);
^
./generic/include/clc/integer/abs.inc:1:41: note: 'abs' is a builtin with type 'int (int)'
1 error generated.
Makefile:8: recipe for target 'utils/prepare-builtins.o' failed
make: *** [utils/prepare-builtins.o] Error 1
make: *** Waiting for unfinished jobs....
3 warnings generated.

emerge --info '=dev-libs/libclc-0.0.1_pre20131010::gentoo':
http://pastebin.com/gykHbzsc
emerge -pqv '=dev-libs/libclc-0.0.1_pre20131010::gentoo':
[ebuild N ] dev-libs/libclc-0.0.1_pre20131010

build log:
http://pastebin.com/ySDcWe7n

thanks
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6656
Location: The soundosphere

PostPosted: Mon Feb 02, 2015 8:30 pm    Post subject: Reply with quote

Do you get the same issue if you try installing a later version?
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1533

PostPosted: Tue Feb 03, 2015 11:52 pm    Post subject: Reply with quote

yes
emerge =dev-libs/libclc-0.0.1_pre20140101:

/usr/bin/clang -MMD -MF nvptx64--nvidiacl/lib/cl_khr_global_int32_base_atomics/atom_add.cl.bc.d -target nvptx64--nvidiacl -I`dirname ./generic/lib/cl_khr_global_int32_base_atomics/atom_add.cl` -I./generic/include -fno-builtin -Dcl_clang_storage_class_specifiers -Dcl_khr_fp64 -Dcles_khr_int64 -D__CLC_INTERNAL -emit-llvm -c -o nvptx64--nvidiacl/lib/cl_khr_global_int32_base_atomics/atom_add.cl.bc ./generic/lib/cl_khr_global_int32_base_atomics/atom_add.cl
1 error generated.
Makefile:8: recipe for target 'utils/prepare-builtins.o' failed
make: *** [utils/prepare-builtins.o] Error 1
make: *** Waiting for unfinished jobs....
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 665

PostPosted: Wed Feb 04, 2015 2:22 am    Post subject: Reply with quote

I was having this same issue with dev-libs/libclc-0.0.1_pre20131010:0.

I added dev-libs/libclc-0.0.1_pre20141027:0 ~amd64 to package.keywords.

dev-libs/libclc-0.0.1_pre20141027 emerged error free for me.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1217
Location: Massachusetts USA

PostPosted: Wed Feb 04, 2015 5:18 am    Post subject: Reply with quote

From http://pastebin.com/ySDcWe7n line 1441
Quote:
./utils/prepare-builtins.cpp:1:10: fatal error: 'llvm/ADT/OwningPtr.h' file not found
This is bug =dev-libs/libclc-0.0.1_pre20140101 should depend on <sys-devel/llvm-3.5.0 - ./utils/prepare-builtins.cpp:1:10: fatal error: 'llvm/ADT/OwningPtr.h' file not found

Check the build log for emerge =dev-libs/libclc-0.0.1_pre20140101 to see if it is the same error or a different error occurring at the same place in the build.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1533

PostPosted: Thu Feb 05, 2015 10:09 am    Post subject: Reply with quote

yes, it's the same error
I'll try emerging the -0.0.1_pre20141027:0 version
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1533

PostPosted: Fri Feb 06, 2015 9:28 am    Post subject: Reply with quote

yum the pre20141027:0 version has emerged successfully
thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum