Summary: | dev-scheme/guile-2.2.7-r102 has implicit function declarations in configure logs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Scheme Project <scheme> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | arsen, damiandudycz |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 906027, 941869 | ||
Attachments: |
build.log
add-missing-stdlib.patch |
Description
Agostino Sarubbo
2024-10-30 12:19:40 UTC
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 |