In file included from /usr/include/ctype.h:25, from /var/tmp/portage/app-text/multitail-7.1.5/work/multitail-7.1.5/mt.c:3: /usr/include/features.h:228:10: note: this is the location of the previous definition 228 | # define _LARGEFILE64_SOURCE 1 | ^~~~~~~~~~~~~~~~~~~ /var/tmp/portage/app-text/multitail-7.1.5/work/multitail-7.1.5/mt.c: In function do_color_print: /var/tmp/portage/app-text/multitail-7.1.5/work/multitail-7.1.5/mt.c:712:25: error: implicit declaration of function waddnwstr; did you mean waddnstr? [-Wimplicit-function-declaration] 712 | waddnwstr(win -> win, &wcur, 1); | ^~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_hardened_systemd-20241130-094502 UNMASKED: <sys-devel/gcc-15.0.9999:15 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang version 19.1.4 llvm-config: 19.1.4 Python 3.12.7 go version go1.23.3 linux/amd64 Available Ruby profiles: [1] ruby32 (with Rubygems) * Available Rust versions: [1] rust-bin-1.71.1 [2] rust-bin-1.82.0 [3] rust-bin-1.83.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm HEAD of ::gentoo commit 52501a41c70a8b547e0209615798a80811f11ac3 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Dec 1 20:33:25 2024 +0000 2024-12-01 20:33:25 UTC emerge -qpvO =app-text/multitail-7.1.5 [ebuild N ] app-text/multitail-7.1.5 USE="examples unicode -debug"
Created attachment 913002 [details] emerge-info.txt
Created attachment 913003 [details] app-text:multitail-7.1.5:20241201-211412.log
Created attachment 913004 [details] emerge-history.txt
Created attachment 913005 [details] environment
Created attachment 913006 [details] etc.clang.tar.xz
Created attachment 913007 [details] etc.portage.tar.xz
Created attachment 913008 [details] logs.tar.xz
Created attachment 913009 [details] qlist-info.txt
Created attachment 913010 [details] temp.tar.xz
I can confirm that this affects several of my Gentoo systems, both amd64 and arm64, but some similar systems are unaffected, and I can't work out why. Disabling the unicode USE flag allows the code to compile on all systems, however.
This issue is fixed if we add #include <ncursesw/ncurses.h> on line 46 in mt.c ... 39 /* syslog receive */ 40 #include <sys/types.h> 41 #include <sys/socket.h> 42 #include <netdb.h> 43 #include <netinet/in.h> 44 #include <arpa/inet.h> 45 #ifdef UTF8_SUPPORT 46 #include <ncursesw/ncurses.h> 47 #include <wchar.h> 48 #include <wctype.h> 49 #endif ...
Created attachment 915563 [details, diff] Missing header patch https://github.com/folkertvanheusden/multitail/pull/44
This bug should be in reference to app-text/multitail-7.1.5[unicode] specifically.