[MacPorts] #56266: py-cartopy installation failed, could not read wkt.pyc

MacPorts noreply at macports.org
Tue Apr 10 18:10:14 UTC 2018


#56266: py-cartopy installation failed, could not read wkt.pyc
-----------------------+-------------------------------
 Reporter:  Chergnat   |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.4.2
 Keywords:  elcapitan  |       Port:  petr at macports.org
-----------------------+-------------------------------
 Hello,

 The installation py-cartopy failed because the file wkt.pyc could not be
 read during execution.

 I am using OS X El Capitan, 10.11.6 and Xcode 8.2.1.

 I have tried to clean and reiterate the install, but not to avail.

 I have checked that the file wkt.pyc did indeed exist. Here is the output
 of the ls -alt command:
 {{{
 -rw-r--r--  1 root  wheel  1626 Jan 29 08:07
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/shapely/wkt.pyc
 }}}

 I am joining the py27-cartopy/main.log for details. Here is the most
 relevant excerpt:

 {{{
   ...
   86 :info:build Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 cartopy/py27-cartopy/work/cartopy-0.15.1" &&
 /opt/local/Library/Frameworks/Python.framewor
 k/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
   87 :debug:build system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 cartopy/py27-cartopy/work/cartopy-0.15.1" &&
 /opt/local/Library/Frameworks/Python.framework/
 Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
   88 :info:build Proj4 4.9.0 must be installed.
   89 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 cartopy/py27-cartopy/work/cartopy-0.15.1" &&
 /opt/local/Library/Frameworks/Python.fra
 mework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
   90 :info:build Exit code: 1
   91 :error:build Failed to build py27-cartopy: command execution failed
   92 :debug:build Error code: CHILDSTATUS 28767 1
   93 :debug:build Backtrace: command execution failed
   94 :debug:build     while executing
   95 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
   96 :debug:build     invoked from within
   97 :debug:build "command_exec build"
   98 :debug:build     (procedure "portbuild::build_main" line 8)
   99 :debug:build     invoked from within
  100 :debug:build "$procedure $targetname"
  101 :debug:build could not read
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/shapely/wkt.pyc": no such file or directory
  102 :debug:build     while executing
  103 :debug:build "::file type $file"
  104 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-cartopy/py27-cartopy/main.log for
 details.
 }}}

 Some help would be greatly appreciated.

-- 
Ticket URL: <https://trac.macports.org/ticket/56266>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list