Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15555 closed defect (worksforme)

py25-numpy 1.0.4 build error

Reported by: janakawicks@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: py25-numpy Cc:
Port:

Description

following is the debug output 

janaka$ sudo port -d install py25-numpy
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py25-numpy
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py25-numpy
DEBUG: Requested variant powerpc is not provided by port py25-numpy.
DEBUG: Requested variant darwin is not provided by port py25-numpy.
DEBUG: Requested variant macosx is not provided by port py25-numpy.
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python25
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python25
DEBUG: Requested variant powerpc is not provided by port python25.
DEBUG: Requested variant darwin is not provided by port python25.
DEBUG: Requested variant macosx is not provided by port python25.
DEBUG: Executing variant darwin_8 provides darwin_8
DEBUG: Searching for dependency: python25
DEBUG: Found Dependency: receipt exists for python25
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/math/fftw-3
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/math/fftw-3
DEBUG: Requested variant powerpc is not provided by port fftw-3.
DEBUG: Requested variant darwin is not provided by port fftw-3.
DEBUG: Requested variant macosx is not provided by port fftw-3.
DEBUG: Searching for dependency: fftw-3
DEBUG: Found Dependency: receipt exists for fftw-3
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py25-hashlib
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py25-hashlib
DEBUG: Requested variant powerpc is not provided by port py25-hashlib.
DEBUG: Requested variant darwin is not provided by port py25-hashlib.
DEBUG: Requested variant macosx is not provided by port py25-hashlib.
DEBUG: Searching for dependency: py25-hashlib
DEBUG: Found Dependency: receipt exists for py25-hashlib
DEBUG: Executing org.macports.main (py25-numpy)
--->  Fetching py25-numpy
DEBUG: Executing org.macports.fetch (py25-numpy)
--->  Verifying checksum(s) for py25-numpy
DEBUG: Executing org.macports.checksum (py25-numpy)
--->  Checksumming numpy-1.0.4.tar.gz
DEBUG: Correct (md5) checksum for numpy-1.0.4.tar.gz
DEBUG: Correct (sha1) checksum for numpy-1.0.4.tar.gz
DEBUG: Correct (rmd160) checksum for numpy-1.0.4.tar.gz
--->  Extracting py25-numpy
DEBUG: Executing org.macports.extract (py25-numpy)
--->  Extracting numpy-1.0.4.tar.gz
DEBUG: setting option extract.args to
/opt/local/var/macports/distfiles/python/numpy-1.0.4.tar.gz
DEBUG: Environment:
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work"
&& gzip -dc /opt/local/var/macports/distfiles/python/numpy-1.0.4.tar.gz |
/usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (py25-numpy)
--->  Applying patches to py25-numpy
--->  Applying
/opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py25-numpy/files/patch-g95_link.diff
DEBUG: Environment:
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/numpy-1.0.4"
&& patch -p0'
patching file numpy/distutils/fcompiler/g95.py
--->  Applying
/opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py25-numpy/files/patch-f2py_rules.py.diff
DEBUG: Environment:
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/numpy-1.0.4"
&& patch -p0'
patching file numpy/f2py/rules.py
DEBUG: Executing proc-post-org.macports.patch-patch-0
--->  Configuring py25-numpy
DEBUG: Executing org.macports.configure (py25-numpy)
DEBUG: Using compiler 'Mac OS X gcc 4.0'
--->  Building py25-numpy with target build
DEBUG: Executing org.macports.build (py25-numpy)
DEBUG: Environment:
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-numpy/work/numpy-1.0.4"
&& /opt/local/bin/python2.5 setup.py build'
Running from numpy source directory.
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-numpy/work/numpy-1.0.4"
&& /opt/local/bin/python2.5 setup.py build " returned error 139
Command output: Running from numpy source directory.

Warning: the following items did not execute (for py25-numpy):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.

I did a port clean --all py25-numpy as well as port sync
here is the Portfile after sync
# $Id: Portfile 37408 2008-06-06 13:24:41Z ram@macports.org $

PortSystem              1.0
PortGroup               python25 1.0

name                    py25-numpy
version                 1.0.4
revision                8
categories              python
platforms               darwin
maintainers             ram openmaintainer
description             The core utilities for the scientific library scipy for Python
long_description        ${description}

homepage                http://numpy.scipy.org/
master_sites            sourceforge:numpy
distname                numpy-${version}

checksums               md5 8f011e9d7697da570efaac61c51725e0 \
                        sha1 9a1f09358c3310cf990eecd06dc2eb54aec78321 \
                        rmd160 8ac192ad3f36a94a45c26e0c4028fdbb744881f5

patchfiles              patch-g95_link.diff \
                        patch-f2py_rules.py.diff

depends_lib-append      port:fftw-3 \
                        port:py25-hashlib

post-patch {
  reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/numpy/distutils/fcompiler/g95.py
}

livecheck.distname      NumPy


also,
janaka$ sw_vers 
ProductName:    Mac OS X
ProductVersion: 10.4.11
BuildVersion:   8S165

I also have the latest XCode installed.. (2.5)

Another observation is that when py25-* package is installing it eats up about 80-90% CPU and 2.0GB vsize (Total Memory Size)

Thanks..


Change History (8)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ram@…

Assigning to maintainer.

comment:2 Changed 16 years ago by skymoo (Adam Mercer)

Status: newassigned

Do you get a similar build error with other python25 ports of just py25-numpy?

comment:3 Changed 16 years ago by janakawicks@…

only for py25-numpy

janaka$ port installed |grep 'py'
  py-twisted @2.5.0_0 (active)
  py-zopeinterface @3.3.0_0 (active)
  py25-bsddb @2.5.2_0 (active)
  py25-gobject @2.14.1_0 (active)
  py25-hashlib @2.5.2_0 (active)
  py25-orbit @2.14.3_1 (active)
  py25-zlib @2.5.2_0 (active)
  python24 @2.4.5_0+darwin_8 (active)
  python25 @2.5.2_2+darwin_8 (active)

comment:4 Changed 16 years ago by skymoo (Adam Mercer)

I've just updated to port to 1.1.0, wait around 8 hours (for the next PortIndex run) run a selfupdate and try building again.

comment:5 Changed 16 years ago by janakawicks@…

Hi Sir,

I couldn't wait for 8hrs, so I pulled it from the svn :-) .. It looks like an issue with my python2.5.. for python2.4 it works just fine..

janaka$ port installed  |grep 'numpy'
  py-numpy @1.1.0_0 (active)

When I try manually with 'python2.5 -v' it gets hang at

dlopen("/opt/local/lib/python2.5/lib-dynload/_random.so", 2);
import _random # dynamically loaded from /opt/local/lib/python2.5/lib-dynload/_random.so

then I get a segfault and a nasty Crash Report..

btw, my system is PPC 10.4.11 (Build 8S165) with XCODE 2.5

Cheers, Janaka

comment:6 Changed 16 years ago by janakawicks@…

Great.. I did a re-installation of python 2.5 .. and everything works fine.. Thank you for updating with the new version.. :-)

comment:7 Changed 16 years ago by skymoo (Adam Mercer)

Resolution: worksforme
Status: assignedclosed

Great

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.