Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922039 - dev-lang/go-1.21.6: go: error obtaining buildID for go tool asm: exit status 2
Summary: dev-lang/go-1.21.6: go: error obtaining buildID for go tool asm: exit status 2
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-13 12:07 UTC by Anton Gubarkov
Modified: 2024-01-16 18:21 UTC (History)
1 user (show)

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


Attachments
build log (go-build.log,6.02 KB, text/x-log)
2024-01-13 12:09 UTC, Anton Gubarkov
Details
go build log (go-1.21.6.zip,17.54 KB, application/zip)
2024-01-16 11:44 UTC, Anton Gubarkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2024-01-13 12:07:00 UTC
The current version of go that I have installed is 1.20.4 - is no longer in the tree - so I can't test that build again. 

In fact I can't install any of the versions from the tree on this particular machine. The other machine I have has built 1.21.6 w/o any problems
Comment 1 Anton Gubarkov 2024-01-13 12:07:34 UTC
home64 ~ # emerge --info
Portage 3.0.61 (python 3.10.13-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-12, glibc-2.38-r9, 6.1.57-gentoo x86_64)
=================================================================
System uname: Linux-6.1.57-gentoo-x86_64-Intel-R-_Core-TM-_i7-8700_CPU_@_3.20GHz-with-glibc2.38
KiB Mem:    32816444 total,  11467020 free
KiB Swap:   16777212 total,  16775932 free
Timestamp of repository gentoo: Fri, 12 Jan 2024 19:20:18 +0000
Head commit of repository gentoo: 7d7ddb4730e3028e6b55404a0c784750d8af8dec

sh bash 5.2_p21-r2
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21-r2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust:             1.74.1::gentoo
dev-util/cmake:            3.28.1-r1::gentoo
dev-util/meson:            1.3.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.8::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo, 2.41-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             12.3.1_p20231215::gentoo, 13.2.1_p20231216::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r2::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: True

audio-overlay
    location: /var/lib/layman/audio-overlay
    masters: gentoo
    priority: 50
    volatile: True

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50
    volatile: True

plex-overlay
    location: /var/lib/layman/plex-overlay
    masters: gentoo
    priority: 50
    volatile: True

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50
    volatile: True

wsdd
    location: /var/lib/layman/wsdd
    masters: gentoo
    priority: 50
    volatile: True

rugubara
    location: /var/lib/layman/rugubara
    masters: gentoo
    priority: 100
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native"
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/php/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=native"
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 -mtune=native"
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 -mtune=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi aio alsa amd64 bluetooth branding bzip2 cacert cairo cdda cdr cgroup-hybrid cli client colord crypt cups cycles dbus djvu dri dri3 drm dts dvd dvdr eds encode evo exif fat ffmpeg fftw firewalld flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui http2 iconv icu introspection io-uring ipv6 jack javafx jpeg jpeg2k keyring lcms libglvnd libnotify libtirpc libzfs lm_sensors lv2 mad mng mp3 mp4 mpeg mtp multilib native-headset nautilus ncat ncurses networkmanager nls nvenc nvme ogg opencl opengl openimageio openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt5 raw readline realtime samba script sdl sdl2 seccomp smp sna sound spell spice split-usr ssl startup-notification svg sysprof systemd test-rust thunderbolt tiff tracker truetype udev udisks uefi unicode upower usb usbredir user-session vaapi vala vdpau virgl virt-network vorbis vulkan wayland wxwidgets x264 x265 xattr xcb xft xml xv xvid zeroconf zfs zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file 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 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 greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby31 ruby31" VIDEO_CARDS="fbdev intel i965 iris nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Anton Gubarkov 2024-01-13 12:09:08 UTC
Created attachment 882179 [details]
build log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-13 12:12:57 UTC
Please include the build.log for Go itself if it's failing to bug (although the fzf one is useful).
Comment 4 Anton Gubarkov 2024-01-13 18:26:09 UTC
not immediately. The machine stopped to boot (I suspect boot partition SSD failure). 
The log for go itself looks very similar. also for kitty as well.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-13 18:28:00 UTC
(In reply to Anton Gubarkov from comment #4)
> not immediately. The machine stopped to boot (I suspect boot partition SSD
> failure). 
> The log for go itself looks very similar. also for kitty as well.

I would be suspicious of corruption on the rest of the disk too given the original error...
Comment 6 Anton Gubarkov 2024-01-13 18:35:22 UTC
Not really...
the boot partition contains only kernel, initramfs and grub config. Everything else (incl the /) is on the ZFS raidz2 pool.
Comment 7 Anton Gubarkov 2024-01-16 11:44:32 UTC
Created attachment 882417 [details]
go build log

The booting has been restored. / is intact as I thought. I attach the build log for go.