Created attachment 528710 [details] games-puzzle:sgt-puzzles-20171029:20180427-155609.log While building =games-puzzle/sgt-puzzles-20171029, several errors result from the use of -Werror in CFLAGS. ./lightup.c: In function ‘new_game_desc’: ./lightup.c:123:40: error: ‘ys[2]’ may be used uninitialized in this function [-Werror=maybe-uninitialized] #define GRID(gs,grid,x,y) (gs->grid[(y)*((gs)->w) + (x)]) ^ ./lightup.c:574:16: note: ‘ys[2]’ was declared here int xs[4], ys[4]; ^~ ./lightup.c:123:51: error: ‘xs[3]’ may be used uninitialized in this function [-Werror=maybe-uninitialized] #define GRID(gs,grid,x,y) (gs->grid[(y)*((gs)->w) + (x)]) ^ ./lightup.c:574:9: note: ‘xs[3]’ was declared here int xs[4], ys[4]; ^~ ./lightup.c:123:51: error: ‘xs[2]’ may be used uninitialized in this function [-Werror=maybe-uninitialized] #define GRID(gs,grid,x,y) (gs->grid[(y)*((gs)->w) + (x)]) ^ ./lightup.c:574:9: note: ‘xs[2]’ was declared here int xs[4], ys[4]; ^~ /mines.c: In function ‘ss_overlap.isra.10.constprop’: cc1: error: assuming signed overflow does not occur when assuming that (X - c) <= X is always true [-Werror=strict-overflow] ./mines.c: In function ‘minegen’: cc1: error: assuming signed overflow does not occur when assuming that (X - c) <= X is always true [-Werror=strict-overflow] Adding the following line to src_prepare in the ebuild fixes the problem, but may not be the complete solution: sed -i -e 's/ -Werror / /' configure.ac configure
Fixed without revision bump. commit f7888cd11398109bc79e872d86379a578d0f7898 Author: Jeroen Roovers <jer@gentoo.org> Date: Sat Apr 28 12:29:20 2018 +0200 games-puzzle/sgt-puzzles: Drop -Werror (bug #654202). Package-Manager: Portage-2.3.31, Repoman-2.3.9