Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16449 closed defect (duplicate)

py25-scientific, 'Scientific_netcdf' build fails

Reported by: darren.weber.lists@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: python ipython scientific Cc: jochen@…
Port:

Description

This is a dependency of py25-ipython, during the build for that package, it arrives at this failure:

--->  Building py25-scientific 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-scientific/work/ScientificPython-2.6" && /opt/local/bin/python2.5 setup.py build " returned error 1
Command output: copying Scientific/TkWidgets/TkPlotCanvas.py -> build/lib.macosx-10.3-i386-2.5/Scientific/TkWidgets
copying Scientific/TkWidgets/TkVisualizationCanvas.py -> build/lib.macosx-10.3-i386-2.5/Scientific/TkWidgets
copying Scientific/TkWidgets/Utility.py -> build/lib.macosx-10.3-i386-2.5/Scientific/TkWidgets
creating build/lib.macosx-10.3-i386-2.5/Scientific/Visualization
copying Scientific/Visualization/__init__.py -> build/lib.macosx-10.3-i386-2.5/Scientific/Visualization
copying Scientific/Visualization/Color.py -> build/lib.macosx-10.3-i386-2.5/Scientific/Visualization
copying Scientific/Visualization/PyMOL.py -> build/lib.macosx-10.3-i386-2.5/Scientific/Visualization
copying Scientific/Visualization/VMD.py -> build/lib.macosx-10.3-i386-2.5/Scientific/Visualization
copying Scientific/Visualization/VPython.py -> build/lib.macosx-10.3-i386-2.5/Scientific/Visualization
copying Scientific/Visualization/VRML.py -> build/lib.macosx-10.3-i386-2.5/Scientific/Visualization
copying Scientific/Visualization/VRML2.py -> build/lib.macosx-10.3-i386-2.5/Scientific/Visualization
creating build/lib.macosx-10.3-i386-2.5/Scientific/MPI
copying Scientific/MPI/__init__.py -> build/lib.macosx-10.3-i386-2.5/Scientific/MPI
copying Scientific/MPI/core.py -> build/lib.macosx-10.3-i386-2.5/Scientific/MPI
copying Scientific/MPI/IO.py -> build/lib.macosx-10.3-i386-2.5/Scientific/MPI
creating build/lib.macosx-10.3-i386-2.5/Scientific/BSP
copying Scientific/BSP/__init__.py -> build/lib.macosx-10.3-i386-2.5/Scientific/BSP
copying Scientific/BSP/Console.py -> build/lib.macosx-10.3-i386-2.5/Scientific/BSP
copying Scientific/BSP/core.py -> build/lib.macosx-10.3-i386-2.5/Scientific/BSP
copying Scientific/BSP/IO.py -> build/lib.macosx-10.3-i386-2.5/Scientific/BSP
copying Scientific/BSP/RemoteObjects.py -> build/lib.macosx-10.3-i386-2.5/Scientific/BSP
creating build/lib.macosx-10.3-i386-2.5/Scientific/use_numeric
copying Scientific/use_numeric/__init__.py -> build/lib.macosx-10.3-i386-2.5/Scientific/use_numeric
running build_ext
building 'Scientific_netcdf' extension
creating build/temp.macosx-10.3-i386-2.5
creating build/temp.macosx-10.3-i386-2.5/Src
-fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include/python2.5 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-scientific/work/ScientificPython-2.6/Include -IInclude -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c Src/Scientific_netcdf.c -o build/temp.macosx-10.3-i386-2.5/Src/Scientific_netcdf.o
unable to execute -fno-strict-aliasing: No such file or directory
error: command '-fno-strict-aliasing' failed with exit status 1

Error: The following dependencies failed to build: py25-scientific
Error: Status 1 encountered during processing.

Looks like a missing compiler command on the line that generated: unable to execute -fno-strict-aliasing: No such file or directory

I'm a little concerned that the build indicates lib.macosx-10.3-i386 as this build is on 10.5 (Leopard). I'm a novice with OSX, so this may be nothing or something useful to note.

Thanks for getting ipython and friends onto OSX!

Change History (4)

comment:1 Changed 16 years ago by jochen@…

Did you try to simply restart the install of py25-scientific manually?

comment:2 Changed 16 years ago by darren.weber.lists@…

OK, so that completes successfully, ie:

[ root@elegans ~ ]# port install py25-scientific
--->  Building py25-scientific with target build
--->  Staging py25-scientific into destroot
--->  Installing py25-scientific 2.6.1_0+macosx
--->  Activating py25-scientific 2.6.1_0+macosx
--->  Cleaning py25-scientific

Perhaps this bug should be moved to an ipython port issue?

comment:3 Changed 16 years ago by jochen@…

Resolution: duplicate
Status: newclosed

No, this is a general Leopard/MacPorts issue, that is apparently solved in trunk. Search the mailing lists and trac for details.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.