Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925597 - dev-qt/qtmultimedia-6.6.2 - /.../qffmpegmediaplayer.cpp: fatal error: QtConcurrent/QtConcurrent: No such file or directory
Summary: dev-qt/qtmultimedia-6.6.2 - /.../qffmpegmediaplayer.cpp: fatal error: QtConcu...
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-27 09:07 UTC by Toralf Förster
Modified: 2024-02-27 09:30 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.71 KB, text/plain)
2024-02-27 09:07 UTC, Toralf Förster
Details
dev-qt:qtmultimedia-6.6.2:20240227-080818.log.xz (dev-qt:qtmultimedia-6.6.2:20240227-080818.log.xz,11.17 KB, application/x-xz)
2024-02-27 09:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,121.17 KB, text/plain)
2024-02-27 09:08 UTC, Toralf Förster
Details
environment (environment,104.51 KB, text/plain)
2024-02-27 09:08 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-02-27 09:08 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.77 KB, application/x-xz)
2024-02-27 09:08 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,212.72 KB, text/plain)
2024-02-27 09:08 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,35.03 KB, application/x-xz)
2024-02-27 09:08 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-02-27 09:07:55 UTC
too long lines were shrinked:

[243/305] /usr/bin/x86_64-pc-linux-gnu-g++ -DMultimediaWidgets_EXPORTS -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_MULTIMEDIAWIDGETS_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT
[244/305] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0   -Wl,-Bsymbolic-functions -Wl,--no-undefined -Wl,--version-script,/var/tmp/portage/dev-qt/qtmultimedia-6.6.2/work/qtmultimedia-everyw
[245/305] /usr/bin/cmake -E cmake_symlink_library lib64/libQt6MultimediaWidgets.so.6.6.2  lib64/libQt6MultimediaWidgets.so.6 lib64/libQt6MultimediaWidgets.so && :
[246/305] /usr/bin/x86_64-pc-linux-gnu-g++ -DQFFmpegMediaPlugin_EXPORTS -DQT_COMPILING_FFMPEG -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_AS_CONST -DQT_NO_AS_CONST=1
FAILED: src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegmediaplayer.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DQFFmpegMediaPlugin_EXPORTS -DQT_COMPILING_FFMPEG -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_AS_CONST -DQT_NO_AS_CONST=1 -DQT_NO_C
/var/tmp/portage/dev-qt/qtmultimedia-6.6.2/work/qtmultimedia-everywhere-src-6.6.2/src/plugins/multimedia/ffmpeg/qffmpegmediaplayer.cpp:13:10: fatal error: QtConcurrent/QtConcurrent: No such file or directory
   13 | #include <QtConcurrent/QtConcurrent>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20240225-070011

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.75.0
  [2]   rust-1.75.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.0 linux/amd64

  HEAD of ::gentoo
commit a7dbd6b5234597dd50033083ba632f8dcfc67193
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Feb 27 06:48:55 2024 +0000

    2024-02-27 06:48:54 UTC

emerge -qpvO dev-qt/qtmultimedia
[ebuild  NS   ] dev-qt/qtmultimedia-6.6.2 [5.15.12] USE="X%* alsa ffmpeg%* gstreamer opengl%* pulseaudio vulkan%* -eglfs% -qml -test -v4l% -vaapi% (-debug%) (-gles2-only%*) (-openal%) (-widgets%*)"
Comment 1 Toralf Förster gentoo-dev 2024-02-27 09:07:56 UTC
Created attachment 886097 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-27 09:07:57 UTC
Created attachment 886098 [details]
dev-qt:qtmultimedia-6.6.2:20240227-080818.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-02-27 09:08:00 UTC
Created attachment 886099 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-02-27 09:08:01 UTC
Created attachment 886100 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-02-27 09:08:02 UTC
Created attachment 886101 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-27 09:08:03 UTC
Created attachment 886102 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-02-27 09:08:05 UTC
Created attachment 886103 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-02-27 09:08:06 UTC
Created attachment 886104 [details]
temp.tar.xz
Comment 9 Ionen Wolkens gentoo-dev 2024-02-27 09:22:06 UTC
dev-qt/qtbase-6.6.2:6/6.6.2 X ... -concurrent ...

Hm, cmake doesn't look for concurrent nor link with it (thus the oversight), this looks like header-only usage for QtConcurrent::run.

Guess most correct would be to add it to DEPEND-only for USE=ffmpeg.
Comment 10 Ionen Wolkens gentoo-dev 2024-02-27 09:24:43 UTC
(In reply to Ionen Wolkens from comment #9)
> dev-qt/qtbase-6.6.2:6/6.6.2 X ... -concurrent ...
> 
> Hm, cmake doesn't look for concurrent nor link with it (thus the oversight),
> this looks like header-only usage for QtConcurrent::run.
> 
> Guess most correct would be to add it to DEPEND-only for USE=ffmpeg.
Then again, I'm not 100% sure if this code will keep working if USE=concurrent is disabled *after* building (header has bit of logic going on), think I'd rather add it to RDEPEND as this is hardly worth worrying about -- albeit won't bother with a revbump here.
Comment 11 Larry the Git Cow gentoo-dev 2024-02-27 09:30:26 UTC
The bug has been closed via the following commit(s):

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

commit ee93b6f79d93567fd37b309705ed940d39ea0d56
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-02-27 09:27:25 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-02-27 09:30:15 +0000

    dev-qt/qtmultimedia: depend on qtbase[concurrent] with ffmpeg
    
    Intentionally skipping revbump, see bug #925597's comments.
    
    Closes: https://bugs.gentoo.org/925597
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtmultimedia/qtmultimedia-6.6.2.ebuild    | 2 +-
 dev-qt/qtmultimedia/qtmultimedia-6.6.9999.ebuild | 2 +-
 dev-qt/qtmultimedia/qtmultimedia-6.7.9999.ebuild | 2 +-
 dev-qt/qtmultimedia/qtmultimedia-6.9999.ebuild   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)