Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917689 - dev-build/bazel-5.3.0 Compiling absl/strings/internal/str_format/float_conversion.cc [for host] failed: (Exit 1): gcc failed: error executing command
Summary: dev-build/bazel-5.3.0 Compiling absl/strings/internal/str_format/float_conver...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 922374
  Show dependency tree
 
Reported: 2023-11-21 21:40 UTC by MrSnivvel
Modified: 2024-02-24 12:53 UTC (History)
2 users (show)

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


Attachments
bazel-5.3.0 build.log (bazel-5.3.0.build.log.xz,11.19 KB, application/x-xz)
2023-11-21 21:42 UTC, MrSnivvel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MrSnivvel 2023-11-21 21:40:53 UTC
(cd /var/tmp/portage/dev-util/bazel-5.3.0/temp/bazel_uSV3T04h/out/execroot/io_bazel && \
  exec env - \
    LD_LIBRARY_PATH=/opt/openjdk-bin-11.0.20.1_p1/lib/:/opt/openjdk-bin-11.0.20.1_p1/lib/server/ \
    PATH=/opt/openjdk-bin-11.0.20.1_p1/bin:/usr/lib/portage/python3.12/ebuild-helpers/xattr:/usr/lib/portage/python3.12/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin:/usr/lib/llvm/15/bin:/etc/eselect/wine/bin \
    PWD=/proc/self/cwd \
  /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/host/bin/external/com_google_absl/absl/strings/_objs/str_format_internal/float_conversion.d '-frandom-seed=bazel-out/host/bin/external/com_google_absl/absl/strings/_objs/str_format_internal/float_conversion.o' -iquote external/com_google_absl -iquote bazel-out/host/bin/external/com_google_absl -g0 -g0 -Wall -Wextra -Wcast-qual -Wconversion-null -Wformat-security -Wmissing-declarations -Woverlength-strings -Wpointer-arith -Wundef -Wunused-local-typedefs -Wunused-result -Wvarargs -Wvla -Wwrite-strings -DNOMINMAX -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c external/com_google_absl/absl/strings/internal/str_format/float_conversion.cc -o bazel-out/host/bin/external/com_google_absl/absl/strings/_objs/str_format_internal/float_conversion.o)
# Configuration: 824d3ab37baf419e66d9c888526b45a58e80123e4abb3db110a449d73e522710
# Execution platform: //:default_host_platform
In file included from external/com_google_absl/absl/strings/internal/str_format/float_conversion.h:18,
                 from external/com_google_absl/absl/strings/internal/str_format/float_conversion.cc:15:


Reproducible: Always




Portage 3.0.55 (python 3.12.0-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.38-r7, 6.6.1-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.1-gentoo-x86_64-x86_64-AMD_Ryzen_Threadripper_PRO_3955WX_16-Cores-with-glibc2.38
KiB Mem:   131724492 total,  74161580 free
KiB Swap:   32767996 total,  29795324 free
Timestamp of repository gentoo: Tue, 21 Nov 2023 19:00:01 +0000
Head commit of repository gentoo: 826a1d8d0047d01e84de3784f3f03f6842151764
Timestamp of repository guru: Tue, 21 Nov 2023 15:16:45 +0000
Head commit of repository guru: 16b6b266978cdeb0800d4e7789fabbdfc1411bf8

Timestamp of repository sage-on-gentoo: Sun, 19 Nov 2023 16:17:25 +0000
Head commit of repository sage-on-gentoo: 5728ce9b83c82173d445e2ba8843e680fdd2d4a4

Head commit of repository torbrowser: 003c3af2cf310b9d7979437a3705140de302963a

Head commit of repository nitratesky: 78a81a38092019aadfce37f9aeebbbb76d1134a3

Head commit of repository steam-overlay: 9e9ca9363e49fb20fb97f2dadb3fca64d93ebec0

Timestamp of repository nest: Mon, 20 Nov 2023 23:32:00 +0000
Head commit of repository nest: 4baabfc1d5c07b8a47d4b7f117e474fec73d7c87

sh bash 5.2_p21
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.6::gentoo, 3.12.0_p1::gentoo
dev-lang/rust-bin:         1.73.0::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.3.0::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.6::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo, 2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.5::gentoo
sys-devel/gcc:             13.2.1_p20231014::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             17.0.5::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.5::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

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

guru
    location: /usr/local/portage/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: True

local-grotto
    location: /usr/local/portage/local-grotto
    masters: gentoo
    volatile: True

sage-on-gentoo
    location: /usr/local/portage/sage-on-gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sage-on-gentoo.git
    masters: gentoo
    volatile: True

torbrowser
    location: /usr/local/portage/torbrowser
    sync-type: git
    sync-uri: https://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    volatile: True

nitratesky
    location: /usr/local/portage/nitratesky
    sync-type: git
    sync-uri: https://github.com/VTimofeenko/nitratesky
    masters: gentoo nest
    priority: 50
    volatile: True

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

nest
    location: /usr/local/portage/nest
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/nest.git
    masters: gentoo
    priority: 99
    volatile: True

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

Installed sets: @ai, @desktop, @devops, @fonts, @games, @utils
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted 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"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en en_US"
MAKEOPTS="-j48"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 ao apache2 appindicator archive atasmart autotype awt bluetooth boot boto branding browser btpclient btrfs bzip2 cairo calendar caps cdda cddb cdr chromium cli colord connection-sharing context crypt cups curl dbus development device-mapper dia down-root dri drm dts dvd dvdr eap-tls eds egl elfutils encode epspdf evo exif extensions extra extraengine fdk ffmpge flac fortran fpm freerdp games gcj gd gdata gdbm geckodriver gentoo-vm gif gimp git glamor gles gles1 gles2 gltf gnome gnome-keyring gnome-shell gpg gpm graph graphics gstreamer gtk gtk3 gui hcitop hddtemp http humanities hwaccel iconv icu imagemagick introspection iproute2 iptables ipv6 jack javascript jemalloc jpeg jpeg2k json kernel-install keyring lcms ldac libkms libnotify libtirpc libvirt lm-sensors lm_sensors login lto lxc lz4 lzma mad matroska maxminddb mediaplayer mms mmx mmxext mng mod modplug mp3 mp4 mpeg mtp multilib music mysql mysqli mysqlnd nautilus ncat ncurses network networkmanager nfs nfsv4 nfsv41 nftables nls notification nping nptl ocr odf offensive ofono ofx ogg omega opencl opengl openmp opus osmesa ozone pam pango pcre pda pdf pdfannotextractor pdfimport pdo pgo php pipewire png policykit postgres postproc ppds printsupport profiling pstricks publishers pulseaudio python qt5 raw readline redis rrdcgi s3tc science sdl seccomp sendto sensord slib soap sockets sound speex spell spice sqlite srt sse sse2 sse3 sse4.1 sse4.2 ssh ssl ssse3 staging startup-notification svc svg syntax-check sysprof system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-llvm system-sqlite systemd systemtap sysv-utils sysvipc terminal test-rust tex4ht texi2html tfshark theora threads thunar tiff tools tor-hardening tproxy tray trayicon truetype udev udisks unicode update_drivedb upower usb user-session uvm v4l vaapi vdpau vector-icons vim vim-syntax visio vkd3d vlc vnc vorbis vpx vte vulkan vulkan-overlay wayland webp widevine wireshark-plugins wxwidgets x264 x265 xa xattr xcb xcomposite xetex xface xft xinerama xml xmlwriter xrandr xsl xslt xv xvfb xvid xvmc zip zlib zsh-completion zsh-completions" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation proxy proxy_balancer proxy_connect proxy_fdpass proxy_fcgi proxy_http proxy_scgi proxy_wstunnel ratelimit rewrite setenvif slotmem_shm socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="event" 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 rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput joystick" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="luajit lua5-4" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi gunzip gzip_static metrics mp4 naxsi security realip stub_status pcre-jit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_10 python3_11 python3_12" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="epson epson2 net" VIDEO_CARDS="amdgpu radeonsi" 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:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 MrSnivvel 2023-11-21 21:42:54 UTC
Created attachment 875306 [details]
bazel-5.3.0 build.log
Comment 2 Jiezhe Wang 2023-11-24 14:43:15 UTC
I encountered the same problem and finally solved it by switching to gcc-12.
Comment 3 Larry the Git Cow gentoo-dev 2024-02-03 19:35:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b99e43843a56b446dacfb90c9881e743ac7249

commit e9b99e43843a56b446dacfb90c9881e743ac7249
Author:     wangjiezhe <wangjiezhe@gmail.com>
AuthorDate: 2024-01-20 03:18:22 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2024-02-03 19:32:52 +0000

    dev-build/bazel: add notation for gcc-13 compilation issue
    
    Bug: https://bugs.gentoo.org/906914
    Bug: https://bugs.gentoo.org/917689
    Bug: https://bugs.gentoo.org/918703
    
    Signed-off-by: wangjiezhe <wangjiezhe@gmail.com>
    Signed-off-by: Jason Zaman <perfinion@gentoo.org>

 dev-build/bazel/bazel-5.3.0.ebuild | 8 +++++++-
 dev-build/bazel/bazel-6.2.0.ebuild | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-02-24 12:53:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=937bb2fe50b5f938cca85d4a3b2ba55dbf71e617

commit 937bb2fe50b5f938cca85d4a3b2ba55dbf71e617
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2024-02-24 12:50:14 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2024-02-24 12:50:14 +0000

    dev-build/bazel: treeclean
    
    Bug: https://bugs.gentoo.org/878501
    Closes: https://bugs.gentoo.org/906914
    Closes: https://bugs.gentoo.org/917689
    Closes: https://bugs.gentoo.org/918703
    Closes: https://bugs.gentoo.org/634046
    Closes: https://bugs.gentoo.org/652776
    Closes: https://bugs.gentoo.org/687538
    Closes: https://bugs.gentoo.org/747370
    Closes: https://bugs.gentoo.org/766243
    Closes: https://bugs.gentoo.org/790116
    Closes: https://bugs.gentoo.org/820179
    Closes: https://bugs.gentoo.org/820182
    Closes: https://bugs.gentoo.org/832935
    Closes: https://bugs.gentoo.org/837023
    Closes: https://bugs.gentoo.org/846464
    Closes: https://bugs.gentoo.org/858314
    Closes: https://bugs.gentoo.org/867292
    Closes: https://bugs.gentoo.org/872455
    Closes: https://bugs.gentoo.org/884477
    Closes: https://bugs.gentoo.org/895300
    Closes: https://bugs.gentoo.org/909434
    Closes: https://bugs.gentoo.org/917257
    Closes: https://bugs.gentoo.org/919798
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-build/bazel/Manifest                           |   7 --
 dev-build/bazel/bazel-3.7.2-r1.ebuild              | 117 ---------------------
 dev-build/bazel/bazel-4.2.2.ebuild                 | 100 ------------------
 dev-build/bazel/bazel-5.0.0.ebuild                 |  96 -----------------
 dev-build/bazel/bazel-5.1.1.ebuild                 |  96 -----------------
 dev-build/bazel/bazel-5.3.0.ebuild                 | 102 ------------------
 dev-build/bazel/bazel-6.2.0.ebuild                 | 102 ------------------
 dev-build/bazel/bazel-6.4.0.ebuild                 | 102 ------------------
 .../bazel-3.2.0-include-limits-for-gcc-11.patch    |  25 -----
 .../bazel-3.7.2-musl-temp-failure-retry.patch      |  34 ------
 .../files/bazel-4.2.2-absl_numeric_limits.patch    |  41 --------
 dev-build/bazel/metadata.xml                       |  20 ----
 profiles/package.mask                              |  15 ---
 profiles/updates/1Q-2024                           |   1 -
 14 files changed, 858 deletions(-)