too long lines were shrinked: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"delay\" -DVERSION=\"1.6\" -DYYTEXT_POINTER=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"delay\" -DVERSION=\"1.6\" -DYYTEXT_POINTER=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"delay\" -DVERSION=\"1.6\" -DYYTEXT_POINTER=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS /usr/share/bison/bison.simple:595:16: error: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] yychar = YYLEX; ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-j4-20221112-220005 ------------------------------------------------------------------- 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 Ruby profiles: [1] ruby31 * Available Rust versions: [1] rust-bin-1.65.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17] *) Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-11 [3] openjdk-bin-17 php cli (if any): HEAD of ::gentoo commit e0484b385a43ace0b96fb91a643fd17f22a34497 Merge: f2401ce11ca3 0c77aadb9830 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Nov 14 17:46:45 2022 +0000 Merge updates from master emerge -qpvO app-misc/delay [ebuild N ] app-misc/delay-1.6-r3
Created attachment 832563 [details] emerge-info.txt
Created attachment 832565 [details] app-misc:delay-1.6-r3:20221114-202537.log
Created attachment 832567 [details] emerge-history.txt.bz2
Created attachment 832569 [details] environment
Created attachment 832571 [details] etc.clang.tar.bz2
Created attachment 832573 [details] etc.portage.tar.bz2
Created attachment 832575 [details] logs.tar.bz2
Created attachment 832577 [details] temp.tar.bz2
Created attachment 832579 [details] var.tmp.clang.tar.bz2
*** Bug 882249 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c56f45a25af6da76133b2e27beb40fd5ad78df commit 19c56f45a25af6da76133b2e27beb40fd5ad78df Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-24 08:50:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-24 09:04:47 +0000 app-misc/delay: fix build w/ clang 16 Closes: https://bugs.gentoo.org/881319 Signed-off-by: Sam James <sam@gentoo.org> app-misc/delay/delay-1.6-r3.ebuild | 1 + app-misc/delay/files/delay-1.6-clang16.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3d95937e32bce79678a081ab53c863ef9244e0a commit a3d95937e32bce79678a081ab53c863ef9244e0a Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-24 09:53:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-24 09:53:32 +0000 app-misc/delay: revbump for Clang 16 fix Bug: https://bugs.gentoo.org/881319 Fixes: 19c56f45a25af6da76133b2e27beb40fd5ad78df Signed-off-by: Sam James <sam@gentoo.org> app-misc/delay/{delay-1.6-r3.ebuild => delay-1.6-r4.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c7fb619c8661e72230fe3669d6e238288132430 commit 6c7fb619c8661e72230fe3669d6e238288132430 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-11-25 11:48:15 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-11-25 11:52:45 +0000 app-misc/delay: remove broken clang16 patch for now It breaks e.g. `delay until now + 5 minutes` with segfault. Need to figure out the proper fix to get the right declaration that YYLEX macro will use (seems yylex can get arguments?). Haven't looked at it more, hardly know yacc/lex. Bug: https://bugs.gentoo.org/881319 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> app-misc/delay/{delay-1.6-r4.ebuild => delay-1.6-r5.ebuild} | 1 - app-misc/delay/files/delay-1.6-clang16.patch | 12 ------------ 2 files changed, 13 deletions(-)
thanks, I'll take another look later (thought I'd been checking for these!)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bee5b20ba22f21c8b3ae0fd0d6282717456605c3 commit bee5b20ba22f21c8b3ae0fd0d6282717456605c3 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-02-11 23:45:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-12 02:04:14 +0000 app-misc/delay: fix clang 16 (again) We reverted the previous fix (19c56f45a25af6da76133b2e27beb40fd5ad78df) in 6c7fb619c8661e72230fe3669d6e238288132430 as it led to a segfault at runtime, but not for the reason I expected. Our clang16 patch forces regeneration of the yacc files and going from an ancient bison to a modern one makes 'delay until now + 5 minutes' segfault. It happens even if the patch is empty, as the regeneration is the breaking part. So, just force byacc, as it seems to work, and this is a package with no active upstream. Closes: https://bugs.gentoo.org/881319 See: 19c56f45a25af6da76133b2e27beb40fd5ad78df See: 6c7fb619c8661e72230fe3669d6e238288132430 Signed-off-by: Sam James <sam@gentoo.org> app-misc/delay/delay-1.6-r6.ebuild | 43 ++++++++++++++++++++++++++++ app-misc/delay/files/delay-1.6-clang16.patch | 12 ++++++++ 2 files changed, 55 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6cc2b2ad15acc3a2be7b60b10c42c47b53e1bf commit 4c6cc2b2ad15acc3a2be7b60b10c42c47b53e1bf Author: Sam James <sam@gentoo.org> AuthorDate: 2023-02-12 06:31:11 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-12 06:41:41 +0000 app-misc/delay: add smoketests in src_test No official test suite available so let's add some quick smoketests which would've caught the segfault mentioned in bug #881319. Bug: https://bugs.gentoo.org/881319 Signed-off-by: Sam James <sam@gentoo.org> app-misc/delay/delay-1.6-r6.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b410473c8409b3a68905abc824cd9064a25e220 commit 4b410473c8409b3a68905abc824cd9064a25e220 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-10-29 14:09:24 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-10-29 14:09:24 +0000 app-misc/delay: drop 1.6-r5 Bug: https://bugs.gentoo.org/881319 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> app-misc/delay/delay-1.6-r5.ebuild | 28 ---------------------------- 1 file changed, 28 deletions(-)