Subject: bug#63572: htmlcxx-0.87 fails to build

From: Bruno Victal <[email-masked]>
Date: Thu, 18 May 2023 18:51:56 +0100

Hi Arne,

On 2023-05-18 16:17, Arne Babenhauserheide wrote:
> Hi,
> 
> To reproduce: guix build htmlcxx — it blocks several dependents.
> 
> The relevant part of the error:
> 
> In file included from CharsetConverter.cc:5:
> CharsetConverter.h:20:90: error: ISO C++17 does not allow dynamic exception specifications
>    20 |                         CharsetConverter(const std::string &from, const std::string &to) throw (Exception);
> 
> These were deprecated in C++11 and removed in C++17: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0003r5.html
> 
> So this may just need compiler parameters to set C++11 instead of C++17
> as target.

Looking at the README file from <https://sourceforge.net/p/htmlcxx/code/ci/master/tree/>,
it looks to me that upstream has moved to <https://github.com/bonitao/htmlcxx>. (judging by the name of the repo owner)
Can you try asking upstream for a new release? The last commit (<https://github.com/bonitao/htmlcxx/commit/0ffa3e90b7dc3944f199fd80ab47c2a82589209a>)
has the message 'Fix c+11 compilation'.

Cheers,
Bruno