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

Bug 895838

Summary: dev-util/kernelshark-2.2.0 fails to compile (MUSL-CLANG-SYSTEM): libkshark-tepdata.c:1202:27: error: incompatible function pointer types assigning to stream_find_id_func (aka int ()(struct kshark_data_stream , const char )) from const int (struct kshark_
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: CONFIRMED ---    
Severity: normal CC: dlan
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/33287
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-22 08:28:25 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/kernelshark-2.2.0 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-22 08:28:27 UTC
Created attachment 853834 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-22 08:28:29 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Boost (missing: Boost_INCLUDE_DIR unit_test_framework) 
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
FAILED: src/CMakeFiles/kshark.dir/libkshark-tepdata.c.o 
/var/tmp/portage/dev-util/kernelshark-2.2.0/work/kernel-shark-kernelshark-v2.2.0/src/libkshark-tepdata.c:1202:27: error: incompatible function pointer types assigning to 'stream_find_id_func' (aka 'int (*)(struct kshark_data_stream *, const char *)') from 'const int (struct kshark_data_stream *, const char *)' [-Wincompatible-function-pointer-types]