453 | setlocale(LC_ALL, ""); | ^~~~~~~~~ main.c:453:19: error: ‘LC_ALL’ undeclared (first use in this function) 453 | setlocale(LC_ALL, ""); | ^~~~~~ main.c:453:19: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [Makefile:398: main.o] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-j3-20210606-181430 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * /usr/lib/llvm/12 12.0.0 Python 3.9.5 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.52.1 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit 057dcda7a45a1e903fc20f7f5bcc22980f3133ed Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Jun 7 12:20:16 2021 +0000 2021-06-07 12:20:15 UTC emerge -qpvO games-puzzle/nudoku [ebuild N ] games-puzzle/nudoku-2.1.0 USE="cairo"
Created attachment 714180 [details] emerge-info.txt
Created attachment 714183 [details] emerge-history.txt
Created attachment 714186 [details] environment
Created attachment 714189 [details] etc.portage.tar.bz2
Created attachment 714192 [details] games-puzzle:nudoku-2.1.0:20210607-124356.log
Created attachment 714195 [details] logs.tar.bz2
Created attachment 714198 [details] temp.tar.bz2
Created attachment 719547 [details, diff] games-puzzle/files/nudoku-2.1.0-LC_ALL-fix.patch fix compiling with CFLAGS=-O0 Hello, I can reproduce the error "undeclared LC_ALL" in the subject. Adding #include <locale.h> to main.c should fix compiling with CFLAGS=-O0. Patch attached.