``` $ sudo cat /var/tmp/portage/media-video/v4l2loopback-9999/temp/build.log Password: * Package: media-video/v4l2loopback-9999:0 * Repository: gentoo * Maintainer: titanofold@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux strip * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.15.80-gentoo.jinliming2 * Checking for suitable kernel configuration options ... [ ok ] * Preparing x86_64-pc-linux-gnu toolchain for kernel modules (override with KERNEL_CHOST) ... * Toolchain picked for kernel modules (override with KERNEL_CC, _LD, ...): '/usr/bin/x86_64-pc-linux-gnu-gcc-12' '/usr/bin/x86_64-pc-linux-gnu-g++-12' '/usr/bin/x86_64-pc-linux-gnu-ld.bfd' '/usr/bin/x86_64-pc-linux-gnu-gcc-ar' '/usr/bin/x86_64-pc-linux-gnu-gcc-nm' '/usr/bin/x86_64-pc-linux-gnu-objcopy' '/usr/bin/x86_64-pc-linux-gnu-objdump' '/usr/bin/x86_64-pc-linux-gnu-readelf' '/usr/bin/x86_64-pc-linux-gnu-strip' >>> Unpacking source... * Repository id: umlaeute_v4l2loopback.git * To override fetched repository properties, use: * EGIT_OVERRIDE_REPO_UMLAEUTE_V4L2LOOPBACK * EGIT_OVERRIDE_BRANCH_UMLAEUTE_V4L2LOOPBACK * EGIT_OVERRIDE_COMMIT_UMLAEUTE_V4L2LOOPBACK * EGIT_OVERRIDE_COMMIT_DATE_UMLAEUTE_V4L2LOOPBACK * * Fetching https://github.com/umlaeute/v4l2loopback.git ... git fetch https://github.com/umlaeute/v4l2loopback.git +HEAD:refs/git-r3/HEAD git symbolic-ref refs/git-r3/media-video/v4l2loopback/0/__main__ refs/git-r3/HEAD * Checking out https://github.com/umlaeute/v4l2loopback.git to /var/tmp/portage/media-video/v4l2loopback-9999/work/v4l2loopback-9999 ... git checkout --quiet refs/git-r3/HEAD GIT update --> repository: https://github.com/umlaeute/v4l2loopback.git at the commit: 5bb9bed4e2a34761dc5dc188faec7315ae3930fe >>> Source unpacked in /var/tmp/portage/media-video/v4l2loopback-9999/work >>> Preparing source in /var/tmp/portage/media-video/v4l2loopback-9999/work/v4l2loopback-9999 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-video/v4l2loopback-9999/work/v4l2loopback-9999 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-video/v4l2loopback-9999/work/v4l2loopback-9999 ... * Building v4l2loopback module in /var/tmp/portage/media-video/v4l2loopback-9999/work/v4l2loopback-9999 ... make -j8 -l7 ARCH=x86 V=1 KBUILD_VERBOSE=1 CONFIG_WERROR= CONFIG_MODULE_SIG_ALL= CONFIG_MODULE_COMPRESS_GZIP= CONFIG_MODULE_COMPRESS_XZ= CONFIG_MODULE_COMPRESS_ZSTD= DEPMOD=: STRIP=: CROSS_COMPILE=x86_64-pc-linux-gnu- HOSTCC=x86_64-pc-linux-gnu-gcc HOSTCXX=x86_64-pc-linux-gnu-g++ 'HOSTCFLAGS=-march=native -O2 -pipe' 'HOSTCXXFLAGS=-march=native -O2 -pipe' 'HOSTLDFLAGS=-Wl,-O1 -Wl,--as-needed' HOSTPKG_CONFIG=x86_64-pc-linux-gnu-pkg-config CC=/usr/bin/x86_64-pc-linux-gnu-gcc-12 CXX=/usr/bin/x86_64-pc-linux-gnu-g++-12 LD=/usr/bin/x86_64-pc-linux-gnu-ld.bfd AR=/usr/bin/x86_64-pc-linux-gnu-gcc-ar NM=/usr/bin/x86_64-pc-linux-gnu-gcc-nm OBJCOPY=/usr/bin/x86_64-pc-linux-gnu-objcopy OBJDUMP=/usr/bin/x86_64-pc-linux-gnu-objdump READELF=/usr/bin/x86_64-pc-linux-gnu-readelf v4l2loopback.ko Building v4l2-loopback driver... make -C /lib/modules/5.15.80-gentoo.jinliming2/build M=/var/tmp/portage/media-video/v4l2loopback-9999/work/v4l2loopback-9999 KCPPFLAGS="-DSNAPSHOT_VERSION='"0.12.7-398-g5bb9bed-dirty"'" modules warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Gentoo 11.3.1_p20221209 p3) 11.3.1 20221209 You are using: x86_64-pc-linux-gnu-gcc-12 (Gentoo 12.3.1_p20230526 p2) 12.3.1 20230526 make -f ./scripts/Makefile.build obj=/var/tmp/portage/media-video/v4l2loopback-9999/work/v4l2loopback-9999 \ single-build= \ need-builtin=1 need-modorder=1 sh ./scripts/modules-check.sh /var/tmp/portage/media-video/v4l2loopback-9999/work/v4l2loopback-9999/modules.order make -f ./scripts/Makefile.modpost make -f ./scripts/Makefile.modfinal >>> Source compiled. >>> Test phase [not enabled]: media-video/v4l2loopback-9999 >>> Install media-video/v4l2loopback-9999 into /var/tmp/portage/media-video/v4l2loopback-9999/image * Stripping modules ... * Running /usr/bin/x86_64-pc-linux-gnu-strip --strip-unneeded -- /var/tmp/portage/media-video/v4l2loopback-9999/image/lib/modules/5.15.80-gentoo.jinliming2/video/v4l2loopback.ko ... [ ok ] !!! dosbin: utils/v4l2loopback-ctl does not exist * ERROR: media-video/v4l2loopback-9999::gentoo failed (install phase): * dosbin failed * * If you need support, post the output of `emerge --info '=media-video/v4l2loopback-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/v4l2loopback-9999::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/v4l2loopback-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/v4l2loopback-9999/temp/environment'. * Working directory: '/var/tmp/portage/media-video/v4l2loopback-9999/work/v4l2loopback-9999' * S: '/var/tmp/portage/media-video/v4l2loopback-9999/work/v4l2loopback-9999' * QA Notice: file does not exist: * * dosbin: utils/v4l2loopback-ctl does not exist ``` ``` $ emerge -pqv '=media-video/v4l2loopback-9999::gentoo' [ebuild R ] media-video/v4l2loopback-9999 USE="strip%* -dist-kernel -examples -modules-sign%" ``` ``` $ emerge --info '=media-video/v4l2loopback-9999::gentoo' Portage 3.0.49 (python 3.11.5-final-0, features/merged-usr, gcc-12, glibc-2.37-r3, 5.15.80-gentoo.jinliming2 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.15.80-gentoo.jinliming2-x86_64-AMD_Ryzen_7_3750H_with_Radeon_Vega_Mobile_Gfx-with-glibc2.37 KiB Mem: 15283492 total, 9720360 free KiB Swap: 16777212 total, 16777212 free Timestamp of repository gentoo: Fri, 15 Sep 2023 17:30:01 +0000 Head commit of repository gentoo: d0a29c62f86292ea8c2126409758e51747a6794b Timestamp of repository gentoo-zh: Fri, 15 Sep 2023 16:01:36 +0000 Head commit of repository gentoo-zh: 46a1332b9af461e4dba7046225d7d96f5253e7d3 sh bash 5.2_p15-r6 ld GNU ld (Gentoo 2.40 p5) 2.40.0 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.2_p15-r6::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.38.0-r1::gentoo dev-lang/python: 3.11.5::gentoo, 3.12.0_rc2_p1-r1::gentoo dev-lang/rust-bin: 1.71.1::gentoo dev-util/cmake: 3.26.5-r2::gentoo dev-util/meson: 1.1.1::gentoo sys-apps/baselayout: 2.14::gentoo sys-apps/sandbox: 2.37::gentoo sys-apps/systemd: 253.6::gentoo sys-devel/autoconf: 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 16.0.6::gentoo sys-devel/gcc: 12.3.1_p20230526::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 16.0.6::gentoo sys-devel/llvm: 16.0.6::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: gentoo-zh location: /var/db/repos/gentoo-zh sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git masters: gentoo volatile: False local location: /var/db/repos/local masters: gentoo volatile: False Installed sets: @virtualbox-supports 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/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" CXXFLAGS="-march=native -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=native -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 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_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j8 -l7" 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 acl alsa amd64 bzip2 cjk cli crypt dbus dri fortran gdbm gnome-keyring ibus iconv ipv6 libtirpc ncurses nftables nls nptl opencl opengl openmp pam pcre pulseaudio readline seccomp ssl systemd test-rust truetype udev unicode wayland xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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 sha sse3 sse4_1 sse4_2 sse4a 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-GB zh-CN zh-TW" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi" 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, 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, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= media-video/v4l2loopback-9999::gentoo was built with the following: USE="userland_GNU -dist-kernel -examples" ```
Pull request submitted https://github.com/gentoo/gentoo/pull/35792
I can confirm this issue and that pull request 35792 fixes the build for v13.1 I'm now able to stream a virtual camera again in obs studio having this patch in place.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bdf7713ca76703178f2bdbe84ea945b9aec9d63 commit 9bdf7713ca76703178f2bdbe84ea945b9aec9d63 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-23 06:33:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-23 06:33:03 +0000 media-video/v4l2loopback: add 0.13.1 Closes: https://bugs.gentoo.org/914291 Closes: https://bugs.gentoo.org/926831 Signed-off-by: Sam James <sam@gentoo.org> media-video/v4l2loopback/Manifest | 1 + .../v4l2loopback/v4l2loopback-0.13.1.ebuild | 62 ++++++++++++++++++++++ media-video/v4l2loopback/v4l2loopback-9999.ebuild | 5 +- 3 files changed, 67 insertions(+), 1 deletion(-)