Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2018 15:42:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230651] multimedia/mpv: Build fails with default Python != 2.7
Message-ID:  <bug-230651-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230651

            Bug ID: 230651
           Summary: multimedia/mpv: Build fails with default Python !=3D 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@freebsd.org
          Reporter: tobik@freebsd.org
             Flags: maintainer-feedback?(cpm@freebsd.org)
          Assignee: cpm@freebsd.org

With DEFAULT_VERSIONS+=3Dpython=3D3.7 the build fails with

=3D=3D=3D>  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/waf=
lib/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/waf=
lib/Scripting.py",
line 165, in waf_entry_point
    run_commands()
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waf=
lib/Scripting.py",
line 262, in run_commands
    parse_options()
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waf=
lib/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/waf=
lib/Options.py",
line 271, in execute
    super(OptionsContext, self).execute()
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waf=
lib/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/waf=
lib/Context.py",
line 287, in recurse
    user_function(self)
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/mpv-0.29.0/wscrip=
t",
line 927, in options
    opt.load('compiler_c')
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waf=
lib/Context.py",
line 197, in load
    fun(self)
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waf=
lib/Tools/compiler_c.py",
line 102, in options
    opt.load_special_tools('c_*.py', ban=3D['c_dumbpreproc.py'])
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waf=
lib/Context.py",
line 613, in load_special_tools
    lst =3D self.root.find_node(waf_dir).find_node('waflib/extras').ant_glo=
b(var)
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waf=
lib/Node.py",
line 669, in ant_glob
    ret =3D [x for x in self.ant_iter(accept=3Daccept, pats=3D[to_pat(incl),
to_pat(excl)], maxdepth=3Dkw.get('maxdepth', 25), dir=3Ddir, src=3Dsrc,
remove=3Dkw.get('remove', True))]
  File
"/construction/home/tobias/ports/head/multimedia/mpv/work/waf-waf-1.9.8/waf=
lib/Node.py",
line 669, in <listcomp>
    ret =3D [x for x in self.ant_iter(accept=3Daccept, pats=3D[to_pat(incl),
to_pat(excl)], maxdepth=3Dkw.get('maxdepth', 25), dir=3Ddir, src=3Dsrc,
remove=3Dkw.get('remove', True))]
RuntimeError: generator raised StopIteration

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230651-7788>