Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695796 - dev-lang/rust-1.38 - error: failed to run custom build command for `ryu v1.0.0` // Caused by: process didn't exit successfully: `.../work/rustc-1.38.0-src/build/bootstrap/debug/build/ryu-deb3460cf2bb47d1/build-script-build` (signal: 11, SIGSEGV [...]
Summary: dev-lang/rust-1.38 - error: failed to run custom build command for `ryu v1.0....
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
URL: https://github.com/rust-lang/rust/iss...
Whiteboard:
Keywords:
: 695920 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-09-28 12:06 UTC by Perfect Gentleman
Modified: 2024-02-11 06:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log_1,15.08 KB, text/plain)
2019-09-28 12:06 UTC, Perfect Gentleman
Details
build.log (2) (build.log_2,16.43 KB, text/plain)
2019-09-28 13:05 UTC, Perfect Gentleman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2019-09-28 12:06:20 UTC
Created attachment 591204 [details]
build.log

~ $ emerge --info
Portage 2.3.76 (python 3.7.4-final-0, default/linux/amd64/17.1/no-multilib, gcc-9.2.0, glibc-2.30-r1, 5.3.1-gentoo x86_64)
=================================================================
System uname: Linux-5.3.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-gentoo-2.6
KiB Mem:    15830192 total,   3021220 free
KiB Swap:   13720572 total,  13160188 free
Head commit of repository palemoon: bb5b3c68173ef43e2dad19c29ff982ff2bf784c4

Head commit of repository pf4public: 2eaa032d395c4b8d41471c825ea498edcb7cc9cd

Head commit of repository gnome: 8e70712c5f69e4270a77c83c0d0ba8a92af93615

Head commit of repository gentoo: 117c041c9732d1e09d99909404af7f3dc4ecaffb

Head commit of repository mozilla: 825a63fd37d8428561e071cb5ac3bf04138575fc

Head commit of repository qt: dc9767944fa764ada23540868b675d190fae7c85

Head commit of repository kde: 89a17e52864e4145443a002672b185ab20c2240a

Head commit of repository pg_overlay: 15436dbd9931c07b40266d55d917e206bc6c1339

sh bash 5.0_p11
ld GNU gold (Gentoo 2.32 p2 2.32.0) 1.16
ccache version 3.7.4 [disabled]
app-shells/bash:          5.0_p11::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.7.4-r1::gentoo
dev-util/ccache:          3.7.4::gentoo
dev-util/cmake:           3.15.3::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r1::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r1::gentoo
Repositories:

palemoon
    location: /usr/portage/overlay/palemoon
    sync-type: git
    sync-uri: https://github.com/deu/palemoon-overlay.git
    masters: gentoo
    priority: -1
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

pf4public
    location: /usr/portage/overlay/pf4public
    sync-type: git
    sync-uri: https://github.com/PF4Public/gentoo-overlay.git
    masters: gentoo
    priority: -1
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

gnome
    location: /usr/portage/proj/gnome
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/gnome.git
    masters: gentoo
    priority: 3
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: 5
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay
    sync-git-clone-extra-opts: --depth 1 --single-branch --branch master

mozilla
    location: /usr/portage/proj/mozilla
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/mozilla.git
    masters: gentoo
    priority: 7
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

qt
    location: /usr/portage/proj/qt
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 9
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

kde
    location: /usr/portage/proj/kde
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo
    priority: 11
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

pg_overlay
    location: /usr/portage/overlay/pg_overlay
    sync-type: git
    sync-uri: https://github.com/perfect7gentleman/pg_overlay.git
    masters: gentoo
    priority: 13
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-plt -fno-stack-protector -ftree-vectorize -flto=9 -fuse-linker-plugin -s"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-plt -fno-stack-protector -ftree-vectorize -flto=9 -fuse-linker-plugin -s"
DISTDIR="/usr/portage/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="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-plt -fno-stack-protector -ftree-vectorize -flto=9 -fuse-linker-plugin -s"
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 parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-plt -fno-stack-protector -ftree-vectorize -flto=9 -fuse-linker-plugin -s"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/lib/systemd /usr/lib/systemd"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--sort-common -Wl,--strip-debug -flto=9 -fuse-linker-plugin"
LINGUAS="en en_US ru ru_RU"
MAKEOPTS="-j9"
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="/tmp"
USE="X acl alsa amd64 bash-completion bzip2 cairo cli cups custom-cflags cxx dbus dri elogind ffmpeg flac fontconfig gdbm gif gmp iconv icu introspection jpeg kde lcms libtirpc lzma lzo mmap mtp ncurses nls nptl opengl openmp orc pam pch pcre png pulseaudio readline seccomp split-usr ssl svg symlink threads tiff truetype udev unicode vaapi wavpack webp xattr xcb xft xmpp zip zlib zstd" ABI_X86="64" 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 avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en_US ru ru_RU" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Perfect Gentleman 2019-09-28 13:05:03 UTC
Created attachment 591206 [details]
build.log (2)
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-29 10:06:42 UTC
(In reply to Perfect Gentleman from comment #0)
> Created attachment 591204 [details]
> build.log

error: failed to run custom build command for `ryu v1.0.0`

Caused by:
  process didn't exit successfully: `/tmp/portage/dev-lang/rust-1.38.0/work/rustc-1.38.0-src/build/bootstrap/debug/build/ryu-deb3460cf2bb47d1/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)

(In reply to Perfect Gentleman from comment #1)
> Created attachment 591206 [details]
> build.log (2)

error: failed to run custom build command for `serde v1.0.92`

Caused by:
  process didn't exit successfully: `/tmp/portage/dev-lang/rust-1.38.0/work/rustc-1.38.0-src/build/bootstrap/debug/build/serde-3382a5780ebba442/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `proc-macro2 v0.4.30`

Caused by:
  process didn't exit successfully: `/tmp/portage/dev-lang/rust-1.38.0/work/rustc-1.38.0-src/build/bootstrap/debug/build/proc-macro2-73b233e31e645dad/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)
Comment 3 Georgy Yakovlev archtester gentoo-dev 2019-09-30 18:38:08 UTC
*** Bug 695920 has been marked as a duplicate of this bug. ***
Comment 4 Georgy Yakovlev archtester gentoo-dev 2019-09-30 18:49:03 UTC
try compiling it with gcc instead of clang and try reporting it upstream.
I don't know if they support compiling it with clang at all.
Comment 5 Perfect Gentleman 2019-10-01 16:27:53 UTC
(In reply to Georgy Yakovlev from comment #4)
> try compiling it with gcc instead of clang and try reporting it upstream.
> I don't know if they support compiling it with clang at all.

I built previuos versions with LLVM/Clang and there were no any errors.
Comment 6 Perfect Gentleman 2019-10-01 16:28:24 UTC
(In reply to Georgy Yakovlev from comment #4)
> try compiling it with gcc instead of clang and try reporting it upstream.
> I don't know if they support compiling it with clang at all.

I built previuos versions with LLVM/Clang and there were no any errors.
Comment 7 Georgy Yakovlev archtester gentoo-dev 2019-10-01 18:59:13 UTC
(In reply to Perfect Gentleman from comment #6)
> (In reply to Georgy Yakovlev from comment #4)
> > try compiling it with gcc instead of clang and try reporting it upstream.
> > I don't know if they support compiling it with clang at all.
> 
> I built previuos versions with LLVM/Clang and there were no any errors.

can't do anything about it myself.
I see you opened issue upstream, thanks for doing it.
linking it her and moving to unconfirmed for visibility.