Created attachment 925669 [details] mpv-0.40.0-r1:20250422-125025.log.gz 16/23 mpv:libmpv / libmpv-test-locale.mkv FAIL 0.17s exit status 1 >>> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 LD_LIBRARY_PATH=/var/tmp/portage/media-video/mpv-0.40.0-r1/work/mpv-0.40.0-build/ MALLOC_PERTURB_=156 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 LANG=C MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /var/tmp/portage/media-video/mpv-0.40.0-r1/work/mpv-0.40.0-build/test/samples/libmpv-test-locale.mkv locale.mkv /var/tmp/portage/media-video/mpv-0.40.0-r1/work/mpv-0.40.0-build/test/samples/locale.mkv ✀ Listing only the last 100 lines from a long log. [demux:debug] Trying demuxer: disc (force-level: normal) [demux:debug] Trying demuxer: edl (force-level: normal) [demux:debug] Trying demuxer: cue (force-level: normal) [demux:debug] Trying demuxer: rawaudio (force-level: normal) [demux:debug] Trying demuxer: rawvideo (force-level: normal) [demux:debug] Trying demuxer: mkv (force-level: normal) [mkv:debug] Found the head... [mkv:debug] + a segment... [mkv:debug] Parsing seek head... [mkv:debug] |+ segment information... [mkv:debug] float 2000.000000 [mkv:debug] | + muxing app: Lavf61.7.100 [mkv:debug] | + writing app: Lavf61.7.100 [mkv:debug] | + timecode scale: 1000000 [mkv:debug] | + duration: 2.000s [mkv:debug] | + segment uid 9a 57 c8 f0 5f dd c1 8d 8a b3 62 d8 ef 90 2e 48 [mkv:debug] |+ segment tracks... [mkv:debug] float 44100.000000 [mkv:debug] | + a track... [mkv:debug] | + Track number: 1 [mkv:debug] | + Track type: Video [mkv:debug] | + Video track [mkv:debug] | + Pixel width: 1280 [mkv:debug] | + Pixel height: 720 [mkv:debug] | + ChromaLocation: mpeg2/4/h264 [mkv:debug] | + Levels: limited [mkv:debug] | + Codec ID: V_MPEG4/ISO/AVC [mkv:debug] | + CodecPrivate, length 47 [mkv:debug] | + Language: und [mkv:debug] | + Default flag: 0 [mkv:debug] | + Default duration: 40.000ms ( = 25.000 fps) [mkv:debug] | + a track... [mkv:debug] | + Track number: 2 [mkv:debug] | + Track type: Audio [mkv:debug] | + Audio track [mkv:debug] | + Sampling frequency: 44100.000000 [mkv:debug] | + Bit depth: 16 [mkv:debug] | + Channels: 1 [mkv:debug] | + Codec ID: A_FLAC [mkv:debug] | + CodecPrivate, length 42 [mkv:debug] | + Language: und [mkv:debug] | + Default flag: 0 [mkv:debug] | + a track... [mkv:debug] | + Track number: 3 [mkv:debug] | + Track type: Subtitle [mkv:debug] | + Codec ID: S_TEXT/UTF8 [mkv:debug] | + Language: ger [mkv:debug] | + a track... [mkv:debug] | + Track number: 4 [mkv:debug] | + Track type: Subtitle [mkv:debug] | + Codec ID: S_TEXT/UTF8 [mkv:debug] | + Language: eng [mkv:debug] |+ found cluster [mkv:v] Deferring reading cues. [mkv:v] All headers are parsed! [demux:v] Detected file format: Matroska [cplayer:v] Opening done: /var/tmp/portage/media-video/mpv-0.40.0-r1/work/mpv-0.40.0-build/test/samples/locale.mkv [find_files:v] Loading external files in /var/tmp/portage/media-video/mpv-0.40.0-r1/work/mpv-0.40.0-build/test/samples/ [cplayer:v] Running hook: auto_profiles/on_preloaded [cplayer:v] Failed sending hook command auto_profiles/on_preloaded. Removing hook. [cplayer:v] Running hook: ytdl_hook/on_preloaded [mkv:v] select track 0 [mkv:v] select track 1 [mkv:v] select track 2 [cplayer:info] ● Video --vid=1 (h264 1280x720 25 fps) [cplayer:info] ● Audio --aid=1 (flac 1ch 44100 Hz) [cplayer:info] ● Subs --sid=1 --slang=ger (subrip) [default] [cplayer:info] ○ Subs --sid=2 --slang=eng (subrip) [default] [vd:v] Container reported FPS: 25.000000 [vd:v] Codec list: [vd:v] h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [vd:v] h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper [vd:v] h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration) [vd:v] Opening decoder h264 [vd:v] No hardware decoding requested. [vd:v] Using software decoding. [vd:v] Detected 6 logical cores. [vd:v] Requesting 7 threads for decoding. [ffmpeg/video:debug] h264: Reinit context to 1280x720, pix_fmt: yuv444p [vd:debug] DR parameter change to 1280x738 yuv444p align=64 [vd:debug] Allocating new (host-cached) DR image... [vd:debug] ...failed.. [vd:v] DR failed - disabling. [vd:v] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [vf:v] User filter list: [vf:v] (empty) [ad:v] Codec list: [ad:v] flac - FLAC (Free Lossless Audio Codec) [ad:v] Opening decoder flac [ad:v] Requesting 1 threads for decoding. [ad:v] Selected decoder: flac - FLAC (Free Lossless Audio Codec) [af:v] User filter list: [af:v] (empty) [sub/ass:debug] ASS library version: 0x1701000 (runtime 0x1701000) [sub/ass:v] libass API version: 0x1701000 [sub/ass:v] libass source: tarball: 0.17.1 [sub/ass:v] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 10.4.0 (COMPLEX) [sub/ass:v] Setting up fonts... stderr: String: expected 'eng' but got 'ger'! 17/23 mpv:libmpv / libmpv-test-eng_no_default.mkv OK 0.19s 18/23 mpv:libmpv / libmpv-encode OK 0.24s 19/23 mpv:libmpv / libmpv-test-multilang.mkv OK 0.42s 20/23 mpv:libmpv / libmpv-test-multilang2.mkv OK 0.37s 21/23 mpv:libmpv / libmpv-lifetime OK 1.34s 22/23 mpv:libmpv / libmpv-test-file-loading OK 5.13s 23/23 mpv:libmpv / libmpv-test-lavfi-complex OK 5.14s Summary of Failures: 16/23 mpv:libmpv / libmpv-test-locale.mkv FAIL 0.17s exit status 1 Ok: 22 Expected Fail: 0 Fail: 1 Unexpected Pass: 0 Skipped: 0 Timeout: 0 Full log written to /var/tmp/portage/media-video/mpv-0.40.0-r1/work/mpv-0.40.0-build/meson-logs/testlog.txt * ERROR: media-video/mpv-0.40.0-r1::gentoo failed (test phase) # emerge --info =media-video/mpv-0.40.0-r1 Portage 3.0.67 (python 3.12.10-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.40-r8, 6.12.21-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.12.21-gentoo-x86_64-Intel-R-_Core-TM-_i5-8400_CPU_@_2.80GHz-with-glibc2.40 KiB Mem: 16137360 total, 4901096 free KiB Swap: 16777212 total, 16591340 free Timestamp of repository gentoo: Tue, 22 Apr 2025 11:15:00 +0000 Head commit of repository gentoo: d75640ff844729b646ebe88a4915a06b4b6b7aba sh dash 0.5.12-r1 ld GNU ld (Gentoo 2.44 p1) 2.44.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] 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.72-r1::gentoo dev-build/automake: 1.17-r1::gentoo dev-build/cmake: 3.31.5::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.7.0::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.2::gentoo dev-lang/python: 3.12.10::gentoo, 3.13.3::gentoo dev-lang/rust: 1.85.1::gentoo dev-util/ccache: 4.10.2-r1::gentoo llvm-core/clang: 15.0.7-r3::gentoo, 19.1.7::gentoo llvm-core/lld: 15.0.7::gentoo, 19.1.7::gentoo llvm-core/llvm: 15.0.7-r7::gentoo, 19.1.7::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.40::gentoo sys-apps/systemd: 256.10::gentoo sys-devel/binutils: 2.44::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 14.2.1_p20241221::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r8::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes x-portage location: /usr/local/portage masters: gentoo priority: 0 volatile: True ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" AR="/usr/bin/gcc-ar" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -frecord-gcc-switches -march=skylake -mabm -flto=6 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /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" CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=skylake -mabm -flto=6 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y" 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="-O2 -pipe -frecord-gcc-switches -march=skylake -mabm -flto=6 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live compress-build-logs 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 sign split-elog split-log strict strict-keepdir test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr" FFLAGS="-O2 -pipe -frecord-gcc-switches -march=skylake -mabm -flto=6 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" GENTOO_MIRRORS="https://gentoo.mirror.garr.it/ https://mirrors.evoluso.com/gentoo/ https://ftp.agdsn.de/gentoo https://mirrors.ptisp.pt/gentoo/" LANG="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -Wl,--sort-common" LEX="flex" MAKEOPTS="-j6 -l7" NM="/usr/bin/gcc-nm" 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" RANLIB="/usr/bin/gcc-ranlib" SHELL="/bin/bash" USE="X a52 aac aalib acl acpi activities adns alsa amd64 ao audiofile avif bash-completion bluetooth branding brotli bzip2 cairo caps cdda cddb cdparanoia cdr cet colord crypt css cups curl dbus declarative dga djvu dri dts dvd dvdr encode exif expat fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp gles2 gmp gnutls gphoto2 gpm graphviz gstreamer gtk gui handbook heif http2 iconv icu idn imagemagick imlib introspection ipv6 java javascript jbig jemalloc jpeg jpeg2k jpegxl kde kf6compat kwallet lame lapack lcms libass libnotify libsamplerate libtirpc llvm-libunwind lm-sensors lto lua lz4 lzma lzo mad magic man mhash mmap mng modules-sign mp3 mp4 mpeg multilib musicbrainz ncurses nls offensive ogg openal opencl opengl openmp opus pam pango pcre pdf pipewire plasma png policykit postscript ppds pulseaudio qml qt6 rdesktop readline recode samba screencast sctp sdl seccomp secureboot sndfile sockets sound speex spell sqlite ssl startup-notification svg symlink syslog systemd sysvipc taglib telemetry test test-rust theora threads tidy tiff truetype udev udisks unicode upower usb v4l vaapi vala verify-sig vim-syntax vnc vorbis vulkan wavpack wayland webp widgets win32codecs wmf wxwidgets x264 xattr xcb xft xinerama xml xpm xscreensaver xv xvid yahoo zip zlib zstd" ABI_X86="64" ADA_TARGET="gcc_14" ALSA_CARDS="hda-intel virmidi" 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="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 rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_QUIC="ngtcp2" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it de en de-DE en-GB en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads quadmath" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby33" VIDEO_CARDS="intel i965 iris zink" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= media-video/mpv-0.40.0-r1::gentoo was built with the following: USE="X alsa archive cdda cli drm dvd egl iconv javascript jpeg lcms libmpv lua openal pipewire pulseaudio rubberband uchardet vaapi vulkan wayland xv zlib (-aqua) -bluray (-coreaudio) -debug -dvb -gamepad -jack -libcaca -nvenc -sdl (-selinux) -sixel -sndio -soc -test -tools -vdpau -zimg" ABI_X86="(64)" LUA_SINGLE_TARGET="(luajit) (-lua5-1)" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live compress-build-logs 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 sign split-elog split-log strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr" # emerge -1pqv =media-video/mpv-0.40.0-r1 [ebuild R ] media-video/mpv-0.40.0-r1 USE="X alsa archive cdda cli drm dvd egl iconv javascript jpeg lcms libmpv lua openal pipewire pulseaudio rubberband test* uchardet vaapi vulkan wayland xv zlib (-aqua) -bluray (-coreaudio) -debug -dvb -gamepad -jack -libcaca -nvenc -sdl (-selinux) -sixel -sndio -soc -tools -vdpau -zimg" LUA_SINGLE_TARGET="(luajit) (-lua5-1)" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13"
Created attachment 925670 [details] testlog.txt
Created attachment 925671 [details] LogOfSucceedingTest.txt Running the test on its own, as root, makes it succeed.
I can't reproduce, thought it would be related to the locale but setting the same one changes nothing for me. Don't have a whole lot ideas.
(In reply to Ionen Wolkens from comment #3) > I can't reproduce, thought it would be related to the locale but setting the > same one changes nothing for me. Don't have a whole lot ideas. Me neither: on two of my PCs out of four, it works perfectly. In theory they all have the same locale settings, and I've been searching all day for any difference.
(In reply to Paolo Pedroni from comment #4) > (In reply to Ionen Wolkens from comment #3) > > I can't reproduce, thought it would be related to the locale but setting the > > same one changes nothing for me. Don't have a whole lot ideas. > > Me neither: on two of my PCs out of four, it works perfectly. In theory they > all have the same locale settings, and I've been searching all day for any > difference. I finally managed to emerge it without fault on both failing machines. I had to perform the emerge from a terminal emulator in the local KDE session, it did not work when I tried from an ssh session... Strange thing is that from then on, re-emerging worked even in a remote session. Closing as INVALID, sorry for the bugspam.
I've finally got it! You have to unset the LANGUAGE environment variable to get the test to pass. In my case if tests are run from a console under a DE or from an ssh session, LANGUAGE is set to 'it' and they fail. If I run tests from a virtual console LANGUAGE is not set and tests succeed. I've put it here as a reference for the future.
Thanks, I can reproduce now. Tend to not think about that variable. I'll go ahead and unset it in the ebuild so it doesn't cause problems for others.
(In reply to Ionen Wolkens from comment #7) > Thanks, I can reproduce now. Tend to not think about that variable. Me, neither. > I'll go ahead and unset it in the ebuild so it doesn't cause problems for > others. Great! Thank you.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ea620d747e8b4580fb9f0e20bc8f0d012f93af9 commit 6ea620d747e8b4580fb9f0e20bc8f0d012f93af9 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2025-04-28 14:31:30 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2025-04-28 14:31:44 +0000 media-video/mpv: unset LANGUAGE for tests Closes: https://bugs.gentoo.org/954214 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> media-video/mpv/mpv-0.40.0-r1.ebuild | 2 ++ media-video/mpv/mpv-9999.ebuild | 2 ++ 2 files changed, 4 insertions(+)