Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-102645

build errors in multimedia

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.4.0 FF
    • Fix Version/s: 6.4.0 Beta1
    • Component/s: Multimedia
    • Labels:
      None
    • Commits:
      35ebe097ff (qt/tqtc-qtmultimedia/dev) 35ebe097ff (qt/qtmultimedia/6.4) 35ebe097ff (qt/tqtc-qtmultimedia/6.4)

      Description

      FAILED: qtbase/plugins/multimedia/libffmegmediaplugin.so qtmultimedia/src/plugins/multimedia/ffmpeg/QFFmpegMediaPlugin.version /home/rutledge/dev/qt6-dbg/qtmultimedia/src/plugins/multimedia/ffmpeg/QFFmpegMediaPlugin.version 
      cd /home/rutledge/dev/qt6/qtmultimedia/src/plugins/multimedia/ffmpeg && /usr/bin/perl /home/rutledge/dev/qt6/qtbase/mkspecs/features/data/unix/findclasslist.pl < /home/rutledge/dev/qt6-dbg/qtmultimedia/src/plugins/multimedia/ffmpeg/QFFmpegMediaPlugin.version.in > /home/rutledge/dev/qt6-dbg/qtmultimedia/src/plugins/multimedia/ffmpeg/QFFmpegMediaPlugin.version && cd /home/rutledge/dev/qt6-dbg && /usr/bin/c++ -fPIC -g  -Wl,--no-undefined -Wl,--version-script,/home/rutledge/dev/qt6-dbg/qtmultimedia/src/plugins/multimedia/ffmpeg/QFFmpegMediaPlugin.version -Wl,--exclude-libs=libavcodec -Wl,--enable-new-dtags -shared  -o qtbase/plugins/multimedia/libffmegmediaplugin.so qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/QFFmpegMediaPlugin_autogen/mocs_compilation.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegaudiodecoder.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegaudioinput.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegclock.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegdecoder.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpeghwaccel.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegencoderoptions.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegmediametadata.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegmediaplayer.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegvideosink.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegmediaformatinfo.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegmediaintegration.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegvideobuffer.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegimagecapture.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegmediacapturesession.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegmediarecorder.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegencoder.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegthread.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegresampler.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpegvideoframeencoder.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qffmpeghwaccel_vaapi.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/__/pulseaudio/qpulseaudiodevice.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/__/pulseaudio/qaudioengine_pulse.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/__/pulseaudio/qpulseaudiosource.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/__/pulseaudio/qpulseaudiosink.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/__/pulseaudio/qpulsehelpers.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/__/pulseaudio/qpulseaudiomediadevices.cpp.o qtmultimedia/src/plugins/multimedia/ffmpeg/CMakeFiles/QFFmpegMediaPlugin.dir/qv4l2camera.cpp.o  -Wl,-rpath,"\$ORIGIN/../../lib:/home/rutledge/dev/qt6-dbg/qtbase/lib:"  /usr/lib/libEGL.so  /usr/lib/libxkbcommon.so  qtbase/lib/libQt6Multimedia.so.6.4.0  qtbase/lib/libQt6Gui.so.6.4.0  /usr/lib/libGLX.so  /usr/lib/libOpenGL.so  qtbase/lib/libQt6Network.so.6.4.0  qtbase/lib/libQt6Core.so.6.4.0  -lavformat  -lxml2  -lbz2  -lmodplug  -lbluray  -lgmp  -lgnutls  -lsrt  -lssh  /usr/lib/libavformat.so  -lavcodec  -lvpx  -lwebpmux  -lwebp  -llzma  -ldav1d  -lopencore-amrwb  -lrsvg-2  -lgio-2  -lgdk_pixbuf-2  -lgobject-2  -lglib-2  -lcairo  -laom  -lgsm  -lmp3lame  -lopencore-amrnb  -lopenjp2  -lopus  -lrav1e  -lspeex  -lpthread  -ltheoraenc  -ltheoradec  -logg  -lvorbis  -lvorbisenc  -lwebp  -llzma  -ldav1d  -lopencore-amrwb  -lrsvg-2  -lgio-2  -lgdk_pixbuf-2  -lgobject-2  -lglib-2  -lcairo  -laom  -lgsm  -lmp3lame  -lopencore-amrnb  -lopenjp2  -lopus  -lrav1e  -lspeex  -lpthread  -ltheoraenc  -ltheoradec  -logg  -lvorbis  -lvorbisenc  -lz  -lx264  -lx265  -lxvidcore  /usr/lib/libavcodec.so  -lswresample  -lsoxr  /usr/lib/libswresample.so  -lswscale  /usr/lib/libswscale.so  -lavutil  -lva-drm  -lva-x11  -lva  -lvdpau  -lm  -ldrm  -lmfx  -lstdc  /usr/lib/libavutil.so  /usr/lib/libva-drm.so  /usr/lib/libva.so  /usr/lib/libpulse.so  -Wl,-rpath-link,/home/rutledge/dev/qt6-dbg/qtbase/lib && :
      /usr/bin/ld: cannot find -lgio-2: No such file or directory
      /usr/bin/ld: cannot find -lgdk_pixbuf-2: No such file or directory
      /usr/bin/ld: cannot find -lgobject-2: No such file or directory
      /usr/bin/ld: cannot find -lglib-2: No such file or directory
      /usr/bin/ld: cannot find -lgio-2: No such file or directory
      /usr/bin/ld: cannot find -lgdk_pixbuf-2: No such file or directory
      /usr/bin/ld: cannot find -lgobject-2: No such file or directory
      /usr/bin/ld: cannot find -lglib-2: No such file or directory
      /usr/bin/ld: cannot find -lstdc: No such file or directory
      collect2: error: ld returned 1 exit status
      [369/8982] Building CXX object qtmultimedia/src/plugins/multimedia/gstreamer/CMakeFiles/QGstreamerMediaPlugin.dir/common/qgstutils.cpp.o
      FAILED: qtmultimedia/src/plugins/multimedia/gstreamer/CMakeFiles/QGstreamerMediaPlugin.dir/common/qgstutils.cpp.o 
      /usr/bin/c++ -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DQGstreamerMediaPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x070000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_STRICT_QLIST_ITERATORS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/rutledge/dev/qt6-dbg/qtmultimedia/src/plugins/multimedia/gstreamer/QGstreamerMediaPlugin_autogen/include -I/home/rutledge/dev/qt6/qtmultimedia/src/plugins/multimedia/gstreamer -I/home/rutledge/dev/qt6-dbg/qtmultimedia/src/plugins/multimedia/gstreamer -I/home/rutledge/dev/qt6-dbg/qtbase/include -I/home/rutledge/dev/qt6/qtmultimedia/src/plugins/multimedia/gstreamer/audio -I/home/rutledge/dev/qt6/qtmultimedia/src/plugins/multimedia/gstreamer/common -I/home/rutledge/dev/qt6/qtmultimedia/src/plugins/multimedia/gstreamer/mediacapture -I/home/rutledge/dev/qt6/qtmultimedia/src/plugins/multimedia/gstreamer/../pulseaudio -I/home/rutledge/dev/qt6-dbg/qtmultimedia/src/multimedia -I/home/rutledge/dev/qt6-dbg/qtbase/include/QtMultimedia/6.4.0 -I/home/rutledge/dev/qt6-dbg/qtbase/include/QtMultimedia/6.4.0/QtMultimedia -I/home/rutledge/dev/qt6-dbg/qtbase/src/corelib -I/home/rutledge/dev/qt6-dbg/qtbase/include/QtCore/6.4.0 -I/home/rutledge/dev/qt6-dbg/qtbase/include/QtCore/6.4.0/QtCore -I/home/rutledge/dev/qt6-dbg/qtbase/include/QtCore -I/home/rutledge/dev/qt6-dbg/qtbase/mkspecs/linux-g++ -I/home/rutledge/dev/qt6-dbg/qtbase/src/gui -I/home/rutledge/dev/qt6-dbg/qtbase/include/QtGui/6.4.0 -I/home/rutledge/dev/qt6-dbg/qtbase/include/QtGui/6.4.0/QtGui -I/home/rutledge/dev/qt6-dbg/qtbase/include/QtGui -I/home/rutledge/dev/qt6-dbg/qtbase/include/QtMultimedia -I/home/rutledge/dev/qt6-dbg/qtbase/include/QtNetwork -isystem /usr/include/gstreamer-1.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/include/orc-0.4 -isystem /usr/lib/gstreamer-1.0/include -isystem /usr/include/gudev-1.0 -isystem /usr/include/libdrm -g -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -pthread -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -Wno-error=implicit-fallthrough -Wno-error=deprecated-copy -Wno-error=redundant-move -Wno-error=init-list-lifetime -Wno-error=format-overflow -Wno-error=stringop-overflow -Wno-error=deprecated-enum-enum-conversion -Wno-error=deprecated-enum-float-conversion -Wsuggest-override -std=c++17 -MD -MT qtmultimedia/src/plugins/multimedia/gstreamer/CMakeFiles/QGstreamerMediaPlugin.dir/common/qgstutils.cpp.o -MF qtmultimedia/src/plugins/multimedia/gstreamer/CMakeFiles/QGstreamerMediaPlugin.dir/common/qgstutils.cpp.o.d -o qtmultimedia/src/plugins/multimedia/gstreamer/CMakeFiles/QGstreamerMediaPlugin.dir/common/qgstutils.cpp.o -c /home/rutledge/dev/qt6/qtmultimedia/src/plugins/multimedia/gstreamer/common/qgstutils.cpp
      /home/rutledge/dev/qt6/qtmultimedia/src/plugins/multimedia/gstreamer/common/qgstutils.cpp: In member function ‘QVideoFrameFormat QGstCaps::formatForCaps(GstVideoInfo*) const’:
      /home/rutledge/dev/qt6/qtmultimedia/src/plugins/multimedia/gstreamer/common/qgstutils.cpp:275:20: error: enumeration value ‘GST_VIDEO_TRANSFER_BT2020_10’ not handled in switch [-Werror=switch]
        275 |             switch (infoPtr->colorimetry.transfer) {
            |                    ^
      /home/rutledge/dev/qt6/qtmultimedia/src/plugins/multimedia/gstreamer/common/qgstutils.cpp:275:20: error: enumeration value ‘GST_VIDEO_TRANSFER_BT601’ not handled in switch [-Werror=switch]
      

      It's a top-level shadow build with gcc on Arch Linux:

      $ ../qt6/configure -developer-build -debug -no-optimize-debug -no-tslib -no-pch -nomake examples
      $ ninja -k100
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              piotr Piotr Srebrny
              Reporter:
              srutledg Shawn Rutledge
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes