Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940655 - media-libs/tg_owt-0_pre20240804-r1 Build fails under LLVM 19, works fine with GCC
Summary: media-libs/tg_owt-0_pre20240804-r1 Build fails under LLVM 19, works fine with...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Esteve Varela Colominas
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-02 16:37 UTC by Pablo Cholaky
Modified: 2024-10-02 19:23 UTC (History)
3 users (show)

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


Attachments
Build fail (build.log.gz,34.09 KB, application/gzip)
2024-10-02 17:22 UTC, Pablo Cholaky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Cholaky 2024-10-02 16:37:08 UTC
This is the error:

[736/1337] /usr/lib/llvm/19/bin/clang++ -DABSL_ALLOCATOR_NOTHROW=1 -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DHAVE_NETINET_IN_H -DHAVE_SCTP -DHAVE_WEBRTC_VIDEO -DNDEBUG -DNO_MAIN_THREAD_WRAPPING -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_H265 -DRTC_ENABLE_VP9 -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_HAVE_DCSCTP -DWEBRTC_HAVE_SCTP -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DWEBRTC_LIBRARY_IMPL -DWEBRTC_LINUX -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1 -DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0 -DWEBRTC_POSIX -DWEBRTC_USE_BUILTIN_ISAC_FLOAT -DWEBRTC_USE_H264 -DWEBRTC_USE_PIPEWIRE -DWEBRTC_USE_X11 -Dtg_owt_EXPORTS -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8_build/gen -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/third_party/pffft/src -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/third_party/libsrtp/include -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/third_party/libsrtp/crypto/include -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/third_party/libsrtp/../libsrtp_config -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/third_party/libyuv/include -isystem /usr/include/gio-unix-2.0 -isystem /usr/lib64/libffi/include -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/libmount -isystem /usr/include/uuid -isystem /usr/include/json-c -isystem /usr/include/blkid -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/libdrm -isystem /usr/include/opus -isystem /usr/include/openh264  -DNDEBUG -march=znver3 -O2 -pipe -std=gnu++20 -fPIC -Wno-deprecated-declarations -Wno-attributes -Wno-narrowing -Wno-return-type -MD -MT CMakeFiles/tg_owt.dir/src/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc.o -MF CMakeFiles/tg_owt.dir/src/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc.o.d -o CMakeFiles/tg_owt.dir/src/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc.o -c /var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc
FAILED: CMakeFiles/tg_owt.dir/src/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc.o 
/usr/lib/llvm/19/bin/clang++ -DABSL_ALLOCATOR_NOTHROW=1 -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DHAVE_NETINET_IN_H -DHAVE_SCTP -DHAVE_WEBRTC_VIDEO -DNDEBUG -DNO_MAIN_THREAD_WRAPPING -DRTC_DISABLE_TRACE_EVENTS -DRTC_ENABLE_H265 -DRTC_ENABLE_VP9 -DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_DUMMY_AUDIO_BUILD -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_HAVE_DCSCTP -DWEBRTC_HAVE_SCTP -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DWEBRTC_LIBRARY_IMPL -DWEBRTC_LINUX -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1 -DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0 -DWEBRTC_POSIX -DWEBRTC_USE_BUILTIN_ISAC_FLOAT -DWEBRTC_USE_H264 -DWEBRTC_USE_PIPEWIRE -DWEBRTC_USE_X11 -Dtg_owt_EXPORTS -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8_build/gen -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/third_party/pffft/src -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/third_party/libsrtp/include -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/third_party/libsrtp/crypto/include -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/third_party/libsrtp/../libsrtp_config -I/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/third_party/libyuv/include -isystem /usr/include/gio-unix-2.0 -isystem /usr/lib64/libffi/include -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/libmount -isystem /usr/include/uuid -isystem /usr/include/json-c -isystem /usr/include/blkid -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/libdrm -isystem /usr/include/opus -isystem /usr/include/openh264  -DNDEBUG -march=znver3 -O2 -pipe -std=gnu++20 -fPIC -Wno-deprecated-declarations -Wno-attributes -Wno-narrowing -Wno-return-type -MD -MT CMakeFiles/tg_owt.dir/src/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc.o -MF CMakeFiles/tg_owt.dir/src/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc.o.d -o CMakeFiles/tg_owt.dir/src/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc.o -c /var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc
/var/tmp/portage/media-libs/tg_owt-0_pre20240804-r1/work/tg_owt-dc17143230b5519f3c1a8da0079e00566bd4c5a8/src/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc:552:10: error: no matching member function for call to 'emplace'
  552 |   config.emplace();
      |   ~~~~~~~^~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/optional:912:2: note: candidate template ignored: requirement 'is_constructible_v<webrtc::LossBasedBweV2::Config>' was not satisfied [with _Args = <>]
  912 |         emplace(_Args&&... __args)
      |         ^
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/optional:924:2: note: candidate function template not viable: requires at least argument '__il', but no arguments were provided
  924 |         emplace(initializer_list<_Up> __il, _Args&&... __args)
      |         ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


Reproducible: Always

Steps to Reproduce:
1. Build
2. Observe
3. Fails
Actual Results:  
Fails

Expected Results:  
Work

Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/systemd, gcc-14, glibc-2.40-r3, 6.11.0-waltercool x86_64)
=================================================================
System uname: Linux-6.11.0-waltercool-x86_64-AMD_Ryzen_7_7840HS_w-_Radeon_780M_Graphics-with-glibc2.40
KiB Mem:    96626768 total,  15550480 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 02 Oct 2024 15:18:56 +0000
Head commit of repository gentoo: e7873b32f5e3e598aac1e062eaf03e2201f4ffcd

Timestamp of repository brave-overlay: Wed, 30 Aug 2023 14:16:44 +0000
Head commit of repository brave-overlay: 6633c093c271deda5b29101a4ed5a611810268e1

Head commit of repository librewolf: 57ad16f105af78a7b2bbd99b70777c17523e9fc3

Timestamp of repository thegreatmcpain: Tue, 01 Oct 2024 20:48:59 +0000
Head commit of repository thegreatmcpain: b2cc8f4dce7b87eecd859f3b647a5f0423cae33f

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p2) 2.43.1
ccache version 4.10.2 [disabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.30.4::gentoo
dev-build/libtool:         2.5.3::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0_rc3::gentoo
dev-lang/rust:             1.81.0::gentoo
dev-util/ccache:           4.10.2::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          256.6::gentoo
sys-devel/binutils:        2.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8::gentoo, 19.1.1::gentoo
sys-devel/gcc:             14.2.1_p20240921::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo, 19.1.1::gentoo
sys-devel/llvm:            18.1.8-r4::gentoo, 19.1.1::gentoo
sys-kernel/linux-headers:  6.10::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r3::gentoo
Repositories:

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

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

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://codeberg.org/librewolf/gentoo.git
    masters: gentoo
    volatile: False

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE MPEG-4 PICO-8"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-march=znver3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf /var/bind"
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"
CXX="clang++"
CXXFLAGS="-march=znver3 -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=znver3 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait 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=znver3 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j14"
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 aac acl activities alsa amd64 amr ao ap apng avif bindist binutils-plugin bluetooth bluray boost boot brightness-control brotli browser bzip2 cairo calf cdio cet clang clippy clone3 colord compositor connection-sharing context contribdnn convert-dict crypt cryptsetup cups curl d3d9 dbus debuginfod declarative designer discover display-manager djvu dolphin dracut drm duktape dvd eap-sim egl eglfs eme-free epub evdev exif fasteap fdk ffmpeg flac flatpak frei0r gdbm gentoo-vm geoclue geolocation gles1 gles2 gnutls gpg gstreamer haptic harfbuzz hash-sysv-compat hevc hip iconv icu inotify inspector io-uring iproute2 iptables ipv6 iwd jack jack-sdk jemalloc jpeg kbd kdesu kipi lame layers libaom libass libatomic libcxx libdrm libei liblc3 libproxy librtmp libsamplerate libtirpc libv4l llvm-libunwind lm-sensors location lock lv2 lvm lz4 lzma lzo mda-lv2 mdnsresponder-compat midi minizip mobi modemmanager modules-compress modules-sign mp3 mp4 mpeg mtp multilib multimedia ncurses network networkmanager nftables nls nss office ogg oidn okular openal opencl opencv openexr opengl openh264 openmp optimisememory optimize-thinlto optimize-webui opus p2p pam pcre pcre32 pdf pdfimport phonon pipewire pkcs11 plasma png policykit positioning postproc ppp printsupport proprietary-codecs pulseaudio qml qrcode qt6-imageformats quick readline resolvconf rust-analyzer rust-src rustfmt samba screencast sdl seccomp sensord sensors share sound-server spellcheck spice sqlite srt ssl svc svg system-bootstrap system-libvpx system-llvm system-openjpeg system-png systemd systemtap taglib test-rust text theora thin thinlto timidity tinywl tpm truetype twolame udev uki unicode usb usb-monitor user-permissions user-session v4l vaapi vdpau vorbis vpx vulkan wayland webchannel webengine webp websockets widgets winbind wow64 x264 x265 xattr xcsecurity xinerama xmalloc xmlpatterns xvfb xvid yubikey zamaudio zeroconf zink zip zlib zram zstd" ABI_X86="64" ADA_TARGET="gcc_12" AMDGPU_TARGETS="gfx1030 gfx1100 gfx1101 gfx1102 gfx1103" 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="sheets words stage" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_12" QEMU_SOFTMMU_TARGETS="i386 x86_64 aarch64" RUBY_TARGETS="ruby33" VIDEO_CARDS="radeonsi amdgpu" 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, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, 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 1 Alfred Wingate 2024-10-02 16:58:43 UTC
So this is media-libs/tg_owt-0_pre20240804-r1? Could you include the build.log file.
Comment 2 Alfred Wingate 2024-10-02 17:01:52 UTC
Looks like its this again https://bugs.gentoo.org/830845
Comment 3 Pablo Cholaky 2024-10-02 17:22:24 UTC
Created attachment 904691 [details]
Build fail

Yes, it is media-libs/tg_owt-0_pre20240804-r1, my bad. I thought had added the title correctly.