From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GHbAKRIEWGQ2ZwEASxT56A (envelope-from ) for ; Sun, 07 May 2023 22:03:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kCbKKRIEWGRLagEAauVa8A (envelope-from ) for ; Sun, 07 May 2023 22:03:30 +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 7FCD542AEB for ; Sun, 7 May 2023 22:03:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvkFk-00086L-RE; Sun, 07 May 2023 15:41:04 -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 1pvkFi-00086D-OK for guix-patches@gnu.org; Sun, 07 May 2023 15:41:02 -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 1pvkFi-0006xu-Gm for guix-patches@gnu.org; Sun, 07 May 2023 15:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pvkFi-0001l8-CO for guix-patches@gnu.org; Sun, 07 May 2023 15:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63330] [PATCH 0/4] Functional programming? In my C++?! It's more likely than you think! Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 May 2023 19:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63330 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 63330@debbugs.gnu.org Received: via spool by 63330-submit@debbugs.gnu.org id=B63330.16834884606747 (code B ref 63330); Sun, 07 May 2023 19:41:02 +0000 Received: (at 63330) by debbugs.gnu.org; 7 May 2023 19:41:00 +0000 Received: from localhost ([127.0.0.1]:38560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvkFg-0001kl-CW for submit@debbugs.gnu.org; Sun, 07 May 2023 15:41:00 -0400 Received: from mail-ej1-f65.google.com ([209.85.218.65]:52611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvkFf-0001kV-AS for 63330@debbugs.gnu.org; Sun, 07 May 2023 15:40:59 -0400 Received: by mail-ej1-f65.google.com with SMTP id a640c23a62f3a-94ef0a8546fso607340066b.1 for <63330@debbugs.gnu.org>; Sun, 07 May 2023 12:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683488453; x=1686080453; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=Qek24AAkGPONe+7Jf3dBU+JHuTxKWQg6EFCDmdeRXCQ=; b=kxLZtBkOsW7O6JO1LO8BESmEFdXsrWXFOLSSDBn5m7YWaokkGKc7omtbeOV6L8l0SG dTrKVM4+V6snS3vlViTYqamELB6Bm9CrR6Kx/M9Lq1UnnC3+tSzmkB5GkF8oOAdJ8pKq G160/6AJ8vSLLU3e3i/BFUl19dNW5hydTr+cTtS8yn2GP8rz01xYuekyD9E6rHutYd36 1dFeZoi4FEZPPHplbV9YYky77VePx3RI8A0T/qu9J9F+10NMRPTi7WJlIT2L1luX3myd F2lO/j014J17uf64nYMPAIlyFcdCazDFjCRAHldlA0ZefbzVgj6s7NFTB3hLxdenIhFL 1oFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683488453; x=1686080453; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Qek24AAkGPONe+7Jf3dBU+JHuTxKWQg6EFCDmdeRXCQ=; b=e1/x+mKsfpI4DmQwUUCtfSKssiQOhKlMdjCob1EdLIlaghP5yygP8xMW2e5Sz7hUPT XtOtbdNKRjn4tVBEMw5a+NaDvEP0FtdPIuHCczsbeGYIpWfyOnaUKzETBdKWuaVCSFSr wowu/LIlTcElj55UFInpYnnu39F68WgX9hUWUzxJ3qFHaE9n3oOqQIdcdsor4NQGLBtv pt2FwhA7ZMnEnvJe7kJpSOLGZrDFiGht8I/Y/5hFWmYH+bOJQ3K4K7zvef2xd+s76Fn5 OTeSvc3bf4zApM1/UXPTiRtluSG/K6qX1tQa6SzGTHYXkFUa82HHad9nm3hNsctG+wr9 2RvQ== X-Gm-Message-State: AC+VfDzlTToK6tTLakfOMgH9TOnzX4QCV+i5z3Vhd373nGsk7F1w+fD3 VxBeTeSgLCOMXcfbA+eKW3Pe2k8SYRC13A== X-Google-Smtp-Source: ACHHUZ4a4hgY6H28G1/HOdX1Zj0Q2W948IDT4Dc1Djb9PVK3QuEwyg+L+ABGual9tC5TJVVbuEE+5w== X-Received: by 2002:a17:906:7303:b0:965:6d21:48bc with SMTP id di3-20020a170906730300b009656d2148bcmr7661528ejc.75.1683488453311; Sun, 07 May 2023 12:40:53 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id e8-20020a170906844800b00965b7bf6aa5sm4008642ejy.52.2023.05.07.12.40.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 12:40:52 -0700 (PDT) Message-ID: <750a060f3435255a7765a0ee6df1ef60de46f483.camel@gmail.com> From: Liliana Marie Prikler Date: Sun, 07 May 2023 21:40:52 +0200 In-Reply-To: <873548ysj8.fsf@gmail.com> References: <87v8h4yx9u.fsf_-_@gmail.com> <1db1242ff474042bb007ace4ab4421f9061db2a6.camel@gmail.com> <873548ysj8.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-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=1683489810; a=rsa-sha256; cv=none; b=jmmgAajmUBFRWROFTEL9suJbbvTKL4WE0DekKa2pcSHOxQ7RCzpnhIDGQts7XvOrSJSXF7 KyC5Ae44zD0vFwz/eDf9dx9/3HHr7mi67AEgW4P/6D4xSyIbtzAkUOwQXmKQaf0EuLrK4a TCZGeOIlg1Wbr6uqxFNbpfvH0tdhP3pcbmZ/uqjeaBYyigNcFs+rU6fPkCD/KEAnpBEBON AZ6Mf+61wNTqvGpQFoSLAN99Xgf2MFDupPYEh3eAEnKiXzODCPlJstvhtTFTQ+r++Qo0MF +LMdn3Gc7qkws/dop8kLjW5b/4ufJ7XDOgzm5uh7rb6nUBHA24Zzq8KGaWFEUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=kxLZtBkO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683489810; 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: content-transfer-encoding:content-transfer-encoding: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=Qek24AAkGPONe+7Jf3dBU+JHuTxKWQg6EFCDmdeRXCQ=; b=mVxc6lj33ZNVRhBPXbnz5VHMiwqTCJWhc+4Bpl3SiVlvuHcEmv8FphwiKjK54r0eiAbQ4a QtbAts36eO2DLxcPzWy7EnRceEE/cSYLnW6vVGIRMRmmAeAVD3Y2fSPEXsoBT1VM7beuE1 CDoyE6siZ7PrdbXjcoxYkhXg2IkVtEsmevb4iblBUnqqznOUwJlTtzSCnF2XzXPKydRyRb k9mQ836rq+GiG3I2MQyb+NafnFuOPYpdkbQWdY8Mi7S63puuC/Qb7xcsLuIE1B2aCqAEgC 3QYNa/WqsqFcXB+JddQjpd/LaVmZ/wAfyreSJElXpYivtSfD2Lx8LEiaJYaATg== X-Migadu-Spam-Score: -1.09 X-Spam-Score: -1.09 X-Migadu-Queue-Id: 7FCD542AEB X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=kxLZtBkO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: 0850V7TOzU68 Hi, Am Sonntag, dem 07.05.2023 um 13:12 -0400 schrieb Maxim Cournoyer: > Liliana Marie Prikler writes: >=20 > > Am Sonntag, dem 07.05.2023 um 11:30 -0400 schrieb Maxim Cournoyer: > > > Did you report the wrong header usage upstream?=C2=A0=C2=A0 > > I must admit, I did not. >=20 > Could you please do so, if that's not too much to ask?=C2=A0 Then include > a (see: URL) next to the substitution comment. I sent a mail to the address in the README; let's wait for a reply. > > > A less intrusive fix for the catch/doctest include problem could > > > be to add their include subdirectories as -I directives to the > > > CXXFLAGS environment variable, or since that's CMake, via its > > > CMAKE_CXX_FLAGS make options.=C2=A0 See 'clara' for an actual example= . > > There are other packages that take the approach I used here.=C2=A0 I do > > think this is a CMakeFiles bug, but not one I want to fix. Correction to myself: I now see that we only need to edit those source files because we remove the bundled ones, but that's an argument towards keeping that within the snippet imho.=20 > I think catch2 is selfom used from the system (typically bundled), > must not ship with any pkg-config or proper support to be auto- > detected at configure time, which gives us the situation we're in. Joke's on you, catch2 ships with both CMake's config stuff *and* pkg- config. Vendoring it is next to pointless (that is, unless you regard sneaking it onto ancient Debian as the point). Doctest also comes with the usual CMake blurb. Cheers