[MacPorts] #28454: py26-numpy @1.5.1 buliding error
MacPorts
noreply at macports.org
Fri Feb 18 06:20:43 PST 2011
#28454: py26-numpy @1.5.1 buliding error
---------------------------------+------------------------------------------
Reporter: imrisofer@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: py26-numpy
---------------------------------+------------------------------------------
Hi guys, I'm having trouble building py26-numpy.[[BR]]
Im using Mac Os X 10.6.6,
XCode 3.2.5[[BR]]
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
--
Ticket URL: <https://trac.macports.org/ticket/28454>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list