Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2019 20:55:36 +0100 (CET)
From:      =?UTF-8?Q?Trond_Endrest=C3=B8l?= <trond.endrestol@ximalas.info>
To:        freebsd-questions@freebsd.org
Subject:   Re: Building "Kleopatra" with debug symbols
Message-ID:  <alpine.BSF.2.21.99999.352.1912142047090.14099@enterprise.ximalas.info>
In-Reply-To: <20191214141334.00001fbf@seibercom.net>
References:  <20191214141334.00001fbf@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 14 Dec 2019 14:13-0500, Jerry wrote:

> I am having a problem with "Kleopatra" crashing. Unfortunately, the
> back-trace is useless. I was told to build "Kleopatra" with debugging
> symbols.
> 
> I have tried a few methods I found while Googling, but nothing actually
> worked. Probably, because they were based on Linux.
> 
> Can anyone tel me how to go about it?

I had to do the same for net/ocserv a while back.

Option 1:

Create /usr/ports/security/kleopatra/Makefile.local, giving it this 
content:

WITH_DEBUG=YES

Option 2:

Add the aforementioned line to /etc/make.conf. Don't forget to remove 
or comment it out when you have rebuilt Kleopatra, otherwise all ports 
will be built with debug symbols, leading to huge executables all over 
/usr/local.


I prefer the first option as it gives me finegrained control over 
which ports are built with debug symbols or other customizations.

-- 
Trond.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.99999.352.1912142047090.14099>