Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908376 - dev-qt/qtmultimedia-6.5.1 failed in compile - /var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1/src/plugins/multimedia/ffmpeg/qffmpeghwaccel_vaapi.cpp:17:10: fatal error: private/qrhigles2_p.h: No such file or directory
Summary: dev-qt/qtmultimedia-6.5.1 failed in compile - /var/tmp/portage/dev-qt/qtmulti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL: https://ci.dev.gentoo.org:8010/#/buil...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-11 12:47 UTC by Magnus Granberg
Modified: 2023-06-18 21:28 UTC (History)
1 user (show)

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


Attachments
build log (qtmultimedia-6.5.1:20230611-095526.log.xz,12.91 KB, application/x-xz)
2023-06-11 12:52 UTC, Magnus Granberg
Details
emerge info (emerge_info.txt,5.59 KB, text/plain)
2023-06-11 12:52 UTC, Magnus Granberg
Details
emerge log (emerge.log,38.77 KB, text/x-log)
2023-06-11 12:53 UTC, Magnus Granberg
Details
elog log (dev-qt:qtmultimedia-6.5.1:20230611-095755.elog,2.21 KB, text/plain)
2023-06-11 12:53 UTC, Magnus Granberg
Details
random logs (dev-qt_qtmultimedia-6.5.1.98781.logs.tar.xz,19.32 KB, application/x-xz)
2023-06-11 12:54 UTC, Magnus Granberg
Details
world file (world,204 bytes, text/plain)
2023-06-11 12:54 UTC, Magnus Granberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Granberg gentoo-dev 2023-06-11 12:47:26 UTC
* Package:    dev-qt/qtmultimedia-6.5.1:6/6.5
 * Repository: gentoo
 * Maintainer: qt@gentoo.org
 * Upstream:   https://bugreports.qt.io/
 * USE:        abi_x86_64 amd64 elibc_glibc ffmpeg kernel_linux
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking qtmultimedia-everywhere-src-6.5.1.tar.xz to /var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work
>>> Source unpacked in /var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work
>>> Preparing source in /var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1_build"
 * Hardcoded definition(s) removed in src/3rdparty/resonance-audio/CMakeLists.txt:
 *  set(CMAKE_COLOR_MAKEFILE ON)
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1_build"
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1_build"
FAILED: src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpeghwaccel_vaapi.cpp.o 
/var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1/src/plugins/multimedia/ffmpeg/qffmpeghwaccel_vaapi.cpp:17:10: fatal error: private/qrhigles2_p.h: No such file or directory
ninja: build stopped: subcommand failed.
 * ERROR: dev-qt/qtmultimedia-6.5.1::gentoo failed (compile phase):
 *   ninja -v -j14 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2107:  Called cmake_src_compile
 *   environment, line  847:  Called cmake_build
 *   environment, line  816:  Called eninja
 *   environment, line 1271:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-qt/qtmultimedia-6.5.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtmultimedia-6.5.1::gentoo'`.
 * The complete build log is located at '/var/cache/portage/logs/build/dev-qt/qtmultimedia-6.5.1:20230611-095526.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-qt/qtmultimedia-6.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtmultimedia-6.5.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1_build'
 * S: '/var/tmp/portage/dev-qt/qtmultimedia-6.5.1/work/qtmultimedia-everywhere-src-6.5.1'

Reproducible: Always
Comment 1 Magnus Granberg gentoo-dev 2023-06-11 12:50:06 UTC
This was build on a tinderbox that use Buildbot API[1].
We use docker images to build on.
Web: https://ci.dev.gentoo.org:8010/#/
Code: https://gitweb.gentoo.org/proj/tinderbox-cluster.git
Wiki: https://wiki.gentoo.org/wiki/Project:Tinderbox-cluster
How to get more info: https://wiki.gentoo.org/wiki/Project:Tinderbox-cluster/something
IRC: #gentoo-ci on libera
[1] https://buildbot.net/
Comment 2 Magnus Granberg gentoo-dev 2023-06-11 12:52:17 UTC
Created attachment 863707 [details]
build log
Comment 3 Magnus Granberg gentoo-dev 2023-06-11 12:52:45 UTC
Created attachment 863708 [details]
emerge info
Comment 4 Magnus Granberg gentoo-dev 2023-06-11 12:53:16 UTC
Created attachment 863709 [details]
emerge log
Comment 5 Magnus Granberg gentoo-dev 2023-06-11 12:53:42 UTC
Created attachment 863710 [details]
elog log
Comment 6 Magnus Granberg gentoo-dev 2023-06-11 12:54:15 UTC
Created attachment 863711 [details]
random logs
Comment 7 Magnus Granberg gentoo-dev 2023-06-11 12:54:40 UTC
Created attachment 863712 [details]
world file
Comment 8 Magnus Granberg gentoo-dev 2023-06-11 12:59:45 UTC
Was trying to build net-analyzer/nagstamon-3.12.0 Commit: eb495aeff55d4714f34110db9ebd3a9045af380e Repository: git@gitlab.gentoo.org:zorry/gentoo-ci.git
Package info:
[ebuild  N    ] net-analyzer/nagstamon-3.12.0  USE=\"-test\" PYTHON_TARGETS=\"python3_11 -python3_10\" 
Emerge info:
Portage 3.0.48.1 (python 3.12.0-beta-2, default/linux/amd64/17.1, gcc-13, glibc-2.37-r3, 5.4.0-148-generic x86_64)
=================================================================
System uname: Linux-5.4.0-148-generic-x86_64-AMD_Opteron-TM-_Processor_6272-with-glibc2.37
KiB Mem:   264126696 total, 157657784 free
KiB Swap:    8388604 total,   8388592 free
Head commit of repository gentoo: 25151232d442bf339577d2f23c5640bcc3dde443
sh bash 5.2_p15-r3
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r3::gentoo
dev-lang/perl:             5.36.1-r2::gentoo
dev-lang/python:           3.11.4::gentoo, 3.12.0_beta2::gentoo
dev-lang/rust-bin:         1.69.0::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.47.1::gentoo
sys-apps/sandbox:          2.30-r1::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/gcc:             13.1.1_p20230527::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:
gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: git@gitlab.gentoo.org:zorry/gentoo-ci.git
    priority: -1000
    volatile: False
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fno-diagnostics-color -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fno-diagnostics-color -march=native"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--buildpkg=y --rebuild-if-new-rev=y --rebuilt-binaries=y --usepkg=y --binpkg-respect-use=y --binpkg-changed-deps=y --nospinner --color=n --ask=n --quiet-build=y --quiet-fail=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 -fno-diagnostics-color -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -fno-diagnostics-color -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j14"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
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"
USE="X acl amd64 bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test-rust unicode 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" 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" 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_11" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa 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, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SHELL, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 9 Ionen Wolkens gentoo-dev 2023-06-11 13:46:08 UTC
Haven't tried but my bet would be that this needs qtbase[opengl] (disabled here).
Comment 10 tastytea 2023-06-14 09:57:03 UTC
can confirm the error with qtbase[-opengl]. it goes away with qtbase[opengl].
Comment 11 Chiitoo gentoo-dev 2023-06-18 20:29:41 UTC
Yep, looks like it would come from here:

https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/CMakeLists.txt?h=6.5.1#n350
Comment 13 Larry the Git Cow gentoo-dev 2023-06-18 21:28:24 UTC
The bug has been closed via the following commit(s):

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

commit d737dff582c6112aec0c87524177121d59a3b1a7
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2023-06-18 21:12:55 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2023-06-18 21:27:54 +0000

    dev-qt/qtmultimedia: add USE="vaapi" to 6.5.1
    
    Closes: https://bugs.gentoo.org/908376
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>

 dev-qt/qtmultimedia/qtmultimedia-6.5.1-r1.ebuild | 65 ++++++++++++++++++++++++
 1 file changed, 65 insertions(+)