Bug#832470: nmu: deal.ii_8.4.1-1
On 26/07/16 01:32, Matthias Maier wrote:
>
> On Mon, Jul 25, 2016, at 16:05 CDT, Emilio Pozuelo Monfort <pochu@debian.org> wrote:
>
>> What's the bug number?
>
> There is no reported bug so far.
>
>> A binNMU to workaround an ABI break is usually the wrong approach,
>> unless there has been a SONAME bump.
>
> libtrilinos-teuchos12 changed ABI from 12.6.3-1 to 12.6.3-2 without a
> SONAME bump. In particular, the symbol store_stacktrace was removed:
>
> tamiko@jackdaw 12.6.3-1 % objdump -TC usr/lib/x86_64-linux-gnu/libtrilinos_teuchos*.so.12 | grep store_stacktrace
> 0000000000000000 DF *UND* 0000000000000000 Teuchos::store_stacktrace()
> 0000000000023c00 g DF .text 0000000000000110 Base Teuchos::store_stacktrace()
> 0000000000000000 DF *UND* 0000000000000000 Teuchos::store_stacktrace()
> 0000000000000000 DF *UND* 0000000000000000 Teuchos::store_stacktrace()
> 0000000000000000 DF *UND* 0000000000000000 Teuchos::store_stacktrace()
> tamiko@jackdaw 12.6.3-1 %
>
> tamiko@jackdaw 12.6.3-2 % objdump -TC usr/lib/x86_64-linux-gnu/libtrilinos_teuchos*.so.12 | grep store_stacktrace
> tamiko@jackdaw 12.6.3-2 %
>
> It seems that libdeal.ii-8.4.1 was compiled against 12.6.3-1 for
> amd64. Unfortunately, this leads to a linker error when using the
> library:
>
> /usr/lib/x86_64-linux-gnu/libdeal.ii.g.so.8.4.1: error: undefined reference to 'Teuchos::store_stacktrace()'
>
> Consequently, libdeal.ii-8.4.1 has to be recompiled against 12.6.3-2 to
> resolve this problem.
>
> I know that trilinos should have simply changed SONAME in this
> case. Given the fact that deal.ii is the only reverse dependency so far,
> it seems easier for me to just do a binNMU.
Yes, you should bump the SONAME or just rename the Debian package to
libtrilinos-teuchos12a (for example) to avoid having a different SONAME than the
rest of the world. Or at the very least, do a sourceful upload of deal.ii and
add a Breaks in libtrilinos against older versions...
Cheers,
Emilio
Reply to: