From: toluschr <toluschr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] Package request: gammaray
Date: Thu, 20 Aug 2020 22:17:44 +0200 [thread overview]
Message-ID: <20200820201744.zNbLuVfwU5803Ogic0x6zDXk8fHAo_xZ7eAuAb18vnI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22756@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 2439 bytes --]
Closed issue by toluschr on void-packages repository
https://github.com/void-linux/void-packages/issues/22756
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### 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 <https://github.com/KDAB/GammaRay/wiki/Known-Issues> 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 <toluschr@protonmail.com>"
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
}
}
```
parent reply other threads:[~2020-08-20 20:17 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22756@inbox.vuxu.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200820201744.zNbLuVfwU5803Ogic0x6zDXk8fHAo_xZ7eAuAb18vnI@z \
--to=toluschr@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).