Skip to content

[Rawhide] Storage: ERROR: Could not build wheels for ruamel.yaml.clib, which is required to install pyproject.toml-based projects

Snippet of test failure

      _ruamel_yaml.c: In function ‘__pyx_pf_6ruamel_4yaml_4clib_12_ruamel_yaml_8CEmitter___init__’:
      _ruamel_yaml.c:16882:53: error: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type [-Wincompatible-pointer-types]
      16882 |   yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_6ruamel_4yaml_4clib_12_ruamel_yaml_output_handler, ((void *)__pyx_v_self));
            |                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            |                                                     |
            |                                                     int (*)(void *, char *, int)
      yaml.h:1837:31: note: expected ‘int (*)(void *, unsigned char *, size_t)’ {aka ‘int (*)(void *, unsigned char *, long unsigned int)’} but argument is of type ‘int (*)(void *, char *, int)’
       1837 |         yaml_write_handler_t *handler, void *data);
            |         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for ruamel.yaml.clib
Failed to build ruamel.yaml.clib
ERROR: Could not build wheels for ruamel.yaml.clib, which is required to install pyproject.toml-based projects

Test logs on DataWarehouse

https://datawarehouse.cki-project.org/kcidb/tests/11256508

DataWarehouse issue

https://datawarehouse.cki-project.org/issue/2494

In case opening the links above result in a 404 page on DataWarehouse, please make sure you are correctly logged into DataWarehouse via Red Hat SSO.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information