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":
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
...

Regards

Reply via email to