Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924436 - x11-terms/kitty-0.32.1: link-time error when -ggdb3 is present in CFLAGS
Summary: x11-terms/kitty-0.32.1: link-time error when -ggdb3 is present in CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Low trivial (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-13 17:47 UTC by tacokoneko
Modified: 2024-02-14 08:25 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge--info.txt,9.73 KB, text/plain)
2024-02-13 17:47 UTC, tacokoneko
Details
/var/tmp/portage/x11-terms/kitty-0.32.1/temp/build.log (build.log,584.15 KB, text/x-log)
2024-02-13 17:50 UTC, tacokoneko
Details
emerge -pqv '=x11-terms/kitty-0.32.1::gentoo' (emerge-pqv-kitty.log,136 bytes, text/x-log)
2024-02-13 17:51 UTC, tacokoneko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tacokoneko 2024-02-13 17:47:34 UTC
Created attachment 884875 [details]
emerge --info

Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.38-r10, 6.1.69-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.69-gentoo-dist-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.38
KiB Mem:    32764220 total,  10580808 free
KiB Swap:  133113848 total, 120325480 free
Head commit of repository gentoo: 4cfaa5c8c3ed8eeff5c512d967c776f2b1f266ef

Timestamp of repository FireBurn: Mon, 12 Feb 2024 16:35:36 +0000
Head commit of repository FireBurn: e2ff3f7567f534603efdbc152ca4d62dc63ff8f0

Timestamp of repository guru: Mon, 12 Feb 2024 16:35:56 +0000
Head commit of repository guru: 4515cd3161d91f9e3dec9b6755f57335a1d7449e

Timestamp of repository pf4public: Mon, 12 Feb 2024 21:33:29 +0000
Head commit of repository pf4public: 30e161bb174769fd69747b42656eb59cf078cca4

Timestamp of repository steam-overlay: Mon, 12 Feb 2024 16:35:44 +0000
Head commit of repository steam-overlay: d984553a1549c63a93d840bd1ecbadbe54a582a8

Timestamp of repository tatsh-overlay: Mon, 12 Feb 2024 16:36:02 +0000
Head commit of repository tatsh-overlay: 2cfd2507052ffe21e7194700b52c3b53a014ad20

Head commit of repository the-anime-team: 99e632bd248efe18047c03bd637ada9928019866

Timestamp of repository torbrowser: Mon, 12 Feb 2024 16:35:46 +0000
Head commit of repository torbrowser: e99b51cd8f02febfbd054dce6f30a80b058d68c7

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p4) 2.41.0
ccache version 4.9.1 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r1::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           2.7.18_p16-r2::gentoo, 3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust:             1.75.0-r1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
dev-util/ccache:           4.9.1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://gitlab.com/evbox/open-source/external/gentoo.git
    priority: -1000
    volatile: False

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

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

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

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

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

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

the-anime-team
    location: /var/db/repos/the-anime-team
    sync-type: git
    sync-uri: https://github.com/an-anime-team/gentoo-ebuilds.git
    masters: gentoo
    volatile: False

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE UFAS free-noncomm MSttfEULA Parsec-EULA BUSL-1.1"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/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="-march=native -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="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirrors.gethosted.online/gentoo https://www.mirrorservice.org/sites/distfiles.gentoo.org/ https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkgs"
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 amr amrenc ao apache2 appindicator appkit bash-completion bluetooth bluray branding brotli browser bs2b bzip2 cairo capi capstone cdda cdio cdr chromaprint chromium cli codec2 context contrib cpudetection crypt cube cups curl dbus declarative dedicated designer dri drm dts dvd dvdr elogind encode exif extra extras fat fdk ffmpeg firmware flac flite fontconfig fortran frei0r fribidi fuse gd gdbm geckodriver gif gimp git gles1 gles2 glusterfs glut gme gmp gnome-keyring gpl gpm gsettings gsm gstreamer gtk gtk2 gui gzip hardcoded-tables hip hwaccel iconv icu iec61883 ieee1394 imagemagick imap ipv6 jack java javafx javascript jemalloc joystick jpeg jpeg2k jpegxl kvazaar ladspa latex layers lcms libaom libaribb24 libass libcaca libdrm libilbc libnotify libplacebo librtmp libsamplerate libsoxr libtesseract libtirpc libv4l libvirt libvirtd libwww libxml2 lm-sensors lua lv2 lxc lz4 lzma lzo mad matroska mmal mng modplug mono mp3 mp4 mpeg mpi mplayer mtp multilib ncurses network network-cron nls notification numpy nvenc obex ogg openal opencl opengl openh264 openmp openssl opus osmesa oss pam pango parted pcre pdf pic pipewire pipewire-alsa plugins png policykit posix postgres postproc ppds pulseaudio python qemu qml qt5 qt6 quick quicktime readline rubberband ruby samba sasl sdl seccomp snappy sndfile sndio sound sound-server speex spell spice split-usr sqlite srt ssh ssl startup-notification suid svg test-rust themes theora threads tiff tk truetype twolame udev udisks unicode upnp upnp-av upower usb usbredir v4l vaapi vdpau vidstab virgl vkd3d vlc vmaf vnc vorbis vpx vulkan vulkan-overlay webchannel webp widgets wxwidgets x264 x265 xattr xcb xcomposite xft xinerama xml xv xvid zeroconf zeromq zimg zink zip zlib zstd zvbi" 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a 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" 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_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm aarch64" QEMU_USER_TARGETS="x86_64 i386 arm aarch64" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeon radeonsi virtio" 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

=================================================================
                        Package Settings
=================================================================

x11-terms/kitty-0.32.1::gentoo was built with the following:
USE="X -test -verify-sig -wayland" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 (-python3_12)"
FEATURES="usersandbox binpkg-multi-instance xattr sandbox assume-digests binpkg-logs unknown-features-warn ipc-sandbox binpkg-dostrip buildpkg-live unmerge-logs userpriv usersync merge-sync parallel-fetch sfperms protect-owned news distlocks userfetch config-protect-if-modified qa-unresolved-soname-deps network-sandbox ebuild-locks multilib-strict preserve-libs pid-sandbox binpkg-docompress fixlafiles strict unmerge-orphans pkgdir-index-trusted"
Comment 1 tacokoneko 2024-02-13 17:50:10 UTC
Created attachment 884876 [details]
/var/tmp/portage/x11-terms/kitty-0.32.1/temp/build.log
Comment 2 tacokoneko 2024-02-13 17:51:56 UTC
Created attachment 884877 [details]
emerge -pqv '=x11-terms/kitty-0.32.1::gentoo'
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-13 17:53:50 UTC
This is likely to be a bug in Go.
Comment 4 Ionen Wolkens gentoo-dev 2024-02-13 18:12:59 UTC
Happens with -g3 too, but only when using gcc (fine with clang from a quick try). -g or -ggdb are fine.

Suppose I could just lower the debug level as a workaround.
Comment 5 Larry the Git Cow gentoo-dev 2024-02-13 18:43:47 UTC
The bug has been closed via the following commit(s):

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

commit 548e73667bcd5682ffb9eea0d78463a5f74edb7c
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-02-13 18:20:00 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-02-13 18:41:21 +0000

    x11-terms/kitty: workaround link failure with Go + gcc + -g(gdb)3
    
    Not interested in pursuing a potential Go bug, so just do a
    workaround. May recheck now and then to see if it's not longer
    needed with toolchain updates.
    
    If this is a widespread issue, it may need visiting in go-env's
    go-env_set_compile_environment instead though.
    
    Not an issue for the non-CGO_CFLAGS bits, so can keep -g3 elsewhere.
    
    Closes: https://bugs.gentoo.org/924436
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-terms/kitty/kitty-0.32.1.ebuild | 12 +++++++++++-
 x11-terms/kitty/kitty-0.32.2.ebuild | 12 +++++++++++-
 x11-terms/kitty/kitty-9999.ebuild   | 12 +++++++++++-
 3 files changed, 33 insertions(+), 3 deletions(-)