[MacPorts] #22033: py26-scientific fails to build
MacPorts
noreply at macports.org
Mon Oct 12 16:52:32 PDT 2009
#22033: py26-scientific fails to build
-----------------------------------------+----------------------------------
Reporter: singingwolfboy@… | Owner: adfernandes@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: py26-scientific
-----------------------------------------+----------------------------------
After upgrading my python26 port to the latest version (2.6.3 rev 1),
py26-scientific fails to build with the following error message:
{{{
---> Building py26-scientific
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_py26-scientific/work/ScientificPython-2.8"
&&
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
setup.py --no-user-cfg build " returned error 1
Command output: Src/Scientific_netcdf.c:1687: error: 'array' undeclared
(first use in this function)
Src/Scientific_netcdf.c:1687: error: invalid operands to binary *
Src/Scientific_netcdf.c:1687: warning: statement with no effect
Src/Scientific_netcdf.c:1741: error: syntax error before ')' token
Src/Scientific_netcdf.c:1750: error: request for member 'data' in
something not a structure or union
Src/Scientific_netcdf.c:1782: error: request for member 'nd' in something
not a structure or union
Src/Scientific_netcdf.c:1782: warning: assignment makes integer from
pointer without a cast
Src/Scientific_netcdf.c:1789: error: request for member 'dimensions' in
something not a structure or union
Src/Scientific_netcdf.c:1792: error: request for member 'dimensions' in
something not a structure or union
Src/Scientific_netcdf.c:1793: error: request for member 'dimensions' in
something not a structure or union
Src/Scientific_netcdf.c:1794: error: request for member 'dimensions' in
something not a structure or union
Src/Scientific_netcdf.c:1823: error: request for member 'data' in
something not a structure or union
Src/Scientific_netcdf.c:1863: error: request for member 'ob_refcnt' in
something not a structure or union
Src/Scientific_netcdf.c:1863: error: wrong type argument to decrement
Src/Scientific_netcdf.c:1863: error: request for member 'ob_type' in
something not a structure or union
Src/Scientific_netcdf.c:1863: error: request for member 'tp_dealloc' in
something not a structure or union
Src/Scientific_netcdf.c:1863: error: called object '*(&<erroneous-
expression>)' is not a function
Src/Scientific_netcdf.c:1863: warning: statement with no effect
Src/Scientific_netcdf.c: In function 'PyNetCDFVariable_WriteString':
Src/Scientific_netcdf.c:1879: warning: comparison between pointer and
integer
Src/Scientific_netcdf.c: In function 'PyNetCDFVariableObject_item':
Src/Scientific_netcdf.c:1919: warning: return makes pointer from integer
without a cast
Src/Scientific_netcdf.c: In function 'PyNetCDFVariableObject_slice':
Src/Scientific_netcdf.c:1937: warning: return makes pointer from integer
without a cast
Src/Scientific_netcdf.c: In function 'PyNetCDFVariableObject_subscript':
Src/Scientific_netcdf.c:1960: warning: return makes pointer from integer
without a cast
Src/Scientific_netcdf.c:1997: warning: return makes pointer from integer
without a cast
Src/Scientific_netcdf.c: In function 'initScientific_netcdf':
Src/Scientific_netcdf.c:2235: warning: implicit declaration of function
'import_array'
error: command '/usr/bin/gcc-4.0' failed with exit status 1
Error: Unable to upgrade port: 1
}}}
This is on 10.5.8, Intel Macbook.
--
Ticket URL: <http://trac.macports.org/ticket/22033>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list