Opened 14 years ago
Closed 14 years ago
#28454 closed defect (fixed)
py26-numpy @1.5.1 +universal buliding error
Reported by: | imrisofer@… | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | py26-numpy |
Description
Hi guys, I'm having trouble building py26-numpy.
Im using Mac Os X 10.6.6,
XCode 3.2.5
all my ports are up to date. full log is attached
. . . :info:build customize Gnu95FCompiler :info:build customize Gnu95FCompiler :info:build customize Gnu95FCompiler using config :info:build C compiler: /usr/bin/gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch x86_64 :info:build :info:build 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' :info:build gcc-4.2: _configtest.c :info:build /usr/bin/gcc-4.2 -arch x86_64 -arch i386 _configtest.o -o _configtest :info:build ld: warning: in _configtest.o, file was built for unsupported file format which is not the architecture being linked (i386) :info:build Undefined symbols for architecture i386: :info:build "_main", referenced from: :info:build start in crt1.10.6.o :info:build ld: symbol(s) not found for architecture i386 :info:build collect2: ld returned 1 exit status :info:build lipo: can't open input file: /var/tmp//ccCicTT4.out (No such file or directory) :info:build ld: warning: in _configtest.o, file was built for unsupported file format which is not the architecture being linked (i386) :info:build Undefined symbols for architecture i386: :info:build "_main", referenced from: :info:build start in crt1.10.6.o :info:build ld: symbol(s) not found for architecture i386 :info:build collect2: ld returned 1 exit status :info:build lipo: can't open input file: /var/tmp//ccCicTT4.out (No such file or directory) :info:build failure. :info:build removing: _configtest.c _configtest.o :info:build Traceback (most recent call last): :info:build File "setup.py", line 211, in <module> :info:build setup_package() :info:build File "setup.py", line 204, in setup_package :info:build configuration=configuration ) :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.5.1/numpy/distutils/core.py", line 186, in setup :info:build return old_setup(**new_attr) :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup :info:build dist.run_commands() :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 987, in run_commands :info:build self.run_command(cmd) :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command :info:build cmd_obj.run() :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.5.1/numpy/distutils/command/build.py", line 37, in run :info:build old_build.run(self) :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build.py", line 134, in run :info:build self.run_command(cmd_name) :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", line 333, in run_command :info:build self.distribution.run_command(command) :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command :info:build cmd_obj.run() :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.5.1/numpy/distutils/command/build_src.py", line 152, in run :info:build self.build_sources() :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.5.1/numpy/distutils/command/build_src.py", line 163, in build_sources :info:build self.build_library_sources(*libname_info) :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.5.1/numpy/distutils/command/build_src.py", line 298, in build_library_sources :info:build sources = self.generate_sources(sources, (lib_name, build_info)) :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.5.1/numpy/distutils/command/build_src.py", line 385, in generate_sources :info:build source = func(extension, build_dir) :info:build File "numpy/core/setup.py", line 683, in get_mathlib_info :info:build raise RuntimeError("Broken toolchain: cannot link a simple C program") :info:build RuntimeError: Broken toolchain: cannot link a simple C program :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-numpy/work/numpy-1.5.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for py26-numpy): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build 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
thanks
Attachments (1)
Change History (6)
Changed 14 years ago by imrisofer@…
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to mcalhoun@… |
---|---|
Summary: | py26-numpy @1.5.1 buliding error → py26-numpy @1.5.1 +universal buliding error |
Please remember to cc the maintainer.
comment:2 Changed 14 years ago by imrisofer@…
for some reason I've put the universal flag in the summary, although I did not use it when I tried to install this port.
please disregard it.
sorry for that.
comment:3 follow-up: 4 Changed 14 years ago by jmroot (Joshua Root)
I put it there, because the -arch x86_64 -arch i386
in the log shows that the port is in fact being built universal.
comment:4 Changed 14 years ago by imrisofer@…
Replying to jmr@…:
I put it there, because the
-arch x86_64 -arch i386
in the log shows that the port is in fact being built universal.
this explains my problem.
I've added the -universal flag and it now complies w.o. any problems.
thanks.
comment:5 Changed 14 years ago by Veence (Vincent)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Since r76870, you can try again with universal.
build Log for py26-numpy