Closed issue by toluschr on void-packages repository https://github.com/void-linux/void-packages/issues/22756 Description: ### System * xuname: *Void 5.6.17_1 x86_64 AuthenticAMD notuptodate hold rrrrmmnFFFFFFFFFFFFFFFFFFFFFFFFFFFF* * package: *gammaray-2.11.1* I'm requesting this because `gammaray` is present in most major distributions repositories and I'd like to debug Qt5 applications. I already made a template. I encountered the following error when testing some of it's features, maybe it should be mentioned in a post installation message. ``` Startup: gammaray-launcher Detaching: /usr/bin/gammaray --inprocess --probe qt5_14-x86_64 --no-listen --pid 31713 Working Directory: /home/tom Detected ABI qt5_14-x86_64, using ABI qt5_14-x86_64. Potential errors: Error: gdb: Yama security extension is blocking runtime attaching, see /proc/sys/kernel/yama/ptrace_scope Error: lldb: Yama security extension is blocking runtime attaching, see /proc/sys/kernel/yama/ptrace_scope Uh-oh, there is no default attach injector on this platform. See for troubleshooting ``` ```sh # Template file for 'gammaray' pkgname=gammaray version=2.11.1 revision=1 build_style=cmake configure_args="-DGAMMARAY_INSTALL_QT_LAYOUT=true -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules -DPLUGIN_INSTALL_DIR=/usr/lib/qt5/plugins/gammaray" makedepends="qt5-devel" short_desc="Tool to poke around in a Qt-application" maintainer="toluschr " license="GPL-2.0-or-later" homepage="https://github.com/KDAB/GammaRay" distfiles="https://github.com/KDAB/GammaRay/releases/download/v${version}/${pkgname}-${version}.tar.gz" checksum=87a1d72ad1ad6d1a0156c54a85b0976ab38c6a64136458ca7c4ee491566d25d0 LDFLAGS+="-Wl,-no-fatal-warnings" pre_build() { sed -e 's|plugins/gammaray|lib/qt5/plugins/gammaray|' -i CMakeLists.txt } gammaray-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision} ${makedepends}" pkg_install() { vmove usr/include vmove usr/lib/cmake vmove usr/lib/qt5/mkspecs cd "${DESTDIR}" for f in usr/lib/*.so; do [ -L "${f}" ] && vmove "${f}"; done } } ```