Opened 6 years ago

Closed 6 years ago

#55987 closed defect (fixed)

py26-numpy @1.11.3: can't find file to patch at input line 3

Reported by: Buadhai Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: py-numpy

Description

Xcode Version 9.2 (9C40b) OSX 10.13.3

MrMuscle:~ mnewman$ sudo port clean py26-numpy
Password:
--->  Cleaning py26-numpy
MrMuscle:~ mnewman$ sudo port upgrade outdated
--->  Computing dependencies for py26-numpy
--->  Fetching archive for py26-numpy
--->  Attempting to fetch py26-numpy-1.11.3_0+gfortran.darwin_17.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/py26-numpy
--->  Attempting to fetch py26-numpy-1.11.3_0+gfortran.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/py26-numpy
--->  Attempting to fetch py26-numpy-1.11.3_0+gfortran.darwin_17.x86_64.tbz2 from https://packages.macports.org/py26-numpy
--->  Fetching distfiles for py26-numpy
--->  Verifying checksums for py26-numpy
--->  Extracting py26-numpy
--->  Applying patches to py26-numpy
Error: Failed to patch py26-numpy: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py26-numpy/main.log for details.
Error: Problem while installing py26-numpy

Attachments (1)

main.log (131.0 KB) - added by Buadhai 6 years ago.
py26-numpy install log

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by Buadhai

Attachment: main.log added

py26-numpy install log

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: py26-numpy removed
Owner: set to michaelld
Port: py-numpy added; py26-numpy removed
Status: newassigned
Summary: port upgrade outdated fails with: Problem while installing py26-numpypy26-numpy @1.11.3: can't find file to patch at input line 3

The transcript you showed above was a clean build attempt, but the log you attached was not from a clean attempt. But I see the same problem on my system, and the real error is:

--->  Applying patch-numpy_tests_test_scripts.py.26.diff
DEBUG: Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk_python_py-numpy/py26-numpy/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.12'
Executing:  cd "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk_python_py-numpy/py26-numpy/work/numpy-1.11.3" && /usr/bin/patch -p0 < '/Users/rschmidt/macports/macports-ports-svn-trunk/python/py-numpy/files/patch-numpy_tests_test_scripts.py.26.diff'
DEBUG: system:  cd "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk_python_py-numpy/py26-numpy/work/numpy-1.11.3" && /usr/bin/patch -p0 < '/Users/rschmidt/macports/macports-ports-svn-trunk/python/py-numpy/files/patch-numpy_tests_test_scripts.py.26.diff'
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- test_scripts.py.orig
|+++ test_scripts.py
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
2 out of 2 hunks ignored

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

Resolution: fixed
Status: assignedclosed

In c2c8811cd7748c0486b5722aa0cc7be42d23a354/macports-ports:

py*-numpy: fix patches to work

Closes: #55987

Note: See TracTickets for help on using tickets.