Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895182 - net-analyzer/fping-5.1 fails to compile (MUSL-CLANG-SYSTEM): fping.c:1959:9: error: incompatible pointer to integer conversion initializing int with an expression of type unsigned char ()[40] [-Wint-conversion]
Summary: net-analyzer/fping-5.1 fails to compile (MUSL-CLANG-SYSTEM): fping.c:1959:9: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-18 06:56 UTC by Agostino Sarubbo
Modified: 2024-03-17 03:54 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,49.95 KB, text/plain)
2023-02-18 06:56 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-18 06:56:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/fping-5.1 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-18 06:56:20 UTC
Created attachment 852354 [details]
build.log

build log and emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2024-03-17 03:54:33 UTC
The bug has been closed via the following commit(s):

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

commit f513598b3aa9b1b157d905119472eaaa0b1c9a49
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-17 03:51:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-17 03:51:38 +0000

    net-analyzer/fping: fix modern C issue / musl build
    
    Closes: https://bugs.gentoo.org/895182
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/fping/files/fping-5.1-c99-musl.patch | 39 +++++++++++++++++++++++
 net-analyzer/fping/fping-5.1-r1.ebuild            | 35 ++++++++++++++++++++
 2 files changed, 74 insertions(+)