[MacPorts] #50344: py27-numpy @1.10.4 cannot be built on PPC Tiger, Mac OS X 10.4.11, because no C header provides RTLD_FIRST

MacPorts noreply at macports.org
Sat Jan 16 08:16:12 PST 2016


#50344: py27-numpy @1.10.4 cannot be built on PPC Tiger, Mac OS X 10.4.11, because
no C header provides RTLD_FIRST
-----------------------------+--------------------------------
 Reporter:  Peter_Dyballa@…  |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.3.4
 Keywords:                   |       Port:  py27-numpy
-----------------------------+--------------------------------
 {{{
 :info:build gcc-apple-4.2:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.c
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.c:85:
 warning: function declaration isn't a prototype
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.c:
 In function 'loadlib':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.c:97:
 error: 'RTLD_FIRST' undeclared (first use in this function)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.c:97:
 error: (Each undeclared identifier is reported only once
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.c:97:
 error: for each function it appears in.)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.c:85:
 warning: function declaration isn't a prototype
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.c:
 In function 'loadlib':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.c:97:
 error: 'RTLD_FIRST' undeclared (first use in this function)
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.c:97:
 error: (Each undeclared identifier is reported only once
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.c:97:
 error: for each function it appears in.)
 :info:build error: Command "/opt/local/bin/gcc-apple-4.2 -DNDEBUG -g
 -fwrapv -O3 -Wall -Wstrict-prototypes -arch ppc -DHAVE_NPY_CONFIG_H=1
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1
 -DNO_ATLAS_INFO=3 -DHAVE_CBLAS
 -Ibuild/src.macosx-10.4-ppc-2.7/numpy/core/src/private
 -Inumpy/core/include
 -Ibuild/src.macosx-10.4-ppc-2.7/numpy/core/include/numpy
 -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
 -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
 -Inumpy/core/src/umath -Inumpy/core/src/npysort
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -Ibuild/src.macosx-10.4-ppc-2.7/numpy/core/src/private
 -Ibuild/src.macosx-10.4-ppc-2.7/numpy/core/src/private
 -Ibuild/src.macosx-10.4-ppc-2.7/numpy/core/src/private -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.c
 -o
 build/temp.macosx-10.4-ppc-2.7/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-
 numpy/py27-numpy/work/numpy-1.10.4/numpy/_build_utils/src/apple_sgemv_fix.o
 -faltivec -I/System/Library/Frameworks/vecLib.framework/Headers" failed
 with exit status 1
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
 .org_release_tarballs_ports_python_py-numpy/py27-numpy/work/numpy-1.10.4"
 &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 }}}

 On PPC Leopard RTLD_FIRST is #define'd in

 {{{
 /usr/include/dlfcn.h:#define RTLD_FIRST 0x100   /* Mac OS X 10.5 and later
 */
 }}}

 On Tiger (and others) it was defined before in
 `/opt/local/include/dlfcn.h`, which is part of dyld-headers, but `This
 port is obsolete.` now…

-- 
Ticket URL: <https://trac.macports.org/ticket/50344>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list