Gentoo Archives: gentoo-science

From: "François Bissey" <frp.bissey@×××××.com>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] Trouble building scipy-0.14.0 against acml
Date: Mon, 09 Jun 2014 21:33:46
Message-Id: 3554982.Vr7BGyNh6U@qcd-nzi3
In Reply to: Re: [gentoo-science] Trouble building scipy-0.14.0 against acml by "Bastian Löffler"
1 OK, thanks for the file. I think it is a bug in the pkgconfig file for
2 blas with acml. You should also have
3 library_dirs = //opt/acml5.3.1/gfortran64/lib:/usr/lib64
4 in the blas section, not just in the lapack one. Do you have a
5 Gentoo bugzilla account? If not I'll fill the report.
6
7 Francois
8
9 On Mon, 09 Jun 2014 20:41:35 Bastian Löffler wrote:
10 > Hi,
11 >
12 > this is
13 >
14 > /var/tmp/portage/sci-libs/scipy-0.14.0/work/scipy-0.14.0-python2_7/site.cfg:
15 >
16 > [blas]
17 > include_dirs =
18 > library_dirs = :/usr/lib64
19 > blas_libs =
20 > [lapack]
21 > library_dirs = //opt/acml5.3.1/gfortran64/lib:/usr/lib64
22 > lapack_libs = acml
23 >
24 > Buliding numpy is ago. This is any scipy update.
25 >
26 > Am 09.06.2014 13:51, schrieb François Bissey:
27 > > numpy not bumpy. Sorry for the noise.
28 > >
29 > > On 9/06/2014, at 23:42, François Bissey <frp.bissey@×××××.com> wrote:
30 > >> Hi,
31 > >>
32 > >> Could you post the file:
33 > >> /var/tmp/portage/sci-libs/scipy-0.14.0/work/scipy-0.14.0-python2_7/site.c
34 > >> fg
35 > >> for our perusal? You obviously managed to merge bumpy which fundamentally
36 > >> should have the exact same problem.
37 > >> Was it just before scipy or a while ago?
38 > >>
39 > >> François
40 > >>
41 > >> On 9/06/2014, at 23:25, Bastian Löffler <Bastian_Loeffler@×××××.de>
42 wrote:
43 > >>> Hi all,
44 > >>>
45 > >>> I can not build scipy 0.14.0 agaonst the currenct aclm since it
46 > >>> complains a missing blas:
47 > >>>
48 > >>> numpy.distutils.system_info.BlasNotFoundError:
49 > >>> Blas (
50 > >>>
51 > >>> http://www.netlib.org/blas/
52 > >>> ) libraries not found.
53 > >>>
54 > >>> Directories to search for the libraries can be specified in the
55 > >>> numpy/distutils/site.cfg file (section [blas]) or by setting
56 > >>> the BLAS environment variable.
57 > >>>
58 > >>> * ERROR: sci-libs/scipy-0.14.0::gentoo failed (compile phase):
59 > >>> * (no error message)
60 > >>> *
61 > >>> * Call stack:
62 > >>> * ebuild.sh, line 93: Called src_compile
63 > >>> * environment, line 4075: Called distutils-r1_src_compile
64 > >>> * environment, line 1421: Called _distutils-r1_run_foreach_impl
65 > >>> 'python_compile'
66 > >>> * environment, line 312: Called python_parallel_foreach_impl
67 > >>> 'distutils-r1_run_phase' 'python_compile'
68 > >>> * environment, line 3808: Called multibuild_parallel_foreach_variant
69 > >>> '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
70 > >>> * environment, line 2855: Called multibuild_foreach_variant
71 > >>> '_multibuild_parallel' '_python_multibuild_wrapper'
72 > >>> 'distutils-r1_run_phase' 'python_compile'
73 > >>> * environment, line 2798: Called _multibuild_run
74 > >>> '_multibuild_parallel' '_python_multibuild_wrapper'
75 > >>> 'distutils-r1_run_phase' 'python_compile'
76 > >>> * environment, line 2796: Called _multibuild_parallel
77 > >>> '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
78 > >>> * environment, line 2846: Called _python_multibuild_wrapper
79 > >>> 'distutils-r1_run_phase' 'python_compile'
80 > >>> * environment, line 914: Called distutils-r1_run_phase
81 > >>> 'python_compile'
82 > >>> * environment, line 1412: Called python_compile
83 > >>> * environment, line 3315: Called distutils-r1_python_compile
84 > >>> 'config_fc' '--noopt' '--noarch'
85 > >>> * environment, line 1292: Called esetup.py 'build' 'config_fc'
86 > >>> '--noopt' '--noarch'
87 > >>> * environment, line 1862: Called die
88 > >>> * The specific snippet of code:
89 > >>> * "${@}" || die
90 > >>> *
91 > >>> * If you need support, post the output of `emerge --info
92 > >>> '=sci-libs/scipy-0.14.0::gentoo'`,
93 > >>> * the complete build log and the output of `emerge -pqv
94 > >>> '=sci-libs/scipy-0.14.0::gentoo'`.
95 > >>> * The complete build log is located at
96 > >>> '/var/tmp/portage/sci-libs/scipy-0.14.0/temp/build.log'.
97 > >>> * The ebuild environment file is located at
98 > >>> '/var/tmp/portage/sci-libs/scipy-0.14.0/temp/environment'.
99 > >>> * Working directory:
100 > >>> '/var/tmp/portage/sci-libs/scipy-0.14.0/work/scipy-0.14.0-python2_7'
101 > >>> * S: '/var/tmp/portage/sci-libs/scipy-0.14.0/work/scipy-0.14.0'
102 > >>> /usr/lib64/portage/bin/isolated-functions.sh: line 226: kill: (6675) -
103 > >>> No such process
104 > >>> blas_opt_info:
105 > >>>
106 > >>> system_info:
107 > >>> NOT AVAILABLE
108 > >>>
109 > >>> blas_info:
110 > >>> libraries not found in ['/usr/lib64']
111 > >>> NOT AVAILABLE
112 > >>>
113 > >>> blas_src_info:
114 > >>> NOT AVAILABLE
115 > >>>
116 > >>> /usr/lib64/python3.3/distutils/dist.py:258: UserWarning: Unknown
117 > >>> distribution option: 'test_suite'
118 > >>>
119 > >>> warnings.warn(msg)
120 > >>>
121 > >>> /usr/lib64/python3.3/site-packages/numpy/distutils/system_info.py:1511:
122 > >>>
123 > >>> UserWarning:
124 > >>> Atlas (
125 > >>>
126 > >>> http://math-atlas.sourceforge.net/
127 > >>> ) libraries not found.
128 > >>>
129 > >>> Directories to search for the libraries can be specified in the
130 > >>> numpy/distutils/site.cfg file (section [atlas]) or by setting
131 > >>> the ATLAS environment variable.
132 > >>>
133 > >>> warnings.warn(AtlasNotFoundError.__doc__)
134 > >>>
135 > >>> /usr/lib64/python3.3/site-packages/numpy/distutils/system_info.py:566:
136 > >>> UserWarning: Specified path is invalid.
137 > >>>
138 > >>> warnings.warn('Specified path %s is invalid.' % d)
139 > >>>
140 > >>> /usr/lib64/python3.3/site-packages/numpy/distutils/system_info.py:1520:
141 > >>>
142 > >>> UserWarning:
143 > >>> Blas (
144 > >>>
145 > >>> http://www.netlib.org/blas/
146 > >>> ) libraries not found.
147 > >>>
148 > >>> Directories to search for the libraries can be specified in the
149 > >>> numpy/distutils/site.cfg file (section [blas]) or by setting
150 > >>> the BLAS environment variable.
151 > >>>
152 > >>> warnings.warn(BlasNotFoundError.__doc__)
153 > >>>
154 > >>> /usr/lib64/python3.3/site-packages/numpy/distutils/system_info.py:1523:
155 > >>>
156 > >>> UserWarning:
157 > >>> Blas (
158 > >>>
159 > >>> http://www.netlib.org/blas/
160 > >>> ) sources not found.
161 > >>>
162 > >>> Directories to search for the sources can be specified in the
163 > >>> numpy/distutils/site.cfg file (section [blas_src]) or by setting
164 > >>> the BLAS_SRC environment variable.
165 > >>>
166 > >>> warnings.warn(BlasSrcNotFoundError.__doc__)
167 > >>>
168 > >>> Traceback (most recent call last):
169 > >>> File "setup.py", line 237, in <module>
170 > >>>
171 > >>> setup_package()
172 > >>>
173 > >>> File "setup.py", line 234, in setup_package
174 > >>>
175 > >>> setup(**metadata)
176 > >>>
177 > >>> File "/usr/lib64/python3.3/site-packages/numpy/distutils/core.py",
178 > >>>
179 > >>> line 135, in setup
180 > >>>
181 > >>> config = configuration()
182 > >>>
183 > >>> File "setup.py", line 173, in configuration
184 > >>>
185 > >>> config.add_subpackage('scipy')
186 > >>>
187 > >>> File
188 > >>>
189 > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/misc_util.py", line
190 > >>> 966, in add_subpackage
191 > >>>
192 > >>> caller_level = 2)
193 > >>>
194 > >>> File
195 > >>>
196 > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/misc_util.py", line
197 > >>> 935, in get_subpackage
198 > >>>
199 > >>> caller_level = caller_level + 1)
200 > >>>
201 > >>> File
202 > >>>
203 > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/misc_util.py", line
204 > >>> 872, in _get_configuration_from_setup_py
205 > >>>
206 > >>> config = setup_module.configuration(*args)
207 > >>>
208 > >>> File "scipy/setup.py", line 12, in configuration
209 > >>>
210 > >>> config.add_subpackage('integrate')
211 > >>>
212 > >>> File
213 > >>>
214 > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/misc_util.py", line
215 > >>> 966, in add_subpackage
216 > >>>
217 > >>> caller_level = 2)
218 > >>>
219 > >>> File
220 > >>>
221 > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/misc_util.py", line
222 > >>> 935, in get_subpackage
223 > >>>
224 > >>> caller_level = caller_level + 1)
225 > >>>
226 > >>> File
227 > >>>
228 > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/misc_util.py", line
229 > >>> 872, in _get_configuration_from_setup_py
230 > >>>
231 > >>> config = setup_module.configuration(*args)
232 > >>>
233 > >>> File "scipy/integrate/setup.py", line 12, in configuration
234 > >>>
235 > >>> blas_opt = get_info('blas_opt',notfound_action=2)
236 > >>>
237 > >>> File
238 > >>>
239 > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/system_info.py",
240 > >>> line 340, in get_info
241 > >>>
242 > >>> return cl().get_info(notfound_action)
243 > >>>
244 > >>> File
245 > >>>
246 > >>> "/usr/lib64/python3.3/site-packages/numpy/distutils/system_info.py",
247 > >>> line 499, in get_info
248 > >>>
249 > >>> raise self.notfounderror(self.notfounderror.__doc__)
250 > >>>
251 > >>> numpy.distutils.system_info.BlasNotFoundError:
252 > >>> Blas (
253 > >>>
254 > >>> http://www.netlib.org/blas/
255 > >>> ) libraries not found.
256 > >>>
257 > >>> Directories to search for the libraries can be specified in the
258 > >>> numpy/distutils/site.cfg file (section [blas]) or by setting
259 > >>> the BLAS environment variable.
260 > >>>
261 > >>> * ERROR: sci-libs/scipy-0.14.0::gentoo failed (compile phase):
262 > >>> * (no error message)
263 > >>> *
264 > >>> * Call stack:
265 > >>> * ebuild.sh, line 93: Called src_compile
266 > >>> * environment, line 4075: Called distutils-r1_src_compile
267 > >>> * environment, line 1421: Called _distutils-r1_run_foreach_impl
268 > >>> 'python_compile'
269 > >>> * environment, line 312: Called python_parallel_foreach_impl
270 > >>> 'distutils-r1_run_phase' 'python_compile'
271 > >>> * environment, line 3808: Called multibuild_parallel_foreach_variant
272 > >>> '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
273 > >>> * environment, line 2855: Called multibuild_foreach_variant
274 > >>> '_multibuild_parallel' '_python_multibuild_wrapper'
275 > >>> 'distutils-r1_run_phase' 'python_compile'
276 > >>> * environment, line 2798: Called _multibuild_run
277 > >>> '_multibuild_parallel' '_python_multibuild_wrapper'
278 > >>> 'distutils-r1_run_phase' 'python_compile'
279 > >>> * environment, line 2796: Called _multibuild_parallel
280 > >>> '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
281 > >>> * environment, line 2846: Called _python_multibuild_wrapper
282 > >>> 'distutils-r1_run_phase' 'python_compile'
283 > >>> * environment, line 914: Called distutils-r1_run_phase
284 > >>> 'python_compile'
285 > >>> * environment, line 1412: Called python_compile
286 > >>> * environment, line 3315: Called distutils-r1_python_compile
287 > >>> 'config_fc' '--noopt' '--noarch'
288 > >>> * environment, line 1292: Called esetup.py 'build' 'config_fc'
289 > >>> '--noopt' '--noarch'
290 > >>> * environment, line 1862: Called die
291 > >>> * The specific snippet of code:
292 > >>> * "${@}" || die
293 > >>> *
294 > >>> * If you need support, post the output of `emerge --info
295 > >>> '=sci-libs/scipy-0.14.0::gentoo'`,
296 > >>> * the complete build log and the output of `emerge -pqv
297 > >>> '=sci-libs/scipy-0.14.0::gentoo'`.
298 > >>> * The complete build log is located at
299 > >>> '/var/tmp/portage/sci-libs/scipy-0.14.0/temp/build.log'.
300 > >>> * The ebuild environment file is located at
301 > >>> '/var/tmp/portage/sci-libs/scipy-0.14.0/temp/environment'.
302 > >>> * Working directory:
303 > >>> '/var/tmp/portage/sci-libs/scipy-0.14.0/work/scipy-0.14.0-python3_3'
304 > >>> * S: '/var/tmp/portage/sci-libs/scipy-0.14.0/work/scipy-0.14.0'
305 > >>> /usr/lib64/portage/bin/isolated-functions.sh: line 226: kill: (6675) -
306 > >>> No such process
307 > >>>
308 > >>>>>> Failed to emerge sci-libs/scipy-0.14.0, Log file:

Replies

Subject Author
Re: [gentoo-science] Trouble building scipy-0.14.0 against acml "François Bissey" <frp.bissey@×××××.com>