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 0LErAgDocmPMRQEAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 02:14:40 +0100 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 QIMNAgDocmPevgAAauVa8A (envelope-from ) for ; Tue, 15 Nov 2022 02:14:40 +0100 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 9CDF33B154 for ; Tue, 15 Nov 2022 02:14:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouidm-0001ie-Fy; Mon, 14 Nov 2022 18:13:22 -0500 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 1ouidj-0001X6-Ak for help-guix@gnu.org; Mon, 14 Nov 2022 18:13:19 -0500 Received: from koszko.org ([93.95.227.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouiOC-0003op-Hr for help-guix@gnu.org; Mon, 14 Nov 2022 17:57:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Vifpr7xjMxTUrs/IC6Z+dZXOAi7J2Awa1Fk/6+SqnaI=; b=XetdQqZrWv1CBTx2oergq2132G QtzlyDs0IlpVhDLbR205jAKW8H4VeGOXEyFI8+b+jp/IB1ZnSmEiqwhHZCPoRfTPkvSBIyoFMI1w2 KY7c3Lr4+IIc8QhYIX5ltDUUeQwWaPlRaNl8htuYk32NQA0jMIRAKm5nWkwdihDeS29/6Nqn7KPM9 PkGocf/FA84UkoMByaV9Eh8JsCZOfM+y+kG3/RzkOyhOpts3HMJjE8Jbh39yoTxS2uNIoiEnPiKEx qirrK3HdtOMRCd8w7zdNdG6fbuVvJRqL7yq5zmZindyOOsr+bjAHwGy/9elren6FdJXcCTMoV/aPS Qcb+um787tq1G7T5rOyDOwRWZ581T039E1zGK+BW4y/AmR45IByCEMYRBjL3tFRwNJk31+cZw7dPI wRd9v4rcxojv2z9uk8xcSPz0oPLjr/jG5oa5fHKYdB1R2kYkUYD1Hn+f9XOx9XAZfeuM0QEjXfS4A PzL7SSfv9eWb7gF5iX0bsqQJGC1/HEQUawn+OQwMEZHtb7CjeifdoviYUptesWETNtQT8PG8h2qwZ OH8teJVUtZHnNlR5eKVBUKtlImBqDThv+pOGIFFtcJ/aVgDtaTxA0Z+VUUD88EKfn+1VIAt6bw0of VrhRhS9FkxECQkYKoXE2OW2DQ+YS/MtyIqGENP3QQ=; Received: from 77-252-46-244.static.ip.netia.com.pl ([77.252.46.244] helo=koszkonutek-tmp.pl.eu.org) by koszko.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ouiNz-0000mN-Qq; Mon, 14 Nov 2022 23:57:03 +0100 Date: Mon, 14 Nov 2022 23:57:01 +0100 To: =?UTF-8?B?U8OpYmFzdGllbg==?= Rey-Coyrehourcq Cc: zimoun , help-guix Subject: Re: Help packaging R Quarto Cli Message-ID: <20221114235701.5d56c748@koszkonutek-tmp.pl.eu.org> In-Reply-To: <87leodw46k.fsf@univ-rouen.fr> References: <87ilk9xwtq.fsf@univ-rouen.fr> <87bkq1i1yt.fsf@gmail.com> <20221024204024.2c580b81@koszkonutek-tmp.pl.eu.org> <86czag2p1g.fsf@gmail.com> <20221025131709.36ac4915@koszkonutek-tmp.pl.eu.org> <87a65hyc78.fsf@univ-rouen.fr> <20221027115445.0655c84d@koszkonutek-tmp.pl.eu.org> <87a65fud5k.fsf@univ-rouen.fr> <20221028221738.3bf01294@koszkonutek-tmp.pl.eu.org> <878rkztyny.fsf@univ-rouen.fr> <20221103201915.7f6f1679@koszkonutek-tmp.pl.eu.org> <87leodw46k.fsf@univ-rouen.fr> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/savo1d6C3PQLBQ5D9GQN5s="; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@koszko.org; helo=koszko.org 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Wojtek Kosior From: Wojtek Kosior via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668474879; 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-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Vifpr7xjMxTUrs/IC6Z+dZXOAi7J2Awa1Fk/6+SqnaI=; b=WpMuDWBAk+onk6LqTxVdH62jWPxqMqMMCoAGmPx0ySUl2Itv9NDgmphMgy1CPtwKof1oN7 1d5EQLSKKG5Mvp6uunfzAuA9w/MIQZ/DfTLpaE6wd70abvHUknbq4EjuEQxF0INzeCSViE qi3xLfIDkl91Ek83RKpes/PAzv8oaL9Ujb9wuOEPMuKy0jMjapsggw0Pev4DlWis/rG1OR S1urOeTOZdGEYVOQuxXoSfadH0RcC77AwyFpyhQmWbtggOwC+yAIaJd7smGGRtXyMNaGSH 9slykG/BIeygLLTOJQZ2wCitz+RbQjz4ZD/fX7i0/OXH0mADRaSUwxjRe/O4Ag== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668474879; a=rsa-sha256; cv=none; b=U+klaj7DkQMkhacdHlvEgjnw4+htEFb67UsKFygASYA5BgBxSRUT3zwLDUKorqSNS8CC8v cPkhuzGbEltXBL3Sbguj6S27i+qjBX5t3OMxlQF6o5HEX9ZZRePhYZWvltzvN4Xo6Ok9mp t8/pwEjzEo7Cg3I1BU62xeTsD70m6R9cESJ7fGcan5eX8mC+fSZ2mIVmDKb9m5fUPUeFnA 19tu8HCEmxADfumkO4eneX/X7gfc+Fl6XoWsSypFt1oEZzIvJ0MAm4pQcakirAafzk+xer A33JuFRhh21iiBLCnB3uGBQPAk4tinzhpy1ioD+FQu7owXUIGALyuNIj+ZxIeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=XetdQqZr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=XetdQqZr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9CDF33B154 X-Spam-Score: -5.44 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6skoBV9+ZrLE --Sig_/savo1d6C3PQLBQ5D9GQN5s= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > Hi, >=20 > After some day of packaging rust crate, i progress and deno start to > compile =E2=80=A6 but after 1min i have this error when cargo start compi= ling > *rust-v8-0.49* . Any rust + guix help appreciated. Your determination is extraordinary :) > note: run with `RUST_BACKTRACE=3D1` environment variable to display a bac= ktrace Have you tried doing exactly this - setting the variable for the build command? Nonetheless, a quick glance at the error you posted makes me believe Deno's build process involves downloading precompiled binary of certain "librusty_v8". Guix builder of course blocks network access for builds, hence the failure. It this is indeed the case, the librusty static lib dep must be packaged as well (if it isn't already) and Deno should then be told to use that instead of downloading anything. Disclaimer: I have never built rust programs ;) Anyway, good luck! Wojtek -- (sig_start) website: https://koszko.org/koszko.html PGP: https://koszko.org/key.gpg fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A Meet Krak=C3=B3w saints! #18: blessed J=C3=B3zef Kowalski Poznaj =C5=9Bwi=C4=99tych krakowskich! #18: b=C5=82ogos=C5=82awiony J=C3= =B3zef Kowalski https://pl.wikipedia.org/wiki/J=C3=B3zef_Kowalski_(duchowny) -- (sig_end) On Mon, 14 Nov 2022 23:30:47 +0100 S=C3=A9bastien Rey-Coyrehourcq wr= ote: > Hi, >=20 > After some day of packaging rust crate, i progress and deno start to comp= ile =E2=80=A6 but after 1min i have this error when cargo start compiling *= rust-v8-0.49* . Any rust + guix help appreciated. >=20 > I push the channel to reproduce the problem here : >=20 > The rust scm repo : git.sr.ht:~reyman/rust-channel > Channel info to put into *channels.scm* : > The *rust-deno.scm* file to build : > The command : guix time-machine -C channels.scm =E2=80=93 build -f rust-d= eno.scm >=20 > And the rust error : >=20 > =E2=80=94 >=20 > error: failed to run custom build command for `v8 v0.49.0` >=20 > Caused by: > process didn=E2=80=99t exit successfully: `/tmp/guix-build-rust-deno-1.= 25.2.drv-0/deno-1.25.2/target/release/build/v8-bbb68ec56db1d802/build-scrip= t-build` (exit status: 101) > =E2=80=94 stdout > cargo:rerun-if-changed=3D.gn > cargo:rerun-if-changed=3DBUILD.gn > cargo:rerun-if-changed=3Dsrc/binding.cc > cargo:rerun-if-env-changed=3DCCACHE > cargo:rerun-if-env-changed=3DCLANG_BASE_PATH > cargo:rerun-if-env-changed=3DDENO_TRYBUILD > cargo:rerun-if-env-changed=3DDOCS_RS > cargo:rerun-if-env-changed=3DGN > cargo:rerun-if-env-changed=3DGN_ARGS > cargo:rerun-if-env-changed=3DHOST > cargo:rerun-if-env-changed=3DNINJA > cargo:rerun-if-env-changed=3DOUT_DIR > cargo:rerun-if-env-changed=3DRUSTY_V8_ARCHIVE > cargo:rerun-if-env-changed=3DRUSTY_V8_MIRROR > cargo:rerun-if-env-changed=3DSCCACHE > cargo:rerun-if-env-changed=3DV8_FORCE_DEBUG > cargo:rerun-if-env-changed=3DV8_FROM_SOURCE > cargo:rustc-link-lib=3Dstatic=3Drusty_v8 > download lockfile: =E2=80=9C/tmp/guix-build-rust-deno-1.25.2.drv-0/deno= -1.25.2/target/release/build/lib_download.fslock=E2=80=9D > static lib URL: > cargo:rustc-link-search=3D/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1= .25.2/target/release/gn_out/obj > Downloading > Python downloader failed, trying with curl. >=20 > =E2=80=94 stderr > thread =E2=80=99main=E2=80=99 panicked at =E2=80=99called `Result::unwr= ap()` on an `Err` value: Os { code: 2, kind: NotFound, message: =E2=80=9CNo= such file or directory=E2=80=9D }=E2=80=99, /tmp/guix-build-rust-deno-1.25= .2.drv-0/deno-1.25.2/guix-vendor/rust-v8-0.49.0.tar.gz/build.rs:405:10 > note: run with `RUST_BACKTRACE=3D1` environment variable to display a b= acktrace > warning: build failed, waiting for other jobs to finish=E2=80=A6 > error: build failed > error: in phase =E2=80=99build=E2=80=99: uncaught exception: > %exception #<&invoke-error program: =E2=80=9Ccargo=E2=80=9D arguments: (= =E2=80=9Cbuild=E2=80=9D =E2=80=9C=E2=80=93release=E2=80=9D) exit-status: 10= 1 term-signal: #f stop-signal: #f> > phase `build=E2=80=99 failed after 105.5 seconds > command =E2=80=9Ccargo=E2=80=9D =E2=80=9Cbuild=E2=80=9D =E2=80=9C=E2=80= =93release=E2=80=9D failed with status 101 > builder for `/gnu/store/g4m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2= .drv=E2=80=99 failed with exit code 1 > la compilation de /gnu/store/g4m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1= .25.2.drv a =C3=A9chou=C3=A9 > Vous trouverez le journal de compilation dans =C2=AB /var/log/guix/drvs/g= 4/m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv.gz =C2=BB. > guix build: erreur : build of `/gnu/store/g4m5c558l1q4g1kggzg2v9vkw352nna= j-rust-deno-1.25.2.drv=E2=80=99 failed --Sig_/savo1d6C3PQLBQ5D9GQN5s= Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCY3LHvQAKCRBLxSIcWnn9 GpnTAP9P/0ooVciQf2Hq5IpGzuz6yeC16zzC6Fqh+/4S0AwVlAEAjpNx7K6wurkv Ss5hUj7D7RGsLF2aG8xVcWq3Mjy2oAI= =t+h5 -----END PGP SIGNATURE----- --Sig_/savo1d6C3PQLBQ5D9GQN5s=--