Opened 10 years ago

Closed 10 years ago

#41797 closed defect (fixed)

py27-matplotlib fails to apply patches

Reported by: mf2k (Frank Schima) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: mww@…
Port: py-matplotlib

Description

:notice:patch --->  Applying patches to py27-matplotlib
:info:patch --->  Applying patch-setup.cfg.diff
:debug:patch Creating patch directory: /opt/local/var/macports/build/_opt_mports_trunk_dports_python_py-matplotlib/py27-matplotlib/work/matplotlib-1.3.1
:debug:patch Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_trunk_dports_python_py-matplotlib/py27-matplotlib/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-matplotlib/py27-matplotlib/work/matplotlib-1.3.1" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_python_py-matplotlib/py27-matplotlib/work/matplotlib-1.3.1" && /usr/bin/patch -p0 < '/opt/mports/trunk/dports/python/py-matplotlib/files/patch-setup.cfg.diff'
:info:patch patching file setup.cfg
:info:patch --->  Applying patch-setupext.py.diff
:debug:patch Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_trunk_dports_python_py-matplotlib/py27-matplotlib/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-matplotlib/py27-matplotlib/work/matplotlib-1.3.1" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_python_py-matplotlib/py27-matplotlib/work/matplotlib-1.3.1" && /usr/bin/patch -p0 < '/opt/mports/trunk/dports/python/py-matplotlib/files/patch-setupext.py.diff'
:info:patch can't find file to patch at input line 3
:info:patch Perhaps you used the wrong -p or --strip option?

Attachments (1)

main.log (8.8 KB) - added by mf2k (Frank Schima) 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by mf2k (Frank Schima)

Attachment: main.log added

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

Bwah? This is a strange error. Update to r114637 and this patches fine. It seems r114646 broke this. Looking into this now.

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Cc: mww@… added

Cc'ing committer of r114646.

comment:3 in reply to:  2 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

Replying to macsforever2000@…:

Cc'ing committer of r114646.

I think I fixed it in r114687 by using ${worksrcpath} instead of ${name}-${version} so that other port groups (such as python) can override the variable name.

Note: See TracTickets for help on using tickets.