^ _ruamel_yaml.c:2060:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] __pyx_v_value = yaml_get_version_string(); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ _ruamel_yaml.c:3590:52: error: incompatible function pointer types passing 'int (void *, char *, int, int *)' to parameter of type 'yaml_read_handler_t *' (aka 'int (*)(void *, unsigned char *, unsigned long, unsigned long *)') [-Werror,-Wincompatible-function-pointer-types] yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_12_ruamel_yaml_input_handler, ((void *)__pyx_v_self)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-j4-20221109-090003 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe" GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" CC=clang CXX=clang++ gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.4 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.4 Python 3.10.8 Available Rust versions: [1] rust-bin-1.64.0 * php cli (if any): HEAD of ::gentoo commit 13b7b1255ae6125608899908b118a34f8a8347f1 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Nov 9 14:16:53 2022 +0000 2022-11-09 14:16:52 UTC emerge -qpvO dev-python/ruamel-yaml-clib [ebuild N ] dev-python/ruamel-yaml-clib-0.2.7 PYTHON_TARGETS="python3_10 -pypy3 -python3_8 -python3_9 -python3_11"
Created attachment 830169 [details] emerge-info.txt
Created attachment 830171 [details] dev-python:ruamel-yaml-clib-0.2.7:20221109-160522.log
Created attachment 830173 [details] emerge-history.txt
Created attachment 830175 [details] environment
Created attachment 830177 [details] etc.clang.tar.bz2
Created attachment 830179 [details] etc.portage.tar.bz2
Created attachment 830181 [details] temp.tar.bz2
Created attachment 830253 [details, diff] ruamel-yaml-clib-0.2.7-clang-16.patch Upstream PR: https://sourceforge.net/p/ruamel-yaml-clib/code/merge-requests/3/
(In reply to Peter Levine from comment #8) > Created attachment 830253 [details, diff] [details, diff] > ruamel-yaml-clib-0.2.7-clang-16.patch > > Upstream PR: > https://sourceforge.net/p/ruamel-yaml-clib/code/merge-requests/3/ Thanks for both fixing & sending upstream.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26295868e9b7dfaf330dcc979d9510a24dfe06aa commit 26295868e9b7dfaf330dcc979d9510a24dfe06aa Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2022-11-10 22:54:58 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2022-11-10 22:54:58 +0000 dev-python/ruamel-yaml-clib: fix clang-16 build error Thanks-to: Peter Levine <plevine457@gmail.com> Closes: https://bugs.gentoo.org/880651 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../files/ruamel-yaml-clib-0.2.7-clang-16.patch | 34 ++++++++++++++++++++++ .../ruamel-yaml-clib/ruamel-yaml-clib-0.2.7.ebuild | 4 +++ 2 files changed, 38 insertions(+)