Summary: | dev-util/kernelshark-1.2 - dataplot.cpp:(.text+<snip>): undefined reference to glutInit | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Patrick McLean <chutzpah> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | cJ-gentoo, gentoo, pageexec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-util:kernelshark-1.2:20211119-144425.log emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 Patch based on Alex Fan's comment to fix compile (can be used as user patch) |
Description
Toralf Förster
![]() Created attachment 753134 [details]
emerge-info.txt
Created attachment 753138 [details]
dev-util:kernelshark-1.2:20211119-144425.log
Created attachment 753142 [details]
emerge-history.txt
Created attachment 753146 [details]
environment
Created attachment 753150 [details]
etc.portage.tar.bz2
Created attachment 753154 [details]
logs.tar.bz2
Created attachment 753158 [details]
temp.tar.bz2
I encountered the same glut issue in sci-libs/vtk. Upstream uses obsolete GLUT_LIBRARY, which is no longer defined. https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/tree/kernel-shark/src/CMakeLists.txt?h=kernelshark-v1.2&id=448b08e49550ed6ee988404999ced753dc1a5ab6#n27 The proper variable for glut library should be GLUT_LIBRARIES as in cmake document. Created attachment 766590 [details, diff]
Patch based on Alex Fan's comment to fix compile (can be used as user patch)
This is a trivial patch to replace GLUT_LIBRARY with GLUT_LIBRARIES, based on Alex Fan's comment. So far only tested to compile.
Tested here, looks good. Unrelated, kernelshark was launched with workaround: LD_LIBRARY_PATH=/usr/lib64/trace-cmd:/usr/lib64/tracefs:/usr/lib64/traceevent kernelshark The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e4742a4aaf16615a8cb633c4b027b80fb1da81e commit 8e4742a4aaf16615a8cb633c4b027b80fb1da81e Author: Christian Schmidt <schmidt@digadd.de> AuthorDate: 2022-03-19 19:47:34 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2022-06-16 16:57:44 +0000 dev-util/kernelshark: bump to 2.1.0 Signed-off-by: Christian Schmidt <gentoo@digadd.de> Bug: https://bugs.gentoo.org/824982 Closes: https://github.com/gentoo/gentoo/pull/24667 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> dev-util/kernelshark/Manifest | 1 + .../kernelshark-2.1.0-fix-desktop-version.patch | 11 ++++ .../files/kernelshark-2.1.0-no-ldconfig.patch | 16 ++++++ dev-util/kernelshark/kernelshark-2.1.0.ebuild | 60 ++++++++++++++++++++++ 4 files changed, 88 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e28158e9f5826b2a56dd5bf6c099bab00b8f5d4 commit 5e28158e9f5826b2a56dd5bf6c099bab00b8f5d4 Author: Christian Schmidt <schmidt@digadd.de> AuthorDate: 2022-03-19 19:47:16 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2022-06-16 16:57:33 +0000 dev-utils/trace-cmd: Add 3.0.2 Signed-off-by: Christian Schmidt <gentoo@digadd.de> Bug: https://bugs.gentoo.org/824982 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> dev-util/trace-cmd/Manifest | 1 + dev-util/trace-cmd/trace-cmd-3.0.2.ebuild | 134 ++++++++++++++++++++++++++++++ 2 files changed, 135 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=550cda64f94f986d2462725dbca605b922c41543 commit 550cda64f94f986d2462725dbca605b922c41543 Author: Christian Schmidt <schmidt@digadd.de> AuthorDate: 2022-03-19 19:46:56 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2022-06-16 16:55:25 +0000 dev-libs/libtracefs: New package, add 1.3.1 Signed-off-by: Christian Schmidt <gentoo@digadd.de> Bug: https://bugs.gentoo.org/824982 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> dev-libs/libtracefs/Manifest | 1 + dev-libs/libtracefs/libtracefs-1.3.1.ebuild | 51 +++++++++++++++++++++++++++++ dev-libs/libtracefs/metadata.xml | 8 +++++ 3 files changed, 60 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aecd00ce5b2d029b0fe27a9e45cfb11d13de8e75 commit aecd00ce5b2d029b0fe27a9e45cfb11d13de8e75 Author: Christian Schmidt <schmidt@digadd.de> AuthorDate: 2022-03-19 19:46:37 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2022-06-16 16:53:23 +0000 dev-libs/libtraceevent: new package libtraceevent is a prerequisite for newer versions of dev-util/trace-cmd and dev-util/kernelshark, factored out from the former by upstream. Signed-off-by: Christian Schmidt <gentoo@digadd.de> Bug: https://bugs.gentoo.org/824982 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> dev-libs/libtraceevent/Manifest | 1 + dev-libs/libtraceevent/libtraceevent-1.5.2.ebuild | 46 +++++++++++++++++++++++ dev-libs/libtraceevent/metadata.xml | 8 ++++ 3 files changed, 55 insertions(+) |