Created attachment 713493 [details] build.log Been trying to figure this one out for a bit now and don't know what's missing. I've rebuilt all packages on system since. Build error: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Telegram/CMakeFiles/Telegram.dir/SourceFiles/window/notifications_manager_default.cpp.o: in function `Window::Notifications::Default::Manager::doSkipAudio() const': notifications_manager_default.cpp:(.text+0x61): undefined reference to `Platform::Notifications::SkipAudioForCustom()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Telegram/CMakeFiles/Telegram.dir/SourceFiles/window/notifications_manager_default.cpp.o: in function `Window::Notifications::Default::Manager::doSkipToast() const': notifications_manager_default.cpp:(.text+0x71): undefined reference to `Platform::Notifications::SkipToastForCustom()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: Telegram/CMakeFiles/Telegram.dir/SourceFiles/window/notifications_manager_default.cpp.o: in function `Window::Notifications::Default::Manager::doSkipFlashBounce() const': notifications_manager_default.cpp:(.text+0x81): undefined reference to `Platform::Notifications::SkipFlashBounceForCustom()' collect2: error: ld returned 1 exit status Emerge info: Portage 3.0.19 (python 3.9.5-final-0, default/linux/amd64/17.1, gcc-11.1.0, glibc-2.33, 5.12.8-ck1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.12.8-ck1-x86_64-Intel-R-_Core-TM-_i7-6820HQ_CPU_@_2.70GHz-with-glibc2.33 KiB Mem: 32244988 total, 10571768 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 03 Jun 2021 18:15:01 +0000 Head commit of repository gentoo: 9dd5e43f2cc3f2ea672c0759c67a4db750029799 Head commit of repository mozilla: b575c385be8fa3dbbc0a34e4c90e093459425a50 Head commit of repository tlp: ced908095a1bafc1af3583efc4a24b39e2ab8c12 sh bash 5.1_p8 ld GNU ld (Gentoo 2.36.1 p3) 2.36.1 distcc 3.4 x86_64-pc-linux-gnu [disabled] ccache version 4.3 [disabled] app-shells/bash: 5.1_p8::gentoo dev-lang/perl: 5.34.0::gentoo dev-lang/python: 2.7.18_p10::gentoo, 3.9.5_p2::gentoo, 3.10.0_beta2::gentoo dev-lang/rust: 1.52.1::gentoo dev-util/ccache: 4.3::gentoo dev-util/cmake: 3.20.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r2::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.36.1-r1::gentoo sys-devel/gcc: 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.namerica.gentoo.org/gentoo-portage/ priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: local location: /usr/local/portage masters: gentoo priority: 0 mozilla location: /var/db/repos/mozilla sync-type: git sync-uri: https://anongit.gentoo.org/git/proj/mozilla.git masters: gentoo tlp location: /usr/portage-overlay/tlp sync-type: git sync-uri: https://github.com/dywisor/tlp-portage.git sync-user: portage masters: gentoo crossdev location: /var/db/repos/localrepo-crossdev masters: gentoo priority: 10 bitcoin location: /var/lib/layman/bitcoin sync-type: laymansync sync-uri: https://gitlab.com/bitcoin/gentoo.git masters: gentoo priority: 50 brother-overlay location: /var/lib/layman/brother-overlay sync-type: laymansync sync-uri: git://github.com/stefan-langenmaier/brother-overlay.git masters: gentoo priority: 50 dlang location: /var/lib/layman/dlang sync-type: laymansync sync-uri: https://github.com/gentoo/dlang.git masters: gentoo priority: 50 pentoo location: /var/lib/layman/pentoo sync-type: laymansync sync-uri: https://github.com/pentoo/pentoo-overlay.git masters: gentoo priority: 50 rage location: /var/lib/layman/rage sync-type: laymansync sync-uri: https://gitlab.com/oxr463/overlay.git masters: gentoo priority: 50 smaeul location: /var/lib/layman/smaeul sync-type: laymansync sync-uri: https://github.com/smaeul/portage-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" 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://distfiles.gentoo.org" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_US en" MAKEOPTS="-j8" 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" USE="X acpi alsa amd64 berkdb bluetooth bzip2 c++0x cli corefonts crypt cuda cups dri egl elogind flac fontconfig gdbm gif gpm iconv icu ipv6 jpeg libglvnd libtirpc mp3 multilib ncurses nls nptl nptlonly ogg opencl opengl openmp pam pch pcre png ppds qt3support qt5 readline seccomp split-usr ssl tcpd threads tiff truetype udisks unicode usb vaapi vdpau vulkan wayland webp wifi xattr xcb xinerama zlib" 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="nmea" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" 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_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby27 ruby30" SANE_BACKENDS="hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hpsj5s" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
I'll look at this properly later, but inmediately I notice a custom patch is being applied. Can you reproduce this without that patch?
Nevermind, I've reproduced this with your USE flag combination.
https://github.com/telegramdesktop/tdesktop/commit/404538c98968d44d207671de3adde91b8df50721 Fix was already upstream, applying locally... Lovely how USE=-dbus seems to keep breaking every single update.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c612239cd9c08b694ba8542b288610c92c3e870a commit c612239cd9c08b694ba8542b288610c92c3e870a Author: Esteve Varela Colominas <esteve.varela@gmail.com> AuthorDate: 2021-06-04 12:45:41 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-06-04 18:43:34 +0000 net-im/telegram-desktop: Fix USE=-dbus No revbump since it wasn't able to build, and this has no single chance of affecting anything *but* USE=-dbus. Closes: https://bugs.gentoo.org/794094 Thanks-to: Joe Kappus <joecool1029@gmail.com> Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> ...desktop-2.7.4-fix-disable-dbus-integration.patch | 21 +++++++++++++++++++++ .../telegram-desktop-2.7.4-r1.ebuild | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-)
It's one of those "community maintained" features that is never tested in upstream builds. If it keeps breaking I think it will be reasonable to remove this flag from ebuild completely, as it's kinda hard to actually build rest of the system without dbus due to big chunk of dependencies pulling it unconditionally.
For some reason I thought it was part of their CI matrix, but I guess it's not. Oh well, currently it's still possible to use Telegram without D-Bus, and there's enough people interested given we get bug reports for it and it tends to be fixed upstream before we notice, so I see no reason to remove it. Might want to test it more often, however...