[MacPorts] #63000: py27-gdal fails to upgrade

MacPorts noreply at macports.org
Sun May 30 17:12:55 UTC 2021


#63000: py27-gdal fails to upgrade
---------------------+-----------------------
 Reporter:  dershow  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  py27-gdal
---------------------+-----------------------
 I'm trying to upgrade py-gdal from 3.2.1_0 to 3.3.0_0 and it fails.  I did
 just upgrade the gdal port from 3.2.2_1 to 3.3.0_0 which might be related.

 Here's the end of the log file:

 {{{
 :debug:build
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk'
 :info:build Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-gdal/py27-gdal/work/GDAL-3.3.0" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 :debug:build system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-gdal/py27-gdal/work/GDAL-3.3.0" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 :info:build Traceback (most recent call last):
 :info:build   File "setup.py", line 350, in <module>
 :info:build     readme = open('README.rst', encoding="utf-8").read()
 :info:build TypeError: 'encoding' is an invalid keyword argument for this
 function
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-gdal/py27-gdal/work/GDAL-3.3.0" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 :info:build Exit code: 1
 :error:build Failed to build py27-gdal: command execution failed
 :debug:build Error code: CHILDSTATUS 59139 1
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-gdal/py27-gdal/main.log for details.

 }}}

 Full log file is attached.

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


More information about the macports-tickets mailing list