Gentoo Archives: gentoo-alt

From: "Han H." <twn@×××××××.com>
To: "gentoo-alt@l.g.o" <gentoo-alt@l.g.o>
Cc: Fabian Groffen <grobian@g.o>
Subject: RE: [gentoo-alt] Update clang failed (El Captain)
Date: Thu, 08 Sep 2016 19:36:57
Message-Id: BLUPR20MB0019B6BA098C2C5D97CAA0E2AFFB0@BLUPR20MB0019.namprd20.prod.outlook.com
In Reply to: Re: [gentoo-alt] Update clang failed (El Captain) by Fabian Groffen
1 Hi Fabian,
2
3
4
5 Thanks for the update. I can emerge packages now with no problem.
6
7
8
9 Han
10
11
12
13
14
15 From: Fabian Groffen<mailto:grobian@g.o>
16 Sent: Wednesday, September 7, 2016 3:37 AM
17 To: gentoo-alt@l.g.o<mailto:gentoo-alt@l.g.o>
18 Subject: Re: [gentoo-alt] Update clang failed (El Captain)
19
20
21
22 I think this is due to libcxx and friends not being updated. I just
23 pushed some preliminary versions, I hope that will get things back on
24 track.
25
26 Fabian
27
28
29 On 06-09-2016 21:37:09 +0000, Han H. wrote:
30 > Hi Fabian,
31 >
32 > The patch works for me. Thanks!
33 >
34 > The emerge of llvm-3.8.1 is done, but after that I tried to emptytree the
35 > system. Then it ran into an error when I emerge cmake (and many others) with
36 > the following error message. It looks some way of declaration was recognized
37 > by old clang but not by the new one, and now it’s not possible to go back to
38 > old clang (with the same error message). Do you have an idea how to fix
39 > this?
40 >
41 > [ 8%] Building CXX object
42 > Source/kwsys/CMakeFiles/cmsys.dir/EncodingCXX.cxx.o
43 >
44 > cd
45 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/kwsys
46 > && /Users/abc/gentoo/usr/bin/x86_64-apple-darwin15-clang++
47 > -DKWSYS_NAMESPACE=cmsys
48 > -I/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source
49 > -I/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/kwsys
50 > -DNDEBUG -march=native -O2 -pipe -std=gnu++14 -o
51 > CMakeFiles/cmsys.dir/EncodingCXX.cxx.o -c
52 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/EncodingCXX.cxx
53 >
54 > In file included from
55 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/src/lib_json/json_writer.cpp:7:
56 >
57 > In file included from
58 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/include/json/writer.h:10:
59 >
60 > In file included from
61 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/include/json/value.h:12:
62 >
63 > /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
64 > 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
65 > specification
66 >
67 > 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
68 >
69 > basic_string<_CharT, _Traits, _Allocator>::basic_string(const
70 > allocator_type& __a)
71 >
72 > ^
73 >
74 > /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous
75 > declaration is here
76 >
77 > _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
78 > __a)
79 >
80 > ^
81 >
82 > In file included from
83 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/Directory.cxx:13:
84 >
85 > In file included from
86 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/cmsys/Directory.hxx:16:
87 >
88 > /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
89 > 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
90 > specification
91 >
92 > 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
93 >
94 > basic_string<_CharT, _Traits, _Allocator>::basic_string(const
95 > allocator_type& __a)
96 >
97 > ^
98 >
99 > /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous
100 > declaration is here
101 >
102 > _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
103 > __a)
104 >
105 > ^
106 >
107 > In file included from
108 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/src/lib_json/json_value.cpp:8:
109 >
110 > In file included from
111 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Utilities/cmjsoncpp/include/json/value.h:12:
112 >
113 > /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
114 > 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
115 > specification
116 >
117 > 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
118 >
119 > basic_string<_CharT, _Traits, _Allocator>::basic_string(const
120 > allocator_type& __a)
121 >
122 > ^
123 >
124 > /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: In file included
125 > from
126 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/DynamicLoader.cxx:13:
127 >
128 > In file included from
129 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/cmsys/DynamicLoader.hxx:16:
130 >
131 > /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
132 > 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
133 > specification
134 >
135 > 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
136 >
137 > basic_string<_CharT, _Traits, _Allocator>::basic_string(const
138 > allocator_type& __a)
139 >
140 > note ^
141 >
142 > /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous
143 > declaration is here
144 >
145 > _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
146 > __a)
147 >
148 > ^
149 >
150 > : previous declaration is here
151 >
152 > _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
153 > __a)
154 >
155 > ^
156 >
157 > 1 error generated.
158 >
159 > make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:255:
160 > Source/kwsys/CMakeFiles/cmsys.dir/DynamicLoader.cxx.o] Error 1
161 >
162 > make[2]: *** Waiting for unfinished jobs....
163 >
164 > 1 error generated.
165 >
166 > make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:231:
167 > Source/kwsys/CMakeFiles/cmsys.dir/Directory.cxx.o] Error 1
168 >
169 > In file included from
170 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1/Source/kwsys/EncodingCXX.cxx:20:
171 >
172 > In file included from
173 > /Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build/Source/cmsys/Encoding.hxx:16:
174 >
175 > /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1938:44: error:
176 > 'basic_string<_CharT, _Traits, _Allocator>' is missing exception
177 > specification
178 >
179 > 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
180 >
181 > basic_string<_CharT, _Traits, _Allocator>::basic_string(const
182 > allocator_type& __a)
183 >
184 > ^
185 >
186 > /Users/abc/gentoo/usr/bin/../include/c++/v1/string:1326:40: note: previous
187 > declaration is here
188 >
189 > _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type&
190 > __a)
191 >
192 > ^
193 >
194 > 1 error generated.
195 >
196 > make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/build.make:279:
197 > Source/kwsys/CMakeFiles/cmsys.dir/EncodingCXX.cxx.o] Error 1
198 >
199 > make[2]: Leaving directory
200 > '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
201 >
202 > make[1]: *** [CMakeFiles/Makefile2:1026:
203 > Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2
204 >
205 > 1 error generated.
206 >
207 > make[2]: *** [Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/build.make:111:
208 > Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o]
209 > Error 1
210 >
211 > 1 error generated.
212 >
213 > make[2]: *** [Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/build.make:87:
214 > Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_value.cpp.o]
215 > Error 1
216 >
217 > make[2]: Leaving directory
218 > '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
219 >
220 > make[1]: *** [CMakeFiles/Makefile2:1431:
221 > Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/all] Error 2
222 >
223 > make[1]: Leaving directory
224 > '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
225 >
226 > make: *** [Makefile:161: all] Error 2
227 >
228 > * ERROR: dev-util/cmake-3.6.1-r1::gentoo_prefix failed (compile phase):
229 >
230 > * emake failed
231 >
232 > *
233 >
234 > * If you need support, post the output of `emerge --info
235 > '=dev-util/cmake-3.6.1-r1::gentoo_prefix'`,
236 >
237 > * the complete build log and the output of `emerge -pqv
238 > '=dev-util/cmake-3.6.1-r1::gentoo_prefix'`.
239 >
240 > * The complete build log is located at
241 > '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/temp/build.log'.
242 >
243 > * The ebuild environment file is located at
244 > '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/temp/environment'.
245 >
246 > * Working directory:
247 > '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1_build'
248 >
249 > * S:
250 > '/Users/abc/gentoo/var/tmp/portage/dev-util/cmake-3.6.1-r1/work/cmake-3.6.1'
251 >
252
253 --
254 Fabian Groffen
255 Gentoo on a different level