Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888639 - media-video/mpv-0.35.0-r1: tests fail on ppc64
Summary: media-video/mpv-0.35.0-r1: tests fail on ppc64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 885397
  Show dependency tree
 
Reported: 2022-12-27 13:31 UTC by Sam James
Modified: 2022-12-30 16:26 UTC (History)
3 users (show)

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


Attachments
build.log (file_888639.txt,564.09 KB, text/plain)
2022-12-27 13:31 UTC, Sam James
Details
mpv-0.35.0-r1:20221230-140518.log.gz (amd64) (mpv-0.35.0-r1:20221230-140518.log.gz,36.69 KB, application/gzip)
2022-12-30 14:09 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-27 13:31:53 UTC
Created attachment 845213 [details]
build.log

-  AVD: name=yuva444p9be chroma=0:0 flags=0x91 [be][planar][alpha]
+  AVD: name=yuva444p9le chroma=0:0 flags=0x90 [planar][alpha]
     0: p=0  st=2  o=0  sh=0  d=9
     1: p=1  st=2  o=0  sh=0  d=9
     2: p=2  st=2  o=0  sh=0  d=9
     3: p=3  st=2  o=0  sh=0  d=9
 yuva444pf: ctype=float
-  Basic desc: [ba][bb][a][yuv][le][float]
+  Basic desc: [ba][bb][a][yuv][be][float]
     planes=4, chroma=0:0 align=1:1
     {32/[0:0] 32/[0:0] 32/[0:0] 32/[0:0] }
     0: 32bits {0:32} {} {} {}
[cplayer] Giving up.
/var/tmp/portage/media-video/mpv-0.35.0-r1/temp/environment: line 1952:    31 Aborted                 (core dumped) "$@"
 * ERROR: media-video/mpv-0.35.0-r1::gentoo failed (test phase):
 *   Failed to run command: /var/tmp/portage/media-video/mpv-0.35.0-r1/work/mpv-0.35.0-build/mpv --no-config -v --unittest=all-simple
 *
 * Call stack:
 *     ebuild.sh, line  122:  Called src_test
 *   environment, line 3735:  Called edo '/var/tmp/portage/media-video/mpv-0.35.0-r1/work/mpv-0.35.0-build/mpv' '--no-config' '-v' '--unittest=all-simple'
 *   environment, line 1954:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "Failed to run command: $@"

----

# emerge --info
Portage 3.0.38.1 (python 3.10.9-final-0, default/linux/ppc64/17.0/systemd, gcc-12, glibc-2.36-r5, 5.15.69-gentoo-dist-hardened ppc64)
=================================================================
System uname: Linux-5.15.69-gentoo-dist-hardened-ppc64-POWER9_-architected-,_altivec_supported-with-glibc2.36
KiB Mem:    32914228 total,  13137504 free
KiB Swap:   67108860 total,  66727592 free
Timestamp of repository gentoo: Tue, 27 Dec 2022 12:48:09 +0000
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.9::gentoo, 3.11.1::gentoo
dev-lang/rust:             1.65.0::gentoo
dev-util/cmake:            3.25.0::gentoo
dev-util/meson:            0.64.0::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          252.1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             10.4.1_p20221110::gentoo, 11.3.1_p20221111::gentoo, 12.2.1_p20221112::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.5::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.0::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="ppc64 ~ppc64"
ACCEPT_LICENSE="*"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=power9 -pipe"
CHOST="powerpc64-unknown-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 /etc/terminfo"
CXXFLAGS="-O2 -mcpu=power9 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --ask-enter-invalid --jobs=8 --load-average 15 --quiet-build"
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 XDG_STATE_HOME"
FCFLAGS="-O2 -mcpu=power9 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -mcpu=power9 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="--jobs=16 --load-average=15"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BZIP2_COMMAND="lbzip2"
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="acl big-endian bzip2 cli crypt dri fortran gdbm ibm iconv ipv6 libglvnd ncurses nls nptl openmp pam pcre ppc64 readline seccomp split-usr ssl systemd test-rust udev unicode xattr zlib" 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" 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" 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="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev mga r128 radeon dummy v4l" 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, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, 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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-27 13:52:18 UTC
ernst, would you mind trying and see if mpv works for real besides the test failure? (Watch a video or two or something)

Many thanks!
Comment 2 Paolo Pedroni 2022-12-30 14:09:29 UTC
Created attachment 845928 [details]
mpv-0.35.0-r1:20221230-140518.log.gz (amd64)
Comment 3 Paolo Pedroni 2022-12-30 14:10:30 UTC
I have a similar failure on amd64 as well:
>>> Test phase: media-video/mpv-0.35.0-r1
 * /var/tmp/portage/media-video/mpv-0.35.0-r1/work/mpv-0.35.0-build/mpv --no-config -v --unittest=all-simple
[cplayer] Command line options: '--no-config' '-v' '--unittest=all-simple'
[cplayer] mpv 0.35.0 Copyright © 2000-2022 mpv/MPlayer/mplayer2 projects
[cplayer]  built on UNKNOWN
[cplayer] FFmpeg library versions:
[cplayer]    libavutil       57.28.100
[cplayer]    libavcodec      59.37.100
[cplayer]    libavformat     59.27.100
[cplayer]    libswscale      6.7.100
[cplayer]    libavfilter     8.44.100
[cplayer]    libswresample   4.7.100
[cplayer] FFmpeg version: 5.1.2
[cplayer] 
[cplayer] Configuration: meson configure build -Dprefix=/usr -Dbuildtype=plain -Doptimization=plain
[cplayer] List of enabled features: alsa av-channel-layout cdda cplayer cplugins dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg gbm gl gl-wayland gl-x11 glibc-thread-name glob glob-posix gpl html-build iconv javascript jpeg jpegxl lcms2 libarchive libass libavdevice libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs luajit manpage-build memfd_create noexecstack openal pipewire plain-gl posix pulse rubberband rubberband-3 shaderc stdatomic tests threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vector vt.h vulkan wayland wayland_protocols_1_24 x11 xv zlib
[cplayer] Setting option 'config' = 'no' (flags = 8)
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Setting option 'unittest' = 'all-simple' (flags = 8)
[cplayer] Testing AVChannelLayout -> mp_chmap conversions
[cplayer] Success: mono -> mono
[cplayer] Success: stereo -> stereo
[cplayer] Success: 2.1 -> 2.1
[cplayer] Success: 3.0 -> 3.0
[cplayer] Success: 3.0(back) -> 3.0(back)
[cplayer] Success: 4.0 -> 4.0
[cplayer] Success: quad -> quad
[cplayer] Success: quad(side) -> quad(side)
[cplayer] Success: 3.1 -> 3.1
[cplayer] Success: 5.0 -> 5.0
[cplayer] Success: 5.0(side) -> 5.0(side)
[cplayer] Success: 4.1 -> 4.1
[cplayer] Success: 5.1 -> 5.1
[cplayer] Success: 5.1(side) -> 5.1(side)
[cplayer] Success: 6.0 -> 6.0
[cplayer] Success: 6.0(front) -> 6.0(front)
[cplayer] Success: hexagonal -> hexagonal
[cplayer] Success: 6.1 -> 6.1
[cplayer] Success: 6.1(back) -> 6.1(back)
[cplayer] Success: 6.1(front) -> 6.1(front)
[cplayer] Success: 7.0 -> 7.0
[cplayer] Success: 7.0(front) -> 7.0(front)
[cplayer] Success: 7.1 -> 7.1
[cplayer] Success: 7.1(wide) -> 7.1(wide)
[cplayer] Success: 7.1(wide-side) -> 7.1(wide-side)
[cplayer] Success: octagonal -> octagonal
[cplayer] Success: hexadecagonal -> fl-fr-fc-bl-br-bc-sl-sr-tfl-tfc-tfr-tbl-tbc-tbr-wl-wr
[cplayer] Success: downmix -> dl-dr
[cplayer] Conversion from '22.2' to mp_chmap failed (channel count was over max, ignoring)!
[cplayer] Testing mp_chmap -> AVChannelLayout conversions
[cplayer] Success: fc (mono) -> mono
[cplayer] Success: fc (1.0) -> mono
[cplayer] Success: fl-fr (stereo) -> stereo
[cplayer] Success: fl-fr (2.0) -> stereo
[cplayer] Success: fl-fr-lfe (2.1) -> 2.1
[cplayer] Success: fl-fr-fc (3.0) -> 3.0
[cplayer] Success: fl-fr-bc (3.0(back)) -> 3.0(back)
[cplayer] Success: fl-fr-fc-bc (4.0) -> 4.0
[cplayer] Success: fl-fr-bl-br (quad) -> quad
[cplayer] Success: fl-fr-sl-sr (quad(side)) -> quad(side)
[cplayer] Success: fl-fr-fc-lfe (3.1) -> 3.1
[cplayer] Success: fl-fr-lfe-bc (3.1(back)) -> 4 channels (FL+FR+LFE+BC)
[cplayer] Success: fl-fr-fc-bl-br (5.0) -> 5.0
[cplayer] Success: fl-fr-bl-br-fc (5.0(alsa)) -> 5 channels
[cplayer] Success: fl-fr-fc-sl-sr (5.0(side)) -> 5.0(side)
[cplayer] Success: fl-fr-fc-lfe-bc (4.1) -> 4.1
[cplayer] Success: fl-fr-bl-br-lfe (4.1(alsa)) -> 5 channels
[cplayer] Success: fl-fr-fc-lfe-bl-br (5.1) -> 5.1
[cplayer] Success: fl-fr-bl-br-fc-lfe (5.1(alsa)) -> 6 channels
[cplayer] Success: fl-fr-fc-lfe-sl-sr (5.1(side)) -> 5.1(side)
[cplayer] Success: fl-fr-fc-bc-sl-sr (6.0) -> 6.0
[cplayer] Success: fl-fr-flc-frc-sl-sr (6.0(front)) -> 6.0(front)
[cplayer] Success: fl-fr-fc-bl-br-bc (hexagonal) -> hexagonal
[cplayer] Success: fl-fr-fc-lfe-bc-sl-sr (6.1) -> 6.1
[cplayer] Success: fl-fr-fc-lfe-bl-br-bc (6.1(back)) -> 6.1(back)
[cplayer] Success: fl-fr-fc-lfe-bl-br-tc (6.1(top)) -> 7 channels (FL+FR+FC+LFE+BL+BR+TC)
[cplayer] Success: fl-fr-lfe-flc-frc-sl-sr (6.1(front)) -> 6.1(front)
[cplayer] Success: fl-fr-fc-bl-br-sl-sr (7.0) -> 7.0
[cplayer] Success: fl-fr-fc-flc-frc-sl-sr (7.0(front)) -> 7.0(front)
[cplayer] Success: fl-fr-fc-bl-br-sdl-sdr (7.0(rear)) -> 7 channels (FL+FR+FC+BL+BR+SDL+SDR)
[cplayer] Success: fl-fr-fc-lfe-bl-br-sl-sr (7.1) -> 7.1
[cplayer] Success: fl-fr-bl-br-fc-lfe-sl-sr (7.1(alsa)) -> 8 channels
[cplayer] Success: fl-fr-fc-lfe-bl-br-flc-frc (7.1(wide)) -> 7.1(wide)
[cplayer] Success: fl-fr-fc-lfe-flc-frc-sl-sr (7.1(wide-side)) -> 7.1(wide-side)
[cplayer] Success: fl-fr-fc-lfe-bl-br-sdl-sdr (7.1(rear)) -> 8 channels (FL+FR+FC+LFE+BL+BR+SDL+SDR)
[cplayer] Success: fl-fr-fc-bl-br-bc-sl-sr (octagonal) -> octagonal
--- test/ref/img_formats.txt    2022-11-12 14:52:40.000000000 +0100
+++ test/out/img_formats.txt    2022-12-30 15:05:44.686577451 +0100
@@ -248,7 +248,7 @@
     planes=1, chroma=0:0 align=1:1
     {8/[0:0] }
     0: 8bits {0:1} {1:2} {3:1} {}
-  AVD: name=bgr4_byte chroma=0:0 flags=0x60 [rgb]
+  AVD: name=bgr4_byte chroma=0:0 flags=0x20 [rgb]
     0: p=0  st=1  o=0  sh=0  d=1
     1: p=0  st=1  o=0  sh=1  d=2
     2: p=0  st=1  o=0  sh=3  d=1
@@ -293,7 +293,7 @@
     planes=1, chroma=0:0 align=1:1
     {8/[0:0] }
     0: 8bits {0:3} {3:3} {6:2} {}
-  AVD: name=bgr8 chroma=0:0 flags=0x60 [rgb]
+  AVD: name=bgr8 chroma=0:0 flags=0x20 [rgb]
     0: p=0  st=1  o=0  sh=0  d=3
     1: p=0  st=1  o=0  sh=3  d=3
     2: p=0  st=1  o=0  sh=6  d=2
@@ -742,7 +742,7 @@
     0: 8bits {0:8} {} {} {}
   Regular: planes=1 compbytes=1 bitpad=0 chroma=1x1 ctype=uint
     0: {1}
-  AVD: name=gray chroma=0:0 flags=0x40
+  AVD: name=gray chroma=0:0 flags=0x0
     0: p=0  st=1  o=0  sh=0  d=8
 gray10: [GENERIC] ctype=uint
   Basic desc: [ba][bb][yuvp][yuv][gray][le][uint]
@@ -1012,6 +1012,98 @@
     0: p=0  st=2  o=0  sh=0  d=16
     1: p=1  st=4  o=0  sh=0  d=16
     2: p=1  st=4  o=2  sh=0  d=16
+p210: [GENERIC] ctype=uint
+  Basic desc: [ba][bb][nv][yuv][le][uint]
+    planes=2, chroma=1:0 align=2:1
+    {16/[0:0] 32/[1:0] }
+    0: 16bits {0:16/6} {} {} {}
+    1: 32bits {} {0:16/6} {16:16/6} {}
+  Regular: planes=2 compbytes=2 bitpad=6 chroma=2x1 ctype=uint
+    0: {1}
+    1: {2, 3}
+  AVD: name=p210le chroma=1:0 flags=0x10 [planar]
+    0: p=0  st=2  o=0  sh=6  d=10
+    1: p=1  st=4  o=0  sh=6  d=10
+    2: p=1  st=4  o=2  sh=6  d=10
+p210be: [GENERIC] ctype=uint
+  Basic desc: [ba][bb][nv][yuv][be][uint]
+    planes=2, chroma=1:0 align=2:1
+    {16/[0:0] 32/[1:0] }
+    0: 16bits endian_bytes=2 {0:16/6} {} {} {}
+    1: 32bits endian_bytes=2 {} {0:16/6} {16:16/6} {}
+  AVD: name=p210be chroma=1:0 flags=0x11 [be][planar]
+    0: p=0  st=2  o=0  sh=6  d=10
+    1: p=1  st=4  o=0  sh=6  d=10
+    2: p=1  st=4  o=2  sh=6  d=10
+p216: [GENERIC] ctype=uint
+  Basic desc: [ba][bb][nv][yuv][le][uint]
+    planes=2, chroma=1:0 align=2:1
+    {16/[0:0] 32/[1:0] }
+    0: 16bits {0:16} {} {} {}
+    1: 32bits {} {0:16} {16:16} {}
+  Regular: planes=2 compbytes=2 bitpad=0 chroma=2x1 ctype=uint
+    0: {1}
+    1: {2, 3}
+  AVD: name=p216le chroma=1:0 flags=0x10 [planar]
+    0: p=0  st=2  o=0  sh=0  d=16
+    1: p=1  st=4  o=0  sh=0  d=16
+    2: p=1  st=4  o=2  sh=0  d=16
+p216be: [GENERIC] ctype=uint
+  Basic desc: [ba][bb][nv][yuv][be][uint]
+    planes=2, chroma=1:0 align=2:1
+    {16/[0:0] 32/[1:0] }
+    0: 16bits endian_bytes=2 {0:16} {} {} {}
+    1: 32bits endian_bytes=2 {} {0:16} {16:16} {}
+  AVD: name=p216be chroma=1:0 flags=0x11 [be][planar]
+    0: p=0  st=2  o=0  sh=0  d=16
+    1: p=1  st=4  o=0  sh=0  d=16
+    2: p=1  st=4  o=2  sh=0  d=16
+p410: [GENERIC] ctype=uint
+  Basic desc: [ba][bb][nv][yuv][le][uint]
+    planes=2, chroma=0:0 align=1:1
+    {16/[0:0] 32/[0:0] }
+    0: 16bits {0:16/6} {} {} {}
+    1: 32bits {} {0:16/6} {16:16/6} {}
+  Regular: planes=2 compbytes=2 bitpad=6 chroma=1x1 ctype=uint
+    0: {1}
+    1: {2, 3}
+  AVD: name=p410le chroma=0:0 flags=0x10 [planar]
+    0: p=0  st=2  o=0  sh=6  d=10
+    1: p=1  st=4  o=0  sh=6  d=10
+    2: p=1  st=4  o=2  sh=6  d=10
+p410be: [GENERIC] ctype=uint
+  Basic desc: [ba][bb][nv][yuv][be][uint]
+    planes=2, chroma=0:0 align=1:1
+    {16/[0:0] 32/[0:0] }
+    0: 16bits endian_bytes=2 {0:16/6} {} {} {}
+    1: 32bits endian_bytes=2 {} {0:16/6} {16:16/6} {}
+  AVD: name=p410be chroma=0:0 flags=0x11 [be][planar]
+    0: p=0  st=2  o=0  sh=6  d=10
+    1: p=1  st=4  o=0  sh=6  d=10
+    2: p=1  st=4  o=2  sh=6  d=10
+p416: [GENERIC] ctype=uint
+  Basic desc: [ba][bb][nv][yuv][le][uint]
+    planes=2, chroma=0:0 align=1:1
+    {16/[0:0] 32/[0:0] }
+    0: 16bits {0:16} {} {} {}
+    1: 32bits {} {0:16} {16:16} {}
+  Regular: planes=2 compbytes=2 bitpad=0 chroma=1x1 ctype=uint
+    0: {1}
+    1: {2, 3}
+  AVD: name=p416le chroma=0:0 flags=0x10 [planar]
+    0: p=0  st=2  o=0  sh=0  d=16
+    1: p=1  st=4  o=0  sh=0  d=16
+    2: p=1  st=4  o=2  sh=0  d=16
+p416be: [GENERIC] ctype=uint
+  Basic desc: [ba][bb][nv][yuv][be][uint]
+    planes=2, chroma=0:0 align=1:1
+    {16/[0:0] 32/[0:0] }
+    0: 16bits endian_bytes=2 {0:16} {} {} {}
+    1: 32bits endian_bytes=2 {} {0:16} {16:16} {}
+  AVD: name=p416be chroma=0:0 flags=0x11 [be][planar]
+    0: p=0  st=2  o=0  sh=0  d=16
+    1: p=1  st=4  o=0  sh=0  d=16
+    2: p=1  st=4  o=2  sh=0  d=16
 pal8: fcsp=rgb ctype=unknown
   Basic desc: [ba][a][rgb][le][be][pal]
     planes=1, chroma=0:0 align=1:1
@@ -1107,7 +1199,7 @@
     planes=1, chroma=0:0 align=1:1
     {8/[0:0] }
     0: 8bits {3:1} {1:2} {0:1} {}
-  AVD: name=rgb4_byte chroma=0:0 flags=0x60 [rgb]
+  AVD: name=rgb4_byte chroma=0:0 flags=0x20 [rgb]
     0: p=0  st=1  o=0  sh=3  d=1
     1: p=0  st=1  o=0  sh=1  d=2
     2: p=0  st=1  o=0  sh=0  d=1
@@ -1152,7 +1244,7 @@
     planes=1, chroma=0:0 align=1:1
     {8/[0:0] }
     0: 8bits {5:3} {2:3} {0:2} {}
-  AVD: name=rgb8 chroma=0:0 flags=0x60 [rgb]
+  AVD: name=rgb8 chroma=0:0 flags=0x20 [rgb]
     0: p=0  st=1  o=0  sh=6  d=2
     1: p=0  st=1  o=0  sh=3  d=3
     2: p=0  st=1  o=0  sh=0  d=3
@@ -1214,17 +1306,7 @@
   Basic desc: [le][be][hw]
     planes=0, chroma=1:1 align=2:2
     {}
-  AVD: name=vaapi_vld chroma=1:1 flags=0x8 [hw]
-vaapi_idct: [GENERIC] ctype=unknown
-  Basic desc: [le][be][hw]
-    planes=0, chroma=1:1 align=2:2
-    {}
-  AVD: name=vaapi_idct chroma=1:1 flags=0x8 [hw]
-vaapi_moco: [GENERIC] ctype=unknown
-  Basic desc: [le][be][hw]
-    planes=0, chroma=1:1 align=2:2
-    {}
-  AVD: name=vaapi_moco chroma=1:1 flags=0x8 [hw]
+  AVD: name=vaapi chroma=1:1 flags=0x8 [hw]
 vdpau: ctype=unknown
   Basic desc: [le][be][hw]
     planes=0, chroma=1:1 align=2:2
@@ -1244,6 +1326,24 @@
     planes=0, chroma=0:0 align=1:1
     {}
   AVD: name=vulkan chroma=0:0 flags=0x8 [hw]
+x2bgr10: [GENERIC] fcsp=rgb ctype=uint
+  Basic desc: [ba][rgb][le][uint]
+    planes=1, chroma=0:0 align=1:1
+    {32/[0:0] }
+    0: 32bits {0:10} {10:10} {20:10} {}
+  AVD: name=x2bgr10le chroma=0:0 flags=0x20 [rgb]
+    0: p=0  st=4  o=0  sh=0  d=10
+    1: p=0  st=4  o=1  sh=2  d=10
+    2: p=0  st=4  o=2  sh=4  d=10
+x2bgr10be: [GENERIC] fcsp=rgb ctype=uint
+  Basic desc: [ba][rgb][be][uint]
+    planes=1, chroma=0:0 align=1:1
+    {32/[0:0] }
+    0: 32bits endian_bytes=4 {0:10} {10:10} {20:10} {}
+  AVD: name=x2bgr10be chroma=0:0 flags=0x21 [be][rgb]
+    0: p=0  st=4  o=2  sh=0  d=10
+    1: p=0  st=4  o=1  sh=2  d=10
+    2: p=0  st=4  o=0  sh=4  d=10
 x2rgb10be: [GENERIC] fcsp=rgb ctype=uint
   Basic desc: [ba][rgb][be][uint]
     planes=1, chroma=0:0 align=1:1
[cplayer] Giving up.
/var/tmp/portage/media-video/mpv-0.35.0-r1/temp/environment: line 1968:    27 Aborted                 (core dumped) "$@"
Comment 4 Ionen Wolkens gentoo-dev 2022-12-30 14:19:17 UTC
(In reply to Paolo Pedroni from comment #3)
> I have a similar failure on amd64 as well:
> >>> Test phase: media-video/mpv-0.35.0-r1
I don't think that's related, possibly failure with ffmpeg-5? (haven't tried)
Comment 5 Ionen Wolkens gentoo-dev 2022-12-30 14:26:51 UTC
(In reply to Ionen Wolkens from comment #4)
> (In reply to Paolo Pedroni from comment #3)
> > I have a similar failure on amd64 as well:
> > >>> Test phase: media-video/mpv-0.35.0-r1
> I don't think that's related, possibly failure with ffmpeg-5? (haven't tried)
Although this make me feel img_formats.txt tests may be overly picky, e.g. small things like flags which sound to me to be entirely non-issues. As upstream says, perhaps it's more aimed at developers than for trying to find regressions.
Comment 6 Ionen Wolkens gentoo-dev 2022-12-30 14:52:26 UTC
(In reply to Ionen Wolkens from comment #4)
> (In reply to Paolo Pedroni from comment #3)
> > I have a similar failure on amd64 as well:
> > >>> Test phase: media-video/mpv-0.35.0-r1
> I don't think that's related, possibly failure with ffmpeg-5? (haven't tried)
Yeah, it is ffmpeg-5 but I know of no actual issues using it -- I'll experiment a bit more and may try to skip a few of these volatile tests to work around both cases.

Confirmation on real hardware would be nice, but I was able to play videos with qemu-system-ppc64 despite reproducing the same test failures, so I "think" that's fine (maybe upstream will have more to say).
Comment 7 ernsteiswuerfel archtester 2022-12-30 14:59:12 UTC
(In reply to Sam James from comment #1)
> ernst, would you mind trying and see if mpv works for real besides the test
> failure? (Watch a video or two or something)
> 
> Many thanks!
Yes, despite the test failure mpv plays videos just fine. Tested 0.34.1-r1 and now 0.35.0-r1 on the Talos II.
Comment 8 Larry the Git Cow gentoo-dev 2022-12-30 16:26:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3750544f26a7427b92b102c1cd2253b2c66cee81

commit 3750544f26a7427b92b102c1cd2253b2c66cee81
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-12-30 15:46:06 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-12-30 16:25:28 +0000

    media-video/mpv: skip img_format and repack_sws test
    
    This seems to be mostly inconsistencies than actual issues.
    Thanks to ernsteiswuerfel for verifying runtime is fine on
    real hardware.
    
    Tried with ppc64 qemu and the other tests don't fail.
    
    Closes: https://bugs.gentoo.org/888639
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-video/mpv/mpv-0.35.0-r1.ebuild | 17 ++++++++++++++++-
 media-video/mpv/mpv-9999.ebuild      | 17 ++++++++++++++++-
 2 files changed, 32 insertions(+), 2 deletions(-)