lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libignore-526d894fdd89c0c2.rmeta --extern lazy_static=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/boot strap/debug/deps/liblazy_static-c94ef27ef7ba832b.rmeta --extern libc=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/liblibc-b356d7975375d808.rmeta --e xtern num_cpus=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libnum_cpus-fb183238a0c7e744.rmeta --extern serde=/var/tmp/portage/dev-lang/rust-1.42.0/ work/rustc-1.42.0-src/build/bootstrap/debug/deps/libserde-0d5f60b499d049bc.rmeta --extern serde_json=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/li bserde_json-496afbb7fba595f6.rmeta --extern time=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libtime-26d0fe3a7c24e1e6.rmeta --extern toml=/var/tmp/ portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libtoml-dcc23cdc74009ff2.rmeta -Lnative=/usr/lib64/llvm/9/lib64 -Cdebuginfo=2 -C linker=x86_64-pc-linux-gnu-gcc -Wrust_2018_idioms -Wunused_lifetimes -Dwarnings` error: unnecessary parentheses around block return value --> src/bootstrap/lib.rs:1029:9 | 1029 | (target.contains("linux-gnu") || target.contains("apple-darwin")) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses | = note: `-D unused-parens` implied by `-D warnings` error: aborting due to previous error error: could not compile `bootstrap`. Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name bootstrap --edition=2018 src/bootstrap/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C debug-assertions=off -C overflow-checks=on -C metadata=a50808fd8063c44f -C extra-filename=-a50808fd8063c44f --out-dir /var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps -C incremental=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/incremental -L dependency=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps --extern build_helper=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libbuild_helper-71345900f9590a77.rmeta --extern cc=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libcc-40db7f86b0a52064.rmeta --extern cmake=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libcmake-a24335cab5657125.rmeta --extern filetime=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libfiletime-21b063c6de0251b8.rmeta --extern getopts=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libgetopts-5a12b4202a82466a.rmeta --extern ignore=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libignore-526d894fdd89c0c2.rmeta --extern lazy_static=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/liblazy_static-c94ef27ef7ba832b.rmeta --extern libc=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/liblibc-b356d7975375d808.rmeta --extern num_cpus=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libnum_cpus-fb183238a0c7e744.rmeta --extern serde=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libserde-0d5f60b499d049bc.rmeta --extern serde_json=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libserde_json-496afbb7fba595f6.rmeta --extern time=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libtime-26d0fe3a7c24e1e6.rmeta --extern toml=/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/build/bootstrap/debug/deps/libtoml-dcc23cdc74009ff2.rmeta -Lnative=/usr/lib64/llvm/9/lib64 -Cdebuginfo=2 -C linker=x86_64-pc-linux-gnu-gcc -Wrust_2018_idioms -Wunused_lifetimes -Dwarnings` (exit code: 1) warning: build failed, waiting for other jobs to finish... error: build failed Traceback (most recent call last): File "./x.py", line 11, in <module> bootstrap.main() File "/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/src/bootstrap/bootstrap.py", line 951, in main bootstrap(help_triggered) File "/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/src/bootstrap/bootstrap.py", line 920, in bootstrap build.build_bootstrap() File "/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/src/bootstrap/bootstrap.py", line 712, in build_bootstrap run(args, env=env, verbose=self.verbose) File "/var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/src/bootstrap/bootstrap.py", line 141, in run raise RuntimeError(err) RuntimeError: failed to run: /usr/bin/cargo build --manifest-path /var/tmp/portage/dev-lang/rust-1.42.0/work/rustc-1.42.0-src/src/bootstrap/Cargo.toml --verbose --locked --frozen * ERROR: dev-lang/rust-1.42.0::gentoo failed (compile phase): * (no error message) Portage 2.3.96 (python 3.6.10-final-0, default/linux/amd64/17.0, gcc-9.2.0, glibc-2.30-r6, 5.5.13-gentoo x86_64) ================================================================= System uname: Linux-5.5.13-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.7 KiB Mem: 32925924 total, 25521304 free KiB Swap: 0 total, 0 free sh bash 5.0_p16 ld GNU ld (Gentoo 2.34 p1) 2.34.0 app-shells/bash: 5.0_p16::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.7::gentoo, 3.8.2::gentoo dev-util/cmake: 3.17.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34::gentoo sys-devel/gcc: 9.2.0-r4::gentoo, 9.3.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.5::gentoo (virtual/os-headers) sys-libs/glibc: 2.30-r6::gentoo Repositories: gentoo location: /home/me/code/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: no sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -flto=4 -fuse-linker-plugin" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -flto=4 -fuse-linker-plugin" DISTDIR="/chroot/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="/etc/X11/xinit/xinitrc.d/80-dbus /usr/bin/dbus-launch" LANG="en_US.utf8" LDFLAGS="-O2 -flto=4" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl alsa amd64 apng berkdb bzip2 cli crypt cups dri ffmpeg fortran gdbm glamor gmp gpo iconv icu ipv6 lapack libtirpc minizip multilib ncurses nls nptl opencl opengl openmp pam pcre pgo readline seccomp split-usr sqlite ssl tcpd truetype udev unicode vdpau vulkan xattr xvmc zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_7 python3_6" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="radeon r600 radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
you use this patch for system-bootstrap with 1.42.0 https://github.com/rust-lang/rust/commit/5f979e9afab42dd7536ca93994de66169880361.patch I'll commit it as is shortly after test-build is done.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db3aa7638741984c27df6bb96069ed1a40ad54c8 commit db3aa7638741984c27df6bb96069ed1a40ad54c8 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-03-28 18:31:31 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-03-28 19:07:52 +0000 dev-lang/rust: fix system-bootstrap with 1.42.0 Closes: https://bugs.gentoo.org/715142 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-lang/rust/files/1.42.0-fix-bootstrap.patch | 440 +++++++++++++++++++++++++ dev-lang/rust/rust-1.42.0.ebuild | 1 + 2 files changed, 441 insertions(+)