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

Bug 894320

Summary: app-arch/lbzip2-2.5_p20181227-r2 fails to compile (MUSL-CLANG-SYSTEM): encode.c:518:3: error: call to undeclared function info; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Matt Turner <mattst88>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/31724
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-14 08:33:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-arch/lbzip2-2.5_p20181227-r2 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(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.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-14 08:33:19 UTC
Created attachment 851008 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-07-06 15:00:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de4b509ccbae6e79f614707e6381cfd9017bdba

commit 5de4b509ccbae6e79f614707e6381cfd9017bdba
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-07-03 07:42:59 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-07-06 14:57:34 +0000

    app-arch/lbzip2: Fix call to undeclared function info
    
    Closes: https://bugs.gentoo.org/894320
    Closes: https://github.com/gentoo/gentoo/pull/31724
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 .../lbzip2-2.5_p20181227-clang16-musl-info.patch    | 21 +++++++++++++++++++++
 app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild      |  1 +
 2 files changed, 22 insertions(+)