[MacPorts] #55987: py26-numpy @1.11.3: can't find file to patch at input line 3 (was: port upgrade outdated fails with: Problem while installing py26-numpy)

MacPorts noreply at macports.org
Thu Mar 8 07:00:54 UTC 2018


#55987: py26-numpy @1.11.3: can't find file to patch at input line 3
-----------------------+-----------------------
  Reporter:  Buadhai   |      Owner:  michaelld
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  py-numpy  |
-----------------------+-----------------------
Changes (by ryandesign):

 * owner:   => michaelld
 * status:  new => assigned
 * port:  py26-numpy => py-numpy
 * keywords:  py26-numpy =>


Comment:

 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
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/55987#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list