fails to emerge Reproducible: Always Steps to Reproduce: 1. emerge =net-libs/webkit-gtk-2.36.1 Actual Results: Fails to emerge spidey ~ # emerge -pqv '=net-libs/webkit-gtk-2.36.1::gentoo' [ebuild U ] net-libs/webkit-gtk-2.36.1 [2.34.6] USE="X egl examples geolocation gnome-keyring gstreamer introspection jpeg2k jumbo-build lcms libnotify (seccomp) spell (-aqua) -avif -gamepad -gles2-only -gtk-doc -systemd -test -wayland" spidey ~ # emerge --info '=net-libs/webkit-gtk-2.36.1::gentoo' Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1, gcc-11.3.0, glibc-2.34-r13, 5.17.1-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.17.1-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E5-1620_v3_@_3.50GHz-with-glibc2.34 KiB Mem: 16271232 total, 11594736 free KiB Swap: 33554428 total, 33552876 free Timestamp of repository gentoo: Thu, 12 May 2022 17:15:01 +0000 Head commit of repository gentoo: 2c1792550df560e3a04b9332eb7d30a171de4fe4 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 distcc[2863] (dcc_trace_version) distcc 3.4 x86_64-pc-linux-gnu; built Sep 30 2021 04:32:33 [disabled] ccache version 4.5.1 [disabled] app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r9::gentoo dev-lang/python: 2.7.18_p15::gentoo, 3.8.13::gentoo, 3.9.12::gentoo, 3.10.4::gentoo dev-lang/rust: 1.59.0::gentoo dev-util/ccache: 4.5.1::gentoo dev-util/cmake: 3.22.2::gentoo dev-util/meson: 0.61.4-r2::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 11.1.0::gentoo, 12.0.1::gentoo, 13.0.1::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/lld: 13.0.1::gentoo sys-devel/llvm: 11.1.0::gentoo, 12.0.1::gentoo, 13.0.1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.17-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r13::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://backup.rellim.com/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: --exclude ChangeLog* --delete-excluded sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes brother-overlay location: /var/lib/layman/brother-overlay sync-type: laymansync sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=haswell -fcommon" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=haswell -fcommon" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --backtrack=15" 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 buildpkg-live cgroup 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 sfperms splitdebug unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.mirrors.hoobly.com/ rsync://gentoo.gossamerhost.com/gentoo-distfiles/ ftp://mirror.datapipe.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/" LANG="en_US.utf8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1,--hash-style=gnu,--enable-new-dtags" LINGUAS="en en_US" MAKEOPTS="-j2 -l2" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog* --delete-excluded" 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 aacplus aacs aalib acl adns aesicm aften aio alaw alsa amd64 amr ao archive ares aspell avahi avresample avx bash-completion bcmath binfilter blake2 bluray bzip2 cacert cairo calendar caps cdda cgi cgroup cli community corefonts cron crypt cscope cups curl daap dane dav1d dbi dbus dirac dlna dri drm dvb dvbcsa dvben50221 dvd ecwj2k egl elogind enca encode examples exif exit exiv2 extraengine faac faad fdk ffmpeg ffmpegthumbnailer fftw firmware flac fontconfig fontforge foomaticdb fortran fping fpm fpx g722 g729 gbm gcrypt gd gdbm geoip geos gif gimp git glamor glib gml gmp gmplayer gnome-keyring gnuplot gnutls gpg gphoto2 gps gs gsm gtk gtk3 gui hardened harfbuzz hddtemp hdf hdf5 hdri highlight http http2 hwdb iconv icu id3tag ilbc imagemagick imap infinality inifile inotify introspection ipmi iproute2 ipv6 jack java javascript jbig jce jemalloc jpeg jpeg2k json lcms libass libextractor libglvnd liblockfile libnotify libsamplerate libsecret libsoxr libtirpc libxml2 lmdb lto lxc lz4 lzma lzo mad magic managesieve matroska mbox memcached mhash mjpeg mmap mmx mmxext mng mp3 mp4 mpeg mtp multilib mysql ncurses netcdf netlink network nfs nfsv4 nfsv41 nginx nodrm nptl nsplugin offensive ogdi ogg openal openexr opengl openmp openssl openvg opus osmesa pam pango pcap pcntl pcre pdf pdfimport pdo pgo pkcs7 plotutils plugins png policykit postproc ppds printsupport pth pulseaudio python q32 q8 qt4 qt5 rar raw readline realtime rle romio rpc rpz rrl rtmp scanner schroedinger scrypt sctp seccomp server sharedmem slp smi smime smp sndfile snmp sockets spamassassin speex spell sphinx split-usr sqlite sqlite3 sse sse2 sse3 sse4_1 ssh ssl ssse3 stats subtitles svg syslog szip t1lib taglib theora thin-splines threads threadsafe thumbnail tiff tk tokudb tools truetype twolame udev uefi ulaw unbound unicode upcall update_drivedb urandom usb utils v4l2 vaapi vhosts vim-syntax vlc vorbis vorbix vpx wav wavpack webkit webkit2 webp wg-quick widgets wikipedia winbind wmf x264 xattr xcb xface xine xinerama xml xmp xmpp xorg xpm xslt xvfb xvid xz zeroconf zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core 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 socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias http2 proxy proxy_fcgi" APACHE2_MPMS="worker" 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 pclmul 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" L10N="en en-US" 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" NGINX_MODULES_HTTP="auth_pam mp4 access auth_basic autoindex browser charset empty_gif fastcgi geo grpc gzip limit_conn limit_req map memcached mirror proxy referer rewrite scgi split_clients ssi upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_8" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="vesa" VOICEMAIL_STORAGE="file imap" 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: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
``` /var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/WebCore/platform/graphics/gstreamer/AudioTrackPrivateGStreamer.cpp: In member function 'void WebCore::AudioTrackPrivateGStreamer::updateConfigurationFromCaps()': /var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/WebCore/platform/graphics/gstreamer/AudioTrackPrivateGStreamer.cpp:94:28: error: 'gst_codec_utils_caps_get_mime_codec' was not declared in this scope; did you mean 'gst_codec_utils_h265_get_level_idc'? 94 | GUniquePtr<char> codec(gst_codec_utils_caps_get_mime_codec(caps.get())); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | gst_codec_utils_h265_get_level_idc ninja: build stopped: subcommand failed. * ERROR: net-libs/webkit-gtk-2.36.1::gentoo failed (compile phase): * ninja -v -j2 -l2 failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3963: Called cmake_src_compile * environment, line 1738: Called cmake_build * environment, line 1707: Called eninja * environment, line 2233: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-2.36.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-2.36.1::gentoo'`. * The complete build log is located at '/var/log/elog/net-libs:webkit-gtk-2.36.1:20220512-190553.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/webkit-gtk-2.36.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-2.36.1/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build' * S: '/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1' >>> Failed to emerge net-libs/webkit-gtk-2.36.1, Log file: ```
Created attachment 778403 [details] build log build log
gst_codec_utils_caps_get_mime_codec() is available only since gstreamer-1.20 which is not yet stabilized: https://github.com/GStreamer/gst-plugins-base/blob/ce937bcb21412d7b3539a2da0509cc96260562f8/gst-libs/gst/pbutils/codec-utils.c#L2355
(In reply to Tee KOBAYASHI from comment #3) > gst_codec_utils_caps_get_mime_codec() is available only since gstreamer-1.20 > which is not yet stabilized: > > https://github.com/GStreamer/gst-plugins-base/blob/ > ce937bcb21412d7b3539a2da0509cc96260562f8/gst-libs/gst/pbutils/codec-utils. > c#L2355 I don't want to think that hard when emerging. I'm trying now with USE=-gstreamer
(In reply to Gary E. Miller from comment #4) > (In reply to Tee KOBAYASHI from comment #3) > > gst_codec_utils_caps_get_mime_codec() is available only since gstreamer-1.20 > > which is not yet stabilized: > > > > https://github.com/GStreamer/gst-plugins-base/blob/ > > ce937bcb21412d7b3539a2da0509cc96260562f8/gst-libs/gst/pbutils/codec-utils. > > c#L2355 > > I don't want to think that hard when emerging. > > I'm trying now with USE=-gstreamer I think the remark was more for us to fix/change the dependency.
(In reply to Sam James from comment #5) > (In reply to Gary E. Miller from comment #4) > > (In reply to Tee KOBAYASHI from comment #3) > > > gst_codec_utils_caps_get_mime_codec() is available only since gstreamer-1.20 > > > which is not yet stabilized: > > > > > > https://github.com/GStreamer/gst-plugins-base/blob/ > > > ce937bcb21412d7b3539a2da0509cc96260562f8/gst-libs/gst/pbutils/codec-utils. > > > c#L2355 > > > > I don't want to think that hard when emerging. > > > > I'm trying now with USE=-gstreamer > > I think the remark was more for us to fix/change the dependency. Works for me.
I can confirm that USE-gstreamer works.
(In reply to Tee KOBAYASHI from comment #3) > gst_codec_utils_caps_get_mime_codec() is available only since gstreamer-1.20 > which is not yet stabilized: > > https://github.com/GStreamer/gst-plugins-base/blob/ > ce937bcb21412d7b3539a2da0509cc96260562f8/gst-libs/gst/pbutils/codec-utils. > c#L2355 Thank you. I didn't catch this before when testing and stabilizing webkit. Once gstreamer-1.20 is stable I'll update webkit's dependency.
(In reply to Matt Turner from comment #8) > (In reply to Tee KOBAYASHI from comment #3) > > gst_codec_utils_caps_get_mime_codec() is available only since gstreamer-1.20 > > which is not yet stabilized: > > > > https://github.com/GStreamer/gst-plugins-base/blob/ > > ce937bcb21412d7b3539a2da0509cc96260562f8/gst-libs/gst/pbutils/codec-utils. > > c#L2355 > > Thank you. I didn't catch this before when testing and stabilizing webkit. > Once gstreamer-1.20 is stable I'll update webkit's dependency. I have gstreamer 1.20.2 installed, and still get this error. So bumping to 1.20 is not sufficient to fix it.
(In reply to Gary E. Miller from comment #9) > (In reply to Matt Turner from comment #8) > > (In reply to Tee KOBAYASHI from comment #3) > > > gst_codec_utils_caps_get_mime_codec() is available only since gstreamer-1.20 > > > which is not yet stabilized: > > > > > > https://github.com/GStreamer/gst-plugins-base/blob/ > > > ce937bcb21412d7b3539a2da0509cc96260562f8/gst-libs/gst/pbutils/codec-utils. > > > c#L2355 > > > > Thank you. I didn't catch this before when testing and stabilizing webkit. > > Once gstreamer-1.20 is stable I'll update webkit's dependency. > > I have gstreamer 1.20.2 installed, and still get this error. So bumping to > 1.20 is not sufficient to fix it. Thanks. In fact the code is protected by a version check: > #if GST_CHECK_VERSION(1, 20, 0) > GUniquePtr<char> codec(gst_codec_utils_caps_get_mime_codec(caps.get())); > configuration.codec = codec.get(); > #endif So I should still update the dependency, but you're right that this is not the whole story...
(In reply to Matt Turner from comment #10) > So I should still update the dependency, but you're right that this is not > the whole story... AudioTrackPrivateGStreamer.cpp #includes <gst/pbutils/pbutils.h>, which #includes <gst/pbutils/codec-utils.h> which provides the prototype for gst_codec_utils_caps_get_mime_codec(), so the problem isn't clear to me yet.
(In reply to Matt Turner from comment #11) > (In reply to Matt Turner from comment #10) > > So I should still update the dependency, but you're right that this is not > > the whole story... > > AudioTrackPrivateGStreamer.cpp #includes <gst/pbutils/pbutils.h>, which > #includes <gst/pbutils/codec-utils.h> which provides the prototype for > gst_codec_utils_caps_get_mime_codec(), so the problem isn't clear to me yet. Okay, I tried reproducing the failure with gst-1.18.4 and gst-1.20.2 and could not. Can you still reproduce the failure, and if so, could you show the output of `emerge -vp gstreamer gst-plugins-base`?
(In reply to Matt Turner from comment #12) > (In reply to Matt Turner from comment #11) > > (In reply to Matt Turner from comment #10) > > > So I should still update the dependency, but you're right that this is not > > > the whole story... > > > > AudioTrackPrivateGStreamer.cpp #includes <gst/pbutils/pbutils.h>, which > > #includes <gst/pbutils/codec-utils.h> which provides the prototype for > > gst_codec_utils_caps_get_mime_codec(), so the problem isn't clear to me yet. > > Okay, I tried reproducing the failure with gst-1.18.4 and gst-1.20.2 and > could not. > > Can you still reproduce the failure, and if so, could you show the output of > `emerge -vp gstreamer gst-plugins-base`? emerging now, takes a wile. ``` spidey ~ # emerge -vp gstreamer gst-plugins-base These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/gstreamer-1.20.2:1.0::gentoo USE="caps introspection orc -nls -test -unwind" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild R ] media-libs/gst-plugins-base-1.20.2:1.0::gentoo USE="X alsa egl gbm introspection ogg opengl orc pango theora vorbis -gles2 -ivorbis -nls -test -wayland" ABI_X86="(64) -32 (-x32)" 0 KiB Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB ```
(In reply to Matt Turner from comment #12) > (In reply to Matt Turner from comment #11) > > (In reply to Matt Turner from comment #10) > > > So I should still update the dependency, but you're right that this is not > > > the whole story... > > > > AudioTrackPrivateGStreamer.cpp #includes <gst/pbutils/pbutils.h>, which > > #includes <gst/pbutils/codec-utils.h> which provides the prototype for > > gst_codec_utils_caps_get_mime_codec(), so the problem isn't clear to me yet. > > Okay, I tried reproducing the failure with gst-1.18.4 and gst-1.20.2 and > could not. > > Can you still reproduce the failure, and if so, could you show the output of > `emerge -vp gstreamer gst-plugins-base`? Works for me today. Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169adc81f429529590c778c8f923663ae547f7af commit 169adc81f429529590c778c8f923663ae547f7af Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-05-18 16:23:39 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-05-18 16:26:59 +0000 net-libs/webkit-gtk: Version bump to 2.36.2 * Raise gst dependency to >=1.20 (bug #843950) Bug: https://bugs.gentoo.org/845252 Closes: https://bugs.gentoo.org/843950 Signed-off-by: Matt Turner <mattst88@gentoo.org> net-libs/webkit-gtk/Manifest | 1 + net-libs/webkit-gtk/webkit-gtk-2.36.2.ebuild | 250 +++++++++++++++++++++++++++ 2 files changed, 251 insertions(+)