[MacPorts] #38721: py33-numpy fails to build universal
MacPorts
noreply at macports.org
Mon Apr 8 18:03:02 PDT 2013
#38721: py33-numpy fails to build universal
-------------------------------+--------------------------------
Reporter: david.w.watson@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: py33-numpy |
-------------------------------+--------------------------------
Comment (by egall@…):
Relevant part of log:
{{{
:info:destroot
/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
numpy/py33-numpy/work/numpy-1.7.1/c-wrapper -arch x86_64 -arch i386
_configtest.o -o _configtest
:info:destroot ld: warning: ignoring file _configtest.o, file was built
for unsupported file format which is not the architecture being linked
(i386)
:info:destroot Undefined symbols for architecture i386:
:info:destroot "_main", referenced from:
:info:destroot start in crt1.10.5.o
:info:destroot ld: symbol(s) not found for architecture i386
:info:destroot collect2: ld returned 1 exit status
:info:destroot ld: warning: ignoring file _configtest.o, file was built
for unsupported file format which is not the architecture being linked
(i386)
:info:destroot Undefined symbols for architecture i386:
:info:destroot "_main", referenced from:
:info:destroot start in crt1.10.5.o
:info:destroot ld: symbol(s) not found for architecture i386
:info:destroot collect2: ld returned 1 exit status
:info:destroot failure.
:info:destroot removing: _configtest.c _configtest.o
:info:destroot Running from numpy source directory.
:info:destroot Traceback (most recent call last):
:info:destroot File "setup.py", line 214, in <module>
:info:destroot setup_package()
:info:destroot File "setup.py", line 207, in setup_package
:info:destroot configuration=configuration )
:info:destroot File
"/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
numpy/py33-numpy/work/numpy-1.7.1/build/py3k/numpy/distutils/core.py",
line 186, in setup
:info:destroot return old_setup(**new_attr)
:info:destroot File
"/opt/macports/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/core.py",
line 148, in setup
:info:destroot dist.run_commands()
:info:destroot File
"/opt/macports/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/dist.py",
line 929, in run_commands
:info:destroot self.run_command(cmd)
:info:destroot File
"/opt/macports/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/dist.py",
line 948, in run_command
:info:destroot cmd_obj.run()
:info:destroot File
"/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
numpy/py33-numpy/work/numpy-1.7.1/build/py3k/numpy/distutils/command/install.py",
line 55, in run
:info:destroot r = old_install.run(self)
:info:destroot File
"/opt/macports/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/command/install.py",
line 569, in run
:info:destroot self.run_command('build')
:info:destroot File
"/opt/macports/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/cmd.py",
line 313, in run_command
:info:destroot self.distribution.run_command(command)
:info:destroot File
"/opt/macports/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/dist.py",
line 948, in run_command
:info:destroot cmd_obj.run()
:info:destroot File
"/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
numpy/py33-numpy/work/numpy-1.7.1/build/py3k/numpy/distutils/command/build.py",
line 37, in run
:info:destroot old_build.run(self)
:info:destroot File
"/opt/macports/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/command/build.py",
line 126, in run
:info:destroot self.run_command(cmd_name)
:info:destroot File
"/opt/macports/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/cmd.py",
line 313, in run_command
:info:destroot self.distribution.run_command(command)
:info:destroot File
"/opt/macports/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/dist.py",
line 948, in run_command
:info:destroot cmd_obj.run()
:info:destroot File
"/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
numpy/py33-numpy/work/numpy-1.7.1/build/py3k/numpy/distutils/command/build_src.py",
line 152, in run
:info:destroot self.build_sources()
:info:destroot File
"/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
numpy/py33-numpy/work/numpy-1.7.1/build/py3k/numpy/distutils/command/build_src.py",
line 163, in build_sources
:info:destroot self.build_library_sources(*libname_info)
:info:destroot File
"/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
numpy/py33-numpy/work/numpy-1.7.1/build/py3k/numpy/distutils/command/build_src.py",
line 298, in build_library_sources
:info:destroot sources = self.generate_sources(sources, (lib_name,
build_info))
:info:destroot File
"/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
numpy/py33-numpy/work/numpy-1.7.1/build/py3k/numpy/distutils/command/build_src.py",
line 385, in generate_sources
:info:destroot source = func(extension, build_dir)
:info:destroot File "numpy/core/setup.py", line 648, in get_mathlib_info
:info:destroot raise RuntimeError("Broken toolchain: cannot link a
simple C program")
:info:destroot RuntimeError: Broken toolchain: cannot link a simple C
program
:info:destroot Command failed: cd
"/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-numpy/py33-numpy/work/numpy-1.7.1"
&&
/opt/macports/Library/Frameworks/Python.framework/Versions/3.3/bin/python3.3
setup.py --no-user-cfg install
--prefix=/opt/macports/Library/Frameworks/Python.framework/Versions/3.3
--root=/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-numpy/py33-numpy/work/destroot
}}}
--
Ticket URL: <https://trac.macports.org/ticket/38721#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list