[MacPorts] #59090: mercurial 5.1 build command execution failed - IndexError: list index out of range

MacPorts noreply at macports.org
Tue Sep 24 00:17:07 UTC 2019


#59090: mercurial 5.1 build command execution failed - IndexError: list index out
of range
-----------------------+-----------------------
 Reporter:  klausness  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.0
 Keywords:             |       Port:  mercurial
-----------------------+-----------------------
 Attempting to upgrade mercurial, build failed with IndexError: list index
 out of range.

 MacOS 10.13.6, Xcode 10.1

 From the log:
 {{{
 :info:build running build_ext
 :info:build building 'mercurial.cext.base85' extension
 :info:build creating build/temp.macosx-10.13-x86_64-2.7
 :info:build creating build/temp.macosx-10.13-x86_64-2.7/mercurial
 :info:build creating build/temp.macosx-10.13-x86_64-2.7/mercurial/cext
 :info:build Traceback (most recent call last):
 :info:build   File "setup.py", line 1512, in <module>
 :info:build     **extra)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
 line 151, in setup
 :info:build     dist.run_commands()
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
 line 953, in run_commands
 :info:build     self.run_command(cmd)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
 line 972, in run_command
 :info:build     cmd_obj.run()
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build.py",
 line 127, in run
 :info:build     self.run_command(cmd_name)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py",
 line 326, in run_command
 :info:build     self.distribution.run_command(command)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
 line 972, in run_command
 :info:build     cmd_obj.run()
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py",
 line 340, in run
 :info:build     self.build_extensions()
 :info:build   File "setup.py", line 510, in build_extensions
 :info:build     return build_ext.build_extensions(self)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py",
 line 449, in build_extensions
 :info:build     self.build_extension(ext)
 :info:build   File "setup.py", line 517, in build_extension
 :info:build     build_ext.build_extension(self, ext)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py",
 line 499, in build_extension
 :info:build     depends=ext.depends)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/ccompiler.py",
 line 574, in compile
 :info:build     self._compile(obj, src, ext, cc_args, extra_postargs,
 pp_opts)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/unixccompiler.py",
 line 119, in _compile
 :info:build     cc_args + extra_postargs)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_osx_support.py",
 line 357, in compiler_fixup
 :info:build     sysroot = compiler_so[idx+1]
 :info:build IndexError: list index out of range
 :info:build make: *** [build] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_mercurial/mercurial/work/mercurial-5.1/doc'
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_mercurial/mercurial/work/mercurial-5.1'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_mercurial/mercurial/work/mercurial-5.1"
 && make -j8 -w all
 PYTHON=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 :info:build Exit code: 2
 :error:build Failed to build mercurial: command execution failed
 :debug:build Error code: CHILDSTATUS 67313 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 }}}

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


More information about the macports-tickets mailing list