From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EC4BEVYvs2b4VQAAqHPOHw:P1 (envelope-from ) for ; Wed, 07 Aug 2024 08:24:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EC4BEVYvs2b4VQAAqHPOHw (envelope-from ) for ; Wed, 07 Aug 2024 10:24:54 +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=olzNkmlp; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=gLSKBA9U; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723019094; 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=Jj96NnGiZ0uHmOKXt6OEL+pOHl5BVg94M6XJG4xWv61hAkiCBOs1pz1b7hv2Nq9P8/JNpE QjrlmR8HsiI++Z5Xm9GCE1Vx/+e1bg06UW527Oi9+mtjGQlki1CJ3JmIwGEsEUBX7Gf/zp +HMgKlKYpXq7xPxFvaOxG/NF0x7+fFEIh2hzx3RUBOEnbCWfeSALkooMz3Woij9z6FIb7d 9u6qK/ZT2G7KikIajDmbV3pxeamMm81gEBMasc4vBRAlWD5DPQ0LDyMdDIzMOVqWPsfhRR N0NvyaLwiOCsoRqu7D5LDCGN6fpdJ5H03ukam9enPhVRomxM4Es++Q5LvroMuw== 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=olzNkmlp; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=gLSKBA9U; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723019094; a=rsa-sha256; cv=none; b=IdrhR2Ka7I5zozmQDWUWAoV6VQO6bh7ywg/T1mJZykqzD+DUZqXZPk83MWwl9+kedAFwHq 2ls/CSbJ/cZRg48peK0SA7+Lkir1f5m+CsdlhyLiTidlOaYRiJbfkZ1zqQHiAubIJawYNL 3b/Zu68JOk/6qY43osHUahFaj4AsHof0PhAKsC4ZrMSqstvRTovV2/KfmWYfl0nDAXAv2I nfA9QLb1+hftbL3yfLaBhgAAwfUrovcJl65FsqEBwETu10yzjZUeX8QiZBamKOJXV5Anco klkYwpCLb5028fyyAMjYKIG1gvqFrpCE6yM38tIE5jUYTdXkqY2PfF+94BClxw== 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 0843025A68 for ; Wed, 7 Aug 2024 10:24:54 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbbyM-0004bh-M7; Wed, 07 Aug 2024 04:24: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 1sbbyI-0004b0-Ag for guix-patches@gnu.org; Wed, 07 Aug 2024 04:24: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 1sbbyI-0007ec-0J for guix-patches@gnu.org; Wed, 07 Aug 2024 04:24: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=olzNkmlpMYfyNa4L1MkSsQDCO2Y9wOvvcdHJKbSWH2dpZgyfbgy19vZ10BnoDU5QNCDpl5447FG+SkzV0+MnyqAQSPYEQoaoUpCT3PYmhpMcTnNaF0/ZfqW+3BRT0i1hKCinmniSrSAawPuAH+3uz1kw0ve8EsW8WZgLxDnC3ZN0pqigpFwjZAQP9RfwLSVuaqjfizkqnrJomrcbDZSeyLl0suS0yEbfKEB2nwVXsCRXp4heVRphq1Y5C4mpuZo00I+oeQjmPHK6ilsXUlCds7o0JLCp6mxvZE+xF5Y5e3/dw4s83bG+uF1LjhzQG03lTl6tsgzchwomssh0ChNTMg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sbbyg-0004la-Qh for guix-patches@gnu.org; Wed, 07 Aug 2024 04:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72508] [PATCH 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 08:25:02 +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.172301907218224 (code B ref 72508); Wed, 07 Aug 2024 08:25:02 +0000 Received: (at 72508) by debbugs.gnu.org; 7 Aug 2024 08:24:32 +0000 Received: from localhost ([127.0.0.1]:33616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbbyB-0004jm-N3 for submit@debbugs.gnu.org; Wed, 07 Aug 2024 04:24:32 -0400 Received: from mail.goryachev.org ([178.62.244.128]:42954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbbyA-0004jA-27 for 72508@debbugs.gnu.org; Wed, 07 Aug 2024 04:24:30 -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=gLSKBA9U9oWPxVX1a/+IoepwMvRsMPQCWpPRhPc Uq7OxjI7uvvhxSeCam5LPk4MyrBJ8j4sBS/wq6NpNOljfsvsBwSvySyiQXWUkXpCktXmcH lVa9NIY0nb30tg6xeC+4/RgiPbCtS+Ds2x2cxGHLbb1XuuC4eso7zT9Ajr25oU= Received: by mail.goryachev.org (OpenSMTPD) with ESMTPSA id 68d205b6 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 7 Aug 2024 08:24:03 +0000 (UTC) Date: Wed, 7 Aug 2024 11:23:49 +0300 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -6.45 X-Migadu-Queue-Id: 0843025A68 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.45 X-TUID: eTzT092bvffl * 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