From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YNcLF7USL2J8kAAAgWs5BA (envelope-from ) for ; Mon, 14 Mar 2022 11:02:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aHCqE7USL2IdIgEAauVa8A (envelope-from ) for ; Mon, 14 Mar 2022 11:02:29 +0100 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 0740C20353 for ; Mon, 14 Mar 2022 11:02:28 +0100 (CET) Received: from localhost ([::1]:57304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nThX1-00072b-4h for larch@yhetil.org; Mon, 14 Mar 2022 06:02:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTh8R-0005qe-Ix for guix-patches@gnu.org; Mon, 14 Mar 2022 05:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTh8R-0000VL-8m for guix-patches@gnu.org; Mon, 14 Mar 2022 05:37:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nTh8R-0002Xy-70 for guix-patches@gnu.org; Mon, 14 Mar 2022 05:37:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54337] [PATCH v2 2/3] gnu: Add boost-for-cryfs. Resent-From: 'Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Mar 2022 09:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54337 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54337@debbugs.gnu.org Cc: Maxime Devos , Brendan Tildesley Received: via spool by 54337-submit@debbugs.gnu.org id=B54337.16472505849721 (code B ref 54337); Mon, 14 Mar 2022 09:37:03 +0000 Received: (at 54337) by debbugs.gnu.org; 14 Mar 2022 09:36:24 +0000 Received: from localhost ([127.0.0.1]:44111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTh7j-0002Wb-OY for submit@debbugs.gnu.org; Mon, 14 Mar 2022 05:36:24 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:55166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTh7h-0002W6-SZ for 54337@debbugs.gnu.org; Mon, 14 Mar 2022 05:36:18 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4KHBHc1pHFz9sRP; Mon, 14 Mar 2022 10:36:12 +0100 (CET) From: 'Brendan Tildesley DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1647250568; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=A2eGF0u1ZR3VE27CzqxjqmOivhW+sslfVnA97MW7efg=; b=NLTI0Wux61dPyFfsystqlhOz37gRfQksUfVe11/L46PklERvlnLm44U2oeIQuSEIqhFH4P ocG98gqaOiT6tISxhb47PuJftE71BDNT1EAgdpTe+3ch+Bt02MBYqQi6gVRvA9+qnMIS7+ v6dVpiRZM8RkynDfPBBMgKUijBHaNvfxVN5qxKXB28fv7cBdJZMD1QuY7V+LdXGnBjpbUH kk8yqbjGnlcIv2r6f5BOVw85zHW9q1eBqyh2S+qnkO0baZsj6A9lKs38TTlnSTfIlh+ygz xIr6E7IySFm1wsEGnYuVVMLyOYMAOmvg1Md1a36DQG7mPwWBzqIteKENJQZwWA== Date: Mon, 14 Mar 2022 20:35:49 +1100 Message-Id: <20220314093550.16580-2-mail@brendan.scot> In-Reply-To: <20220314093550.16580-1-mail@brendan.scot> References: <20220314093550.16580-1-mail@brendan.scot> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647252149; 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=A2eGF0u1ZR3VE27CzqxjqmOivhW+sslfVnA97MW7efg=; b=QUkrrPTl/cGJqHe4y25pS0DxuiQHBs73X14bIuTA20s6HRbcTzUupkI2uNbYVCqYImWiur VtoWG5Ol01t2iwhdb+ofnbHcM/HNfl3raGfxxhh5K+ESDloAqETgfLijd59p4CVgXJz9I7 /LN5QYwHg7RJazdWt1SJYGn4MH52Dc8zdqUg4UtZQZtEcx8a7Natbpc0CmmWzpwYc3VWU4 B/H+4r5+ypid3ZQz9p4DQTTHqLMq55wY+IE+DWgMjCeKyzv+mJfQg/oclUQgQ+bHzhfNFn xRytvEDnoZ4oOaDqDvI5KdWBiLvl9XFTBse9BVionByhM+NWIbgij0/A0LFhnw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647252149; a=rsa-sha256; cv=none; b=hXpAUYakb6pQBMLKcv3BjLbrqVXNH4EBMI0j+R4sqVGCZoVRoXH78DPx2XVvpjDxUTw405 7Y9yabndsKFZ/RNCv0Eg2KA5TPV8n5MvukJWa2eE3/QGuw8HdvUaWDUZLvaEH+HnNfVRMK 7a1C+/XqL0zV0D35Fi+JpiBZ0EfOGlLVOhwamy+oml3pzYi0do2Z7ho11i+dUo4JenV5ee A4oqrJFpT2wmZGr3E8zeWGGd6kKjMEpVObNzTtOfgcUgiCQbFcPBVAkXObzyeSNjczObwL /3uI5tGEmhZa9hdwD2iHKsQ85mNQCHDv7hzAK06bDjNdhnIj3QfCgprgf93y8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=brendan.scot header.s=MBO0001 header.b=NLTI0Wux; dmarc=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-Migadu-Spam-Score: 1.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=brendan.scot header.s=MBO0001 header.b=NLTI0Wux; dmarc=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-Migadu-Queue-Id: 0740C20353 X-Spam-Score: 1.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: N/Sew7hpfUXU From: Brendan Tildesley * gnu/packages/boost.scm (boost-for-cryfs): New variable. Since updating boost would resulting in building 1000s of rebuilds, add a temporary variant to fixing a missing import resulting in "error: 'transform' is not a member of 'std'" when building cryfs. See: https://github.com/boostorg/process/commit/e08374ed95ac33865bda40602c94909e7cd9607f * gnu/packages/patches/boost-wchar-include-algorithm.patch: New file. * gnu/local.mk: Reference patch. . --- gnu/local.mk | 1 + gnu/packages/boost.scm | 11 +++++++++++ .../patches/boost-wchar-include-algorithm.patch | 11 +++++++++++ 3 files changed, 23 insertions(+) create mode 100644 gnu/packages/patches/boost-wchar-include-algorithm.patch diff --git a/gnu/local.mk b/gnu/local.mk index 484757b207..465f5ae96d 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -915,6 +915,7 @@ dist_patch_DATA = \ %D%/packages/patches/binutils-CVE-2021-45078.patch \ %D%/packages/patches/bloomberg-bde-cmake-module-path.patch \ %D%/packages/patches/bloomberg-bde-tools-fix-install-path.patch \ + %D%/packages/patches/boost-wchar-include-algorithm.patch \ %D%/packages/patches/bpftrace-disable-bfd-disasm.patch \ %D%/packages/patches/byobu-writable-status.patch \ %D%/packages/patches/bubblewrap-fix-locale-in-tests.patch \ diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm index b53b1f4257..b6f0c1fc22 100644 --- a/gnu/packages/boost.scm +++ b/gnu/packages/boost.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2021 Franck Pérignon ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2021 Aleksandr Vityazev +;;; Copyright © 2022 Brendan Tildesley ;;; ;;; This file is part of GNU Guix. ;;; @@ -68,6 +69,7 @@ (define (boost-patch name version hash) (define-public boost (package (name "boost") + ;; Note: consider removing boost-1.77/fixed when updating boost to 1.78 or newer. (version "1.77.0") (source (origin (method url-fetch) @@ -193,6 +195,15 @@ (define-public boost (license (license:x11-style "https://www.boost.org/LICENSE_1_0.txt" "Some components have other similar licences.")))) +(define-public boost-for-cryfs + ;; This patch applies for boost 1.77. Should not be needed in later releases. + ;; See: https://github.com/boostorg/process/commit/e08374ed95ac33865bda40602c94909e7cd9607f + (package/inherit boost + (name "boost-for-cryfs") + (source (origin + (inherit (package-source boost)) + (patches (search-patches "boost-wchar-include-algorithm.patch")))))) + ;; Sadly, this is needed for irods. It won't link with 1.69 or later. (define-public boost-for-irods (package diff --git a/gnu/packages/patches/boost-wchar-include-algorithm.patch b/gnu/packages/patches/boost-wchar-include-algorithm.patch new file mode 100644 index 0000000000..c174dc5cd2 --- /dev/null +++ b/gnu/packages/patches/boost-wchar-include-algorithm.patch @@ -0,0 +1,11 @@ +--- a/boost/process/detail/traits/wchar_t.hpp ++++ b/boost/process/detail/traits/wchar_t.hpp +@@ -12,6 +12,8 @@ + #include + #include + ++#include ++ + namespace boost { namespace process { namespace detail { + + //template -- 2.34.0