From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SrVgFj0PHGGXJgEAgWs5BA (envelope-from ) for ; Tue, 17 Aug 2021 21:34:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8D2YET0PHGEWDgAA1q6Kng (envelope-from ) for ; Tue, 17 Aug 2021 19:34:21 +0000 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 C5175B86A for ; Tue, 17 Aug 2021 21:34:20 +0200 (CEST) Received: from localhost ([::1]:45338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mG4qp-0002A6-ET for larch@yhetil.org; Tue, 17 Aug 2021 15:34:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mG4qY-00028K-5z for guix-patches@gnu.org; Tue, 17 Aug 2021 15:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42616) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mG4qX-000472-Vr for guix-patches@gnu.org; Tue, 17 Aug 2021 15:34:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mG4qX-00007m-T1 for guix-patches@gnu.org; Tue, 17 Aug 2021 15:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50091] [PATCH 10/21] gnu: openssl: Fix build on riscv64-linux. References: Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Aug 2021 19:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: 50091@debbugs.gnu.org Received: via spool by 50091-submit@debbugs.gnu.org id=B50091.1629228839469 (code B ref 50091); Tue, 17 Aug 2021 19:34:01 +0000 Received: (at 50091) by debbugs.gnu.org; 17 Aug 2021 19:33:59 +0000 Received: from localhost ([127.0.0.1]:54162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mG4qQ-00007Q-LE for submit@debbugs.gnu.org; Tue, 17 Aug 2021 15:33:59 -0400 Received: from out1.migadu.com ([91.121.223.63]:40353) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mG4qL-00007E-2T for 50091@debbugs.gnu.org; Tue, 17 Aug 2021 15:33:54 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1629228827; 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: in-reply-to:in-reply-to; bh=UF0op20XdfereeT8O/UDMzJhFlJvoy21DFU3YYEN07s=; b=kUCZxx6mne6Elp6CYXZmSp7gKVZOOvSaPI4LvNUvpjr/23GfxV8NNdwvLiNvnGNrHMbOJQ JEWCMpmO3GpILUwhX1hwNf0NkFcuJESA22lqbK3svJMIIpwOc1eHnrrs3MFMHW7BlZCIp0 4m11FcCdIENg+JyiD4vLTHttTtLR5Mc= From: Sarah Morgensen Date: Tue, 17 Aug 2021 12:33:45 -0700 In-Reply-To: Efraim Flashner's message of "Tue, 17 Aug 2021 13:19:08 +0300 (9 hours, 9 minutes, 37 seconds ago)" Message-ID: <864kbn6f3a.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: iskarian@mgsn.dev 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629228860; 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=UF0op20XdfereeT8O/UDMzJhFlJvoy21DFU3YYEN07s=; b=Qz2VExOYquEab0iMyh1uW3S6xv2RNIldkL8sq2O0r/GBi/dGpgFrJSmIHoVDSSrYIvAfC6 arMcYdW2zh4AFc7D3A3uZ0szxjYkJz1v0eEQaMjX9JNqi20+yUIR7nIEeKNj3wLaadxGbH xcPu1zqRxkIt2dqZLLQzmEA7H7mTsrVEkpV5WiM/HgNEX467nCoeIX3BhFNfClW8Ntsygc iPRVyssFFr2El4Z4bYfW3qQ1MzSrnW39YkQreLKAFeFESvV48dhTZajqwYfscAKKN/akst iJvhjVHPFYHXLHNDG+4IG8pm1QLUX+bWV1gcq1JC41R0qJBvXqaQsRbZYxtlNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629228860; a=rsa-sha256; cv=none; b=TESij9YM+p2/dER4MiwQjXHU2LiTmFIRYP08PmdRXOXSKuX80PCz0/wA611H+5jQHgm/Df 1/fga3+pgx9Rj1tTTAMoPwMDZYsvY2FQaYdO+joNjdFP+UjIv7efddI+XyaziF32a+RKGE hx9WzGRqLrG9N2RKwtCLYoDpQOHNswWId24jy64HlbYLeyG2NvzW8KPB/W3H6J2Tq2sFr0 eVyZYUdvUKIq8V7jjEgL0mqYA2zlkcDIjYLaInfwdDN308KWSECw73a4rigYtmN/xjv4jw Q19n7fH2eChDEcL780ykdaCj8kdTspTkSk+9JFRTwIFFUwwPh7GsD4yycEGggA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=kUCZxx6m; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=kUCZxx6m; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C5175B86A X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: EVuZlkXHqAXx Hi Efraim, Efraim Flashner writes: > * gnu/packages/tls.scm (openssl)[arguments]: Add phase for riscv64-linux > to skip failing test. > (target->openssl-target): Add case for riscv64-linux. > --- > gnu/packages/tls.scm | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm > index 4b8df04f17..f6cdeac363 100644 > --- a/gnu/packages/tls.scm > +++ b/gnu/packages/tls.scm > @@ -337,7 +337,10 @@ OpenSSL for TARGET." > ((string-prefix? "powerpc64" target) > "linux-ppc64") > ((string-prefix? "powerpc" target) > - "linux-ppc"))) > + "linux-ppc") > + ((string-prefix? "riscv64" target) > + ;; linux64-riscv64 isn't recognized until 3.0.0. > + "linux-generic64"))) > > (define-public openssl > (package > @@ -380,6 +383,12 @@ OpenSSL for TARGET." > #$(target->openssl-target > (%current-target-system)))))) > #~()) > + ;; Unclear why this test is failing. > + #$@(if (target-riscv?) > + #~((add-after 'unpack 'skip-failing-test > + (lambda _ > + (delete-file "test/recipes/30-test_afalg.t")))) > + #~()) > (replace 'configure > (lambda* (#:key configure-flags #:allow-other-keys) > (let* ((out #$output) This test is also failing on aarch64 [0] and has been reported upstream for some time [1] with no action. Looks like it can also be disabled with make TESTS=-test_afalg test if that's more desirable. [0] https://ci.guix.gnu.org/build/29270/details [1] https://github.com/openssl/openssl/issues/12242 -- Sarah