Skip to content

tsimx6_graphical mpv build issue #85

@ts-kris

Description

@ts-kris

From #83, building mpv results in python errors:

 /work/buildroot/output/host/bin/waf:101: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
  for x in t: t.extract(x)
/work/buildroot/output/build/mpv-0.35.1/wscript:1022: SyntaxWarning: invalid escape sequence '\$'
  while re.match('\$\{([^}]+)\}', ctx.env[varname]):
/work/buildroot/output/build/mpv-0.35.1/waftools/inflector.py:9: SyntaxWarning: invalid escape sequence '\d'
  re.sub('([a-z\d])([A-Z])', '\\1_\\2', \
Traceback (most recent call last):
  File "/work/buildroot/output/host/bin/.waf3-2.1.1-073e1606e6ae84d01a398086bd4053ad/waflib/Scripting.py", line 122, in waf_entry_point
    run_commands()
  File "/work/buildroot/output/host/bin/.waf3-2.1.1-073e1606e6ae84d01a398086bd4053ad/waflib/Scripting.py", line 181, in run_commands
    parse_options()
  File "/work/buildroot/output/host/bin/.waf3-2.1.1-073e1606e6ae84d01a398086bd4053ad/waflib/Scripting.py", line 161, in parse_options
    ctx.execute()
  File "/work/buildroot/output/host/bin/.waf3-2.1.1-073e1606e6ae84d01a398086bd4053ad/waflib/Options.py", line 203, in execute
    super(OptionsContext,self).execute()
  File "/work/buildroot/output/host/bin/.waf3-2.1.1-073e1606e6ae84d01a398086bd4053ad/waflib/Context.py", line 92, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/work/buildroot/output/host/bin/.waf3-2.1.1-073e1606e6ae84d01a398086bd4053ad/waflib/Context.py", line 133, in recurse
    user_function(self)
  File "/work/buildroot/output/build/mpv-0.35.1/wscript", line 941, in options
    group.add_option('--{0}'.format(ident),
  File "/work/buildroot/output/host/lib/python3.12/argparse.py", line 1487, in add_argument
    raise ValueError('%r is not callable' % (type_func,))
ValueError: 'string' is not callable
make[1]: *** [package/pkg-generic.mk:263: /work/buildroot/output/build/mpv-0.35.1/.stamp_configured] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstream issueIssue with Buildroot upstream that cannot be reasonably fixed in this repo alone

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions