From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uJF2NYdKdWMvUgEAbAwnHQ (envelope-from ) for ; Wed, 16 Nov 2022 21:39:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oDWGNYdKdWMsggAAauVa8A (envelope-from ) for ; Wed, 16 Nov 2022 21:39:35 +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 60B5A30191 for ; Wed, 16 Nov 2022 21:39:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovPBW-0001x9-1j; Wed, 16 Nov 2022 15:39:02 -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 1ovPBU-0001wz-70 for help-guix@gnu.org; Wed, 16 Nov 2022 15:39:00 -0500 Received: from smtp-out-2.univ-rouen.fr ([193.52.152.97] helo=mailhoc.univ-rouen.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovPBQ-0002yB-Gk for help-guix@gnu.org; Wed, 16 Nov 2022 15:38:59 -0500 Received: from [172.20.249.198] (unknown [185.246.211.182]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailhoc.univ-rouen.fr (Postfix) with ESMTPSA id 1562921AE; Wed, 16 Nov 2022 21:38:48 +0100 (CET) Message-ID: <3f69844a-51b8-78c8-8c13-e1b8bd25ca21@univ-rouen.fr> Date: Wed, 16 Nov 2022 21:38:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: Help packaging R Quarto Cli Content-Language: fr To: Wojtek Kosior , zimoun , help-guix References: <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> From: Sebastien Rey-Coyrehourcq Organization: univ In-Reply-To: X-Spamd-Bar: / X-Rspamd-Server: mailhoc X-Rspamd-Queue-Id: 1562921AE X-Spamd-Result: default: False [0.90 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[sebastien.rey-coyrehourcq@univ-rouen.fr]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; URI_COUNT_ODD(1.00)[17]; HAS_ORG_HEADER(0.00)[]; NEURAL_SPAM(0.00)[0.945,0]; TO_DN_ALL(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:60068, ipnet:185.246.211.0/24, country:GB]; MID_RHS_MATCH_FROM(0.00)[] Received-SPF: pass client-ip=193.52.152.97; envelope-from=sebastien.rey-coyrehourcq@univ-rouen.fr; helo=mailhoc.univ-rouen.fr X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: sebastien.rey-coyrehourcq@univ-rouen.fr 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=1668631175; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=LxN9jebbo5S/LeEkApv8mzG+KSi6jct5D3zCk0QtrGk=; b=ANfaOmuCr6Kp8m8RwGyy+pCuvy1XVjYTavKTg0EXBMeAvQ69hQT2cJncWvez0bmLBq5jsw vs31wul58URiOj3M4hKgBYjLYKCdC3ec59NG6DvmeVWD30jyJwDlsm69uCBpJvRCmEPdKk ssneJohXyGipWKyLLsJoi7p/PzFMS0WVkij+VCo9JBElvrlL9VxTtntpDW2PVqjifc1+ZL n7dOccttzJp5HhZO4UlI9sd/QB65pZpTAXmH30907HZQ9pOn3AYXNBymb5sPuQZVohuEgy qQ/VC1mVZLFI+U4O6bVZ+SP9aJLN9QwtceVHq8okFfl14fE0MkbLo5eP5FWCrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668631175; a=rsa-sha256; cv=none; b=nOOx4pumq3GqO6MYtsZNHuBDYhriNGUMjVulDmpGQK8BPDAmTRu0EikYy+hpeflHkYfK7U TYdkXaxKWlZHOZ8wLTS2BCScCbMQ1lgFGOpwQAp1V8ZpupuPFQ7EFX6sX7rtrTnAgYnEtY xlMJw848+bfQ7G644Dw6DIidOrqnKKw0SaNWoQ2efJHGM14vbXQQ2XMGEsbqMPSud0TcL2 2/5nIs4cBvpc+Bkuxt9Um4OKw92aeNXLfeWVhtvRIH8UaXRjgqD4eYKxiwBFd1jGMLiaok 8woGpwRZaw7atVQpxJroXVfPclA3YevW78cAcImiNcl1/L1tAWYoMdwBrg8AdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -1.54 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 60B5A30191 X-Spam-Score: -1.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2D0XZDZxNtAL Hi, You're both right, seems there is a flag to skip binary downloading and compile the V8 lib. From the githubpage (https://github.com/denoland/rusty_v8) : "V8 is very large and takes a long time to compile. Many users will prefer to use a prebuilt version of V8. We publish static libs for every version of rusty v8 on Github . Binaries builds are turned on by default: |cargo build| will initiate a download from github to get the static lib. To disable this build using the |V8_FROM_SOURCE| environmental variable. When making changes to rusty_v8 itself, it should be tested by build from source. The CI always builds from source" So, my packaging friend :), what's the best way to push an "export V8_FROM_SOURCE=1" or something like that into my rust-deno.scm ? Best, SR Le 15/11/2022 à 08:58, Efraim Flashner a écrit : > On Mon, Nov 14, 2022 at 11:30:47PM +0100, Sébastien Rey-Coyrehourcq wrote: >> Hi, >> >> After some day of packaging rust crate, i progress and deno start to compile … but after 1min i have this error when cargo start compiling *rust-v8-0.49* . Any rust + guix help appreciated. >> >> I push the channel to reproduce the problem here : >> >> 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 – build -f rust-deno.scm >> >> And the rust error : >> >> — >> >> error: failed to run custom build command for `v8 v0.49.0` >> >> Caused by: >> process didn’t exit successfully: `/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/target/release/build/v8-bbb68ec56db1d802/build-script-build` (exit status: 101) >> — stdout >> cargo:rerun-if-changed=.gn >> cargo:rerun-if-changed=BUILD.gn >> cargo:rerun-if-changed=src/binding.cc >> cargo:rerun-if-env-changed=CCACHE >> cargo:rerun-if-env-changed=CLANG_BASE_PATH >> cargo:rerun-if-env-changed=DENO_TRYBUILD >> cargo:rerun-if-env-changed=DOCS_RS >> cargo:rerun-if-env-changed=GN >> cargo:rerun-if-env-changed=GN_ARGS >> cargo:rerun-if-env-changed=HOST >> cargo:rerun-if-env-changed=NINJA >> cargo:rerun-if-env-changed=OUT_DIR >> cargo:rerun-if-env-changed=RUSTY_V8_ARCHIVE >> cargo:rerun-if-env-changed=RUSTY_V8_MIRROR >> cargo:rerun-if-env-changed=SCCACHE >> cargo:rerun-if-env-changed=V8_FORCE_DEBUG >> cargo:rerun-if-env-changed=V8_FROM_SOURCE >> cargo:rustc-link-lib=static=rusty_v8 >> download lockfile: “/tmp/guix-build-rust-deno-1.25.2.drv-0/deno-1.25.2/target/release/build/lib_download.fslock” >> static lib URL: >> cargo:rustc-link-search=/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. > Looks like you need to patch rust-v8-0.49 to not try to download > librusty_v8_release... but instead you'll have to build it from source > and let it know where to find it. > >> — stderr >> thread ’main’ panicked at ’called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: “No such file or directory” }’, /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=1` environment variable to display a backtrace >> warning: build failed, waiting for other jobs to finish… >> error: build failed >> 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 105.5 seconds >> command “cargo” “build” “–release” failed with status 101 >> builder for `/gnu/store/g4m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv’ failed with exit code 1 >> la compilation de /gnu/store/g4m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv a échoué >> Vous trouverez le journal de compilation dans « /var/log/guix/drvs/g4/m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv.gz ». >> guix build: erreur : build of `/gnu/store/g4m5c558l1q4g1kggzg2v9vkw352nnaj-rust-deno-1.25.2.drv’ failed >