is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tty_display_file(fname, complain) ^ ../win/tty/wintty.c:2802:27: error: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib-j4-20221002-135637 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.1 Python 3.10.7 Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit f0563c90e636da833af43e4a5334c6ebddd3cf6a Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Oct 2 22:16:57 2022 +0000 2022-10-02 22:16:57 UTC emerge -qpvO games-roguelike/nethack [ebuild N ] games-roguelike/nethack-3.6.6 USE="X"
Created attachment 816742 [details] emerge-info.txt
Created attachment 816748 [details] emerge-history.txt
Created attachment 816751 [details] environment
Created attachment 816754 [details] etc.portage.tar.bz2
Created attachment 816757 [details] games-roguelike:nethack-3.6.6:20221003-003439.log.bz2
Created attachment 816760 [details] temp.tar.bz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a3473c6b639d633ba9517468e01e5a268d99b14 commit 8a3473c6b639d633ba9517468e01e5a268d99b14 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-10-16 16:27:06 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-10-16 16:59:05 +0000 games-roguelike/nethack: fix build w/ clang16, pass -std=gnu89 wrt -Wno-error, this has the same problem as net-misc/vncrec for which there's not much that can reasonably be done about here (and is harmless). Closes: https://bugs.gentoo.org/874462 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../nethack/files/nethack-3.6.6-clang16.patch | 10 ++++++++++ ...ethack-3.6.6.ebuild => nethack-3.6.6-r1.ebuild} | 22 +++++++++++++++++----- 2 files changed, 27 insertions(+), 5 deletions(-)