From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kFTJGuRDE2NwAwAAbAwnHQ (envelope-from ) for ; Sat, 03 Sep 2022 14:09:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UOmrGuRDE2P5TgAAauVa8A (envelope-from ) for ; Sat, 03 Sep 2022 14:09:08 +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 3016227CD for ; Sat, 3 Sep 2022 14:09:08 +0200 (CEST) Received: from localhost ([::1]:36566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oURxT-0007JI-BU for larch@yhetil.org; Sat, 03 Sep 2022 08:09:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oURxO-0007In-DV for guix-patches@gnu.org; Sat, 03 Sep 2022 08:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oURxO-0006cL-4C for guix-patches@gnu.org; Sat, 03 Sep 2022 08:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oURxN-0002qU-Uq for guix-patches@gnu.org; Sat, 03 Sep 2022 08:09:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57560] [PATCH 4/4] gnu: hashcat: Fix cross-compilation. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Sep 2022 12:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57560@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 57560-submit@debbugs.gnu.org id=B57560.166220691310882 (code B ref 57560); Sat, 03 Sep 2022 12:09:01 +0000 Received: (at 57560) by debbugs.gnu.org; 3 Sep 2022 12:08:33 +0000 Received: from localhost ([127.0.0.1]:41103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oURwu-0002pQ-UU for submit@debbugs.gnu.org; Sat, 03 Sep 2022 08:08:33 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:36488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oURws-0002p1-OV for 57560@debbugs.gnu.org; Sat, 03 Sep 2022 08:08:31 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by baptiste.telenet-ops.be with bizsmtp id FQ8U2800e20ykKC01Q8V2Y; Sat, 03 Sep 2022 14:08:29 +0200 From: Maxime Devos Date: Sat, 3 Sep 2022 14:08:27 +0200 Message-Id: <20220903120827.25648-4-maximedevos@telenet.be> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220903120827.25648-1-maximedevos@telenet.be> References: <20220903120827.25648-1-maximedevos@telenet.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1662206909; bh=qMf1Yl9J+0OdJjyvxxRKLy7IObywe7hVMb9Zuj2t7qM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=CU8RCC1o1qxtqzwGpXjdB9XPInO6Skk43X/Gf+Xa07bb+ioNds6Xr2e28piLIMm+f 9GGvo66gnCBLF2ZlNeN5tAwyEQUG6N8Vt2JwZu6DkwI4nbShFNalmAUTlQHDKWIBEE WoELkq4pcmzndAnqkJGeCachTIOEIJecqeKJqJcjoZpXJOHr/GEf8+B5PNjy96EOOm cM87G0l718pWFnQXj1h3DSgTJ7xi/Qe25xTjlalS/q/a6ZdltZMWlHInq0HKKzvnof asY51LSTf5bfdC2jWlep/GKahtEQvCfrkVP8NQoW/1/Im6rma4euTIcQ0wWV3QQKlp ZU5jHnRoNfAmg== 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=1662206948; h=from:from:sender:sender: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=qMf1Yl9J+0OdJjyvxxRKLy7IObywe7hVMb9Zuj2t7qM=; b=OSVBdpqXCshtEWFO9Yf2ZZeezpXwdD1aworjzRqQqklHG66C8xxiW9tgU2d+zyPJ85ixtf SJVisd24zF+VbHsqQofF01AbkbEaluoLIOAZpVMEuFnMiobAXh/O0ZSwgAVxEQEwykeA6A NpzczZ1F3fyYKVU5YFk4H1AeI+vyrjwdr+HYPdw5jh8wARxQPFywSukV3ceEc836eAHDJK +PiVhVG1OPD6b3ZgFSMD0zS+AQhS9CRoj4Debv9+4Wyj32OAujT25RBS+qDxhHO0Hclrr/ OExWG3ppqSbr5YoIIsRQsc386svy+Vd+mnUXSMevFGsHpDoSoodmau4jgZvLPQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662206948; a=rsa-sha256; cv=none; b=PJxZrIATax0Zlv+X+LyUNQ9fgI5D2Op1Se1MkgQ9AAzCLZErSIE7tnJVvMXjduwxvhduYF vC8SviOaGBylNkQe0L0C01dH8vW7w3t7BQ6te/9v3WH5234NX+KZm91cRfUfPz4zYAtTlz h38443+Us6lY7+PfyElESqkJI/cjmL1hauNwnd8zhVh6TizGUdoFTXVBN7esfbxZ8cIFgS pTbYU0KhUDKcLdbxWCffKJFJN+CBeVMGf3AHxX8cLf843EAMVH06GwvaY7Uv0/MafVDeGU xEeQawMJqCmE4txyi2QlEZMRDlavJFERjoVEEqFolftT4mJHE0wEDz/V+7qzvw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=CU8RCC1o; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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-Migadu-Spam-Score: 7.64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=CU8RCC1o; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (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-Migadu-Queue-Id: 3016227CD X-Spam-Score: 7.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: frmsr/mdGRyI * gnu/packages/password-utils.scm (hashcat)[native-inputs]: Move to ... (hashcat)[inputs]: ... here. (hashcat)[arguments]<#:make-flags>: Set AR and CC. --- gnu/packages/password-utils.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 172f633449..f92c47d539 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -1110,8 +1110,8 @@ (define-public pass-rotate your online accounts makes it necessary.") (license license:expat))) -;; XXX: move this import upwards before merging this patch -(use-modules (gnu packages digest)) +;; XXX: move these imports upwards before merging this patch +(use-modules (gnu packages digest) (guix utils)) (define-public hashcat (package (name "hashcat") @@ -1130,13 +1130,13 @@ (define-public hashcat ;; TODO: Unbundle LZMA-SDK as well #~(for-each delete-file-recursively '("deps/zlib" "deps/xxHash" "deps/OpenCL-Headers"))))) - (native-inputs - (list opencl-headers)) - (inputs (list minizip xxhash zlib)) + (inputs (list minizip opencl-headers xxhash zlib)) (build-system gnu-build-system) (arguments (list #:tests? #f ;no tests - #:make-flags #~(list (string-append "PREFIX=" + #:make-flags #~(list (string-append "AR=" #$(ar-for-target)) + (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output) (string-append "USE_SYSTEM_ZLIB=1") (string-append "USE_SYSTEM_OPENCL=1") -- 2.37.2