Bug#365120: Bug#528201: FTBFS: debian/tmp/usr/bin/tic: undefined symbol: _tracef
On 2009-08-29 14:01 +0200, Sven Joachim wrote:
> It definitely is a bug in the packaging, but I'm not sure how to best
> resolve it. My favorite solution would be to build the regular
> libraries without -DNDEBUG and use detached debugging symbols instead of
> extra libraries in the -dbg packages.
Thinking over it, I changed my mind. The debug libraries are built with
trace support that is actually used by developers.
> However, this is a rather radical change. Minimally obtrusive might
> be this patch:
> diff --git a/debian/rules b/debian/rules
> index e7712a6..04c1c13 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -285,7 +285,7 @@ endif
> mkdir -p $(tempdir)/etc
> # Install into our base directory
> - GZIP='-9' $(MAKE) -C $(objdir-debug) install
> + $(MAKE) -C $(objdir-debug) install.libs
> $(MAKE) -C $(wobjdir-debug) install.libs
> # Copy libraries to the debug directory
> @@ -298,7 +298,7 @@ endif
> # Install non -DTRACE versions.
> - $(MAKE) -C $(objdir) install.libs
> + GZIP='-9' $(MAKE) -C $(objdir) install
> $(MAKE) -C $(wobjdir) install.libs
> # Move terminfo files to the right place.
This is the way to go.