From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cBt8Bw0ra2R2XAAASxT56A (envelope-from ) for ; Mon, 22 May 2023 10:42:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kDtaBw0ra2SEQwEAauVa8A (envelope-from ) for ; Mon, 22 May 2023 10:42:53 +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 D6A1A269CD for ; Mon, 22 May 2023 10:42:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q117S-00041W-5v; Mon, 22 May 2023 04:42:18 -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 1q117Q-00041J-QJ for guix-devel@gnu.org; Mon, 22 May 2023 04:42:16 -0400 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q117P-0007SB-8r for guix-devel@gnu.org; Mon, 22 May 2023 04:42:16 -0400 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4f3af42459bso473585e87.0 for ; Mon, 22 May 2023 01:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684744933; x=1687336933; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qpYVrkidovL0p/yPZK0pYy9jPswRIUyzcGCKOelzDDE=; b=q3SMRyCZSUy4YpzXsMLU+gurl28hpNmZei00VEAtRFd3mZ8AKvCd6xw2uwzSahG9zZ aK1dw7jELPCnOTNL+TD0QpxMkwK6XZ2/py4oJ52mEXS9g0L1a1FP9V85nK2bj/ucurAB VX5kxlQnyKnSMEeSoHeB/WZcU4I+w79ugPl3ljJbLfZ/5Ce40HXQAaUyOaYfINLL2+5G QlGDaUx6D+P1S1+9yo8AHVT/JMdzxLtWR3LJJUPdWIuXVS/39ggtDXKrSMS9esoHbHF0 iwhD3Qo8zUlWdaFuvOQk2W98yNlHpkVtzuVFm2NJ/E0ap5dfY1SwIqfTJ0qsyjYhZRM9 XFSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684744933; x=1687336933; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qpYVrkidovL0p/yPZK0pYy9jPswRIUyzcGCKOelzDDE=; b=XK7pXuQ8kCamSpjglwL9I0zNBHR4F3roxNthOxQ34iVx71XTkh0l6oV0km5Jzp8tvt 12F2raWRGsmT8+7boWHVPbzgt1Za/zdYp4P/zdt5IS5IXN4oDqTtCJXVot0ehCf2Fzaz 6QxSypPoi9itveOndf/mvF6bpGVhjAJ231bAPByMhQiTS8RXD3krKFTtjBQphvMVjqrJ 37BmCJXNOlthSrMCXeeNSBwbYNKoTaLKPIr7A9UaLmEnFtJvFwKLfrO6H1O4S5tb/Jqm 4yzKAtMQ3OBXY+sTo6nJWQDoHV/s4q40pWiv0VyapkGfPpa2BRrQrmoFmuN9WBu5j0Cb 0FhA== X-Gm-Message-State: AC+VfDwupLjd/uzSTOK3Mdh1MPbC2HJI+TaBfU7V3SsB9FLPXDG1ShZF Uucz1pvwb6E54iaS171qRb1D0Tdln477G38IEJg= X-Google-Smtp-Source: ACHHUZ7r9S3YIYUIvU/QeuNBc0Hhy/xJ+mWXRS78ILqUUGoRVgWgOyb6B/GzqIkUROw1/YeaOyXbn3CtkTQd8YsqZZs= X-Received: by 2002:a05:6512:24e:b0:4f3:78c0:7340 with SMTP id b14-20020a056512024e00b004f378c07340mr3057561lfo.4.1684744932420; Mon, 22 May 2023 01:42:12 -0700 (PDT) MIME-Version: 1.0 References: <875y8oz4ab.fsf@gmail.com> In-Reply-To: From: Simon Tournier Date: Mon, 22 May 2023 10:41:58 +0200 Message-ID: Subject: issue with packaging 'rustscan' To: Timothy Washington Cc: Guix Devel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=zimon.toutoune@gmail.com; helo=mail-lf1-x134.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-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=1684744972; a=rsa-sha256; cv=none; b=BFt/NqdUKocYhITuUi4UMuPCCKOf+GdwzK+7E6M2KOCVw0KQKuWk3HpiFRx4V3HwDJxIrd Z5azDsbwiyraZv8mot6iCa2VSfycE+oVVBfNY7Yj8X93o1KtNAX5TrXdYd1Gr9Sy/ZPOf3 oGGPgoTTu9okQTMSuMDDukU6gR2YohD1zPHw2mJw73koeDMaqshlD6JAtQgkS7dCMqARnT KJ/OOtqc0u6QmEqPW9MgEJWSP2Nhtg2CDweJJuX1/hFGdB6VW9OQEUYAz0fln7XfckyVN3 Tfz6k972bGpn0+857rEpeoWbhN7/bARELDQG3J1F7bMsI9n0z6KJ3XYSm+RMhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=q3SMRyCZ; 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=1684744972; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qpYVrkidovL0p/yPZK0pYy9jPswRIUyzcGCKOelzDDE=; b=Tk4u9QnxlzCSnm7VVaRdUYIcjV8jvOh/QknaJ/5S47PitzEwUsvxxLOyv7fmWOwjmOsL6E 4doyd81SimmemYnrhxvmgSQOkjNTQFQdDQVtPSzZtl1hzstVNiSYz/Vzt7Srgv5Juw/eSs 7LjGGfzPaunlk3cIypWnslotl65UrjceIJgpBxJkYNKe2TZ26CDUOcX1gXuuHQTR2xq9jy ZC5Z0UOOUrT3XtV0b0U4CvwSJRLOmfjJ1mBE+KB9NSGFjDF2VgiLYclMujmGG40nzpkbYy H6M71/3NnZQM7d86KuLzeJfpqwlllBpztvyoxObpr5+pC43nPHsIwVQkiQb2Cg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=q3SMRyCZ; 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: -4.84 X-Spam-Score: -4.84 X-Migadu-Queue-Id: D6A1A269CD X-TUID: R4B19VuArDZ7 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-scrip= t-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/ri= ng-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-rust= scan-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=3D1` environment variable to display a b= acktrace > warning: build failed, waiting for other jobs to finish... > error: in phase 'build': uncaught exception: > %exception #<&invoke-error program: "cargo" arguments: ("build" "--releas= e") 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-r= ust-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 ;-) Cheers, simon