Summary: | dev-util/trace-cmd-2.9.1 - tracefs-events.c: error: PATH_MAX undeclared (first use in this function) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | chutzpah, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Needs limits.h | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: |
emerge-info.txt
dev-util:trace-cmd-2.9.1:20211216-060957.log emerge-history.txt environment etc.portage.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
2021-12-16 10:46:58 UTC
Created attachment 759283 [details]
emerge-info.txt
Created attachment 759284 [details]
dev-util:trace-cmd-2.9.1:20211216-060957.log
Created attachment 759285 [details]
emerge-history.txt
Created attachment 759286 [details]
environment
Created attachment 759287 [details]
etc.portage.tar.bz2
Created attachment 759288 [details]
temp.tar.bz2
There's no way to compile dev-util/trace-cmd-2.9.1 with musl. This version calls pthread_attr_setaffinity_np() and it's only implemented in glibc. The easiest solution is bump this ebuild to upstream version 2.9.2; it already has fixes for musl. https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?h=trace-cmd-stable-v2.9&id=1a000636c1828eecdcec5360a51623ef4ffbff04 (In reply to CFuga from comment #7) > There's no way to compile dev-util/trace-cmd-2.9.1 with musl. This version > calls pthread_attr_setaffinity_np() and it's only implemented in glibc. > > The easiest solution is bump this ebuild to upstream version 2.9.2; it > already has fixes for musl. > > https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?h=trace- > cmd-stable-v2.9&id=1a000636c1828eecdcec5360a51623ef4ffbff04 Thanks! It recently got bumped to 3.x already but that'll take longer to stable. In theory, could bump to 2.9.2 and stable it quickly, but inclined personally to just wait for newer 3.x to get stabled. What do you think? (In reply to Sam James from comment #8) > (In reply to CFuga from comment #7) > > There's no way to compile dev-util/trace-cmd-2.9.1 with musl. This version > > calls pthread_attr_setaffinity_np() and it's only implemented in glibc. > > > > The easiest solution is bump this ebuild to upstream version 2.9.2; it > > already has fixes for musl. > > > > https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?h=trace- > > cmd-stable-v2.9&id=1a000636c1828eecdcec5360a51623ef4ffbff04 > > Thanks! It recently got bumped to 3.x already but that'll take longer to > stable. In theory, could bump to 2.9.2 and stable it quickly, but inclined > personally to just wait for newer 3.x to get stabled. > > What do you think? I also prefer the option to wait for 3.x to get stable. But upstream is still updating the 2.9.x version: there's a 2.9.7 release in 2022. I suggest the following path: * bump to 2.9.3 release (not 2.9.2) as unstable; this is the last version that doesn't explicitly requires libtracefs/libtraceevent * stabilize a 3.x version * delete the 2.9.1 version There's a previous open bug for the same error, please mark it as duplicate. https://bugs.gentoo.org/782565 *** This bug has been marked as a duplicate of bug 782565 *** |