Re: Generating gdb debug logs for devs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Feb 2, 2017 at 3:54 PM, Pekka Järvinen via arch-general
<arch-general@xxxxxxxxxxxxx> 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@fr33z3




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux