https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-visualization/grace-5.1.25_p13-r1 fails to compile (CLANG-STRICTER-SYSTEM). Discovered on: amd64 (internal ref: clang-stricter_tinderbox) NOTE: (CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types See also: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 https://wiki.gentoo.org/wiki/Modern_C_porting
Created attachment 843357 [details] build.log build log and emerge --info
Created attachment 843359 [details] 1-config.log 1-config.log
conftest.c: In function 'main': conftest.c:112:9: error: implicit declaration of function 'XmRegisterConverters'; did you mean 'XtRegisterCaseConverter'? [-Werror=implicit-function-declaration] 112 | XmRegisterConverters(); | ^~~~~~~~~~~~~~~~~~~~ | XtRegisterCaseConverter conftest.c:115:11: error: implicit declaration of function 'exit' [-Werror=implicit-function-declaration] 115 | exit(1); | ^~~~ conftest.c:109:1: note: include '<stdlib.h>' or provide a declaration of 'exit' 108 | #include <Xm/XmAll.h> +++ |+#include <stdlib.h> 109 | int main(void) {
gcc14_tinderbox has reproduced this issue with version 5.1.25_p13-r2 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28a41f0ae6e45908049affbe9ed3fbff6bde573 commit f28a41f0ae6e45908049affbe9ed3fbff6bde573 Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-09-03 00:38:49 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-09-03 00:41:09 +0000 sci-visualization/grace: update to latest debian patches; fix modern C Closes: https://bugs.gentoo.org/886603 Closes: https://bugs.gentoo.org/908528 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> sci-visualization/grace/Manifest | 1 + .../grace/files/grace-configure-c99.patch | 89 +++++++++++++++ sci-visualization/grace/grace-5.1.25_p17.ebuild | 120 +++++++++++++++++++++ 3 files changed, 210 insertions(+)