[Bug 230651] multimedia/mpv: Build fails with default Python != 2.7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 15 15:42:03 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230651

            Bug ID: 230651
           Summary: multimedia/mpv: Build fails with default Python != 2.7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/mpv-player/mpv/issues/5958
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cpm at freebsd.org
          Reporter: tobik at freebsd.org
             Flags: maintainer-feedback?(cpm at freebsd.org)
          Assignee: cpm at freebsd.org

With DEFAULT_VERSIONS+=python=3.7 the build fails with

===>  Configuring for mpv-0.29.0_2,1
Traceback (most recent call last):
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waflib/Node.py",
line 576, in ant_iter
    raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waflib/Scripting.py",
line 165, in waf_entry_point
    run_commands()
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waflib/Scripting.py",
line 262, in run_commands
    parse_options()
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waflib/Scripting.py",
line 214, in parse_options
    Context.create_context('options').execute()
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waflib/Options.py",
line 271, in execute
    super(OptionsContext, self).execute()
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waflib/Context.py",
line 205, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waflib/Context.py",
line 287, in recurse
    user_function(self)
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/mpv-0.29.0/wscript",
line 927, in options
    opt.load('compiler_c')
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waflib/Context.py",
line 197, in load
    fun(self)
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waflib/Tools/compiler_c.py",
line 102, in options
    opt.load_special_tools('c_*.py', ban=['c_dumbpreproc.py'])
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waflib/Context.py",
line 613, in load_special_tools
    lst = self.root.find_node(waf_dir).find_node('waflib/extras').ant_glob(var)
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waflib/Node.py",
line 669, in ant_glob
    ret = [x for x in self.ant_iter(accept=accept, pats=[to_pat(incl),
to_pat(excl)], maxdepth=kw.get('maxdepth', 25), dir=dir, src=src,
remove=kw.get('remove', True))]
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waflib/Node.py",
line 669, in <listcomp>
    ret = [x for x in self.ant_iter(accept=accept, pats=[to_pat(incl),
to_pat(excl)], maxdepth=kw.get('maxdepth', 25), dir=dir, src=src,
remove=kw.get('remove', True))]
RuntimeError: generator raised StopIteration

I currently force use of Python 2.7 via USES=python:2.7 to work around it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list