[MacPorts] #62889: mpv check version error: ValueError: invalid version number '11'

MacPorts noreply at macports.org
Fri May 14 06:47:34 UTC 2021


#62889: mpv check version error: ValueError: invalid version number '11'
--------------------------+-----------------------------
 Reporter:  keke-cute     |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:  MacPorts Future
Component:  ports         |    Version:  2.6.99
 Keywords:  bigsur,arm64  |       Port:  mpv
--------------------------+-----------------------------
 ----
 [https://gist.githubusercontent.com/keke-
 cute/1f15f320c08ea40996c2ddbc5719e7d6/raw/75032c1856df02c6150e994d6c9d19f96fe3aa8e/gistfile1.txt
 full main.log see]
 ----

 {{{
 π sudo port -v install mpv
 ─╯
 --->  Computing dependencies for mpv.
 --->  Fetching archive for mpv
 --->
 mpv-0.33.1_1+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python39.darwin_20.arm64.tbz2
 doesn't seem to exist in /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch
 mpv-0.33.1_1+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python39.darwin_20.arm64.tbz2
 from https://pek.cn.packages.macports.org/macports/packages/mpv
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--
 0
 --->  Attempting to fetch
 mpv-0.33.1_1+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python39.darwin_20.arm64.tbz2
 from https://kmq.jp.packages.macports.org/mpv
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--
 0
 --->  Attempting to fetch
 mpv-0.33.1_1+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python39.darwin_20.arm64.tbz2
 from https://packages.macports.org/mpv
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--
 0
 --->  Configuring mpv
 --->  Patching config-maintainer: s/@@NETWORK@@//
 Warning: reinplace s/@@NETWORK@@// didn't change anything in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1/TOOLS
 /config-maintainer
 --->  Patching config-maintainer: s/@@HWDEC@@//
 Warning: reinplace s/@@HWDEC@@// didn't change anything in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1/TOOLS
 /config-maintainer
 --->  Patching config-maintainer: s/@@HWDEC_CUDA@@//
 Warning: reinplace s/@@HWDEC_CUDA@@// didn't change anything in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1/TOOLS
 /config-maintainer
 --->  Patching config-maintainer: s/@@BACKEND@@/cocoa/
 Warning: reinplace s/@@BACKEND@@/cocoa/ didn't change anything in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1/TOOLS
 /config-maintainer
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1"
 && /opt/local/bin/python3.9 ./waf configure --prefix=/opt/local --enable-
 manpage-build --enable-coreaudio --enable-cocoa --enable-cplugins
 --enable-zlib --enable-swift --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-direct3d
 --disable-android --disable-rpi --disable-dvbin --disable-caca --enable-
 cdda --disable-clang-database --disable-debug-build --enable-dvdnav
 --disable-egl-x11 --enable-gl --enable-gl-cocoa --disable-gl-x11
 --disable-jack --disable-javascript --disable-jpeg --enable-libarchive
 --disable-openal --disable-pdf-build --disable-pulse --disable-rubberband
 --disable-test --disable-tv --disable-uchardet --disable-vapoursynth
 --disable-x11 --disable-xv --enable-videotoolbox-gl --enable-lua
 --lua=52fbsd
 Setting top to                           :
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-4c9d366
 Setting out to                           :
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-4c9d366/build
 Checking for waf version in 1.8.4-2.1.0  : ok
 Checking for program 'cc'                : /usr/bin/clang
 Checking for program 'pkg-config'        : /opt/local/bin/pkg-config
 Checking for program 'ar'                : /usr/bin/ar
 Checking for program 'rst2html'          : /opt/local/bin/rst2html.py
 Checking for program 'rst2man-3.9'       : /opt/local/bin/rst2man-3.9.py
 Checking for program 'rst2pdf'           : not found
 Checking for program 'windres'           : not found
 Checking for program 'perl'              : /opt/local/bin/perl
 Checking for 'clang' (C compiler)        : /usr/bin/clang
 Detected target OS:                      : os-darwin
 Checking for macOS SDK                   :
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
 (version found: 11)
 Checking for swift (Swift compiler)      :
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift
 Checking for dynamic Swift Library       :
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx
 Checking for static Swift Library        : not found
 Checking for compiler flags -std=c11     : yes
 Checking for compiler flags -Werror -Werror=implicit-function-declaration
 : yes
 Checking for compiler flags -Werror -Wno-error=deprecated-declarations
 : yes
 Checking for compiler flags -Werror -Wno-error=unused-function
 : yes
 Checking for compiler flags -Werror -Wempty-body
 : yes
 Checking for compiler flags -Werror -Wdisabled-optimization
 : yes
 Checking for compiler flags -Werror -Wstrict-prototypes
 : yes
 Checking for compiler flags -Werror -Wno-format-zero-length
 : yes
 Checking for compiler flags -Werror -Werror=format-security
 : yes
 Checking for compiler flags -Werror -Wno-redundant-decls
 : yes
 Checking for compiler flags -Werror -Wvla
 : yes
 Checking for compiler flags -Werror -Wno-format-truncation
 : no
 Checking for compiler flags -Werror -Wimplicit-fallthrough
 : yes
 Checking for compiler flags -Werror -fno-math-errno
 : yes
 Checking for LGPL (version 2.1 or later) build
 : disabled
 Checking for GPL (version 2 or later) build
 : yes
 Checking for mpv CLI player
 : yes
 Checking for shared library
 : disabled
 Checking for static library
 : disabled
 Checking for static build
 : disabled
 Checking for whether to include binary compile time
 : yes
 Checking for whether to optimize
 : yes
 Checking for whether to compile-in debugging information
 : disabled
 Checking for unit tests (development only)
 : disabled
 Checking for enable ta leak report by default (development only)
 : disabled
 Checking for manpage generation
 : yes
 Checking for html manual generation
 : disabled
 Checking for pdf manual generation
 : disabled
 Checking for dynamic loader
 : yes
 Checking for C plugins
 : yes
 Checking for inline assembly (currently without effect)
 : yes
 Checking for generate a clang compilation database
 : disabled
 Checking for static Swift linking
 : disabled
 Checking for compiler support for noexecstack
 : no
 Checking for linker support for --nxcompat --no-seh --dynamicbase
 : no
 Checking for -lm
 : yes
 Checking for MinGW
 : os-win32 not found
 Checking for POSIX environment
 : yes
 Checking for Android environment
 : disabled
 Checking for tvOS environment
 : disabled
 Checking for Android EGL support
 : android not found
 Checking for development environment
 : yes
 Checking for macOS Swift build tools
 : Traceback (most recent call last):
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Scripting.py",
 line 119, in waf_entry_point
     run_commands()
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Scripting.py",
 line 182, in run_commands
     ctx=run_command(cmd_name)
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Scripting.py",
 line 173, in run_command
     ctx.execute()
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Configure.py",
 line 85, in execute
     super(ConfigurationContext,self).execute()
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Context.py",
 line 92, in execute
     self.recurse([os.path.dirname(g_module.root_path)])
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Context.py",
 line 133, in recurse
     user_function(self)
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-4c9d366/wscript", line 962, in configure
     ctx.parse_dependencies(main_dependencies)
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-
 4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Configure.py",
 line 175, in fun
     return f(*k,**kw)
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-4c9d366/waftools/dependencies.py", line 160, in
 parse_dependencies
     [__check_dependency__(ctx, dependency) for dependency in dependencies]
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-4c9d366/waftools/dependencies.py", line 160, in <listcomp>
     [__check_dependency__(ctx, dependency) for dependency in dependencies]
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-4c9d366/waftools/dependencies.py", line 155, in
 __check_dependency__
     Dependency(ctx,
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-4c9d366/waftools/dependencies.py", line 47, in check
     self.check_autodetect_func()
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-4c9d366/waftools/dependencies.py", line 76, in
 check_autodetect_func
     if self.attributes['func'](self.ctx, self.identifier):
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-4c9d366/waftools/checks/generic.py", line 180, in fn
     return all([check(ctx, dependency_identifier) for check in checks])
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-4c9d366/waftools/checks/generic.py", line 180, in
 <listcomp>
     return all([check(ctx, dependency_identifier) for check in checks])
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
 /mpv-player-mpv-4c9d366/waftools/checks/generic.py", line 199, in fn
     if StrictVersion(ctx.env.MACOS_SDK_VERSION) >= StrictVersion(version):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/version.py",
 line 40, in __init__
     self.parse(vstring)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/version.py",
 line 137, in parse
     raise ValueError("invalid version number '%s'" % vstring)
 ValueError: invalid version number '11'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1"
 && /opt/local/bin/python3.9 ./waf configure --prefix=/opt/local --enable-
 manpage-build --enable-coreaudio --enable-cocoa --enable-cplugins
 --enable-zlib --enable-swift --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-direct3d
 --disable-android --disable-rpi --disable-dvbin --disable-caca --enable-
 cdda --disable-clang-database --disable-debug-build --enable-dvdnav
 --disable-egl-x11 --enable-gl --enable-gl-cocoa --disable-gl-x11
 --disable-jack --disable-javascript --disable-jpeg --enable-libarchive
 --disable-openal --disable-pdf-build --disable-pulse --disable-rubberband
 --disable-test --disable-tv --disable-uchardet --disable-vapoursynth
 --disable-x11 --disable-xv --enable-videotoolbox-gl --enable-lua
 --lua=52fbsd
 Exit code: 2
 Error: Failed to configure mpv: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port mpv failed

 }}}

 ----
 [https://gist.githubusercontent.com/keke-
 cute/1f15f320c08ea40996c2ddbc5719e7d6/raw/75032c1856df02c6150e994d6c9d19f96fe3aa8e/gistfile1.txt
 full main.log see]
 ----

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


More information about the macports-tickets mailing list