Hello Tomazzi,

On Mon, 13 Nov 2023 at 21:51, tomazzi <toma...@wp.pl> wrote:
>
> Hello,
>
> I've just built gdb "the Debian way", to check what are the differences
> in the build process:
> $> apt source gdb
> $> apt build-dep gdb
> $> debuild -b -uc -us
>
>  From debuild output:
>
> gdb-default: configured with:
> ...
>       --without-babeltrace
>       --with-babeltrace
> ...
> gdb-minimal: configured with:
> ...
>       --without-babeltrace
>       --with-babeltrace
>       --without-babeltrace
> ...
>
> This looks bad, but the results are even more "interresting":

Latest switch is the one that should be in-use

> The gdb binary installed in the system (**debsums OK**) reports the
> following configuration (the "show configuration" command, differences
> only):
>
> ...
>           --with-babeltrace
>           --with-mpfr
>           --with-xxhash
>           --with-python=/usr (relocatable)
>           --with-python-libdir=/usr/lib (relocatable)
>           --enable-source-highlight
> ...
>
> The newly "debuild" gdb reports something *different*:
> ...
>           --without-babeltrace  << this: conflicting build flags
>           --without-mpfr
>           --with-xxhash
>           --without-python
>           --without-python-libdir
>           --disable-source-highlight
> ...
>
>
> The gdb which I've compiled using ./configure script (so *without*
> Debian patches) reports:
> ...
>           --with-babeltrace
>           --with-mpfr
>           --without-xxhash  << this: libxxhash-dev is installed, but
> flag is disabled ?
>           --with-python=/usr
>           --with-python-libdir=/usr/lib
>           --disable-source-highlight << this
> ...
>

Could you share your conclusion or a patch? I quite do not understand
what you are trying to say with all those examples.

Regards
-- 
 Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.

Reply via email to