Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#41396 closed defect (fixed)

py-numpy patch failure with +atlas

Reported by: mf2k (Frank Schima) Owned by: dh@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: michaelld (Michael Dickens), seanfarley (Sean Farley), cooljeanius (Eric Gallager)
Port: py-numpy

Description

I'm not able to update to py-numpy 1.8.0.

$ port -d installed py27-numpy
The following ports are currently installed:
  py27-numpy @1.7.1_1+atlas+gcc48 (active) platform='darwin 13' archs='x86_64'
:info:patch --->  Applying patch-numpy_linalg_setup.py.diff
:debug:patch Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_trunk_dports_python_py-numpy/py27-numpy/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_python_py-numpy/py27-numpy/work/numpy-1.8.0" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_python_py-numpy/py27-numpy/work/numpy-1.8.0" && /usr/bin/patch -p0 < '/opt/mports/trunk/dports/python/py-numpy/files/patch-numpy_linalg_setup.py.diff'
:info:patch patching file numpy/linalg/setup.py
:info:patch Hunk #1 FAILED at 27.
:info:patch 1 out of 1 hunk FAILED -- saving rejects to file numpy/linalg/setup.py.rej

Attachments (1)

main.log (9.9 KB) - added by mf2k (Frank Schima) 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 11 years ago by seanfarley (Sean Farley)

Thanks for the report. It looks like this patch is no longer needed in numpy 1.8.0. I'll push a fix shortly.

comment:2 Changed 11 years ago by michaelld (Michael Dickens)

It is used for +universal, and is still needed even though the resulting code isn't fully +universal. I'm pushing a fix right now since I have it at hand.

comment:3 Changed 11 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed
Summary: py-numpy patch failurepy-numpy patch failure when +universal

Done in r113470. We still need to fix +universal so it works correctly, but at least the patches will now work.

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 11 years ago by michaelld (Michael Dickens)

Summary: py-numpy patch failure when +universalpy-numpy patch failure with +atlas

My bad: this patch is about +atlas, not +universal. That said, +universal still does not work in the sense that not all of the created libraries are not actually +universal.

comment:6 Changed 11 years ago by larryv (Lawrence Velázquez)

I’ve opened #42416 about the +universal issue.

Note: See TracTickets for help on using tickets.