GNU bug report logs - #63572
htmlcxx-0.87 fails to build

Previous Next

Package: guix;

Reported by: Arne Babenhauserheide <Arne_Bab <at> web.de>

Date: Thu, 18 May 2023 15:18:04 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bruno Victal <mirai <at> makinata.eu>
To: Arne Babenhauserheide <Arne_Bab <at> web.de>
Cc: 63572 <at> debbugs.gnu.org
Subject: bug#63572: htmlcxx-0.87 fails to build
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




This bug report was last modified 2 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.