[MacPorts] #57385: mpv at 0.29.1 fails to configure on Mavericks

MacPorts noreply at macports.org
Mon Oct 15 20:59:26 UTC 2018


#57385: mpv at 0.29.1 fails to configure on Mavericks
---------------------+--------------------
  Reporter:  tehcog  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.5.4
Resolution:          |   Keywords:
      Port:  mpv     |
---------------------+--------------------

Comment (by tehcog):

 Replying to [comment:3 yan12125]:
 > From a mpv developer:
 >
 > > could you please give me the output of `swift --version` from your
 terminal. then i can fix the auto detection.
 >

 Swift is not installed


 > > otherwise you can use `--disable-swift` to manually disable it for
 now.
 >
 > For the second comment, you can add `--disable-swift` after `configure
 .args-append` in `multimedia/mpv/Portfile` and see if the built mpv can
 correctly play videos.

 'configure.args-append' appears in 2 places.  When adding '--disable-
 swift' to either location, it still fails to configure.

 It looks like it is looking for 10.10, while Mavericks is 10.9

 {{{
 :info:configure Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1"
 && /opt/local/bin/python2.7 ./waf configure --prefix=/opt/local --enable-
 manpage-build --enable-libass --enable-coreaudio --enable-cocoa --enable-
 cplugins --enable-zlib --disable-html-build --disable-cuda-hwaccel
 --disable-opensles --disable-egl-drm --disable-egl-angle-lib --disable-
 egl-angle-win32 --disable-audiounit --disable-ios-gl --disable-mali-fbdev
 --disable-direct3d --disable-android --disable-rpi --disable-dvbin
 --disable-pdf-build --disable-test --disable-clang-database --disable-
 debug-build --disable-libsmbclient --enable-dvdread --enable-dvdnav
 --enable-cdda --disable-vapoursynth --disable-vapoursynth-lazy --enable-
 libarchive --enable-rubberband --disable-pulse --disable-jack --disable-
 openal --enable-gl-cocoa --disable-x11 --disable-xv --disable-gl-x11
 --disable-egl-x11 --disable-caca --disable-jpeg --disable-tv --enable-
 apple-remote --enable-gl --disable-zsh-comp --disable-javascript
 --disable-uchardet --disable-swift --enable-videotoolbox-gl --enable-lua
 --lua=52fbsd --enable-libass-osd
 :debug:configure system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1"
 && /opt/local/bin/python2.7 ./waf configure --prefix=/opt/local --enable-
 manpage-build --enable-libass --enable-coreaudio --enable-cocoa --enable-
 cplugins --enable-zlib --disable-html-build --disable-cuda-hwaccel
 --disable-opensles --disable-egl-drm --disable-egl-angle-lib --disable-
 egl-angle-win32 --disable-audiounit --disable-ios-gl --disable-mali-fbdev
 --disable-direct3d --disable-android --disable-rpi --disable-dvbin
 --disable-pdf-build --disable-test --disable-clang-database --disable-
 debug-build --disable-libsmbclient --enable-dvdread --enable-dvdnav
 --enable-cdda --disable-vapoursynth --disable-vapoursynth-lazy --enable-
 libarchive --enable-rubberband --disable-pulse --disable-jack --disable-
 openal --enable-gl-cocoa --disable-x11 --disable-xv --disable-gl-x11
 --disable-egl-x11 --disable-caca --disable-jpeg --disable-tv --enable-
 apple-remote --enable-gl --disable-zsh-comp --disable-javascript
 --disable-uchardet --disable-swift --enable-videotoolbox-gl --enable-lua
 --lua=52fbsd --enable-libass-osd
 :info:configure Setting top to                           :
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1
 :info:configure Setting out to                           :
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/build
 :info:configure Checking for waf version in 1.8.4-2.1.0  : ok
 :info:configure Checking for program 'cc'                : /usr/bin/clang
 :info:configure Checking for program 'pkg-config'        : /opt/local/bin
 /pkg-config
 :info:configure Checking for program 'ar'                :
 /opt/local/bin/ar
 :info:configure Checking for program 'rst2html'          : not found
 :info:configure Checking for program 'rst2man-2.7'       :
 /opt/local/bin/rst2man-2.7.py
 :info:configure Checking for program 'rst2pdf'           : not found
 :info:configure Checking for program 'windres'           : not found
 :info:configure Checking for program 'perl'              :
 /opt/local/bin/perl
 :info:configure Checking for 'clang' (C compiler)        : /usr/bin/clang
 :info:configure Detected target OS:                      : os-darwin
 :info:configure Checking for macOS SDK                   :
 /Applications/Utilities/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
 :info:configure Checking for swift (Swift compiler)      :
 /Applications/Utilities/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift
 :info:configure Traceback (most recent call last):
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/.waf-2.0.9-10a533182bd85c3f45a157fb5d62db50/waflib/Scripting.py",
 line 118, in waf_entry_point
 :info:configure     run_commands()
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/.waf-2.0.9-10a533182bd85c3f45a157fb5d62db50/waflib/Scripting.py",
 line 178, in run_commands
 :info:configure     ctx=run_command(cmd_name)
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/.waf-2.0.9-10a533182bd85c3f45a157fb5d62db50/waflib/Scripting.py",
 line 169, in run_command
 :info:configure     ctx.execute()
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/.waf-2.0.9-10a533182bd85c3f45a157fb5d62db50/waflib/Configure.py",
 line 85, in execute
 :info:configure     super(ConfigurationContext,self).execute()
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/.waf-2.0.9-10a533182bd85c3f45a157fb5d62db50/waflib/Context.py",
 line 85, in execute
 :info:configure     self.recurse([os.path.dirname(g_module.root_path)])
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/.waf-2.0.9-10a533182bd85c3f45a157fb5d62db50/waflib/Context.py",
 line 126, in recurse
 :info:configure     user_function(self)
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/wscript",
 line 1023, in configure
 :info:configure     ctx.load('detections.compiler_swift')
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/.waf-2.0.9-10a533182bd85c3f45a157fb5d62db50/waflib/Configure.py",
 line 155, in load
 :info:configure     func(self)
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/waftools/detections/compiler_swift.py",
 line 69, in configure
 :info:configure     __find_swift_compiler(ctx)
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/waftools/detections/compiler_swift.py",
 line 61, in __find_swift_compiler
 :info:configure     __add_swift_flags(ctx)
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1/waftools/detections/compiler_swift.py",
 line 15, in __add_swift_flags
 :info:configure     major, minor = [int(n) for n in
 ctx.env.SWIFT_VERSION.split('.')[:2]]
 :info:configure ValueError: invalid literal for int() with base 10:
 '(swift-600'
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.29.1"
 && /opt/local/bin/python2.7 ./waf configure --prefix=/opt/local --enable-
 manpage-build --enable-libass --enable-coreaudio --enable-cocoa --enable-
 cplugins --enable-zlib --disable-html-build --disable-cuda-hwaccel
 --disable-opensles --disable-egl-drm --disable-egl-angle-lib --disable-
 egl-angle-win32 --disable-audiounit --disable-ios-gl --disable-mali-fbdev
 --disable-direct3d --disable-android --disable-rpi --disable-dvbin
 --disable-pdf-build --disable-test --disable-clang-database --disable-
 debug-build --disable-libsmbclient --enable-dvdread --enable-dvdnav
 --enable-cdda --disable-vapoursynth --disable-vapoursynth-lazy --enable-
 libarchive --enable-rubberband --disable-pulse --disable-jack --disable-
 openal --enable-gl-cocoa --disable-x11 --disable-xv --disable-gl-x11
 --disable-egl-x11 --disable-caca --disable-jpeg --disable-tv --enable-
 apple-remote --enable-gl --disable-zsh-comp --disable-javascript
 --disable-uchardet --disable-swift --enable-videotoolbox-gl --enable-lua
 --lua=52fbsd --enable-libass-osd
 :info:configure Exit code: 2
 :error:configure Failed to configure mpv: configure failure: command
 execution failed
 :debug:configure Error code: NONE
 :debug:configure Backtrace: configure failure: command execution failed
 :debug:configure     while executing
 :debug:configure "$procedure $targetname"
 :error:configure See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mpv/mpv/main.log
 for details.

 }}}

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


More information about the macports-tickets mailing list