[MacPorts] #61319: mpv upgrade issue

MacPorts noreply at macports.org
Thu Nov 26 12:27:45 UTC 2020


#61319: mpv upgrade issue
----------------------+--------------------
  Reporter:  rex4539  |      Owner:  Ionic
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:  fixed    |   Keywords:
      Port:  mpv      |
----------------------+--------------------

Comment (by neverpanic):

 Unfortunately this change now breaks building mpv on older platforms:
 {{{
 <unknown>:0: error: unable to load standard library for target 'x86_64
 -apple-macosx10.14'

 Waf: Leaving directory
 `/opt/local/var/macports/build/_opt_dports_multimedia_mpv/mpv/work/mpv-
 player-mpv-d5ae9f7/build'
   File "./waf", line 168, in <module>
     Scripting.waf_entry_point(cwd, VERSION, wafdir)
   File "/opt/local/var/macports/build/_opt_dports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 d5ae9f7/.waf3-2.0.21-16cd196b0fc7b4eebe195ce20396f3d1/waflib/Scripting.py",
 line 119, in waf_entry_point
     run_commands()
   File "/opt/local/var/macports/build/_opt_dports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 d5ae9f7/.waf3-2.0.21-16cd196b0fc7b4eebe195ce20396f3d1/waflib/Scripting.py",
 line 182, in run_commands
     ctx=run_command(cmd_name)
   File "/opt/local/var/macports/build/_opt_dports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 d5ae9f7/.waf3-2.0.21-16cd196b0fc7b4eebe195ce20396f3d1/waflib/Scripting.py",
 line 173, in run_command
     ctx.execute()
   File "/opt/local/var/macports/build/_opt_dports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 d5ae9f7/.waf3-2.0.21-16cd196b0fc7b4eebe195ce20396f3d1/waflib/Scripting.py",
 line 375, in execute
     return execute_method(self)
   File "/opt/local/var/macports/build/_opt_dports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 d5ae9f7/.waf3-2.0.21-16cd196b0fc7b4eebe195ce20396f3d1/waflib/Build.py",
 line 93, in execute
     self.execute_build()
   File "/opt/local/var/macports/build/_opt_dports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 d5ae9f7/.waf3-2.0.21-16cd196b0fc7b4eebe195ce20396f3d1/waflib/Build.py",
 line 100, in execute_build
     self.compile()
   File "/opt/local/var/macports/build/_opt_dports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 d5ae9f7/.waf3-2.0.21-16cd196b0fc7b4eebe195ce20396f3d1/waflib/Tools/errcheck.py",
 line 140, in check_compile
     ret=self.orig_compile()
   File "/opt/local/var/macports/build/_opt_dports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 d5ae9f7/.waf3-2.0.21-16cd196b0fc7b4eebe195ce20396f3d1/waflib/Build.py",
 line 176, in compile
     raise Errors.BuildError(self.producer.error)
   File "/opt/local/var/macports/build/_opt_dports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 d5ae9f7/.waf3-2.0.21-16cd196b0fc7b4eebe195ce20396f3d1/waflib/Errors.py",
 line 26, in __init__
     WafError.__init__(self,self.format_error())

 Build failed
  -> task in
 'osdep/macOS_swift.o,osdep/macOS_swift.h,osdep/macOS_swift.swiftmodule'
 failed with exit status 1:
         {task 4470335968:
 osdep/macOS_swift.o,osdep/macOS_swift.h,osdep/macOS_swift.swiftmodule
 log_helper.swift,libmpv_helper.swift,mpv_helper.swift,swift_extensions.swift,swift_compat.swift,remote_command_center.swift,common.swift,view.swift,window.swift,title_bar.swift,cocoa_cb_common.swift,gl_layer.swift
 -> macOS_swift.o,macOS_swift.h,macOS_swift.swiftmodule}
 ''
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_dports_multimedia_mpv/mpv/work/mpv-0.33.0"
 && /opt/local/bin/python3.8 ./waf build -v --verbose
 }}}

 Reverting the change allows the build to finish. I'm on 10.14.6, my
 `${configure.sdkroot}` is
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/.

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


More information about the macports-tickets mailing list