I encountered a compilation error when upgrading to a newer version of a package telegram-desktop,and i dont know what to do with this The version of the package I had: net-im/telegram-desktop-2.8.11-r1 The version of the package I wanted to upgrade to: net-im/telegram-desktop-2.8.11-r2 Reproducible: Always Steps to Reproduce: 1.Upgrade telegram-desktop from 2.8.11-r1 to 2.8.11-r2 Actual Results: Compilation throws an error: ERROR: net-im/telegram-desktop-2.8.11-r2::gentoo failed (compile phase): * ninja -v -j7 -l0 failed Expected Results: Compilation success emerge -pqv '=net-im/telegram-desktop-2.8.11-r2::gentoo': [ebuild U ] net-im/telegram-desktop-2.8.11-r2 [2.8.11-r1] USE="X dbus hunspell spell -enchant -gtk -screencast% -wayland -webkit" I have a PipeWire on PulseAudio, maybe this is a problem?
Created attachment 732493 [details] emerge --info
Created attachment 732495 [details] Complete build log
I have also experienced an error with upgrading tot net-im/telegram-desktop-2.8.11-r2: /var/tmp/portage/net-im/telegram-desktop-2.8.11-r2/work/tdesktop-2.8.11-full/Telegram/ThirdParty/tgcalls/tgcalls/desktop_capturer/DesktopCaptureSourceHelper.cpp:290:13: error: ‘class webrtc::DesktopCaptureOptions’ has no member named ‘set_allow_pipewire’ 290 | options.set_allow_pipewire(true); | ^~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. * ERROR: net-im/telegram-desktop-2.8.11-r2::gentoo failed (compile phase): * ninja -v -j1 -l0 failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3032: Called cmake_src_compile * environment, line 1275: Called cmake_build * environment, line 1244: Called eninja * environment, line 1730: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * Changing MAKEOPTS to -j1 does not solve this.
Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/systemd, gcc-10.3.0, glibc-2.33-r1, 5.10.52-gentoo x86_64) ================================================================= System uname: Linux-5.10.52-gentoo-x86_64-Intel-R-_Core-TM-_i5-4430_CPU_@_3.00GHz-with-glibc2.33 KiB Mem: 8077496 total, 2414876 free KiB Swap: 4196348 total, 4196348 free Timestamp of repository gentoo: Thu, 12 Aug 2021 19:00:01 +0000 Head commit of repository gentoo: 99e83b470410eeced368ad8a636b6f72e37dcfc8 sh bash 5.1_p8 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0::gentoo dev-lang/python: 2.7.18_p11::gentoo, 3.8.11::gentoo, 3.9.6_p1::gentoo dev-lang/rust: 1.53.0::gentoo dev-util/cmake: 3.20.5::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/sandbox: 2.24::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.3-r1::gentoo sys-devel/binutils: 2.35.2::gentoo sys-devel/gcc: 10.3.0-r2::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.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r1::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: no sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: x-portage location: /usr/local/portage masters: gentoo priority: 0 ROKO__ location: /var/lib/layman/ROKO__ masters: gentoo priority: 50 ixit location: /var/lib/layman/ixit masters: gentoo priority: 50 jorgicio location: /var/lib/layman/jorgicio masters: gentoo priority: 50 localrepo location: /usr/local/portage masters: gentoo priority: 50 qsx location: /var/lib/layman/qsx masters: gentoo priority: 50 rich0 location: /var/lib/layman/rich0 masters: gentoo priority: 50 spikyatlinux location: /var/lib/layman/spikyatlinux masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" 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/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="-march=native -O2 -pipe" DISTDIR="/var/cache/distfiles" 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="-march=native -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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="-march=native -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" 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 acl alsa amd64 bzip2 cdr cli crypt cups dbus dri dvd fortran gdbm iconv ipv6 jpeg libglvnd libtirpc multilib ncurses nls nptl opengl openmp pam pcre png pulseaudio readline seccomp split-usr ssl systemd tcpd udev unicode usb xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="virtuoso 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="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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="multiboot pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en nl 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="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Created attachment 732525 [details] emerge --info net-im/telegram-desktop-2.8.11-r2
I forgot there was a reason why I'd patched tg_owt to expose that function beyond the ABI breakage it causes when it's not present. Sorry for this, I'll submit a patch as soon as I wake up tomorrow. I really ought to be more careful pushing things to stable... Thanks a lot for the quick report.
Thanks
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e74d5871b7aff2cd35b2fce381aa65b7df39fac commit 1e74d5871b7aff2cd35b2fce381aa65b7df39fac Author: Esteve Varela Colominas <esteve.varela@gmail.com> AuthorDate: 2021-08-13 07:41:55 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-08-13 23:29:50 +0000 net-im/telegram-desktop: Fix building with tg_owt[-screencast] Removed a patch from tg_owt forgetting it actually refused to build without. Upstream's current solution is a patch in telegram-desktop itself. Closes: https://bugs.gentoo.org/807907 Thanks-to: Teun Blok <gomezloper@msn.com> Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/21974 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> ...desktop-2.8.11-fix-build-without-pipewire.patch | 26 ++++++++++++++++++++++ .../telegram-desktop-2.8.11-r2.ebuild | 1 + 2 files changed, 27 insertions(+)