When media-plugins/live-2021.05.22 is installed, vlc fails to build with this error: access/live555.cpp: In function ‘int SessionsSetup(demux_t*)’: access/live555.cpp:855:63: error: ‘class MediaSubsession’ has no member named ‘connectionEndpointAddress’; did you mean ‘getConnectionEndpointAddress’? 855 | p_sys->b_multicast = IsMulticastAddress( sub->connectionEndpointAddress() ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | getConnectionEndpointAddress If I downgrade to media-plugins/live-2020.05.15, vlc builds successfully. Seems like that method was renamed between those two versions of liveMedia (in MediaSubsession.hh), as live555.cpp in vlc hasn't been touched in 2 years. This bug has been logged on the VLC side at https://code.videolan.org/videolan/vlc/-/issues/25473 (and has been present since at least version 2021.02.11). Full build log of the failure will be attached. Reproducible: Always Steps to Reproduce: emerge -a1v =media-plugins/live-2020.05.22 emerge -a1v =media-video/vlc-3.0.15 Portage 3.0.19 (python 3.9.5-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.1.0, glibc-2.33-r1, 5.12.10-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-5.12.10-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-7700K_CPU_@_4.20GHz-with-glibc2.33 KiB Mem: 65683076 total, 32381328 free KiB Swap: 0 total, 0 free Timestamp of repository dotnet: Wed, 09 Jun 2021 08:35:05 +0000 Head commit of repository dotnet: 2e946503787fc4e7c5edb259c9fc0cedc00af461 Timestamp of repository gitlab: Wed, 09 Jun 2021 17:05:13 +0000 Head commit of repository gitlab: 2eb9a740de8d940c0baf1e80deda0185da39433b Timestamp of repository steam-overlay: Tue, 08 Jun 2021 20:24:47 +0000 Head commit of repository steam-overlay: cd2ed3b6d211462ba4a5cdf68da79bb0e571a31a Timestamp of repository torbrowser: Tue, 08 Jun 2021 20:24:49 +0000 Head commit of repository torbrowser: 80499b6e9d0e0fb3afb8fb8e65d8dbd3775fb46f Timestamp of repository wine: Wed, 09 Jun 2021 03:20:04 +0000 Head commit of repository wine: 65eb80e5943e3fa3e1bfbf08bd65c63895a16b06 Timestamp of repository gentoo: Sun, 13 Jun 2021 20:05:17 +0000 Head commit of repository gentoo: 9eff235111ab5f2c488a18a1e9401a46c0898f73 sh bash 5.1_p8 ld GNU ld (Gentoo 2.36.1 p3) 2.36.1 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_p10::gentoo, 3.8.10_p2::gentoo, 3.9.5_p2::gentoo, 3.10.0_beta2::gentoo dev-lang/rust-bin: 1.52.1::gentoo dev-util/cmake: 3.20.3::gentoo sys-apps/baselayout: 2.7-r3::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-r1::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-r1::gentoo Repositories: dotnet location: /var/db/repos/dotnet sync-type: git sync-uri: https://github.com/gentoo-mirror/dotnet.git masters: gentoo gitlab location: /var/db/repos/gitlab sync-type: git sync-uri: https://github.com/gentoo-mirror/gitlab.git masters: gentoo steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo torbrowser location: /var/db/repos/torbrowser sync-type: git sync-uri: https://github.com/gentoo-mirror/torbrowser.git masters: gentoo wine location: /var/db/repos/wine sync-type: git sync-uri: https://github.com/gentoo-mirror/wine.git masters: gentoo gentoo location: /usr/portage sync-type: git sync-uri: git://github.com/gentoo-mirror/gentoo.git priority: 999 local-overlay location: /etc/portage/local-overlay masters: gentoo priority: 1000 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -mtune=native -pipe -maes -fomit-frame-pointer -fno-stack-protector -freorder-blocks-and-partition -frename-registers -fweb -fgcse-las -fgcse-sm -fgcse-after-reload -fpredictive-commoning -fipa-pta -ftree-loop-ivcanon -ftree-loop-im -fivopts -ftracer -ftree-partial-pre -ftree-loop-distribution -ftree-loop-distribute-patterns -ftree-loop-if-convert -ftree-vectorize " 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 -march=native -mtune=native -pipe -maes -fomit-frame-pointer -fno-stack-protector -freorder-blocks-and-partition -frename-registers -fweb -fgcse-las -fgcse-sm -fgcse-after-reload -fpredictive-commoning -fipa-pta -ftree-loop-ivcanon -ftree-loop-im -fivopts -ftracer -ftree-partial-pre -ftree-loop-distribution -ftree-loop-distribute-patterns -ftree-loop-if-convert -ftree-vectorize " DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--load-average 7.2 --jobs 8" 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 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" LDFLAGS="-Wl,-O1 -Wl,--as-needed" 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 a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fluidsynth fortran gdbm gif gpm gstreamer gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad midi mng mp3 mp4 mpeg multilib ncurses nls nptl nvenc ogg opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis vulkan webp widgets wxwidgets x264 x265 xattr xcb xml xv xvid 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="aes avx avx2 f16c fma3 mmx mmxext 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 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="NVPTX" 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" USERLAND="GNU" VIDEO_CARDS="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, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Created attachment 715785 [details] Failing build log
https://code.videolan.org/videolan/vlc/uploads/3c84ea58d7b94d7a8d354eaffe4b7d55/0001-Get-addr-by-ref.-from-getConnectionEndpointAddress.patch seems to fix the build failure for me.
That patch works for me, also.
*** Bug 797295 has been marked as a duplicate of this bug. ***
The same bug in media-video/vlc-3.0.16
(In reply to John Helmert III from comment #2) > https://code.videolan.org/videolan/vlc/uploads/ > 3c84ea58d7b94d7a8d354eaffe4b7d55/0001-Get-addr-by-ref.-from- > getConnectionEndpointAddress.patch seems to fix the build failure for me. this patch fixes version 3.0.16 build issue add patch file to directory /etc/portage/patches/media-video/vlc-3.0.16/
It worked. Should this patch be in the portage tree with the new version 3.0.16?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8601c25969eb70175e33127baed860cabdda3e7b commit 8601c25969eb70175e33127baed860cabdda3e7b Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2021-06-21 23:59:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-22 18:43:13 +0000 media-video/vlc: revbumps for live api patch Bug: https://bugs.gentoo.org/795798 Signed-off-by: John Helmert III <ajak@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/21376 Signed-off-by: Sam James <sam@gentoo.org> .../files/vlc-3.0.14-fix-live-address-api.patch | 53 +++ media-video/vlc/vlc-3.0.14-r2.ebuild | 514 ++++++++++++++++++++ media-video/vlc/vlc-3.0.16-r2.ebuild | 515 +++++++++++++++++++++ 3 files changed, 1082 insertions(+)
Version restrictions pushed.
This patch is still needed for media-video/vlc-3.0.17.3.