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 ms9.migadu.com with LMTPS id WNbdEQW0a2TcAAAASxT56A (envelope-from ) for ; Mon, 22 May 2023 20:27:17 +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 wKjGEQW0a2TvJQAAauVa8A (envelope-from ) for ; Mon, 22 May 2023 20:27:17 +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 0BC1A3ADCE for ; Mon, 22 May 2023 20:27:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1AFC-0004Wk-Ut; Mon, 22 May 2023 14:26:55 -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 1q12XY-000770-SG for guix-devel@gnu.org; Mon, 22 May 2023 06:13:20 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q12XX-00025o-AC for guix-devel@gnu.org; Mon, 22 May 2023 06:13:20 -0400 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-96fc07d7e6bso35023266b.1 for ; Mon, 22 May 2023 03:13:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684750398; x=1687342398; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=wDkMyKE8lmn160jyaO/aRUzOQNn/LyJNWT4pGaxqr1Y=; b=lhGl7lbJbyTXSu1umw+TL0dW3wiXeOQtHXH4Lmkkwn5C1AAEPTrVzH8H9lWkdnlenn 6vijzlg0LinLC63Dkdu9C0zuKedUKtLe+13l9uQjbmWhJ27nGp+DIZQjt9GobbL3hu94 T2PMWol1jXhxCkktJkaQQ1HLeLp4cnYi0C85KyzU5Dlh7sSMpNyO3T+44g742ebmm6gz 8dslFV7JwSjexv4gUQmTCnh3R0281txl/W0mClPP0T+9d3vnyEA7iQKNhavCxCMQDr9/ Butj2fWW8VQRTiDKri9j2YxjeqWJwbJGeMxa6yL+0We4nXKgqlDHYDYQR2qBAGZjlh9v hzNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684750398; x=1687342398; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wDkMyKE8lmn160jyaO/aRUzOQNn/LyJNWT4pGaxqr1Y=; b=E67JEmXS2dHFOgy36j7G1ib0uCkyq2zoanjo+I/F8WBVC2VjvmI5Sct0qUx+9RTrEe hJTT176pMUDikXKupGSahXYYwgE8CiDqNSHQCzO3MlAJEIKJ8pzahlYl4QRtmYCf+vZQ VWUWQSqNKuFjVlAxM0rtBwl5pvaJm4TrRRPvshsmRAPjuW9w4j+rWNKnNWCNvwnX3ths pVk1RqS75pQ/uQayrkmwwP/ovKihi2pKN493ym9flDlk5clgDBcZGFjTU4ENlypERV3h FtOlv+kPy6JIDbbDdnrB5sqaGhTtugqhedrf88C3KGOsJI+obcRHEQxHQCEfLBuIuKHZ lcEg== X-Gm-Message-State: AC+VfDwLL971co+vAvZoLR2ZxhRnxMN4FH9B8R/sLp25ma8ev8FMdiUq v/5ARFWPa2WKvCP4mR186dowCNT7Iek= X-Google-Smtp-Source: ACHHUZ4CF5bsi6NhDnuLqBU7sAq+INPMyz0e0DHPiD5wQrBPLDUjkIr2j4mSWTo4ATv0kc4RDYB4DQ== X-Received: by 2002:a17:906:7393:b0:96f:56f1:e89e with SMTP id f19-20020a170906739300b0096f56f1e89emr7283152ejl.0.1684750397679; Mon, 22 May 2023 03:13:17 -0700 (PDT) Received: from anubis (p200300ff7f008500873e7d05b0b76269.dip0.t-ipconnect.de. [2003:ff:7f00:8500:873e:7d05:b0b7:6269]) by smtp.gmail.com with ESMTPSA id q19-20020a170906941300b00966293c06e9sm2885009ejx.126.2023.05.22.03.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 May 2023 03:13:17 -0700 (PDT) References: <875y8oz4ab.fsf@gmail.com> User-agent: mu4e 1.10.2; emacs 30.0.50 From: Tobias Kortkamp To: Simon Tournier Cc: Timothy Washington , guix-devel@gnu.org Subject: Re: issue with packaging 'rustscan' Date: Mon, 22 May 2023 11:56:17 +0200 In-reply-to: Message-ID: <87pm6sisi0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=tobias.kortkamp@gmail.com; helo=mail-ej1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 22 May 2023 14:26:49 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684780037; a=rsa-sha256; cv=none; b=KHvwijhhww1ZYlGQUPPt/iS4/8qzUEqby/ChdY4udwiWKZ/fL2eowaJTm2aqo1S14Tl55C q8QGMCamZf4PXQ9UiQg64QWpwe9fNTf/BMD3lT7+1fgCCZ0adHKa/xMo4mPeEsEodQI37V 7zUnNqDC8c3liKwNscHnYYFDLOskOrRNyVQ0BLDliG+xbrJWD2NtZ8CT/B3NE5NXudcQiI VY1nUPAf2BRlwb4OvwxxF5HrreGEXjSxAB5zvUvrxbNKmmt+8h2FP8MxhB6NhxLp4yKWJJ 1zl4HmtHMBuF26aizbde8fHdk26BuDuQ2wzP8QicdVdXpKGt2i6PuBgLh1yuYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=lhGl7lbJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684780037; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wDkMyKE8lmn160jyaO/aRUzOQNn/LyJNWT4pGaxqr1Y=; b=Xn3kxqZPx5DWMYbljxgR3ok+fDsMKR7VnbkOl+dGte1aEm9RIcPIiZ4jvtKURtiqtCti/Z 32jZ1fTI6Fx2xC3p4TxAHCYuK7IB2zP5weaDQnYgHb+/jKDPcWgCdyt/k0nvRga70bZDn5 x0+IVrdls++WT5kG7XsRs8PWraTstDrRWRond4k3+74FJcyz8HvjETq7hd8u/p1dLdBaca Gb7Ix0IDsWRqAi2vNAzVEGT/+2g/kojIXI+ZblHn0hOWqIJOJLlov5BNeL7Q/AU88H0msB fS90RnwzuMjR0FSHdwLfE/Q2U01sNLLs3HPyhtGLuIen0+sTiGxH+Td3/6mgVg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=lhGl7lbJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.34 X-Spam-Score: -6.34 X-Migadu-Queue-Id: 0BC1A3ADCE X-TUID: 7oeC5kGWoXMf Simon Tournier writes: > Hi, > > On Sun, 21 May 2023 at 22:35, Timothy Washington wrote: > >> guix build -L ~/dotfiles/ rust-rustscan > > [...] > >> error: failed to run custom build command for `ring v0.16.20` >> >> Caused by: >> process didn't exit successfully: `/tmp/guix-build-rust-rustscan-2.1.1.drv-0/rustscan-2.1.1/target/release/build/ring-9bf05aa562ef9c86/build-script-build` (exit status: 101) >> --- stderr >> running "perl" "crypto/fipsmodule/aes/asm/aesni-x86_64.pl" "elf" "/tmp/guix-build-rust-rustscan-2.1.1.drv-0/rustscan-2.1.1/target/release/build/ring-297f46c71994a65c/out/aesni-x86_64-elf.S" >> thread 'main' panicked at 'failed to execute ["perl" "crypto/fipsmodule/aes/asm/aesni-x86_64.pl" "elf" "/tmp/guix-build-rust-rustscan-2.1.1.drv-0/rustscan-2.1.1/target/release/build/ring-297f46c71994a65c/out/aesni-x86_64-elf.S"]: No such file or directory (os error 2)', /tmp/guix-build-rust-rustscan-2.1.1.drv-0/rustscan-2.1.1/guix-vendor/rust-ring-0.16.20.tar.xz/build.rs:653:9 >> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace >> warning: build failed, waiting for other jobs to finish... >> error: in phase 'build': uncaught exception: >> %exception #<&invoke-error program: "cargo" arguments: ("build" "--release") exit-status: 101 term-signal: #f stop-signal: #f> >> phase `build' failed after 12.2 seconds >> command "cargo" "build" "--release" failed with status 101 >> builder for `/gnu/store/x695f07186dwqpw2jk48b62p2s18f5ry-rust-rustscan-2.1.1.drv' failed with exit code 1 >> build of /gnu/store/x695f07186dwqpw2jk48b62p2s18f5ry-rust-rustscan-2.1.1.drv failed >> View build log at '/var/log/guix/drvs/x6/95f07186dwqpw2jk48b62p2s18f5ry-rust-rustscan-2.1.1.drv.gz'. >> guix build: error: build of `/gnu/store/x695f07186dwqpw2jk48b62p2s18f5ry-rust-rustscan-2.1.1.drv' failed > > The issue is that the Rust package named 'ring' cannot be built. > Since I am not an expert about Rust packaging, I do not know why and > how to fix this. Well, one needs to put their hand in dirty Rust > packaging ;-) Hello, usually this error ("failed to execute" + "No such file or directory") means that some build dependency is missing. In this case the build script (build.rs) fails to run "perl crypto/fipsmodule/aes/asm/aesni-x86_64.pl" to generate an assembly file. Solution: add perl to native-inputs. Best regards, Tobias