Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942519 - dev-scheme/guile-2.2.7-r102 has implicit function declarations in configure logs
Summary: dev-scheme/guile-2.2.7-r102 has implicit function declarations in configure logs
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: implicit-in-configure gcc-14-stable
  Show dependency tree
 
Reported: 2024-10-30 12:19 UTC by Agostino Sarubbo
Modified: 2024-11-06 20:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,632.07 KB, text/plain)
2024-10-30 12:19 UTC, Agostino Sarubbo
Details
add-missing-stdlib.patch (1000-guile-2.2.7-r1-add-missing-stdlib.patch,197 bytes, patch)
2024-11-06 20:43 UTC, Damian Dudycz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-10-30 12:19:40 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-30 12:19:42 UTC
Created attachment 907325 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-30 12:19:43 UTC
Found the following implicit function declarations in configure logs:

config.log:3535 - exit
Comment 3 Damian Dudycz 2024-11-06 20:43:05 UTC
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 4 Damian Dudycz 2024-11-06 20:44:18 UTC
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