From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GAiXJaFAaWSq7wAASxT56A (envelope-from ) for ; Sat, 20 May 2023 23:50:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kJx7JaFAaWTmLgEA9RJhRA (envelope-from ) for ; Sat, 20 May 2023 23:50:25 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7EBA22EAF6 for ; Sat, 20 May 2023 23:50:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0USj-0006nK-EU; Sat, 20 May 2023 17:50:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0USh-0006nA-Pd for bug-guix@gnu.org; Sat, 20 May 2023 17:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0USg-0005BC-HO for bug-guix@gnu.org; Sat, 20 May 2023 17:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0USg-0006bP-E2 for bug-guix@gnu.org; Sat, 20 May 2023 17:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63572: [PATCH] Re: bug#63572: htmlcxx-0.87 fails to build Resent-From: "Dr. Arne Babenhauserheide" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 May 2023 21:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63572 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Bruno Victal Cc: 63572@debbugs.gnu.org Received: via spool by 63572-submit@debbugs.gnu.org id=B63572.168461936825331 (code B ref 63572); Sat, 20 May 2023 21:50:02 +0000 Received: (at 63572) by debbugs.gnu.org; 20 May 2023 21:49:28 +0000 Received: from localhost ([127.0.0.1]:59471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0US8-0006aV-Ev for submit@debbugs.gnu.org; Sat, 20 May 2023 17:49:28 -0400 Received: from mout.web.de ([217.72.192.78]:57409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0US5-0006aG-RV for 63572@debbugs.gnu.org; Sat, 20 May 2023 17:49:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1684619353; i=arne_bab@web.de; bh=QWTjfjy2IOT6YY67dLQBRRFMlTSeS/EYiyht8HBrGVk=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=rus6sQY3RrFBO92dHFdl0iimohN8AjulKE8fIN+iA5GUwFHqIqVZjcOpOUrzf3yJu k37tUmsbgcrTlJwfnUPTcY5WxAmDNI8fS0ioomAYL0nqDUHz8Vg6rajr1B0r7O0pPY 6SI6nldOif4cczvS3ne6sk9Uf7x483XIfXgRCebfF6yaM3V+2Q3NcLZHQR3dL43aa8 7/CPAp/M/3FCvM7G7FiEFtXdCPuOXg66HaYoC6lEyT1yEeLdaxo+6GdqX1LRPp5Cob Y9Yu5l2xRnY5ubhEcyPASLKIgUutXfNnrcFXl6TIOVPRoeW5UP7UDG6vmfmezG2So6 9ykqXEe19BOew== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from fluss ([84.165.25.222]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MpU1u-1qUOHt13mO-00ppz5; Sat, 20 May 2023 23:49:13 +0200 References: User-agent: mu4e 1.10.2; emacs 29.0.90 From: "Dr. Arne Babenhauserheide" Date: Sat, 20 May 2023 23:43:46 +0200 In-reply-to: Message-ID: <87ilcmekrr.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:MYqiYoGqw63UOpQn7olNiWgeb4bqpC1UqghJyqGX52w2AdYFFEL htR/tJp/A0bnruM3oxiAmJ7/7cWwGBR2KDk+aiT6X+e22wPWf14ExRyUmaqmmp6SVwhxxQf 7SxBQ8F52H7xqWZ61jJUn+WLS8jWvvfeFObhaff6aHYP+uN6ahEpSK2DtNHvgu+vHjOjx3E dSS/cKmXCrZEcdLmljndw== UI-OutboundReport: notjunk:1;M01:P0:Zs7nhTvWjE8=;u2IQzG2V5GqT6zbh3s09HsR/CMO f+KLL886+kNK/1l+5Uxqjq4vq8za1ptcv7ubsMSmm7PwR5ELuUXarbuiAnqRAKJfMhEaDh/FG u2eEhHGQFw9yDFUFg8z2j66UuGrfNNGWr0/k0A+uFLcj7sVoXSvOwbwtJ8GW2BmkVMN2fgCsh 44fN2TzP06QCQXC09nN5pyjBwrM58uRDCkj8+LppdnFLThfxawzRZF3Can9LcawusdRSTZg9o zK85B04/W3MUXmBVPMJn2XU5wAeXhuYrPTd4ENoBZLy6iWAaul0TnZbc3iDR523ek//eCF7Uc aBu97kJYIWnWguZ/tahTi6UvPEN14WzxgeEC+Q/gP6wmTKUCEzaXpSEevgpaRTF+bvfR1iw7r riGvzRvGgfqworVWrIAXtRLA0GC5/fosuja14DFhmnHQs8v/bTYsD5q9aPAIkT7vFJAqnbLF+ j3D1/TNri5Clkkh3/8z2eWBKdwbaiq8xRkc0uMVTd/whSF/+6C40Gc0G791AFSA3T0IbANOqU pp2S4vKXsaww88cL7PtRgCIKipdAP88YgBW0nOu/ZwITNtC4gZpF6oo+/WPR0VgU0tUeH99+x GDfOQG/RcqePtRaEJThYXrgDxSuSawcUkzp3jtgWXpGo9IEEHeFh2kkA65UJJt8CzHAYLQ7GZ grX5DvIszRFL2O5N72mj9W0fZ/7W5cZk0rCmuozCrPUKPY0FCGfPUbRYtomLttZUAXB7/5vMs BAr2MD5G744vzte67MhIucDxNw1jTQxJKv+QpinKcMr7ZQqeka5bHWCeIRbB5UiRNkNiNgyvM l1fwkqUwY0sbyUJWp9fBq3xoLqJ2CGaJGeNofvw/uc1++5kQbQFzwFDydU5DGf+K+/64q7im9 qgQX6zQBusZQwGThlny25/zdDF7XHwEGQ3YsKBQSNgByIJscUZ99QCvFMUmFkJx+DpYCKkX8e iRGB8bVq0aHmlac5cbdYI4VXr64= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684619424; a=rsa-sha256; cv=none; b=b+yjYoLWo0c1epukjHMa5W1Y5+6gmEMGOadDFAWnLihtQD7kcaWqZc8IIyAC/XnXhIc5FS SIr18xQfiZuUKk4B5V84WW57Yz5iNhNt21az3x31wsDpPfgitaYg5ftNNm3440YnyRaZYm tVIAYlOtw63EhOtaDd6dyz2rwMSaeePJLfHPTCron4fC5zt763T3/D31D91sWAAOb3hj8e rPNFXoZJ9oXO5b4Emloth7k96urKC09uIiiK7oAob5+p8smF877Srnze27l42KNHYmwbd7 0tAgDfueIrV8fuGio1pxSO4NQCKb58j75ZKzbKfeWM+jRnpNQRHrDF0GsTcTPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=web.de header.s=s29768273 header.b=rus6sQY3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=web.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684619424; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=fvBuVNc+v6Cyh323l/KuRCobXBzH/gD3kF2H4UXZ84c=; b=gkPguxANzFgM3bYYQ3EOME+VpmQ5QQ5md62AjVSCSzfWv/aqYyCffD6n4fULOJHZxXYSFf c1ejDpyt6u786ToTiIKEnc0LRfTUHFEvFx4wFTWpTpcclkv2VpAUfL5+9LY13V6f9+brNm bsZseNIH5i+PQu6NeZgqmSIIF4l58CzUioxDvnVxLQvVclhIE7c1oZVPrJKD2TF5s+zRAq ISvvMCKzuobO+VXwUws3f8dylk3KPShPzlK0hvW3EnvCOsbTveSZUAPBSE3JazAVyn1WXq PwtWhxEZDYYbJhmEg+M1XJGM9aCFrEchM23HjEy/xP4QRHlwKapF9EtfaRyJxA== X-Migadu-Spam-Score: -1.41 X-Spam-Score: -1.41 X-Migadu-Queue-Id: 7EBA22EAF6 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=web.de header.s=s29768273 header.b=rus6sQY3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=web.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: YQhj5Nk0Gdkx --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hi Bruno, Bruno Victal writes: >> So this may just need compiler parameters to set C++11 instead of C++17 >> as target. > > Looking at the README file from , > it looks to me that upstream has moved to . (judging by the name of the repo owner) > Can you try asking upstream for a new release? The last commit () > has the message 'Fix c+11 compilation'. I tried to build from the latest commit, but it did not build. But I could now test adding the std argument and that works. $ ./pre-inst-env guix build htmlcxx /gnu/store/3bqrqs2zzx1gy4xc1g9i59z8nnhwv2rs-htmlcxx-0.87 A patch is attached. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-htmlcxx-add-std-c-11-to-configure-flags.patch Content-Transfer-Encoding: quoted-printable From=200a5478a83129efa07fc366c01f793c809a42ce99 Mon Sep 17 00:00:00 2001 Message-Id: <0a5478a83129efa07fc366c01f793c809a42ce99.1684619285.git.arne_b= ab@web.de> From: Arne Babenhauserheide Date: Sat, 20 May 2023 23:45:43 +0200 Subject: [PATCH] gnu: htmlcxx: add --std=3Dc++11 to configure flags. * gnu/packages/web.scm (htmlcxx): add CXXFLAGS to configure-flag. C++17 removed dynamic exception specifications. =2D-- gnu/packages/web.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index fe52f673e2..aa9d23f19c 100644 =2D-- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -8248,6 +8248,9 @@ (define-public htmlcxx (sha256 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x")))) (build-system gnu-build-system) + (arguments + ;; ISO C++17 does not allow dynamic exception specifications + `(#:configure-flags '("CXXFLAGS=3D-std=3Dc++11"))) (home-page "https://htmlcxx.sourceforge.net/") (synopsis "Simple non-validating CSS1 and HTML parser for C++") (description "htmlcxx is a simple non-validating CSS1 and HTML parser = for base-commit: bd7b795aeb9d35ac7b825ad4d0cf0088f18e1167 =2D-=20 2.40.1 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein, ohne es zu merken. draketo.de --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmRpQFgQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD6yhCD/91tpgDktonlrtDPX45Jcjn254zfDoVmCeU DCirH/yViCLOfTM9kE+kQ61zS9s0oKCYKqtAZ90XFs/UAAsdMiE4ON+AbUbWxcv5 al12Euyx8abyLzqgIjasU2po9kIicYFfcXedNVVvz3US0HVZX3r22WWsouR1uvGl 7ZuS5dnt95voBH8rIwN2L2AS5fBo787zpZkIi/LsN7Mxhz0hpuZ7WAHPV4B83LYg pUstvaaC0HunU+d4DBolnA49yTVoWa5nyBZm4YvRCtrXIRbbajwSK5Rx5VFKo4Mc 31ZuTQ9VBUcJi4T4vsnLZAS1ffbvD/2Wf6mCpaMfM0zK5e2nVMGGtOI/1IjPgXue N+86Y4e9L06O+wbdQ0XkojWyZdwbfDFkrvaugoof6GSiAdAVGuxnD13BCyopRbjC ybbTmqrnCjZrufDBdThE0H2GD/a0NWZLZQuZJPNSF8+GISCLLjlSgzW5O7RpGZrE MdFucWdRMTw1wCG+Lc03Fm1jI23SOvFTWEi+HSVVlPVIIM/KxsbPWHQSibVdrOz+ PsiYZ4rC8e3tEBRhKKQyKluFgLH2XncDCFSwf4YLfvT72isd8dDs8tcrnFgCUPmE Zr/PhUkcIFAUbE1HlLnirM0NmGlre9xJa8hEBHmjWRelAGoRsIgjFxEz0PPmfV5B Sh2H5/0gw4jEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmRpQFgQHGFy bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSFohA/0Ucq9pl/iMiuEGz5DLMp4ONghu 7uq4y+G7rEM0fZYqwWffPCRH/0X3v83h2rr1PB9tBxlkFF8siSS/oIIpJDeM+HUB eB4viFV4tbmfVupLLyAXpfnwO2fEjJqAQnVaCXAmYwR4ltgxPaUH0GTiDH7wIVTq HvgFkt9skIZLIHx3/w== =YsOy -----END PGP SIGNATURE----- --==-=-=--