From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CP89Mzeis2YjFQAAe85BDQ:P1 (envelope-from ) for ; Wed, 07 Aug 2024 16:35:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CP89Mzeis2YjFQAAe85BDQ (envelope-from ) for ; Wed, 07 Aug 2024 18:35:03 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=H4AqOHNF; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=oYPtMvcM; dmarc=pass (policy=none) header.from=gnu.org; 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=1723048503; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=ObeOIoEYE/mv3K2u1dhI/XUMncyCZe8TwFHea5DvMCA=; b=PTdkO6cnLP2jyqVsRpLAbvgLUSeYgVe2i7lDcT57Rjhxqn61l05rlN3VMaVdxEnwRCH4MN fVubGXIMsb6eoGOy25jV1H/vlw/fJMRzlv1/p9P5BwBL3NiFzF+et01ZLJoSGKMAqDg9tN hkyHbRMYKj7OlFg6zvnGy+ROPjOrCEeUXR5s6o3LjLFz0GiSRZPo+psxFOpgqT6sqanMnf jviqwEJfPNxUwhhRth+2re95+y0pHYf/bg+Vgy9ZBSRDzmj1zg3HbeOCuwo6F3COWlMNEo NN0MAlEjvvUS2UFuumNVxSOECBrC7n8AENO8XJNvSrlSuPnQ8+NXhapepFD6wg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723048503; a=rsa-sha256; cv=none; b=AZ+dHYQLYWc6Hed72/XUwR0LtG6Hx/GLpwB+zfZhe/RVDGcqdsnHLRzVqT1axh5UcM8uq6 5TevLKo72wXafNhc9F98QcWw54nsfGo7OyV9e3zqfds9IuTNPEilmt5AuT3Kb25mA8UhC+ xJN+lSRi7Jj50HxBFcGoAclO6HjMJ6W6PcjSWkmMVOlqdJgQhn9qXrv80U1na9SszU5ND3 gNmB/Vq61Z1e6OxRgz3M+ye//cwfDtyx/3CwnijkoggyYWp3u5jgeVs3tgF7XzaVKwhJJH xnA1W61+2Aw8doUInGRvpnfSQ+VAyd4SdbwrDtdqkDV34gc2ko9Ze7OKpoJQBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=H4AqOHNF; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=oYPtMvcM; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 5971162774 for ; Wed, 07 Aug 2024 18:35:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbjcY-0004cH-6S; Wed, 07 Aug 2024 12:34:42 -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 1sbjcU-0004at-Qg for guix-patches@gnu.org; Wed, 07 Aug 2024 12:34:38 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sbjcU-0004yy-Hg for guix-patches@gnu.org; Wed, 07 Aug 2024 12:34:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=ObeOIoEYE/mv3K2u1dhI/XUMncyCZe8TwFHea5DvMCA=; b=H4AqOHNFfJaJGu2jX9T0kmuPEG+YrDdYCM1z4OCWT9ZNLdMAE8voazU5EmDH3xCCLxs142IwXiEYmfBxLwNG+NEBfBauRr3UOIX7c/w5vhls2Dceeiz7YZAe4dQqss4KbaImGJj7vQybXK/OLXJQH/iRkBrk9lKfga0MHe+6w0HwG1muzaRMHhL2e8hm9I0J9wSU5+BCVENETpp8bEE0B5dTr2319Nvt+WxYzEq3X/c1lqrES9MTaiBMtLJqbX/ZPZ/HSLS7DcQbl675LzHA50WcXJaa94jRVpFRysQXiZ1R0O9gD6/6gT8s3Xv3KYfnOO5L7YPn6kgGiWQ+p02AcA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sbjct-00047F-B3 for guix-patches@gnu.org; Wed, 07 Aug 2024 12:35:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72508] [PATCH v2 3/5] gnu: erlang-jose: Relax build options. Resent-From: Igor Goryachev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Aug 2024 16:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72508 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72508@debbugs.gnu.org Cc: Igor Goryachev , Andrew Tropin Received: via spool by 72508-submit@debbugs.gnu.org id=B72508.172304849015759 (code B ref 72508); Wed, 07 Aug 2024 16:35:03 +0000 Received: (at 72508) by debbugs.gnu.org; 7 Aug 2024 16:34:50 +0000 Received: from localhost ([127.0.0.1]:35026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbjcg-00045y-7P for submit@debbugs.gnu.org; Wed, 07 Aug 2024 12:34:50 -0400 Received: from mail.goryachev.org ([178.62.244.128]:57114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbjcf-00045T-0I for 72508@debbugs.gnu.org; Wed, 07 Aug 2024 12:34:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=MmsUzYeBKBrqHV/ azxyQZV6wh6s7stLFg3eaa3a38Yc=; h=references:in-reply-to:date:subject: cc:to:from; d=goryachev.org; b=oYPtMvcMp71NKLrGzPJDsiMrv86XHze6hMoFTvk mYzTn6y8OMDzMEbZLXwcOtFNlE/OmXt2FPzz3fYzG15Y84burBsO9o05ktImIvhEweXLmg JPyVRUooVv4xVnh8+gdC9saqpeACaoNDko/eWw7kMrgL9X4aNP43hgxOvmG99M= Received: by mail.goryachev.org (OpenSMTPD) with ESMTPSA id fd997407 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 7 Aug 2024 16:34:19 +0000 (UTC) Date: Wed, 7 Aug 2024 19:32:11 +0300 Message-ID: <07e46990b05202875ffa7db4e3b269fea68df2c6.1723048333.git.igor@goryachev.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <1234c6aa24e573044ed2075cd712e22431b60897.1723048333.git.igor@goryachev.org> References: <1234c6aa24e573044ed2075cd712e22431b60897.1723048333.git.igor@goryachev.org> MIME-Version: 1.0 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: , Reply-to: Igor Goryachev X-ACL-Warn: , Igor Goryachev via Guix-patches From: Igor Goryachev via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.95 X-Spam-Score: -1.95 X-Migadu-Queue-Id: 5971162774 X-Migadu-Scanner: mx11.migadu.com X-TUID: tSxCE8CZpe0E * gnu/packages/erlang-xyz.scm (erlang-jose): Relax build options. Change-Id: I0e90cb54558260aea07bc33a11a2ab56261a20bf --- gnu/packages/erlang-xyz.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm index 5661bf52dd..6f1c033aec 100644 --- a/gnu/packages/erlang-xyz.scm +++ b/gnu/packages/erlang-xyz.scm @@ -59,6 +59,18 @@ (define-public erlang-jose (sha256 (base32 "0576jdjygby37qmzrs8cm5l6n622b0mi3z28j6r4s5xsz1px6v0d")))) (build-system rebar-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + ;; Do not treat warnings as errors, for more info see: + ;; https://github.com/potatosalad/erlang-jose/issues/168 + (add-after 'unpack 'relax-build-options + (lambda _ + (substitute* "rebar.config" + (("debug_info,") "debug_info")) + (substitute* "rebar.config" + (("warnings_as_errors") ""))))))) (synopsis "JSON Object Signing and Encryption for Erlang and Elixir") (description -- 2.45.2