[MacPorts] #56150: py36-cartopy @0.15.1_2: install fails: setup.py can't find proj

MacPorts noreply at macports.org
Mon Mar 26 18:51:12 UTC 2018


#56150: py36-cartopy @0.15.1_2: install fails: setup.py can't find proj
------------------------+------------------------
 Reporter:  mndavidoff  |      Owner:
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.4.2
 Keywords:              |       Port:  py-cartopy
------------------------+------------------------
 Installing py36-cartopy gets this error:

 {{{
 $ sudo port -vs install py36-cartopy
 --->  Computing dependencies for py36-cartopy.
 --->  Fetching distfiles for py36-cartopy
 --->  Verifying checksums for py36-cartopy
 --->  Checksumming cartopy-0.15.1.tar.gz
 --->  Extracting py36-cartopy
 --->  Extracting cartopy-0.15.1.tar.gz
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-cartopy/py36-cartopy/work"
 && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/py-
 cartopy/cartopy-0.15.1.tar.gz' | /usr/bin/tar -xf -
 --->  Configuring py36-cartopy
 --->  Building py36-cartopy
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cartopy/py36-cartopy/work/cartopy-0.15.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
 setup.py --no-user-cfg build
 Proj4 4.9.0 must be installed.
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cartopy/py36-cartopy/work/cartopy-0.15.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
 setup.py --no-user-cfg build
 Exit code: 1
 Error: Failed to build py36-cartopy: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cartopy/py36-cartopy/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port py36-cartopy failed
 }}}

 The proj4 port installs `/opt/local/lib/proj49/bin/proj`, so maybe the py-
 cartopy setup.py can't find the `proj` executable there.

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


More information about the macports-tickets mailing list