Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#16313 closed defect (duplicate)

py-numeric error installing

Reported by: luis.kop@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: macports_dharland@…, pmq@…
Port:

Description

I'm trying install scapy.

But it brokens on py-numeric.

The error:

--->  Configuring gnuplot
--->  Building gnuplot with target all
--->  Staging gnuplot into destroot
--->  Installing gnuplot 4.2.3_0
--->  Activating gnuplot 4.2.3_0
--->  Cleaning gnuplot
--->  Fetching py-numeric
--->  Verifying checksum(s) for py-numeric
--->  Extracting py-numeric
--->  Applying patches to py-numeric
--->  Configuring py-numeric
--->  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: copying Lib/ArrayPrinter.py -> build/lib.macosx-10.3-i386-2.4
copying Lib/LinearAlgebra.py -> build/lib.macosx-10.3-i386-2.4
copying Lib/Matrix.py -> build/lib.macosx-10.3-i386-2.4
copying Lib/MLab.py -> build/lib.macosx-10.3-i386-2.4
copying Lib/Numeric.py -> build/lib.macosx-10.3-i386-2.4
copying Lib/numeric_version.py -> build/lib.macosx-10.3-i386-2.4
copying Lib/Precision.py -> build/lib.macosx-10.3-i386-2.4
copying Lib/RandomArray.py -> build/lib.macosx-10.3-i386-2.4
copying Lib/UserArray.py -> build/lib.macosx-10.3-i386-2.4
creating build/lib.macosx-10.3-i386-2.4/FFT
copying Packages/FFT/Lib/__init__.py -> build/lib.macosx-10.3-i386-2.4/FFT
copying Packages/FFT/Lib/FFT.py -> build/lib.macosx-10.3-i386-2.4/FFT
creating build/lib.macosx-10.3-i386-2.4/MA
copying Packages/MA/Lib/__init__.py -> build/lib.macosx-10.3-i386-2.4/MA
copying Packages/MA/Lib/MA.py -> build/lib.macosx-10.3-i386-2.4/MA
copying Packages/MA/Lib/MA_version.py -> build/lib.macosx-10.3-i386-2.4/MA
creating build/lib.macosx-10.3-i386-2.4/RNG
copying Packages/RNG/Lib/__init__.py -> build/lib.macosx-10.3-i386-2.4/RNG
copying Packages/RNG/Lib/Statistics.py -> build/lib.macosx-10.3-i386-2.4/RNG
creating build/lib.macosx-10.3-i386-2.4/dotblas
copying Packages/dotblas/dotblas/__init__.py -> build/lib.macosx-10.3-i386-2.4/dotblas
creating build/lib.macosx-10.3-i386-2.4/Numeric_headers
copying Include/__init__.py -> build/lib.macosx-10.3-i386-2.4/Numeric_headers
running build_ext
building '_numpy' extension
creating build/temp.macosx-10.3-i386-2.4
creating build/temp.macosx-10.3-i386-2.4/Src
-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 Src/_numpymodule.c -o build/temp.macosx-10.3-i386-2.4/Src/_numpymodule.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: py-gnuplot py-numeric py-libdnet libdnet py-pylibpcap swig gsed php5 curl libmcrypt mhash ruby py-pyx texlive texlive_base ghostscript texi2html texinfo lzmautils texlive_texmf-minimal texlive_texmf-full py-readline
Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Cc: macports_dharland@… pmq@… added

Cc'ing maintainers of py-numeric and scapy.

I think scapy should either be updated to work with python 2.5 or maybe add a variant for that.

comment:2 Changed 16 years ago by blb@…

-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 Src/_numpymodule.c -o build/temp.macosx-10.3-i386-2.4/Src/_numpymodule.o
unable to execute -fno-strict-aliasing: No such file or directory
error: command '-fno-strict-aliasing' failed with exit status 1

Looks like the Tcl env bug. Run

sudo port clean --work py-numeric

Then run your original port install as before.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

The bug reported in this ticket is a duplicate of the Leopard environment variable bug.

If an update of this port is needed, please file a new ticket because that's unrelated.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.