GNU bug report logs - #35519
Rust (and librsvg, IceCat, etc.) fails to build on i686-linux

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; Severity: important; Reported by: Mark H Weaver <mhw@HIDDEN>; dated Wed, 1 May 2019 03:46:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 35519) by debbugs.gnu.org; 18 Mar 2020 20:45:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 18 16:45:47 2020
Received: from localhost ([127.0.0.1]:41491 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jEfZS-0007LQ-HG
	for submit <at> debbugs.gnu.org; Wed, 18 Mar 2020 16:45:47 -0400
Received: from dd26836.kasserver.com ([85.13.145.193]:58562)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1jEfZQ-0007Hd-Dz
 for 35519 <at> debbugs.gnu.org; Wed, 18 Mar 2020 16:45:45 -0400
Received: from localhost (80-110-126-163.cgn.dynamic.surfer.at
 [80.110.126.163])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 9064C3367D81
 for <35519 <at> debbugs.gnu.org>; Wed, 18 Mar 2020 21:45:41 +0100 (CET)
Date: Wed, 18 Mar 2020 21:45:38 +0100
From: Danny Milosavljevic <dannym@HIDDEN>
To: 35519 <at> debbugs.gnu.org
Subject: guix master 4de63cf3fc0a831d75cb507456821104f24800c2: rust 1.19.0
 build failure on i686-linux
Message-ID: <20200318214538.160d62bd@HIDDEN>
X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/vpY.2Nuh.hnRU3VywvY4DVM";
 protocol="application/pgp-signature"; micalg=pgp-sha256
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 35519
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: -1.7 (-)

--Sig_/vpY.2Nuh.hnRU3VywvY4DVM
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi,

so after our mrustc upgrade to 0.9, we get the following when building rust=
 1.19.0
on guix master 4de63cf3fc0a831d75cb507456821104f24800c2 and i686-linux:

[...]
(75/77) BUILDING git2_curl from git2-curl v0.7.0
> /gnu/store/0hzdzb07gaplh2x96mg7dpvip92shx43-mrustc-0.9/bin/mrustc src/ven=
dor/git2-curl/src/lib.rs -o output/cargo-build/libgit2_curl-0_7_0.rlib --cr=
ate-name git2_curl --crate-type rlib -C emit-depfile=3Doutput/cargo-build/l=
ibgit2_curl-0_7_0.rlib.d --crate-tag 0_7_0 -g --cfg debug_assertions -O -L =
output -L /gnu/store/0hzdzb07gaplh2x96mg7dpvip92shx43-mrustc-0.9/lib/mrust =
-L output/cargo-build --extern curl=3Doutput/cargo-build/libcurl-0_4_6.rlib=
 --extern url=3Doutput/cargo-build/liburl-1_4_0.rlib --extern log=3Doutput/=
cargo-build/liblog-0_3_7.rlib --extern git2=3Doutput/cargo-build/libgit2-0_=
6_6.rlib
(76/77) BUILDING cargo v0.20.0
> /gnu/store/0hzdzb07gaplh2x96mg7dpvip92shx43-mrustc-0.9/bin/mrustc src/too=
ls/cargo/src/cargo/lib.rs -o output/cargo-build/libcargo-0_20_0.rlib --crat=
e-name cargo --crate-type rlib -C emit-depfile=3Doutput/cargo-build/libcarg=
o-0_20_0.rlib.d --crate-tag 0_20_0 -g --cfg debug_assertions -O -L output -=
L /gnu/store/0hzdzb07gaplh2x96mg7dpvip92shx43-mrustc-0.9/lib/mrust -L outpu=
t/cargo-build --extern crates_io=3Doutput/cargo-build/libcrates_io-0_9_0.rl=
ib --extern crossbeam=3Doutput/cargo-build/libcrossbeam-0_2_10.rlib --exter=
n curl=3Doutput/cargo-build/libcurl-0_4_6.rlib --extern docopt=3Doutput/car=
go-build/libdocopt-0_7_0.rlib --extern env_logger=3Doutput/cargo-build/libe=
nv_logger-0_4_2.rlib --extern error_chain=3Doutput/cargo-build/liberror_cha=
in-0_10_0.rlib --extern filetime=3Doutput/cargo-build/libfiletime-0_1_10.rl=
ib --extern flate2=3Doutput/cargo-build/libflate2-0_2_19.rlib --extern fs2=
=3Doutput/cargo-build/libfs2-0_4_1.rlib --extern git2=3Doutput/cargo-build/=
libgit2-0_6_6.rlib --extern git2_curl=3Doutput/cargo-build/libgit2_curl-0_7=
_0.rlib --extern glob=3Doutput/cargo-build/libglob-0_2_11.rlib --extern job=
server=3Doutput/cargo-build/libjobserver-0_1_6.rlib --extern libc=3Doutput/=
cargo-build/liblibc-0_2_22.rlib --extern libgit2_sys=3Doutput/cargo-build/l=
iblibgit2_sys-0_6_12.rlib --extern log=3Doutput/cargo-build/liblog-0_3_7.rl=
ib --extern num_cpus=3Doutput/cargo-build/libnum_cpus-1_4_0.rlib --extern r=
ustc_serialize=3Doutput/cargo-build/librustc_serialize-0_3_24.rlib --extern=
 scoped_tls=3Doutput/cargo-build/libscoped_tls-0_1_0.rlib --extern semver=
=3Doutput/cargo-build/libsemver-0_7_0.rlib --extern serde=3Doutput/cargo-bu=
ild/libserde-1_0_6.rlib --extern serde_derive=3Doutput/cargo-build/libserde=
_derive-1_0_6-plugin --extern serde_ignored=3Doutput/cargo-build/libserde_i=
gnored-0_0_3.rlib --extern serde_json=3Doutput/cargo-build/libserde_json-1_=
0_2.rlib --extern shell_escape=3Doutput/cargo-build/libshell_escape-0_1_3.r=
lib --extern tar=3Doutput/cargo-build/libtar-0_4_13.rlib --extern tempdir=
=3Doutput/cargo-build/libtempdir-0_3_5.rlib --extern term=3Doutput/cargo-bu=
ild/libterm-0_4_5.rlib --extern toml=3Doutput/cargo-build/libtoml-0_4_1.rli=
b --extern url=3Doutput/cargo-build/liburl-1_4_0.rlib --extern openssl=3Dou=
tput/cargo-build/libopenssl-0_9_12.rlib
BUILDING cargo v0.20.0
> /gnu/store/0hzdzb07gaplh2x96mg7dpvip92shx43-mrustc-0.9/bin/mrustc src/too=
ls/cargo/src/bin/cargo.rs -o output/cargo-build/cargo --crate-name cargo --=
crate-type bin -C emit-depfile=3Doutput/cargo-build/cargo.d --crate-tag 0_2=
0_0 -g --cfg debug_assertions -O -L output -L /gnu/store/0hzdzb07gaplh2x96m=
g7dpvip92shx43-mrustc-0.9/lib/mrust -L output/cargo-build --extern cargo=3D=
output/cargo-build/libcargo-0_20_0.rlib --extern crates_io=3Doutput/cargo-b=
uild/libcrates_io-0_9_0.rlib --extern crossbeam=3Doutput/cargo-build/libcro=
ssbeam-0_2_10.rlib --extern curl=3Doutput/cargo-build/libcurl-0_4_6.rlib --=
extern docopt=3Doutput/cargo-build/libdocopt-0_7_0.rlib --extern env_logger=
=3Doutput/cargo-build/libenv_logger-0_4_2.rlib --extern error_chain=3Doutpu=
t/cargo-build/liberror_chain-0_10_0.rlib --extern filetime=3Doutput/cargo-b=
uild/libfiletime-0_1_10.rlib --extern flate2=3Doutput/cargo-build/libflate2=
-0_2_19.rlib --extern fs2=3Doutput/cargo-build/libfs2-0_4_1.rlib --extern g=
it2=3Doutput/cargo-build/libgit2-0_6_6.rlib --extern git2_curl=3Doutput/car=
go-build/libgit2_curl-0_7_0.rlib --extern glob=3Doutput/cargo-build/libglob=
-0_2_11.rlib --extern jobserver=3Doutput/cargo-build/libjobserver-0_1_6.rli=
b --extern libc=3Doutput/cargo-build/liblibc-0_2_22.rlib --extern libgit2_s=
ys=3Doutput/cargo-build/liblibgit2_sys-0_6_12.rlib --extern log=3Doutput/ca=
rgo-build/liblog-0_3_7.rlib --extern num_cpus=3Doutput/cargo-build/libnum_c=
pus-1_4_0.rlib --extern rustc_serialize=3Doutput/cargo-build/librustc_seria=
lize-0_3_24.rlib --extern scoped_tls=3Doutput/cargo-build/libscoped_tls-0_1=
_0.rlib --extern semver=3Doutput/cargo-build/libsemver-0_7_0.rlib --extern =
serde=3Doutput/cargo-build/libserde-1_0_6.rlib --extern serde_derive=3Doutp=
ut/cargo-build/libserde_derive-1_0_6-plugin --extern serde_ignored=3Doutput=
/cargo-build/libserde_ignored-0_0_3.rlib --extern serde_json=3Doutput/cargo=
-build/libserde_json-1_0_2.rlib --extern shell_escape=3Doutput/cargo-build/=
libshell_escape-0_1_3.rlib --extern tar=3Doutput/cargo-build/libtar-0_4_13.=
rlib --extern tempdir=3Doutput/cargo-build/libtempdir-0_3_5.rlib --extern t=
erm=3Doutput/cargo-build/libterm-0_4_5.rlib --extern toml=3Doutput/cargo-bu=
ild/libtoml-0_4_1.rlib --extern url=3Doutput/cargo-build/liburl-1_4_0.rlib =
--extern openssl=3Doutput/cargo-build/libopenssl-0_9_12.rlib
"libcore"
command "output/rustc-build/rustc" "-C" "linker=3D/gnu/store/y7dd2178bbpy7p=
l09fdn1r9412rc2mm3-gcc-7.4.0/bin/gcc" "-Z" "force-unstable-if-unmarked" "-L=
" "output/target-libs" "src/libcore/lib.rs" "-o" "output/target-libs/libcor=
e.rlib" failed with signal 8

That's extremely good, but signal 8 is SIGFPE, as before.

--Sig_/vpY.2Nuh.hnRU3VywvY4DVM
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl5yiHIACgkQ5xo1VCww
uqW96Af9GQd5EA9/l4SpVDEGBJu98G8jaW/Y32oVFRybdUbTZG1+c1yWzhk+EHs2
eqJ7emCo889d8OPuyXxsY9RvDMf8Onp299H/VsKSWF0IA+8sbsnLuy9JuD+oCx4f
Pzjnus3HNGPeyYsnocPUtHSVNrYvHabX8+eKsbOK5pf1P7qFxKriF21nQyM68r0X
JURKBvDApGkGwCtI6HKq7Rkcl2rtnXsWBb6OS4mTj2GPitmULtlndmaU2yu4JMwO
+0nQBSE6m8Pf+KbLdL/7gMAJwUU8qMP4hN1Qkiq9RiH31On59XOo/CZLgkvqdAgI
T5roRz2Bkww7xKKubMLwbmI6WHOm1g==
=7Pn4
-----END PGP SIGNATURE-----

--Sig_/vpY.2Nuh.hnRU3VywvY4DVM--




Information forwarded to bug-guix@HIDDEN:
bug#35519; Package guix. Full text available.

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


Received: (at 35519) by debbugs.gnu.org; 16 Sep 2019 20:48:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 16 16:48:53 2019
Received: from localhost ([127.0.0.1]:51152 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i9xvY-0000jN-Va
	for submit <at> debbugs.gnu.org; Mon, 16 Sep 2019 16:48:53 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47312)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1i9xvW-0000j4-Rd
 for 35519 <at> debbugs.gnu.org; Mon, 16 Sep 2019 16:48:51 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:56741)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1i9xvQ-000235-K1; Mon, 16 Sep 2019 16:48:44 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=59786 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1i9xvQ-00042Q-6S; Mon, 16 Sep 2019 16:48:44 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#35519: librsvg broken on i686-linux
References: <871s1ion48.fsf@HIDDEN> <87h8a2sc6j.fsf@HIDDEN>
 <87pnk0bf8v.fsf@HIDDEN> <20190916181141.40fdebe6@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 30 Fructidor an 227 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Mon, 16 Sep 2019 22:48:42 +0200
In-Reply-To: <20190916181141.40fdebe6@HIDDEN> (Danny Milosavljevic's
 message of "Mon, 16 Sep 2019 18:11:41 +0200")
Message-ID: <877e682cid.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 35519
Cc: Ricardo Wurmus <rekado@HIDDEN>, 35519 <at> debbugs.gnu.org
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: -3.3 (---)

Hi Danny,

Danny Milosavljevic <dannym@HIDDEN> skribis:

> Yes, I've brought that up upstream and upstream is more than willing to w=
ork
> on this and debug this problem if there is a system to debug it on.
>
> However, as far as I understand we decided not to give thepowersgang (aut=
hors
> of mrustc) a login to a Guix machine--therefore, the situation will not i=
mprove.

What about giving them =E2=80=9Cguix pack mrustc=E2=80=9D, or a guix-instal=
l.sh + pull
command sequence, or a VM image?

The instructions would be:

  1. Download and run <https://guix.gnu.org/install.sh>.  It will
     perform the steps described at
     <https://guix.gnu.org/manual/en/html_node/Binary-Installation.html>.

  2. Write this to a file:

       (list (channel
               (name 'guix)
               (url "https://git.savannah.gnu.org/git/guix.git")
               (commit
                 "0b2ea78173f05c417a9002e52e2b36b139074124")))

  3. Run =E2=80=98guix pull -C that-file.scm -p ~/core-updates=E2=80=99.

  4. Run =E2=80=98~/core-updates/bin/guix build rust -s i686-linux -K=E2=80=
=99.
     Investigate as per
     <https://guix.gnu.org/manual/en/html_node/Debugging-Build-Failures.htm=
l>.

Perhaps you could propose them to do that, and if that=E2=80=99s too much to
ask, we can meet halfway somehow.

Of course we can also provide guidance on #guix on IRC.

WDYT?

> No, but thepowersgang might find it very quickly.  They guess it might be
> some C undefined behavior being used by the mrustc->C translator, or a pr=
oblem
> with the struct layout (although I've checked the latter and it should be
> fine).

Would Valgrind or ASan be able to flag the potential issue?

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#35519; Package guix. Full text available.

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


Received: (at 35519) by debbugs.gnu.org; 16 Sep 2019 16:11:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 16 12:11:51 2019
Received: from localhost ([127.0.0.1]:50901 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i9tbT-0003lX-Jb
	for submit <at> debbugs.gnu.org; Mon, 16 Sep 2019 12:11:51 -0400
Received: from dd26836.kasserver.com ([85.13.145.193]:36272)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1i9tbS-0003lM-FB
 for 35519 <at> debbugs.gnu.org; Mon, 16 Sep 2019 12:11:50 -0400
Received: from localhost (178.113.182.130.wireless.dyn.drei.com
 [178.113.182.130])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id C0DE13360828;
 Mon, 16 Sep 2019 18:11:48 +0200 (CEST)
Date: Mon, 16 Sep 2019 18:11:41 +0200
From: Danny Milosavljevic <dannym@HIDDEN>
To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>
Subject: Re: bug#35519: librsvg broken on i686-linux
Message-ID: <20190916181141.40fdebe6@HIDDEN>
In-Reply-To: <87pnk0bf8v.fsf@HIDDEN>
References: <871s1ion48.fsf@HIDDEN> <87h8a2sc6j.fsf@HIDDEN>
 <87pnk0bf8v.fsf@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/PLh5eK0_YKp0mFhNC4E_toX"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 35519
Cc: Ricardo Wurmus <rekado@HIDDEN>, 35519 <at> debbugs.gnu.org
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: -1.7 (-)

--Sig_/PLh5eK0_YKp0mFhNC4E_toX
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Ludo,

On Mon, 16 Sep 2019 14:24:48 +0200
Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> Does that ring a bell?

Yes, I've brought that up upstream and upstream is more than willing to work
on this and debug this problem if there is a system to debug it on.

However, as far as I understand we decided not to give thepowersgang (autho=
rs
of mrustc) a login to a Guix machine--therefore, the situation will not imp=
rove.

The problem is NOT reproducible in Debian with the same gcc version.

Maybe I'll get my home internet set up next month and put a Guix machine on=
 it,
but right now I only have mobile internet (with very slow upload and behind=
 NAT).
As it is now, I cannot reasonably give someone a Guix machine already setup
to debug this problem.

The problem is 100% reproducible and I estimate would be easy to fix for the
authors--and maybe would fix the similar armhf problems as well.

So if someone could put a Guix machine on the internet and give thepowersga=
ng
access, that would be great.  I can't right now.

If that happens, I can instruct thepowersgang how to enter an environment
where this problem can be reproduced and fixed.

Even at the last FOSDEM, Chris Marusich and I saw this problem and fixed
part of it--by now we got upstream attention.  (After all this inertia maybe
we lost upstream attention again--we'll see)

>  Any ideas of a fix or workaround we could apply?

No, but thepowersgang might find it very quickly.  They guess it might be
some C undefined behavior being used by the mrustc->C translator, or a prob=
lem
with the struct layout (although I've checked the latter and it should be
fine).

--Sig_/PLh5eK0_YKp0mFhNC4E_toX
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl1/tD0ACgkQ5xo1VCww
uqWJ1Af/fMLcbj/bUBkHbVNKpYbrU+46A8Yrnth9IMdnbByGw3FcUCAZt7khyHvJ
U1wGLd4eG9iJxHxjMehWrckUia9d7OMg+WSNhdeHWL9cQ4vg/5TTr4yf63q/i/SC
SD5f4cdWy+N7Eo4tkn3KcVkdQVmnrYfj7PIoiPaZ6aTXw1KlpCgIyEo9Pvc200g0
OTDly2IZkvM3YeJkBQ/QenOwu6TJ39PbGmvtsytfogloN16/ybxT7WHBrmM+MDiJ
fXzPoDub3DuxFqstMslPvUfjdVrgNiZlClpUIo7YJiKNJxLTtVDafLvpq66aPi2x
vPNDvh9P/31kZh1krORE4VGeii5rLw==
=A47n
-----END PGP SIGNATURE-----

--Sig_/PLh5eK0_YKp0mFhNC4E_toX--




Information forwarded to bug-guix@HIDDEN:
bug#35519; Package guix. Full text available.

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


Received: (at 35519) by debbugs.gnu.org; 16 Sep 2019 12:25:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 16 08:25:00 2019
Received: from localhost ([127.0.0.1]:49344 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i9q3w-00089o-Bq
	for submit <at> debbugs.gnu.org; Mon, 16 Sep 2019 08:25:00 -0400
Received: from eggs.gnu.org ([209.51.188.92]:52390)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1i9q3v-00089d-8y
 for 35519 <at> debbugs.gnu.org; Mon, 16 Sep 2019 08:24:59 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:49816)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1i9q3p-0000dK-E4; Mon, 16 Sep 2019 08:24:53 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=47742 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1i9q3o-0002wK-TO; Mon, 16 Sep 2019 08:24:53 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: Re: bug#35519: librsvg broken on i686-linux
References: <871s1ion48.fsf@HIDDEN> <87h8a2sc6j.fsf@HIDDEN>
Date: Mon, 16 Sep 2019 14:24:48 +0200
In-Reply-To: <87h8a2sc6j.fsf@HIDDEN> (Ricardo Wurmus's message of "Fri,
 10 May 2019 14:53:40 +0200")
Message-ID: <87pnk0bf8v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 35519
Cc: 35519 <at> debbugs.gnu.org, Danny Milosavljevic <dannym@HIDDEN>
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: -3.3 (---)

Hello Danny and all,

Ricardo Wurmus <rekado@HIDDEN> skribis:

>> Hydra failed to build librsvg on i686-linux, because it depends on Rust
>> which is still broken on i686-linux in Guix.
>
> Danny opened a bug report with the mrustc upstream:
>
>     https://github.com/thepowersgang/mrustc/issues/108
>
> The last message there tells us to try again with current HEAD on
> master.  If this fails I think it=E2=80=99s acceptable to use a binary fo=
r the
> very first Rust on i686; we would skip the use of mrustc on i686 then.
> Not great.

I don=E2=80=99t know if it relates but on current =E2=80=98core-updates=E2=
=80=99 Rust 1.19 fails
to build on i686:

--8<---------------cut here---------------start------------->8---
BUILDING curl_sys from curl-sys v0.3.11 with features []
> /gnu/store/2fh0bz69j6gxpgj5nqiqplwmck1dvi47-mrustc-0.8.0/bin/mrustc src/v=
endor/curl-sys/lib.rs --crate-name curl_sys --crate-type rlib --crate-tag 0=
_3_11 -g --cfg debug_assertions -O -o output/cargo-build/libcurl_sys-0_3_11=
.hir -L output/cargo-build -L /gnu/store/44sdci2mizpvd70zyvbfs9ai0maw255z-c=
url-7.65.3/lib -l curl --extern libz_sys=3Doutput/cargo-build/liblibz_sys-1=
_0_13.hir --extern libc=3Doutput/cargo-build/liblibc-0_2_22.hir --extern op=
enssl_sys=3Doutput/cargo-build/libopenssl_sys-0_9_12.hir -L output -L /gnu/=
store/2fh0bz69j6gxpgj5nqiqplwmck1dvi47-mrustc-0.8.0/lib/mrust
BUILDING curl from curl v0.4.6 with features []
> /gnu/store/2fh0bz69j6gxpgj5nqiqplwmck1dvi47-mrustc-0.8.0/bin/mrustc src/v=
endor/curl/src/lib.rs --crate-name curl --crate-type rlib --crate-tag 0_4_6=
 -g --cfg debug_assertions -O -o output/cargo-build/libcurl-0_4_6.hir -L ou=
tput/cargo-build --extern libc=3Doutput/cargo-build/liblibc-0_2_22.hir --ex=
tern curl_sys=3Doutput/cargo-build/libcurl_sys-0_3_11.hir --extern openssl_=
sys=3Doutput/cargo-build/libopenssl_sys-0_9_12.hir --extern openssl_probe=
=3Doutput/cargo-build/libopenssl_probe-0_1_1.hir -L output -L /gnu/store/2f=
h0bz69j6gxpgj5nqiqplwmck1dvi47-mrustc-0.8.0/lib/mrust
BUILDING crates_io from crates-io v0.9.0 with features []
> /gnu/store/2fh0bz69j6gxpgj5nqiqplwmck1dvi47-mrustc-0.8.0/bin/mrustc src/t=
ools/cargo/src/crates-io/lib.rs --crate-name crates_io --crate-type rlib --=
crate-tag 0_9_0 -g --cfg debug_assertions -O -o output/cargo-build/libcrate=
s_io-0_9_0.hir -L output/cargo-build --extern curl=3Doutput/cargo-build/lib=
curl-0_4_6.hir --extern error_chain=3Doutput/cargo-build/liberror_chain-0_1=
0_0.hir --extern serde=3Doutput/cargo-build/libserde-1_0_6.hir --extern ser=
de_derive=3Doutput/cargo-build/libserde_derive-1_0_6.hir --extern serde_jso=
n=3Doutput/cargo-build/libserde_json-1_0_2.hir --extern url=3Doutput/cargo-=
build/liburl-1_4_0.hir -L output -L /gnu/store/2fh0bz69j6gxpgj5nqiqplwmck1d=
vi47-mrustc-0.8.0/lib/mrust
munmap_chunk(): invalid pointer
src/tools/cargo/src/crates-io/lib.rs:65: BUG:src/expand/proc_macro.cpp:941:=
 Unexpected EOF while reading from child process
BUILD FAILED
command "/gnu/store/2fh0bz69j6gxpgj5nqiqplwmck1dvi47-mrustc-0.8.0/tools/bin=
/minicargo" "src/tools/cargo" "--vendor-dir" "src/vendor" "--output-dir" "o=
utput/cargo-build" "-L" "output/" "-L" "/gnu/store/2fh0bz69j6gxpgj5nqiqplwm=
ck1dvi47-mrustc-0.8.0/lib/mrust" "-j" "1" failed with status 1
builder for `/gnu/store/01mh2n7mif0k49ivj6y3fdq1ssj3d2lq-rust-1.19.0.drv' f=
ailed with exit code 1
--8<---------------cut here---------------end--------------->8---

(From
<https://ci.guix.gnu.org/log/cnxzabs1mi42rfvz8gp34lqap0dwi9l6-rust-1.19.0-c=
argo>.)

Does that ring a bell?  Any ideas of a fix or workaround we could apply?

It=E2=80=99d be great if we could merge =E2=80=98core-updates=E2=80=99 soon=
.  This is
unfortunately not a regression compared to =E2=80=98master=E2=80=99, so I d=
on=E2=80=99t think
this is a blocker.

Thoughts?

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#35519; Package guix. Full text available.
Changed bug title to 'Rust (and librsvg, IceCat, etc.) fails to build on i686-linux' from 'librsvg broken on i686-linux' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 35519) by debbugs.gnu.org; 11 May 2019 14:16:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 11 10:16:36 2019
Received: from localhost ([127.0.0.1]:40767 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hPSnk-00011H-4M
	for submit <at> debbugs.gnu.org; Sat, 11 May 2019 10:16:36 -0400
Received: from dd26836.kasserver.com ([85.13.145.193]:35896)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1hPSnh-0000z7-UV
 for 35519 <at> debbugs.gnu.org; Sat, 11 May 2019 10:16:34 -0400
Received: from localhost (unknown [185.17.13.127])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 163F73360BD8;
 Sat, 11 May 2019 16:16:33 +0200 (CEST)
Date: Sat, 11 May 2019 16:16:32 +0200
From: Danny Milosavljevic <dannym@HIDDEN>
To: Mark H Weaver <mhw@HIDDEN>
Subject: Re: bug#35519: librsvg broken on i686-linux
Message-ID: <20190511161632.5c8e4d60@HIDDEN>
In-Reply-To: <878svd1kp3.fsf@HIDDEN>
References: <871s1ion48.fsf@HIDDEN> <87h8a2sc6j.fsf@HIDDEN>
 <20190511020026.4d207749@HIDDEN>
 <878svd1kp3.fsf@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/g9/xxIH7sEL0wU.BMHSs6mJ"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 35519
Cc: Ricardo Wurmus <rekado@HIDDEN>, 35519 <at> debbugs.gnu.org
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: -1.7 (-)

--Sig_/g9/xxIH7sEL0wU.BMHSs6mJ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Mark,

On Sat, 11 May 2019 04:03:41 -0400
Mark H Weaver <mhw@HIDDEN> wrote:

> Hmm.  What makes you think that 'invoke' swallowed the output?  You
> might be right, but 'invoke' is used quite widely by now in Guix,
> including to invoke 'make' in gnu-build-system, and I haven't seen
> reports of it swallowing output.

I found out what was up with invoke.  The child process didn't output
anything on stdout or stderr, but it died with SIGFPE and I either
was unable to interpret invoke's exception properly, or it didn't say
(probably the former).

It seems that mrustc uses a different gcc version than rust 1.19 which
seems to be a bad idea to me, but not sure whether it's the cause of
the SIGFPE.

--Sig_/g9/xxIH7sEL0wU.BMHSs6mJ
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlzW2UAACgkQ5xo1VCww
uqX6xgf/a0DjFDARBmexxw3PaMP74aOt2WuKoiXxFBX88Cz1vk87H6fz01zM0yah
/9053OvAeXLXyVoJ/DcWypMWMrlA33nJ1IbLFb4GZd1naf7pMGsgh/aJuDVojYZP
6jJCV8xMgZ4+Y8EBsluzt2b3TE826SSfQ/L0KqOHynCiKU1apERH8prqyLtEtHd+
pKOLJdgXMUp9f7u7dTLrdpXX2d+8wjtw5pdOqYt8rqsMcAeBj3XB/x8oWA/qyjZN
3v2HB91t6O1aD6PDGr3rYDS6sLHVgNIebT54ERvJtfQr6XAythnkBYgzdSk5Iyr2
3BgT6YgUeZn37BLkQJGCTMD8BxN5aA==
=9wlr
-----END PGP SIGNATURE-----

--Sig_/g9/xxIH7sEL0wU.BMHSs6mJ--




Information forwarded to bug-guix@HIDDEN:
bug#35519; Package guix. Full text available.

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


Received: (at 35519) by debbugs.gnu.org; 11 May 2019 14:09:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 11 10:09:08 2019
Received: from localhost ([127.0.0.1]:40746 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hPSgW-0007vR-De
	for submit <at> debbugs.gnu.org; Sat, 11 May 2019 10:09:08 -0400
Received: from dd26836.kasserver.com ([85.13.145.193]:34940)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1hPSgV-0007vI-7V
 for 35519 <at> debbugs.gnu.org; Sat, 11 May 2019 10:09:07 -0400
Received: from localhost (unknown [185.17.13.127])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 8DBDB33606DD;
 Sat, 11 May 2019 16:09:05 +0200 (CEST)
Date: Sat, 11 May 2019 16:08:59 +0200
From: Danny Milosavljevic <dannym@HIDDEN>
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: Re: bug#35519: librsvg broken on i686-linux
Message-ID: <20190511160859.7b486515@HIDDEN>
In-Reply-To: <20190511020026.4d207749@HIDDEN>
References: <871s1ion48.fsf@HIDDEN> <87h8a2sc6j.fsf@HIDDEN>
 <20190511020026.4d207749@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/6uBAOw45ThhaeXTOuIKEpth"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 35519
Cc: 35519 <at> debbugs.gnu.org
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: -1.7 (-)

--Sig_/6uBAOw45ThhaeXTOuIKEpth
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Extra info: guix mrustc seems to be compiled with gcc 8 but guix rust-1.19 =
with gcc 5.5.  How did that happen?  Doesn't sound like a good idea since o=
ne loads compiler plugins compiled using the other into the same process.

--Sig_/6uBAOw45ThhaeXTOuIKEpth
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlzW13sACgkQ5xo1VCww
uqVkUwf+JO5O5vzY/cqyJBxFyH1v+PocfR6oQNN+6xX7B7sHrrClHbe+DGvv3SbY
yiLT3q1+fk6AZ0IBKEfU/zd2rYrsxCW9Q7+DigRqPAWju6QVAWsmQ4Y7RbcPlfkp
CKAJbr/pCsr+RX3quNTnmx0UjQIjpa2y7usbaXkTEtFGLxsRuNbA44PVU8wxXYZ8
C2qm92/nf6wqacgj0r3FenfXOE/Hr8j1kjpB0RhONPpiONlz/26aEU/KR8Opryms
IJcqRqpMJhkftDDGdGBso2scy3UKXYG69Js2lp9J1IsAzqJDnFCwCuqVkZAck3qF
/bnzpxxoAxls/NFk0Ao89FaJRXxrNw==
=BF7N
-----END PGP SIGNATURE-----

--Sig_/6uBAOw45ThhaeXTOuIKEpth--




Information forwarded to bug-guix@HIDDEN:
bug#35519; Package guix. Full text available.

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


Received: (at 35519) by debbugs.gnu.org; 11 May 2019 12:41:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 11 08:41:17 2019
Received: from localhost ([127.0.0.1]:40029 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hPRJV-0005fG-DE
	for submit <at> debbugs.gnu.org; Sat, 11 May 2019 08:41:17 -0400
Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21394)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1hPRJT-0005f7-25
 for 35519 <at> debbugs.gnu.org; Sat, 11 May 2019 08:41:16 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1557492826; cv=none; d=zoho.com; s=zohoarc; 
 b=nCL1NWUnIqygvCxVAHjPlBNWKKREaTkByVszYclX30AeshNdnr7VVwONEVTekqPEIUSeZ+x+bvsiWdF8EVe3wf5ng+V9S6ZcSunj3N1udIlhVczzWoBWY+5mBayFyoiQYFuNntsZSWynrItcaOSvI6AsXdfzLsSr6yvH7iFW6Jg=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1557492826;
 h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results;
 bh=w7Ev0Di9VbMki7vHEEqYkmZ3rd/Oo2wMeq/LdLsje+s=; 
 b=b7JWua0vN4NYqREuvS56q1r24AKjOD64NcJc5oaAAjHc/UfoA7Emlg2mn9wk1kMMrtGUiTngp+DrNaFpgCPZLULBIBKuGDi7KIHsT15AXPLuwtDmlBtPxkRb3hCy7nOoiaTVR6HiLDmDSF5yTyu93MF6yxPrCbipCPjpmsqdEZE=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1557492826; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=492; bh=w7Ev0Di9VbMki7vHEEqYkmZ3rd/Oo2wMeq/LdLsje+s=;
 b=Tit72h8iqw5edsf8dkmNGRbSssFRGGncDhytI0f4VuGRCJkCOnPsKfqw76nRznII
 dhLgayXSqnhkPYOV5fK7VUFNyyTJ1h1+Yye87oIJConOX+WBC/0cIdLMO95QrN6cJDX
 WUbT3jyS2lkO/Jk7eWnl9rkO2yBQE1SsAVqdMzD0=
Received: from localhost (141.80.245.120 [141.80.245.120]) by mx.zohomail.com
 with SMTPS id 155749282461248.149148481269094;
 Fri, 10 May 2019 05:53:44 -0700 (PDT)
References: <871s1ion48.fsf@HIDDEN>
User-agent: mu4e 1.2.0; emacs 26.2
From: Ricardo Wurmus <rekado@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#35519: librsvg broken on i686-linux
In-reply-to: <871s1ion48.fsf@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Fri, 10 May 2019 14:53:40 +0200
Message-ID: <87h8a2sc6j.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 35519
Cc: 35519 <at> debbugs.gnu.org
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: -1.0 (-)


Hi,

> Hydra failed to build librsvg on i686-linux, because it depends on Rust
> which is still broken on i686-linux in Guix.

Danny opened a bug report with the mrustc upstream:

    https://github.com/thepowersgang/mrustc/issues/108

The last message there tells us to try again with current HEAD on
master.  If this fails I think it=E2=80=99s acceptable to use a binary for =
the
very first Rust on i686; we would skip the use of mrustc on i686 then.
Not great.

--
Ricardo





Information forwarded to bug-guix@HIDDEN:
bug#35519; Package guix. Full text available.

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


Received: (at 35519) by debbugs.gnu.org; 11 May 2019 08:05:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 11 04:05:43 2019
Received: from localhost ([127.0.0.1]:39817 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hPN0o-0005Lw-SA
	for submit <at> debbugs.gnu.org; Sat, 11 May 2019 04:05:43 -0400
Received: from world.peace.net ([64.112.178.59]:52624)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1hPN0m-0005Lk-N5
 for 35519 <at> debbugs.gnu.org; Sat, 11 May 2019 04:05:41 -0400
Received: from mhw by world.peace.net with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89)
 (envelope-from <mhw@HIDDEN>)
 id 1hPN0g-00016T-Ow; Sat, 11 May 2019 04:05:34 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#35519: librsvg broken on i686-linux
References: <871s1ion48.fsf@HIDDEN> <87h8a2sc6j.fsf@HIDDEN>
 <20190511020026.4d207749@HIDDEN>
Date: Sat, 11 May 2019 04:03:41 -0400
In-Reply-To: <20190511020026.4d207749@HIDDEN> (Danny Milosavljevic's
 message of "Sat, 11 May 2019 02:00:26 +0200")
Message-ID: <878svd1kp3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 35519
Cc: Ricardo Wurmus <rekado@HIDDEN>, 35519 <at> debbugs.gnu.org
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: -1.0 (-)

Hi Danny,

Danny Milosavljevic <dannym@HIDDEN> writes:

> But when I use our separate package definitions it fails when building libcore
> (which is the first library for the target compiler).
> Invoke seems to swallow the output, so I have no idea where or why it failed
> (grr).

Hmm.  What makes you think that 'invoke' swallowed the output?  You
might be right, but 'invoke' is used quite widely by now in Guix,
including to invoke 'make' in gnu-build-system, and I haven't seen
reports of it swallowing output.

I looked at the code.  'invoke' calls 'system*' which calls
'scm_open_process' (in libguile/posix.c) with an empty mode string.

In this case, the child STDOUT becomes (current-output-port) from the
parent if (current-output-port) is a "file port", i.e. a Guile port
backed by a POSIX file descriptor, e.g. a file, socket or pipe.  If it's
a Guile port that's not backed by a file descriptor, e.g. a custom port,
soft port, string port, bytevector port, etc, then indeed the child
output will go to /dev/null instead.

(Note that the port returned by 'open-pipe*' when used in OPEN_BOTH mode
is also a soft port and not considered a file port, even though it is
internally backed by two file ports.)

Ditto for STDERR, except that it uses (current-error-port).

So, if 'invoke' seems to be swallowing output, it's probably because it
was called within the dynamic extent of 'with-output-to-port',
'with-error-to-port', 'with-output-to-string', or similar.

     Regards,
       Mark




Information forwarded to bug-guix@HIDDEN:
bug#35519; Package guix. Full text available.

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


Received: (at 35519) by debbugs.gnu.org; 11 May 2019 00:00:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 10 20:00:45 2019
Received: from localhost ([127.0.0.1]:39460 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hPFRV-0000Nr-7V
	for submit <at> debbugs.gnu.org; Fri, 10 May 2019 20:00:45 -0400
Received: from dd26836.kasserver.com ([85.13.145.193]:45942)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1hPFRS-0000Ni-GZ
 for 35519 <at> debbugs.gnu.org; Fri, 10 May 2019 20:00:43 -0400
Received: from localhost (unknown [185.17.13.127])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 7BA113360638;
 Sat, 11 May 2019 02:00:40 +0200 (CEST)
Date: Sat, 11 May 2019 02:00:26 +0200
From: Danny Milosavljevic <dannym@HIDDEN>
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: Re: bug#35519: librsvg broken on i686-linux
Message-ID: <20190511020026.4d207749@HIDDEN>
In-Reply-To: <87h8a2sc6j.fsf@HIDDEN>
References: <871s1ion48.fsf@HIDDEN>
 <87h8a2sc6j.fsf@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/19T5atM0E_KdLOXveJCSFTC"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 35519
Cc: 35519 <at> debbugs.gnu.org
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: -1.7 (-)

--Sig_/19T5atM0E_KdLOXveJCSFTC
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi,

On Fri, 10 May 2019 14:53:40 +0200
Ricardo Wurmus <rekado@HIDDEN> wrote:

> > Hydra failed to build librsvg on i686-linux, because it depends on Rust
> > which is still broken on i686-linux in Guix. =20
>=20
> Danny opened a bug report with the mrustc upstream:
>=20
>     https://github.com/thepowersgang/mrustc/issues/108
>=20
> The last message there tells us to try again with current HEAD on
> master.

I tried it now--it *does* work on i686 if I follow the README of mrustc and
build both it and rust 1.19 using the Makefile of mrustc.  (I haven't tested
armhf and x86_64 on mrustc master yet)

But when I use our separate package definitions it fails when building libc=
ore
(which is the first library for the target compiler).
Invoke seems to swallow the output, so I have no idea where or why it failed
(grr).

It's easily possible that some rust 1.19 build flags have to be adapted for
the newer mrustc, but I don't know which yet.
(Obviously, mrustc's makefile and/or Cargo.tomls already did the adaption
if any)

--Sig_/19T5atM0E_KdLOXveJCSFTC
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlzWEJoACgkQ5xo1VCww
uqUMGwf/X1wIRYI11bSQv8p6eK4mEQx6n0HBIel3Q+4TyVpPXfUvmXvKV16PTTJz
CK0GOaSlCe+E9V6eEK4UfwCfBIBF3ROr+NY7MW2RYAftvsyrwN3G/6XRNhejTRFu
gEL6er6YQdA7JWAgo5NUWmFh7fOi6QBf0WG+66BlM10r9yiW4PN3unNkumD4ecj5
/5DQKOWLh+Dumwtv5GCM0xU7zgy7lbl2BchoW16GLDV3CGZg/47C2iYOgdg9J/jI
1g5OP7kiOsobE7UkC1Wuei/VmmuH7HSaYM0qMM35VTZ7JY6mOQqEHgX9bQiypiRO
h/2OuuhZdWFtEa99kBUQUJRWwEG4xw==
=8vuF
-----END PGP SIGNATURE-----

--Sig_/19T5atM0E_KdLOXveJCSFTC--




Information forwarded to bug-guix@HIDDEN:
bug#35519; Package guix. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 1 May 2019 03:45:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 30 23:45:30 2019
Received: from localhost ([127.0.0.1]:43048 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hLgBW-00016E-G9
	for submit <at> debbugs.gnu.org; Tue, 30 Apr 2019 23:45:30 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36983)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1hLgBU-00015w-Kz
 for submit <at> debbugs.gnu.org; Tue, 30 Apr 2019 23:45:28 -0400
Received: from lists.gnu.org ([209.51.188.17]:36553)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mhw@HIDDEN>) id 1hLgBO-0006En-Op
 for submit <at> debbugs.gnu.org; Tue, 30 Apr 2019 23:45:23 -0400
Received: from eggs.gnu.org ([209.51.188.92]:51347)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mhw@HIDDEN>) id 1hLgBL-0008Qj-KK
 for bug-guix@HIDDEN; Tue, 30 Apr 2019 23:45:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mhw@HIDDEN>) id 1hLgBE-0005rO-Qt
 for bug-guix@HIDDEN; Tue, 30 Apr 2019 23:45:18 -0400
Received: from world.peace.net ([64.112.178.59]:52080)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mhw@HIDDEN>) id 1hLgBB-0005hl-Pz
 for bug-guix@HIDDEN; Tue, 30 Apr 2019 23:45:12 -0400
Received: from mhw by world.peace.net with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89)
 (envelope-from <mhw@HIDDEN>)
 id 1hLgB9-0003Ax-06; Tue, 30 Apr 2019 23:45:07 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: bug-guix@HIDDEN
Subject: librsvg broken on i686-linux
Date: Tue, 30 Apr 2019 23:43:24 -0400
Message-ID: <871s1ion48.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 64.112.178.59
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
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 (--)

Hydra failed to build librsvg on i686-linux, because it depends on Rust
which is still broken on i686-linux in Guix.

  https://hydra.gnu.org/build/3477308

      Mark




Acknowledgement sent to Mark H Weaver <mhw@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#35519; 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: Wed, 18 Mar 2020 20:45:01 UTC

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