[arch-general] Generating gdb debug logs for devs
Christoph Gysin
christoph.gysin at gmail.com
Fri Feb 3 14:31:06 UTC 2017
On Thu, Feb 2, 2017 at 3:54 PM, Pekka Järvinen via arch-general
<arch-general at archlinux.org> wrote:
> % makepkg -sfi
> ...
> error: unresolvable package conflicts detected
> error: failed to prepare transaction (conflicting dependencies)
> :: lxrandr-gtk3 and lxrandr are in conflict
Ah, in this case -i won't work because the PKGBUILD builds two
conflicting versions, and -i tries to install them all.
> Ok, let's try with pacman:
>
> % sudo pacman -U lxrandr-0.3.1-1-x86_64.pkg.tar.xz
> ...
> Packages (1) lxrandr-0.3.1-1
>
> Total Installed Size: 0.22 MiB
> Net Upgrade Size: 0.01 MiB
This seems too small to contain the debug symbols. Something went
wrong during your build. Try to clean the build dir and try again,
using the upstream PKGBUILD and simply adding:
options+=(debug)
Building it should result in packages lxrandr-0.3.1-1 and
lxrandr-debug-0.3.1-1. Installing both should get you proper
backtraces.
> % gdb lxrandr
> ...
> Reading symbols from lxrandr...(no debugging symbols found)...done.
This indicates that you have no debug symbols for lxrandr.
Chris
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org at fr33z3
More information about the arch-general
mailing list