Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895838 - 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_
Summary: dev-util/kernelshark-2.2.0 fails to compile (MUSL-CLANG-SYSTEM): libkshark-te...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
Reported: 2023-02-22 08:28 UTC by Agostino Sarubbo
Modified: 2023-10-10 19:08 UTC (History)
1 user (show)

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

build.log (build.log,76.64 KB, text/plain)
2023-02-22 08:28 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-22 08:28:25 UTC

Issue: dev-util/kernelshark-2.2.0 fails to compile (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.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-22 08:28:27 UTC
Created attachment 853834 [details]

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]