Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13056 closed defect (fixed)

py-numeric does not build on Mac OS X 10.5 Leopard

Reported by: macforge@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: python numeric build error Cc: macforge@…
Port:

Description

The package py-numeric fails to build under leopard (Build 9A581). I managed to build numeric from local source after having modified line 153 in ranf.c. It seems a preceeding if statement fails in leopard.

Output:

---> Building py-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_py-numeric/work/Numeric-24.2" && /opt/local/bin/python2.4 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 -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IInclude -IPackages/FFT/Include -IPackages/RNG/Include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c Packages/RNG/Src/ranf.c -o build/temp.macosx-10.3-i386-2.4/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

Change History (3)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: macforge@… added
Milestone: Port Bugs
Summary: Py-Numeric does not build on Leopardpy-numeric does not build on Mac OS X 10.5 Leopard

comment:2 Changed 17 years ago by afb@…

Resolution: fixed
Status: newclosed

Patch copied from #13067, in r30598.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.