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

Bug 894188

Summary: app-admin/augeas-1.14.0-r1 fails to compile (MUSL-CLANG-SYSTEM): internal.c:436:12: error: incompatible integer to pointer conversion returning int from a function with result type const char [-Wint-conversion]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Matthew Thode ( prometheanfire ) <prometheanfire>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/hercules-team/augeas/pull/791
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-13 14:59:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/augeas-1.14.0-r1 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-13 14:59:11 UTC
Created attachment 850696 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-02-14 04:10:59 UTC
The bug has been closed via the following commit(s):

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

commit c9283e917a7d9668efb21be616ed14c23291536f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-14 04:07:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-14 04:07:33 +0000

    app-admin/augeas: fix musl/clang 15 build & runtime
    
    Closes: https://bugs.gentoo.org/894188
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/augeas/augeas-1.14.0-r2.ebuild           | 53 ++++++++++++++++++++++
 .../files/augeas-1.14.0-musl-strerror_r.patch      | 22 +++++++++
 2 files changed, 75 insertions(+)