1 | sudo port -v install py26-numpy |
---|
2 | ---> Computing dependencies for py26-numpy. |
---|
3 | ---> Fetching py26-numpy |
---|
4 | ---> Verifying checksum(s) for py26-numpy |
---|
5 | ---> Checksumming numpy-1.4.1.tar.gz |
---|
6 | ---> Extracting py26-numpy |
---|
7 | ---> Extracting numpy-1.4.1.tar.gz |
---|
8 | ---> Applying patches to py26-numpy |
---|
9 | ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py26-numpy/files/patch-f2py_setup.py.diff |
---|
10 | patching file numpy/f2py/setup.py |
---|
11 | Hunk #1 succeeded at 50 (offset -2 lines). |
---|
12 | Hunk #2 succeeded at 74 (offset -4 lines). |
---|
13 | ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py26-numpy/files/patch-system_info.py.diff |
---|
14 | patching file numpy/distutils/system_info.py |
---|
15 | ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py26-numpy/files/patch-fcompiler_g95.diff |
---|
16 | patching file numpy/distutils/fcompiler/__init__.py |
---|
17 | ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py26-numpy/files/patch-setup.py.diff |
---|
18 | patching file numpy/core/setup.py |
---|
19 | Hunk #1 succeeded at 425 (offset 116 lines). |
---|
20 | Hunk #2 succeeded at 518 with fuzz 2 (offset 125 lines). |
---|
21 | ---> Configuring py26-numpy |
---|
22 | ---> Building py26-numpy |
---|
23 | Running from numpy source directory. |
---|
24 | non-existing path in 'numpy/distutils': 'site.cfg' |
---|
25 | F2PY Version 2 |
---|
26 | blas_opt_info: |
---|
27 | blas_mkl_info: |
---|
28 | libraries mkl,vml,guide not found in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib |
---|
29 | libraries mkl,vml,guide not found in /usr/local/lib |
---|
30 | libraries mkl,vml,guide not found in /usr/lib |
---|
31 | libraries mkl,vml,guide not found in /opt/local/lib |
---|
32 | NOT AVAILABLE |
---|
33 | |
---|
34 | atlas_blas_threads_info: |
---|
35 | Setting PTATLAS=ATLAS |
---|
36 | Setting PTATLAS=ATLAS |
---|
37 | Setting PTATLAS=ATLAS |
---|
38 | FOUND: |
---|
39 | libraries = ['ptf77blas', 'ptcblas', 'atlas'] |
---|
40 | library_dirs = ['/opt/local/lib'] |
---|
41 | language = c |
---|
42 | include_dirs = ['/opt/local/include'] |
---|
43 | |
---|
44 | /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.4.1/numpy/distutils/command/config.py:394: DeprecationWarning: |
---|
45 | +++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
46 | Usage of get_output is deprecated: please do not |
---|
47 | use it anymore, and avoid configuration checks |
---|
48 | involving running executable on the target machine. |
---|
49 | +++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
50 | |
---|
51 | DeprecationWarning) |
---|
52 | customize NAGFCompiler |
---|
53 | Could not locate executable f95 |
---|
54 | customize AbsoftFCompiler |
---|
55 | Could not locate executable f90 |
---|
56 | Could not locate executable f77 |
---|
57 | customize IBMFCompiler |
---|
58 | Could not locate executable xlf90 |
---|
59 | Could not locate executable xlf |
---|
60 | customize IntelFCompiler |
---|
61 | Could not locate executable ifort |
---|
62 | Could not locate executable ifc |
---|
63 | customize GnuFCompiler |
---|
64 | Could not locate executable g77 |
---|
65 | customize Gnu95FCompiler |
---|
66 | Could not locate executable gfortran |
---|
67 | don't know how to compile Fortran code on platform 'posix' |
---|
68 | compiling '_configtest.c': |
---|
69 | |
---|
70 | /* This file is generated from numpy/distutils/system_info.py */ |
---|
71 | void ATL_buildinfo(void); |
---|
72 | int main(void) { |
---|
73 | ATL_buildinfo(); |
---|
74 | return 0; |
---|
75 | } |
---|
76 | C compiler: /opt/local/bin/gcc-mp-4.4 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -arch i386 |
---|
77 | |
---|
78 | compile options: '-c' |
---|
79 | gcc-mp-4.4: _configtest.c |
---|
80 | cc1: error: unrecognized command line option "-arch" |
---|
81 | cc1: error: unrecognized command line option "-arch" |
---|
82 | cc1: error: unrecognized command line option "-arch" |
---|
83 | cc1: error: unrecognized command line option "-arch" |
---|
84 | failure. |
---|
85 | removing: _configtest.c _configtest.o |
---|
86 | Status: 255 |
---|
87 | Output: |
---|
88 | FOUND: |
---|
89 | libraries = ['ptf77blas', 'ptcblas', 'atlas'] |
---|
90 | library_dirs = ['/opt/local/lib'] |
---|
91 | language = c |
---|
92 | define_macros = [('NO_ATLAS_INFO', 2)] |
---|
93 | include_dirs = ['/opt/local/include'] |
---|
94 | |
---|
95 | lapack_opt_info: |
---|
96 | lapack_mkl_info: |
---|
97 | mkl_info: |
---|
98 | libraries mkl,vml,guide not found in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib |
---|
99 | libraries mkl,vml,guide not found in /usr/local/lib |
---|
100 | libraries mkl,vml,guide not found in /usr/lib |
---|
101 | libraries mkl,vml,guide not found in /opt/local/lib |
---|
102 | NOT AVAILABLE |
---|
103 | |
---|
104 | NOT AVAILABLE |
---|
105 | |
---|
106 | atlas_threads_info: |
---|
107 | Setting PTATLAS=ATLAS |
---|
108 | libraries lapack_atlas not found in /opt/local/lib |
---|
109 | numpy.distutils.system_info.atlas_threads_info |
---|
110 | Setting PTATLAS=ATLAS |
---|
111 | Setting PTATLAS=ATLAS |
---|
112 | FOUND: |
---|
113 | libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas'] |
---|
114 | library_dirs = ['/opt/local/lib'] |
---|
115 | language = f77 |
---|
116 | include_dirs = ['/opt/local/include'] |
---|
117 | |
---|
118 | customize NAGFCompiler |
---|
119 | customize AbsoftFCompiler |
---|
120 | customize IBMFCompiler |
---|
121 | customize IntelFCompiler |
---|
122 | customize GnuFCompiler |
---|
123 | customize Gnu95FCompiler |
---|
124 | don't know how to compile Fortran code on platform 'posix' |
---|
125 | compiling '_configtest.c': |
---|
126 | |
---|
127 | /* This file is generated from numpy/distutils/system_info.py */ |
---|
128 | void ATL_buildinfo(void); |
---|
129 | int main(void) { |
---|
130 | ATL_buildinfo(); |
---|
131 | return 0; |
---|
132 | } |
---|
133 | C compiler: /opt/local/bin/gcc-mp-4.4 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -arch i386 |
---|
134 | |
---|
135 | compile options: '-c' |
---|
136 | gcc-mp-4.4: _configtest.c |
---|
137 | cc1: error: unrecognized command line option "-arch" |
---|
138 | cc1: error: unrecognized command line option "-arch" |
---|
139 | cc1: error: unrecognized command line option "-arch" |
---|
140 | cc1: error: unrecognized command line option "-arch" |
---|
141 | failure. |
---|
142 | removing: _configtest.c _configtest.o |
---|
143 | Status: 255 |
---|
144 | Output: |
---|
145 | FOUND: |
---|
146 | libraries = ['lapack', 'ptf77blas', 'ptcblas', 'atlas'] |
---|
147 | library_dirs = ['/opt/local/lib'] |
---|
148 | language = f77 |
---|
149 | define_macros = [('NO_ATLAS_INFO', 2)] |
---|
150 | include_dirs = ['/opt/local/include'] |
---|
151 | |
---|
152 | running build |
---|
153 | running config_cc |
---|
154 | unifing config_cc, config, build_clib, build_ext, build commands --compiler options |
---|
155 | running config_fc |
---|
156 | unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options |
---|
157 | running build_src |
---|
158 | build_src |
---|
159 | building py_modules sources |
---|
160 | creating build |
---|
161 | creating build/src.macosx-10.6-x86_64-2.6 |
---|
162 | creating build/src.macosx-10.6-x86_64-2.6/numpy |
---|
163 | creating build/src.macosx-10.6-x86_64-2.6/numpy/distutils |
---|
164 | building library "npymath" sources |
---|
165 | customize NAGFCompiler |
---|
166 | customize AbsoftFCompiler |
---|
167 | customize IBMFCompiler |
---|
168 | customize IntelFCompiler |
---|
169 | customize GnuFCompiler |
---|
170 | customize Gnu95FCompiler |
---|
171 | don't know how to compile Fortran code on platform 'posix' |
---|
172 | C compiler: /opt/local/bin/gcc-mp-4.4 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 -arch i386 |
---|
173 | |
---|
174 | compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c' |
---|
175 | gcc-mp-4.4: _configtest.c |
---|
176 | cc1: error: unrecognized command line option "-arch" |
---|
177 | cc1: error: unrecognized command line option "-arch" |
---|
178 | cc1: error: unrecognized command line option "-arch" |
---|
179 | cc1: error: unrecognized command line option "-arch" |
---|
180 | failure. |
---|
181 | removing: _configtest.c _configtest.o |
---|
182 | Traceback (most recent call last): |
---|
183 | File "setup.py", line 187, in <module> |
---|
184 | setup_package() |
---|
185 | File "setup.py", line 180, in setup_package |
---|
186 | configuration=configuration ) |
---|
187 | File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.4.1/numpy/distutils/core.py", line 186, in setup |
---|
188 | return old_setup(**new_attr) |
---|
189 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup |
---|
190 | dist.run_commands() |
---|
191 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 987, in run_commands |
---|
192 | self.run_command(cmd) |
---|
193 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command |
---|
194 | cmd_obj.run() |
---|
195 | File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.4.1/numpy/distutils/command/build.py", line 37, in run |
---|
196 | old_build.run(self) |
---|
197 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build.py", line 134, in run |
---|
198 | self.run_command(cmd_name) |
---|
199 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", line 333, in run_command |
---|
200 | self.distribution.run_command(command) |
---|
201 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command |
---|
202 | cmd_obj.run() |
---|
203 | File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.4.1/numpy/distutils/command/build_src.py", line 152, in run |
---|
204 | self.build_sources() |
---|
205 | File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.4.1/numpy/distutils/command/build_src.py", line 163, in build_sources |
---|
206 | self.build_library_sources(*libname_info) |
---|
207 | File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.4.1/numpy/distutils/command/build_src.py", line 298, in build_library_sources |
---|
208 | sources = self.generate_sources(sources, (lib_name, build_info)) |
---|
209 | File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.4.1/numpy/distutils/command/build_src.py", line 385, in generate_sources |
---|
210 | source = func(extension, build_dir) |
---|
211 | File "numpy/core/setup.py", line 671, in get_mathlib_info |
---|
212 | raise RuntimeError("Broken toolchain: cannot link a simple C program") |
---|
213 | RuntimeError: Broken toolchain: cannot link a simple C program |
---|
214 | shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.4.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1 |
---|
215 | Error: Target org.macports.build returned: shell command failed |
---|
216 | Warning: the following items did not execute (for py26-numpy): org.macports.activate org.macports.build org.macports.destroot org.macports.install |
---|
217 | Log for py26-numpy is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/main.log |
---|
218 | Error: Status 1 encountered during processing. |
---|
219 | To report a bug, see <http://guide.macports.org/#project.tickets> |
---|