[Debian-med-packaging] Bug#984036: disulfinder: ftbfs with GCC-11

Étienne Mollier emollier at emlwks999.eu
Fri Oct 22 16:53:25 BST 2021


Hi Nilesh,

Nilesh Patra, on 2021-10-22:
> looks like C++17 has removed the provision to specify custom
> exceptions, and there are a lot of errors like the one above.
> In this case, does it makes sense to force C++14 standard
> (with chnages in d/rules or with patches) in such cases and
> ask upstream to clean these up? Or do I miss a relatively easy
> solutions?

It depends.  If I read correctly the porting guide to Gcc 11 [1]
and if the number of occurrence of the issue is reasonable, then
you can just patch the throw(BadOptionSetting) occurrences to
replace them by noexcept(false).  If the number of occurrences
is too high to make a patch viable, then similarly to mothur,
the advice from Aaron M. Ucko applies: informing upstream and
temporarily getting back to C++14 is probably the saner course
of action.

[1]: https://gcc.gnu.org/gcc-11/porting_to.html

In hope this helps,
Have a nice day,  :)
-- 
Étienne Mollier <emollier at emlwks999.eu>
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/2, please excuse my verbosity.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20211022/d21f9fd5/attachment-0001.sig>


More information about the Debian-med-packaging mailing list