Created attachment 873625 [details] build.log On llvm profile can't compile x11-apps/xcur2png-0.7.1 make[2]: Entering directory '/var/tmp/portage/x11-apps/xcur2png-0.7.1/work/xcur2png-0.7.1' clang -DHAVE_CONFIG_H -I. -I/usr/include/libpng16 -O2 -march=native -c xcur2png.c xcur2png.c:109:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | while (ret = getopt_long (argc, argv, "Vhc:d:i:qn", longopts, NULL)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xcur2png.c:109:14: note: place parentheses around the assignment to silence this warning 109 | while (ret = getopt_long (argc, argv, "Vhc:d:i:qn", longopts, NULL)) | ^ | ( ) xcur2png.c:109:14: note: use '==' to turn this assignment into an equality comparison 109 | while (ret = getopt_long (argc, argv, "Vhc:d:i:qn", longopts, NULL)) | ^ | == xcur2png.c:674:10: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 674 | extern dry_run; | ~~~~~~ ^ | int 1 warning and 1 error generated.
Created attachment 873626 [details] emerge --info
reproduced with clang-17.0.3. workaround: add -std=gnu89 to the CFLAGS for this package fix is on its way
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0c24593742e5e96165c08c52889be3ba7f59abb commit d0c24593742e5e96165c08c52889be3ba7f59abb Author: tastytea <gentoo@tastytea.de> AuthorDate: 2023-11-03 14:08:19 +0000 Commit: tastytea <gentoo@tastytea.de> CommitDate: 2023-11-03 17:42:32 +0000 x11-apps/xcur2png: update EAPI 7 -> 8, fix CFLAGS Closes: https://bugs.gentoo.org/916457 Signed-off-by: tastytea <gentoo@tastytea.de> x11-apps/xcur2png/xcur2png-0.7.1-r1.ebuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)