You are not logged in.
So I've been noticing lately that every time I run/compile something that calls for pyyaml, I get the "Invalid -W option ignored: invalid module name 'yaml'" error. Most of the time, the code will end up finishing and producing an executable (as opposed to erroring out), but it's still driving me crazy and nothing I try seems to fix it. What's worse, is that I seem to build a lot of things that require pyyaml and so this is very troublesome. Namely, I have a 5600 XT which most of you surely know just came out a couple weeks ago, and I'm constantly needing to compile different mesa builds to try and fix/bisect rendering issues, and every time I try to build mesa, I get that error at the beginning.
I have every variant of python-yaml from the official repos installed, as well as running:
sudo pip install pyyamland
sudo pip3 install pyyamlHere's the yaml packages I have installed through pacman:
pacman -Q | grep -i yaml
lib32-libyaml 0.2.2-1
libyaml 0.2.2-1
python-pyaml 19.12.0-1
python-yaml 5.3-1
python2-pyaml 19.12.0-1
python2-yaml 5.3-1Can someone please help me figure this out? It's driving me crazy, and I don't know what to do.
EDIT: Hell, look, this is just the output from the first 3 seconds of installing mesa:
ninja install
[1/2204] Generating git_sha1.h with a custom command.
Invalid -W option ignored: invalid module name: 'yaml'
[2/2204] Generating xmlpool_options.h with a custom command.
Invalid -W option ignored: invalid module name: 'yaml'
Warning: language 'ca' not found.
Warning: language 'es' not found.
Warning: language 'de' not found.
Warning: language 'nl' not found.
Warning: language 'sv' not found.
Warning: language 'fr' not found.
[3/2204] Generating u_format_ta... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[32/2204] Generating format_srg... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[55/2204] Generating es1_glapi_... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[58/2204] Generating indirect.c... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[60/2204] Generating marshal_ge... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[61/2204] Generating enums.c with a meson_exe.py custom command.
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[62/2204] Generating indirect_i... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[63/2204] Generating glapi_mapi... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[64/2204] Generating vtn_gather_types.c with a custom command.
Invalid -W option ignored: invalid module name: 'yaml'
[65/2204] Generating spirv_info.c with a custom command.
Invalid -W option ignored: invalid module name: 'yaml'
[66/2204] Generating api_exec.c... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[67/2204] Generating ir_express... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[68/2204] Generating nir_intrinsics.h with a custom command.
Invalid -W option ignored: invalid module name: 'yaml'
[69/2204] Generating es2_glapi_... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[72/2204] Generating nir_builde... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[73/2204] Generating indirect.h... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[76/2204] Generating nir_consta... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[78/2204] Generating nir_intrinsic.c with a custom command.
Invalid -W option ignored: invalid module name: 'yaml'
[80/2204] Generating indirect_s... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[81/2204] Generating nir_opcode... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[82/2204] Generating glcpp-parse.[ch] with a custom command.
../src/compiler/glsl/glcpp/glcpp-parse.y:176.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated]
176 | %pure-parser
| ^~~~~~~~~~~~
| %define api.pure
../src/compiler/glsl/glcpp/glcpp-parse.y:177.1-14: warning: deprecated directive: ‘%error-verbose’, use ‘%define parse.error verbose’ [-Wdeprecated]
177 | %error-verbose
| ^~~~~~~~~~~~~~
| %define parse.error verbose
../src/compiler/glsl/glcpp/glcpp-parse.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
[83/2204] Generating nir_opcode... a meson_exe.py custom command
Invalid -W option ignored: invalid module name: 'yaml'
Invalid -W option ignored: invalid module name: 'yaml'
[84/2204] Generating float64_glsl.h with a custom command.
Invalid -W option ignored: invalid module name: 'yaml'
[86/2204] Generating glsl_parser with a custom command.
../src/compiler/glsl/glsl_parser.yy:85.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated]Last edited by gardotd426 (2020-02-11 00:58:12)
Offline