Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789696 - dev-lang/ruby-2.6.7: hangs on checking for broken backtrace
Summary: dev-lang/ruby-2.6.7: hangs on checking for broken backtrace
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-12 14:12 UTC by Constantin Runge
Modified: 2021-06-06 11:05 UTC (History)
0 users

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


Attachments
build.log (file_789696.txt,43.76 KB, text/plain)
2021-05-12 14:13 UTC, Constantin Runge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Constantin Runge 2021-05-12 14:12:54 UTC
Building ruby-2.6.7 hangs during configure at the step `checking for broken backtrace...'.

This seems/could be different from #617518.

Reproducible: Always

Steps to Reproduce:
emerge dev-lang/ruby



Portage 3.0.18 (python 3.8.10-final-0, default/linux/amd64/17.0/desktop, gcc-10.3.0, glibc-2.33, 5.11.4-gentoo x86_64)
=================================================================
System uname: Linux-5.11.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-glibc2.2.5
KiB Mem:    32707020 total,  14137464 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of repository gentoo: Wed, 12 May 2021 13:00:01 +0000
Head commit of repository gentoo: 3853ca2def9372e20bc7fd971b385f32c2288221
Timestamp of repository guru: Wed, 12 May 2021 10:07:36 +0000
Head commit of repository guru: 72a83e4574465799fc709c93c5c1bb3c1123d778

Timestamp of repository lto-overlay: Wed, 12 May 2021 10:07:26 +0000
Head commit of repository lto-overlay: 67c74da8ae9a0e7797cf3266eb58d87b6032c815

Timestamp of repository mv: Wed, 12 May 2021 10:07:08 +0000
Head commit of repository mv: ace22f1c4923138abf6b73754f95cb5eb86277d8

Timestamp of repository science: Wed, 12 May 2021 10:07:40 +0000
Head commit of repository science: 5e557eb84cb4b06d52eff6eaf7ceb2e2ea336442

Timestamp of repository steam-overlay: Wed, 12 May 2021 10:07:12 +0000
Head commit of repository steam-overlay: 81b3aec6f24f5b2755219194ab2a1e504bf7b903

sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
ccache version 4.3 [disabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p9::gentoo, 3.8.10::gentoo, 3.9.5::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/ccache:          4.3::gentoo
dev-util/cmake:           3.20.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.3::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo, 2.36.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.3.0::gentoo, 11.1.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.12::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

lto-overlay
    location: /var/db/repos/lto-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/lto-overlay.git
    masters: gentoo mv

mv
    location: /var/db/repos/mv
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/mv.git
    masters: gentoo

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/science.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

local
    location: /data/portage
    masters: gentoo
    priority: 100

Installed sets: @anaconda, @core, @devel, @devel_gentoo, @devel_xilinx, @electronics, @esteam, @extra, @keysight_ads, @latex, @matlab, @opencl
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -fuse-linker-plugin -fgraphite-identity -floop-nest-optimize -fno-math-errno -fno-trapping-math -fno-signed-zeros -fassociative-math -freciprocal-math -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O3 -pipe -fuse-linker-plugin -fgraphite-identity -floop-nest-optimize -fno-math-errno -fno-trapping-math -fno-signed-zeros -fassociative-math -freciprocal-math -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=8 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j9 --load-average=9"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 binpkg-multi-instance 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://mirror.leaseweb.com/gentoo/ http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common,-z,now"
LINGUAS="en de"
MAKEOPTS="-j9 -l9.4"
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 a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cuda cups dbus dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jemalloc jpeg lcms libglvnd libnotify libtirpc lm-sensors lto mad mng mp3 mp4 mpeg multilib ncurses nls nptl nsplugin nvenc offensive ogg opengl openmp pam pango pcre pdf pie png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr ssl ssp startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vim-syntax vorbis wxwidgets x264 xattr xcb xml xv xvid xvmc zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" 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="cpu cpufreq df disc exec gpu_nvidia hddtemp interface load memory rrdtool swap syslog wireless" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 ssse3 sse4_1 sse4_2" 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="evdev mouse keyboard" KERNEL="linux" L10N="en de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel nvidia amdgpu radeonsi i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

For debugging purposes, optimization flags (O3, lto, ...) are replaced with default O2. See build.log
Comment 1 Constantin Runge 2021-05-12 14:13:55 UTC
Created attachment 707610 [details]
build.log
Comment 2 Constantin Runge 2021-06-05 11:56:14 UTC
Is there any way I can help debug this? I have no experience with the ruby build process.
Comment 3 Hans de Graaff gentoo-dev Security 2021-06-06 07:38:11 UTC
I see that you have jemalloc enabled, so one thing to check for is if it helps to disable that USE flag for ruby.
Comment 4 Constantin Runge 2021-06-06 11:05:18 UTC
Appending "dev-lang/ruby -jemalloc" to package.use lets the package emerge.