Ticket #13113 (closed defect: worksforme)
py25-numeric refuse to compile on Leopard (10.5)
| Reported by: | yqiang@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.5.2 |
| Keywords: | Cc: | jochen@…, jmr@… | |
| Port: |
Description
yqiang@six:~/ > sudo port install py25-ipython ---> Building py25-numeric with target build Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numeric/work/Numeric-24.2" && /opt/local/bin/python2.5 setup.py build " returned error 1 Command output: running build running build_py running build_ext building 'RNG.RNG' extension gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -DDARWIN_UNIX03 -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/opt/local/include/python2.5 -c Packages/RNG/Src/ranf.c -o build/temp.macosx-10.3-i386-2.5/Packages/RNG/Src/ranf.o Packages/RNG/Src/ranf.c: In function 'Mixranf': Packages/RNG/Src/ranf.c:153: error: conflicting types for 'gettimeofday' /usr/include/sys/time.h:211: error: previous declaration of 'gettimeofday' was here error: command 'gcc' failed with exit status 1
Error: The following dependencies failed to build: py25-scientific py25-numeric Error: Status 1 encountered during processing.
Change History
comment:3 Changed 6 years ago by jochen@…
- Cc macports-dev@… added
- Summary changed from py25-ipython, py-ipython refuse to compile on Leopard (10.5) to py25-numeric refuse to compile on Leopard (10.5)
comment:4 Changed 5 years ago by jmr@…
- Cc jmr@… added; macports-dev@… removed
It builds for me on Leopard. Perhaps it was fixed by r31397?


I think the patch from py25-numeric/py-numeric could work here.