GNU bug report logs - #50355
[core-updates-frozen] Building mozjs with rust@1.54 fails

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; dated Fri, 3 Sep 2021 11:18:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Sep 2021 11:17:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 03 07:17:31 2021
Received: from localhost ([127.0.0.1]:43155 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mM7CN-0006f8-EP
	for submit <at> debbugs.gnu.org; Fri, 03 Sep 2021 07:17:31 -0400
Received: from lists.gnu.org ([209.51.188.17]:54656)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1mM7CM-0006e3-7g
 for submit <at> debbugs.gnu.org; Fri, 03 Sep 2021 07:17:30 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46522)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1mM7CI-0007gC-Bw
 for bug-guix@HIDDEN; Fri, 03 Sep 2021 07:17:29 -0400
Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:46700)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1mM7CG-0006Lv-2C
 for bug-guix@HIDDEN; Fri, 03 Sep 2021 07:17:26 -0400
Received: by mail-qt1-x82f.google.com with SMTP id x5so4147478qtq.13
 for <bug-guix@HIDDEN>; Fri, 03 Sep 2021 04:17:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=3zk01MyrbtmDWQME3eCy07K0/z477UcNGIlnhqBI/ek=;
 b=HiQoT40hR41c+vGc/kEXUrS8w3EzDJDZtZ/CP0iVUbhzGGqHPLNC7x7mpiMaraLM6o
 o4dxh3lmf8H7JHh0KoCIyMEMv3wrdbSi61beobxYF1tCLzDkqDktaXKm5it45fjlnEte
 sJGl4QpuJJb68QBk8av0bGlHPfnrbhD02ZPrTIv2J0UDbo+ZOp9/RvQ9WFPxN/ypyHTy
 i3u4zTGfewINNkHO8W4Ts6VAUPvE4sIbB/LRnfqWkQKAwkJ+prqcPE8SCK18a0iX8Yqv
 PSzra4T4PqiJcY7jozAJwIiRa81v/O+/KcOFl+aPQVsPigx8FLkiqpX9ia0fvySJ5FF4
 Igcw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=3zk01MyrbtmDWQME3eCy07K0/z477UcNGIlnhqBI/ek=;
 b=Y0aYJFBcrNM/K1u4w4Hj35uV1lUGFx1aGay19ThvffMveYSEMj84kMe/Uq/gRG4Tmu
 iMEPke2YIIPWLNdn5VpmLu4LrGfDlVg4ITO4RYoN1z85fmFZpwJ/ylyPRtraWAq5m8NF
 ZMqld5kGwQUwiDIJMy7FNpZkOvKJIn81Vs95FN4wz2dfOQkJcCTEcPPynVYIlWEyQu6W
 OWdUhlCGgcONWk3B5TH9VNVzuAFI3CVCxl8vKaCAa98leMdjhC/Y71RdPe3q4qG653+6
 GTdYHZPxX0+sldyxRVZq0ELqCO9zDqmlW4aiG0WZ5NOhbgNpiUq9BXj6vfPKvBlFQcwg
 tH9g==
X-Gm-Message-State: AOAM5314Pbu7iGNe2rm1u78zRSqraF1faBcVpvZ72Ss3WO9BHrhgAG5a
 sYHJCc1+lpjWiPeRmXpJMM5Wdhje+Hw=
X-Google-Smtp-Source: ABdhPJzyl5JR1bpMgulmWCU9tmQ9xQrj95VVNOpVJNQYcUnoc0t5IerX0cGnWjzKouJH4IRkoz6PaQ==
X-Received: by 2002:ac8:1289:: with SMTP id y9mr3176496qti.378.1630667842236; 
 Fri, 03 Sep 2021 04:17:22 -0700 (PDT)
Received: from hurd ([207.35.94.150])
 by smtp.gmail.com with ESMTPSA id c72sm85141qkg.5.2021.09.03.04.17.21
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 03 Sep 2021 04:17:21 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: [core-updates-frozen] Building mozjs with rust@HIDDEN fails
Date: Fri, 03 Sep 2021 07:17:20 -0400
Message-ID: <87eea5di2n.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::82f;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qt1-x82f.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 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello Guix!

I'm nearly done updating the Rust bootstrap for core-updates-frozen; one
of the changes is that only the current rust (1.54) gets exposed and
used everywhere.  This seems to be OK so far, except for mozjs, which
fails to build like so:

--8<---------------cut here---------------start------------->8---
error: aborting due to 8 previous errors

Some errors have detailed explanations: E0432, E0557.
For more information about an error, try `rustc --explain E0432`.
The following warnings were emitted during compilation:

warning: Cannot set `RUSTC_BOOTSTRAP=3D1` from build script of `packed_simd=
 v0.3.3 (https://github.com/hsivonen/packed_simd?rev=3D3541e3818fdc7c2a24f8=
7e3459151a4ce955a67a#3541e381)`.
note: Crates cannot set `RUSTC_BOOTSTRAP` themselves, as doing so would sub=
vert the stability guarantees of Rust for your project.

error: could not compile `packed_simd`

Caused by:
  process didn't exit successfully: `CARGO=3D/gnu/store/sgvw6h637pgw3mrn9wv=
a29b8645z37m0-rust-1.54.0-cargo/bin/cargo CARGO_CRATE_NAME=3Dpacked_simd CA=
RGO_MANIFEST_DIR=3D/tmp/guix-build-mozjs-78.10.1.drv-0/firefox-78.10.1/thir=
d_party/rust/packed_simd CARGO_PKG_AUTHORS=3D'Gonzalo Brito Gadeschi <gonza=
lobg88@HIDDEN>' CARGO_PKG_DESCRIPTION=3D'Portable Packed SIMD vectors' C=
ARGO_PKG_HOMEPAGE=3D'https://github.com/rust-lang-nursery/packed_simd' CARG=
O_PKG_LICENSE=3DMIT/Apache-2.0 CARGO_PKG_LICENSE_FILE=3D'' CARGO_PKG_NAME=
=3Dpacked_simd CARGO_PKG_REPOSITORY=3D'https://github.com/rust-lang-nursery=
/packed_simd' CARGO_PKG_VERSION=3D0.3.3 CARGO_PKG_VERSION_MAJOR=3D0 CARGO_P=
KG_VERSION_MINOR=3D3 CARGO_PKG_VERSION_PATCH=3D3 CARGO_PKG_VERSION_PRE=3D''=
 LD_LIBRARY_PATH=3D'/tmp/guix-build-mozjs-78.10.1.drv-0/firefox-78.10.1/run=
-configure-from-here/release/deps:/gnu/store/89iv0hicjlmgdxk01sj9lc95xkdkb8=
f0-rust-1.54.0/lib' OUT_DIR=3D/tmp/guix-build-mozjs-78.10.1.drv-0/firefox-7=
8.10.1/run-configure-from-here/x86_64-unknown-linux-gnu/release/build/packe=
d_simd-36a821efa8c03e42/out /gnu/store/89iv0hicjlmgdxk01sj9lc95xkdkb8f0-rus=
t-1.54.0/bin/rustc --crate-name packed_simd --edition=3D2018 /tmp/guix-buil=
d-mozjs-78.10.1.drv-0/firefox-78.10.1/third_party/rust/packed_simd/src/lib.=
rs --error-format=3Djson --json=3Ddiagnostic-rendered-ansi,artifacts --crat=
e-type lib --emit=3Ddep-info,metadata,link -C opt-level=3D2 -C panic=3Dabor=
t -C embed-bitcode=3Dno --cfg 'feature=3D"default"' --cfg 'feature=3D"into_=
bits"' -C metadata=3D220aa1d9e77763e7 -C extra-filename=3D-220aa1d9e77763e7=
 --out-dir /tmp/guix-build-mozjs-78.10.1.drv-0/firefox-78.10.1/run-configur=
e-from-here/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-l=
inux-gnu -C linker=3D/tmp/guix-build-mozjs-78.10.1.drv-0/firefox-78.10.1/bu=
ild/cargo-linker -L dependency=3D/tmp/guix-build-mozjs-78.10.1.drv-0/firefo=
x-78.10.1/run-configure-from-here/x86_64-unknown-linux-gnu/release/deps -L =
dependency=3D/tmp/guix-build-mozjs-78.10.1.drv-0/firefox-78.10.1/run-config=
ure-from-here/release/deps --extern cfg_if=3D/tmp/guix-build-mozjs-78.10.1.=
drv-0/firefox-78.10.1/run-configure-from-here/x86_64-unknown-linux-gnu/rele=
ase/deps/libcfg_if-646d80c97708097e.rmeta --cap-lints warn -C opt-level=3D2=
 --cap-lints warn -Cembed-bitcode=3Dyes -C codegen-units=3D1` (exit status:=
 1)
--8<---------------cut here---------------end--------------->8---

If someone has an idea, please shout :-)

Thanks,

Maxim




Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#50355; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 3 Sep 2021 11:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.