Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 900346

Summary: dev-scheme/guile-2.2.7-r1 has implicit function declarations in configure logs (MUSL-CLANG-SYSTEM)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Scheme Project <scheme>
Severity: normal CC: eschwartz93
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906027    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-03-08 08:34:41 UTC

Issue: dev-scheme/guile-2.2.7-r1 has implicit function declarations in configure logs (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
See also:
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-08 08:34:45 UTC
Created attachment 856780 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-05-30 02:21:16 UTC
The bug has been closed via the following commit(s):

commit 12a43f5f35a998543b802c8c37c9908232010fbc
Author:     Eli Schwartz <>
AuthorDate: 2024-05-26 17:27:38 +0000
Commit:     Sam James <>
CommitDate: 2024-05-30 02:20:11 +0000

    dev-scheme/guile: fix implicit function decls in configure due to gnulib
    backport fix for round.m4, exit() -> return
    Also fix bashism:
    test $var = no
    fails if $var is only ever defined after this line. gnulib is brilliant
    software and naturally does exactly this, because it is highly logical
    to only define code after you try to use it.
    Probably.  It's hard to tell because the actual code that gets run is:
    since the other sparkling aspect of gnulib's innovative brilliance is
    the realization that *of course* the most robust way to design software
    is to use checksums as *replacements* for function names.
    Or, "that time Eli got jiatanned by gnulib".
    The quoting was silently "fixed" upstream in:
    It is the same "fix" we do here, thus restoring dash <--> bash
    compatibility and preventing:
     * QA Notice: Abnormal configure code
     * ./configure: 38012: test: =: unexpected operator
    although it seems to me gnulib is just more generally broken.
    Signed-off-by: Eli Schwartz <>
    Signed-off-by: Sam James <>

 .../guile/files/guile-2.2.7-fix-buggy-gnulib.patch | 85 ++++++++++++++++++++
 dev-scheme/guile/guile-2.2.7-r2.ebuild             | 90 ++++++++++++++++++++++
 2 files changed, 175 insertions(+)