calendar.c:19:9: warning: format not a string literal and no format arguments [-Wformat-security] 19 | printf(msg); | ^~~~~~ calendar.c: In function calendar: calendar.c:78:8: error: implicit declaration of function get_debug; did you mean g_debug? [-Werror=implicit-function-declaration] 78 | if(get_debug())printf("check for new calendar data\n"); | ^~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j4-20221002-192609 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.2 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.2 Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.16.0 [icedtea-bin-8] 2) OpenJDK 11.0.16.1_p1 [openjdk-11] 3) OpenJDK 17.0.5_p5 [openjdk-17] 4) Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 6) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 [2] openjdk-11 [3] openjdk-17 [4] openjdk-bin-8 [5] openjdk-bin-11 [6] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit e90a89d8ceab27e57cc37f398c823eb8fa757a2a Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Oct 5 18:03:23 2022 +0000 2022-10-05 18:03:23 UTC emerge -qpvO x11-plugins/wmcalendar [ebuild N ] x11-plugins/wmcalendar-0.5.2-r2
Created attachment 821650 [details] emerge-info.txt
Created attachment 821653 [details] emerge-history.txt.bz2
Created attachment 821656 [details] environment
Created attachment 821659 [details] etc.portage.tar.bz2
Created attachment 821662 [details] x11-plugins:wmcalendar-0.5.2-r2:20221005-192055.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=054d5d2c0cfd27716cf924e7f5b335a43dcf1217 commit 054d5d2c0cfd27716cf924e7f5b335a43dcf1217 Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-04-28 05:42:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-28 06:54:26 +0000 x11-plugins/wmcalendar: add patches to fix horrible missing function decls We kill two birds with one stone. It fails the c99 porting tracker and will not compile with Modern C compilers such as gcc 14 or clang 16, and it ALSO fixes LTO errors since -Werror=lto-type-mismatch complained when the implicit function declaration's assumed type was incorrect and didn't match the type of the actual live instance of the function. While we are at it, fix some additional (memory access) errors discovered by LTO in the form of -Waggressive-loop-optimizations. Closes: https://bugs.gentoo.org/875530 Closes: https://bugs.gentoo.org/881461 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> ...-typo-causing-out-of-bounds-memory-access.patch | 27 ++++++++++ x11-plugins/wmcalendar/files/wmcalendar-c99.patch | 63 ++++++++++++++++++++++ x11-plugins/wmcalendar/wmcalendar-0.5.2-r3.ebuild | 39 ++++++++++++++ 3 files changed, 129 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c16c208bde60e43fd2d9687ab54799644555da4 commit 6c16c208bde60e43fd2d9687ab54799644555da4 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-10-28 19:10:28 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-10-28 19:10:54 +0000 x11-plugins/wmcalendar: drop 0.5.2-r2 Bug: https://bugs.gentoo.org/875530 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> x11-plugins/wmcalendar/wmcalendar-0.5.2-r2.ebuild | 37 ----------------------- 1 file changed, 37 deletions(-)