https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-scheme/guile-2.2.7-r102 has implicit function declarations in configure logs. Discovered on: amd64 (internal ref: ci) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0072
Created attachment 907325 [details] build.log build log and emerge --info
Found the following implicit function declarations in configure logs: config.log:3535 - exit
Created attachment 908038 [details, diff] add-missing-stdlib.patch Same thing happens on 2.2.7-r1 which is currently stable, so I prepared patch on 2.2.7-r1, but also tested it on 2.2.7-r102 (mentioned in bug report). Please review if that makes sense, but seems to be working. Issue: implicit function declaration for exit function. Reason: Missing header which contains exit function inside configure file. Solution: Add #include <stdlib.h>.
Comment on attachment 908038 [details, diff] add-missing-stdlib.patch >--- a/configure >+++ b/configure >@@ -16586,6 +16586,7 @@ > cat confdefs.h - <<_ACEOF >conftest.$ac_ext > /* end confdefs.h. */ > >+#include <stdlib.h> > #include <float.h> > #include <math.h> > extern
Upstream gnulib fixed this a different way: https://github.com/coreutils/gnulib/commit/f12a7bbb4acaaa72f48e452e04da2a4dd749a664 Both approaches work fine :) but it does demonstrate that this guile version is quite ancient!