diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-05-13 16:01:11 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-05-13 16:01:11 +0200 |
commit | 87c2c945c94dbd8624dd84cad9651d57203a7a26 (patch) | |
tree | 07a4dbbc83aeda32d684d5bc58bdf04d900261d1 | |
parent | 46694ffd8b21ca2e2c1ecf99413abac0f75e01b2 (diff) | |
download | qutebrowser-87c2c945c94dbd8624dd84cad9651d57203a7a26.tar.gz qutebrowser-87c2c945c94dbd8624dd84cad9651d57203a7a26.zip |
doc: Update Archlinux debugging instructions
-rw-r--r-- | doc/stacktrace.asciidoc | 48 |
1 files changed, 3 insertions, 45 deletions
diff --git a/doc/stacktrace.asciidoc b/doc/stacktrace.asciidoc index 3d95aa25e..6d11ee375 100644 --- a/doc/stacktrace.asciidoc +++ b/doc/stacktrace.asciidoc @@ -68,55 +68,13 @@ Then install the needed debuginfo packages: Archlinux ^^^^^^^^^ -For Archlinux, no debug information is provided. You can either compile Qt -yourself (which will take a few hours even on a modern machine) or use -debugging symbols compiled/packaged by me (x86_64 only). - -To install my pre-built packages -++++++++++++++++++++++++++++++++ - -First download and sign the key: - ----- -# pacman-key -r 0xD6A1C70FE80A0C82 -$ pacman-key -f 0xD6A1C70FE80A0C82 - Key fingerprint = 14AF EC28 70C6 4863 C5C7 ACCB D6A1 C70F E80A 0C82 -# pacman-key --lsign-key 0xD6A1C70FE80A0C82 ----- - -Then edit your `/etc/pacman.conf` to add the repository to the bottom: +For Archlinux, debug information is provided via their [Debuginfod instance](https://wiki.archlinux.org/title/Debuginfod). To use it, set the following in your environment: ---- -[qt-debug] -Server = https://qutebrowser.org/qt-debug/$arch +DEBUGINFOD_URLS="https://debuginfod.archlinux.org/" ---- -Then install the packages: - ----- -# pacman -Suy python-pyqt5-debug qt5-base-debug qt5-webkit-debug qt5-webengine-debug ----- - -The `-debug` packages conflict with the non-debug variants - it's safe to -remove them. - -To compile by yourself -++++++++++++++++++++++ - -Note that building Qt will likely take multiple hours, even on a recent system. -I'd also expect it to take around 6 GB of RAM and 30 GB of disk space for a -successful compile run. - ----- -$ git clone https://github.com/qutebrowser/qt-debug-pkgbuild.git -$ cd qt-debug-pkgbuild -$ export DEBUG_CFLAGS='-ggdb3 -fvar-tracking-assignments -Og' -$ export DEBUG_CXXFLAGS='-ggdb3 -fvar-tracking-assignments -Og' -$ cd qt5 -$ makepkg -si --pkg qt5-base-debug,qt5-webkit-debug,qt5-webengine-debug -$ cd ../pyqt5 -$ makepkg -si --pkg python-pyqt5-debug ----- +(Until early 2021, there was a custom [`qt-debug` repository](https://github.com/qutebrowser/qt-debug-pkgbuild). This is now archived.) Getting the stack trace ~~~~~~~~~~~~~~~~~~~~~~~ |