airscan-xml.c: In function xml_rd_parse: airscan-xml.c:126:23: error: assignment to xmlStructuredErrorFunc {aka void (*)(void *, const struct _xmlError *)} from incompatible pointer type void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} [-Wincompatible-pointer-types] 126 | ctxt->sax->serror = xml_rd_error_callback; | ^ x86_64-pc-linux-gnu-gcc -c -o objs/airscan-zeroconf.o airscan-zeroconf.c -O2 -pipe -march=native -fno-diagnostics-color -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libpng16 -fPIC airscan-xml.c: In function xml_rd_node_value_uint: airscan-xml.c:406:9: error: implicit declaration of function strtoul; did you mean strtok? [-Wimplicit-function-declaration] 406 | v = strtoul(s, &end, 10); | ^~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-20240210-221505 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.8 Available Rust versions: [1] rust-bin-1.75.0 [2] rust-1.75.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.22.0 linux/amd64 HEAD of ::gentoo commit f397cb9b5c77959d471737d2a497bb6099a3dc43 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Feb 18 03:49:01 2024 +0000 2024-02-18 03:49:00 UTC emerge -qpvO media-gfx/sane-airscan [ebuild N ] media-gfx/sane-airscan-0.99.27
Created attachment 885333 [details] emerge-info.txt
Created attachment 885334 [details] emerge-history.txt.xz
Created attachment 885335 [details] environment
Created attachment 885336 [details] etc.clang.tar.xz
Created attachment 885337 [details] etc.portage.tar.xz
Created attachment 885338 [details] media-gfx:sane-airscan-0.99.27:20240218-044225.log
Created attachment 885339 [details] qlist-info.txt.xz
Created attachment 885340 [details] temp.tar.xz
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3cba57a199b8e36d204062564b798e1ee8ab83e commit e3cba57a199b8e36d204062564b798e1ee8ab83e Author: Kostadin Shishmanov <kocelfc@tutanota.com> AuthorDate: 2024-02-19 21:46:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-21 02:57:24 +0000 media-gfx/sane-airscan: Modern C fixes Fixes building with Modern C compilers. Patches are taken from fedora https://src.fedoraproject.org/rpms/sane-airscan/c/913879a64e0624df2f09fbdbb058ea0aa9ecb21d Closes: https://bugs.gentoo.org/924887 Cloes: https://bugs.gentoo.org/926821 Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com> Closes: https://github.com/gentoo/gentoo/pull/35431 Signed-off-by: Sam James <sam@gentoo.org> .../files/sane-airscan-0.99.27-c99-fixes.patch | 61 ++++++++++++++++++++++ .../sane-airscan/sane-airscan-0.99.27-r1.ebuild | 43 +++++++++++++++ 2 files changed, 104 insertions(+)