Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gstreamer] update to 1.24.1 #37392

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

vipcxj
Copy link
Contributor

@vipcxj vipcxj commented Mar 12, 2024

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

I was going to change the dependency version of vcpkg-tool-meson to "version>=": 1.1.0, but found that vcpkg wouldn't find an available version of meson as a result, even though the latest meson is 1.3.2

@vipcxj vipcxj marked this pull request as draft March 12, 2024 15:32
- subproject('win-nasm')
-elif build_system == 'darwin'
- subproject('macos-bison-binary')
-if get_option('build-tools-source') == 'subproject'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using meson option build-tools-source=system perhaps take effect as well,But I'm not sure what the side effects would be

@WangWeiLin-MV WangWeiLin-MV added the category:port-update The issue is with a library, which is requesting update new revision label Mar 13, 2024
@vipcxj vipcxj force-pushed the gstreamer-1.24.0 branch 3 times, most recently from 9c4c44c to f470a07 Compare March 16, 2024 18:37
@vipcxj
Copy link
Contributor Author

vipcxj commented Mar 18, 2024

@WangWeiLin-MV I have tested on ubuntu with triplit x64-linux, unable to find the error the ci-server report. I have no ios device, so can't test on it.

  "dependencies": [
    {
      "name": "gstreamer",
      "features": ["plugins-good", "nvcodec"]
    },
    "qtinterfaceframework"
  ]

@vipcxj vipcxj force-pushed the gstreamer-1.24.0 branch 3 times, most recently from 1da5bbf to 9d0e982 Compare March 28, 2024 02:58
@vipcxj vipcxj changed the title [gstreamer] update to 1.24.0 [gstreamer] update to 1.24.1 Mar 28, 2024
@gerard-ryan-immersaview
Copy link
Contributor

What's left to get this through?
Is there anything I could potentially do to help?

@vipcxj
Copy link
Contributor Author

vipcxj commented May 13, 2024

What's left to get this through? Is there anything I could potentially do to help?

ci said qtframework incompatible with gstreamer 1.24 with full-static-compile. But I have tried it in my linux computer, it works.

@gerard-ryan-immersaview
Copy link
Contributor

gerard-ryan-immersaview commented May 13, 2024

looks like this is the relevant excerpt from the logs

FAILED: bin/ifmedia-simulation-server 
: && /usr/bin/c++ -fPIC -g -Wl,--gc-sections -Wl,--enable-new-dtags -fPIE -pie src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/ifmedia-simulation-server_autogen/mocs_compilation.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/logging.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/mediadiscoverybackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/mediaindexerbackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/mediaplayerbackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/searchandbrowsebackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/usbbrowsebackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/usbdevice.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/core.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/main.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/qifmediadiscoveryqtroadapter.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/qifmediaindexerqtroadapter.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/qifmediaplayerqtroadapter.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/qiffilterandbrowsemodelqtroadapter.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/moc_rep_qifmediaindexer_source.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/moc_rep_qifmediaplayer_source.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/moc_rep_qifmediadiscoverymodel_source.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/moc_rep_qiffilterandbrowsemodel_source.cpp.o -o bin/ifmedia-simulation-server  src/interfaceframework/CMakeFiles/InterfaceFramework_resources_1.dir/./.rcc/qrc_qmake_QtInterfaceFramework.cpp.o  src/ifmedia/CMakeFiles/IfMedia_resources_1.dir/./.rcc/qrc_qmake_QtInterfaceFramework_Media.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/qml/QtQml/Base/objects-Debug/Qml_resources_1/.rcc/qrc_qmake_QtQml_Base.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Qml_resources_2/.rcc/qrc_qmlMetaQmldir.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Multimedia_resources_1/.rcc/qrc_qtmultimedia_shaders.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Multimedia_resources_2/.rcc/qrc_qtmultimedia_shaders_linear.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Multimedia_resources_3/.rcc/qrc_qtmultimedia_shaders_gl_macos.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Multimedia_resources_4/.rcc/qrc_qtmultimedia_shaders_gl_macos_linear.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QDebugMessageServiceFactoryPlugin_init/QDebugMessageServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QLocalClientConnectionFactoryPlugin_init/QLocalClientConnectionFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlDebugServerFactoryPlugin_init/QQmlDebugServerFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlDebuggerServiceFactoryPlugin_init/QQmlDebuggerServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlInspectorServiceFactoryPlugin_init/QQmlInspectorServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlNativeDebugConnectorFactoryPlugin_init/QQmlNativeDebugConnectorFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlNativeDebugServiceFactoryPlugin_init/QQmlNativeDebugServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlPreviewServiceFactoryPlugin_init/QQmlPreviewServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlProfilerServiceFactoryPlugin_init/QQmlProfilerServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQuickProfilerAdapterFactoryPlugin_init/QQuickProfilerAdapterFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QTcpServerConnectionFactoryPlugin_init/QTcpServerConnectionFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/multimedia/objects-Debug/QGstreamerMediaPlugin_init/QGstreamerMediaPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Gui_resources_1/.rcc/qrc_qpdf.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Gui_resources_2/.rcc/qrc_gui_shaders.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/qml/QtQuick/objects-Debug/Quick_resources_1/.rcc/qrc_qmake_QtQuick.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Quick_resources_2/.rcc/qrc_scenegraph_shaders.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/qml/QtQml/Models/objects-Debug/QmlModels_resources_1/.rcc/qrc_qmake_QtQml_Models.cpp.o  lib/libQt6InterfaceFramework.a  lib/libQt6IfMedia.a  lib/libQt6IfRemoteObjectsHelper.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Core.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Multimedia.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/multimedia/libgstreamermediaplugin.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Multimedia.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/multimedia/libgstreamermediaplugin.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Multimedia.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/multimedia/libgstreamermediaplugin.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstpbutils-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstaudio-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgsttag-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstvideo-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstallocators-1.0.a  /usr/lib/x86_64-linux-gnu/libdrm.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libglib-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgthread-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgmodule-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstapp-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstbase-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstreamer-1.0.a  /usr/lib/x86_64-linux-gnu/libdl.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgobject-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libffi.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgmodule-2.0.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpcre2-8.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Sql.a  lib/libQt6InterfaceFramework.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6RemoteObjects.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Qml.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_messages.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_local.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_server.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_debugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_inspector.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_native.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_nativedebugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_preview.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_profiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_quickprofiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_tcp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Quick.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6QmlModels.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Qml.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_messages.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_local.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_server.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_debugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_inspector.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_native.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_nativedebugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_preview.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_profiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_quickprofiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_tcp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Quick.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6QmlModels.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Qml.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_messages.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_local.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_server.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_debugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_inspector.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_native.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_nativedebugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_preview.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_profiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_quickprofiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_tcp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Quick.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6QmlModels.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6PacketProtocol.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Network.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlidec.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlicommon.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libssl.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libcrypto.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6OpenGL.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Gui.a  /usr/lib/x86_64-linux-gnu/libGLX.so  /usr/lib/x86_64-linux-gnu/libOpenGL.so  /usr/lib/x86_64-linux-gnu/libEGL.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libharfbuzz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libglib-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfontconfig.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfreetyped.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlidec.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlicommon.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libexpat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libuuid.a  /usr/lib/x86_64-linux-gnu/libX11.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6DBus.a  /usr/lib/x86_64-linux-gnu/libxkbcommon.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Core.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libdouble-conversion.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libb2.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libicui18n.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libicuuc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libicudata.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpcre2-16.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libzstd.a  -ldl  /usr/lib/x86_64-linux-gnu/librt.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtag.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a && :
/usr/bin/ld: /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstreamer-1.0.a(gst.c.o): in function `init_static_plugins':
/mnt/vcpkg-ci/b/gstreamer/x64-linux-dbg/../src/1.24.0-f19d297e0a.clean/subprojects/gstreamer/gst/gst.c:626: undefined reference to `gst_init_static_plugins'
collect2: error: ld returned 1 exit status

https://dev.azure.com/vcpkg/public/_build/results?buildId=101934&view=artifacts&pathAsName=false&type=publishedArtifacts

@vipcxj
Copy link
Contributor Author

vipcxj commented May 13, 2024

looks like this is the relevant excerpt from the logs

FAILED: bin/ifmedia-simulation-server 
: && /usr/bin/c++ -fPIC -g -Wl,--gc-sections -Wl,--enable-new-dtags -fPIE -pie src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/ifmedia-simulation-server_autogen/mocs_compilation.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/logging.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/mediadiscoverybackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/mediaindexerbackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/mediaplayerbackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/searchandbrowsebackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/usbbrowsebackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/usbdevice.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/core.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/main.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/qifmediadiscoveryqtroadapter.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/qifmediaindexerqtroadapter.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/qifmediaplayerqtroadapter.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/qiffilterandbrowsemodelqtroadapter.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/moc_rep_qifmediaindexer_source.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/moc_rep_qifmediaplayer_source.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/moc_rep_qifmediadiscoverymodel_source.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/moc_rep_qiffilterandbrowsemodel_source.cpp.o -o bin/ifmedia-simulation-server  src/interfaceframework/CMakeFiles/InterfaceFramework_resources_1.dir/./.rcc/qrc_qmake_QtInterfaceFramework.cpp.o  src/ifmedia/CMakeFiles/IfMedia_resources_1.dir/./.rcc/qrc_qmake_QtInterfaceFramework_Media.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/qml/QtQml/Base/objects-Debug/Qml_resources_1/.rcc/qrc_qmake_QtQml_Base.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Qml_resources_2/.rcc/qrc_qmlMetaQmldir.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Multimedia_resources_1/.rcc/qrc_qtmultimedia_shaders.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Multimedia_resources_2/.rcc/qrc_qtmultimedia_shaders_linear.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Multimedia_resources_3/.rcc/qrc_qtmultimedia_shaders_gl_macos.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Multimedia_resources_4/.rcc/qrc_qtmultimedia_shaders_gl_macos_linear.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QDebugMessageServiceFactoryPlugin_init/QDebugMessageServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QLocalClientConnectionFactoryPlugin_init/QLocalClientConnectionFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlDebugServerFactoryPlugin_init/QQmlDebugServerFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlDebuggerServiceFactoryPlugin_init/QQmlDebuggerServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlInspectorServiceFactoryPlugin_init/QQmlInspectorServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlNativeDebugConnectorFactoryPlugin_init/QQmlNativeDebugConnectorFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlNativeDebugServiceFactoryPlugin_init/QQmlNativeDebugServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlPreviewServiceFactoryPlugin_init/QQmlPreviewServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlProfilerServiceFactoryPlugin_init/QQmlProfilerServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQuickProfilerAdapterFactoryPlugin_init/QQuickProfilerAdapterFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QTcpServerConnectionFactoryPlugin_init/QTcpServerConnectionFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/multimedia/objects-Debug/QGstreamerMediaPlugin_init/QGstreamerMediaPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Gui_resources_1/.rcc/qrc_qpdf.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Gui_resources_2/.rcc/qrc_gui_shaders.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/qml/QtQuick/objects-Debug/Quick_resources_1/.rcc/qrc_qmake_QtQuick.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Quick_resources_2/.rcc/qrc_scenegraph_shaders.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/qml/QtQml/Models/objects-Debug/QmlModels_resources_1/.rcc/qrc_qmake_QtQml_Models.cpp.o  lib/libQt6InterfaceFramework.a  lib/libQt6IfMedia.a  lib/libQt6IfRemoteObjectsHelper.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Core.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Multimedia.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/multimedia/libgstreamermediaplugin.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Multimedia.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/multimedia/libgstreamermediaplugin.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Multimedia.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/multimedia/libgstreamermediaplugin.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstpbutils-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstaudio-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgsttag-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstvideo-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstallocators-1.0.a  /usr/lib/x86_64-linux-gnu/libdrm.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libglib-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgthread-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgmodule-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstapp-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstbase-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstreamer-1.0.a  /usr/lib/x86_64-linux-gnu/libdl.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgobject-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libffi.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgmodule-2.0.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpcre2-8.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Sql.a  lib/libQt6InterfaceFramework.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6RemoteObjects.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Qml.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_messages.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_local.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_server.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_debugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_inspector.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_native.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_nativedebugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_preview.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_profiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_quickprofiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_tcp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Quick.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6QmlModels.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Qml.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_messages.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_local.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_server.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_debugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_inspector.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_native.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_nativedebugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_preview.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_profiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_quickprofiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_tcp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Quick.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6QmlModels.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Qml.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_messages.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_local.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_server.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_debugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_inspector.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_native.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_nativedebugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_preview.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_profiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_quickprofiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_tcp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Quick.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6QmlModels.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6PacketProtocol.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Network.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlidec.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlicommon.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libssl.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libcrypto.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6OpenGL.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Gui.a  /usr/lib/x86_64-linux-gnu/libGLX.so  /usr/lib/x86_64-linux-gnu/libOpenGL.so  /usr/lib/x86_64-linux-gnu/libEGL.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libharfbuzz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libglib-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfontconfig.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfreetyped.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlidec.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlicommon.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libexpat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libuuid.a  /usr/lib/x86_64-linux-gnu/libX11.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6DBus.a  /usr/lib/x86_64-linux-gnu/libxkbcommon.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Core.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libdouble-conversion.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libb2.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libicui18n.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libicuuc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libicudata.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpcre2-16.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libzstd.a  -ldl  /usr/lib/x86_64-linux-gnu/librt.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtag.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a && :
/usr/bin/ld: /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstreamer-1.0.a(gst.c.o): in function `init_static_plugins':
/mnt/vcpkg-ci/b/gstreamer/x64-linux-dbg/../src/1.24.0-f19d297e0a.clean/subprojects/gstreamer/gst/gst.c:626: undefined reference to `gst_init_static_plugins'
collect2: error: ld returned 1 exit status

https://dev.azure.com/vcpkg/public/_build/results?buildId=101934&view=artifacts&pathAsName=false&type=publishedArtifacts

I know it. I have check the ci log. But I can not reproduce this error in my linux computer, so I don't know how to fix it. Currently I use gstreamer 1.24.1 by overlay port.

@gerard-ryan-immersaview
Copy link
Contributor

gerard-ryan-immersaview commented May 13, 2024

Since it's a linking issue, it might be hidden by an OS installed GStreamer version, I couldn't reproduce either but I'll try in a container.

looks like this is the relevant excerpt from the logs

FAILED: bin/ifmedia-simulation-server 
: && /usr/bin/c++ -fPIC -g -Wl,--gc-sections -Wl,--enable-new-dtags -fPIE -pie src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/ifmedia-simulation-server_autogen/mocs_compilation.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/logging.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/mediadiscoverybackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/mediaindexerbackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/mediaplayerbackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/searchandbrowsebackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/usbbrowsebackend.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/__/__/plugins/ifmedia/media_simulator/usbdevice.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/core.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/main.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/qifmediadiscoveryqtroadapter.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/qifmediaindexerqtroadapter.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/qifmediaplayerqtroadapter.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/qiffilterandbrowsemodelqtroadapter.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/moc_rep_qifmediaindexer_source.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/moc_rep_qifmediaplayer_source.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/moc_rep_qifmediadiscoverymodel_source.cpp.o src/tools/media-simulation-server/CMakeFiles/ifmedia-simulation-server.dir/moc_rep_qiffilterandbrowsemodel_source.cpp.o -o bin/ifmedia-simulation-server  src/interfaceframework/CMakeFiles/InterfaceFramework_resources_1.dir/./.rcc/qrc_qmake_QtInterfaceFramework.cpp.o  src/ifmedia/CMakeFiles/IfMedia_resources_1.dir/./.rcc/qrc_qmake_QtInterfaceFramework_Media.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/qml/QtQml/Base/objects-Debug/Qml_resources_1/.rcc/qrc_qmake_QtQml_Base.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Qml_resources_2/.rcc/qrc_qmlMetaQmldir.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Multimedia_resources_1/.rcc/qrc_qtmultimedia_shaders.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Multimedia_resources_2/.rcc/qrc_qtmultimedia_shaders_linear.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Multimedia_resources_3/.rcc/qrc_qtmultimedia_shaders_gl_macos.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Multimedia_resources_4/.rcc/qrc_qtmultimedia_shaders_gl_macos_linear.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QDebugMessageServiceFactoryPlugin_init/QDebugMessageServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QLocalClientConnectionFactoryPlugin_init/QLocalClientConnectionFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlDebugServerFactoryPlugin_init/QQmlDebugServerFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlDebuggerServiceFactoryPlugin_init/QQmlDebuggerServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlInspectorServiceFactoryPlugin_init/QQmlInspectorServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlNativeDebugConnectorFactoryPlugin_init/QQmlNativeDebugConnectorFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlNativeDebugServiceFactoryPlugin_init/QQmlNativeDebugServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlPreviewServiceFactoryPlugin_init/QQmlPreviewServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQmlProfilerServiceFactoryPlugin_init/QQmlProfilerServiceFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QQuickProfilerAdapterFactoryPlugin_init/QQuickProfilerAdapterFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/objects-Debug/QTcpServerConnectionFactoryPlugin_init/QTcpServerConnectionFactoryPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/multimedia/objects-Debug/QGstreamerMediaPlugin_init/QGstreamerMediaPlugin_init.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Gui_resources_1/.rcc/qrc_qpdf.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Gui_resources_2/.rcc/qrc_gui_shaders.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/qml/QtQuick/objects-Debug/Quick_resources_1/.rcc/qrc_qmake_QtQuick.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/objects-Debug/Quick_resources_2/.rcc/qrc_scenegraph_shaders.cpp.o  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/qml/QtQml/Models/objects-Debug/QmlModels_resources_1/.rcc/qrc_qmake_QtQml_Models.cpp.o  lib/libQt6InterfaceFramework.a  lib/libQt6IfMedia.a  lib/libQt6IfRemoteObjectsHelper.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Core.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Multimedia.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/multimedia/libgstreamermediaplugin.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Multimedia.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/multimedia/libgstreamermediaplugin.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Multimedia.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/multimedia/libgstreamermediaplugin.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstpbutils-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstaudio-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgsttag-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstvideo-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstallocators-1.0.a  /usr/lib/x86_64-linux-gnu/libdrm.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libglib-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgthread-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgmodule-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstapp-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstbase-1.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstreamer-1.0.a  /usr/lib/x86_64-linux-gnu/libdl.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgobject-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libffi.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgmodule-2.0.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpcre2-8.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Sql.a  lib/libQt6InterfaceFramework.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6RemoteObjects.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Qml.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_messages.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_local.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_server.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_debugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_inspector.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_native.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_nativedebugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_preview.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_profiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_quickprofiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_tcp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Quick.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6QmlModels.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Qml.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_messages.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_local.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_server.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_debugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_inspector.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_native.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_nativedebugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_preview.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_profiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_quickprofiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_tcp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Quick.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6QmlModels.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Qml.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_messages.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_local.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_server.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_debugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_inspector.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_native.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_nativedebugger.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_preview.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_profiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_quickprofiler.a  /mnt/vcpkg-ci/installed/x64-linux/debug/Qt6/plugins/qmltooling/libqmldbg_tcp.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Quick.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6QmlModels.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6PacketProtocol.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Network.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlidec.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlicommon.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libssl.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libcrypto.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6OpenGL.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Gui.a  /usr/lib/x86_64-linux-gnu/libGLX.so  /usr/lib/x86_64-linux-gnu/libOpenGL.so  /usr/lib/x86_64-linux-gnu/libEGL.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libharfbuzz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libglib-2.0.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfontconfig.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libfreetyped.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbz2d.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlidec.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbrotlicommon.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libexpat.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libuuid.a  /usr/lib/x86_64-linux-gnu/libX11.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6DBus.a  /usr/lib/x86_64-linux-gnu/libxkbcommon.so  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libQt6Core.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libdouble-conversion.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libb2.a  -lm  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libicui18n.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libicuuc.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libicudata.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpcre2-16.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libzstd.a  -ldl  /usr/lib/x86_64-linux-gnu/librt.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtag.a  /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a && :
/usr/bin/ld: /mnt/vcpkg-ci/installed/x64-linux/debug/lib/libgstreamer-1.0.a(gst.c.o): in function `init_static_plugins':
/mnt/vcpkg-ci/b/gstreamer/x64-linux-dbg/../src/1.24.0-f19d297e0a.clean/subprojects/gstreamer/gst/gst.c:626: undefined reference to `gst_init_static_plugins'
collect2: error: ld returned 1 exit status

https://dev.azure.com/vcpkg/public/_build/results?buildId=101934&view=artifacts&pathAsName=false&type=publishedArtifacts

I know it. I have check the ci log. But I can not reproduce this error in my linux computer, so I don't know how to fix it. Currently I use gstreamer 1.24.1 by overlay port.

EDIT: It's not

@gerard-ryan-immersaview
Copy link
Contributor

gerard-ryan-immersaview commented May 13, 2024

@WangWeiLin-MV I have tested on ubuntu with triplit x64-linux, unable to find the error the ci-server report. I have no ios device, so can't test on it.

  "dependencies": [
    {
      "name": "gstreamer",
      "features": ["plugins-good", "nvcodec"]
    },
    "qtinterfaceframework"
  ]

I think you need

"dependencies": [
  "qt"
]

So that qt use GStreamer propagating down to qtmultimedia then qtinterfaceframework

@gerard-ryan-immersaview
Copy link
Contributor

Looks like this is the issue, qtmultimedia uses this way to find GStreamer and I guess it doesn't include that linker flag.
So we'll have to add it somehow.

@dg0yt
Copy link
Contributor

dg0yt commented May 13, 2024

"dependencies": [
  "qt"
]

NO, never depend on (ALL of) qt.

@gerard-ryan-immersaview
Copy link
Contributor

"dependencies": [
  "qt"
]

NO, never depend on (ALL of) qt.

  "dependencies": [
    {
      "name": "qtmultimedia",
      "default-features": false,
      "features": [
        "gstreamer"
      ],
    },
    "qtinterfaceframework"
  ]

this should equivalent if you like

@gerard-ryan-immersaview
Copy link
Contributor

Looks like this is the issue, qtmultimedia uses this way to find GStreamer and I guess it doesn't include that linker flag. So we'll have to add it somehow.

perhaps qtmultimedia should link with gstreamer-full-1.0 instead of gstreamer-1.0 now 🤔

@vipcxj
Copy link
Contributor Author

vipcxj commented May 13, 2024

Looks like this is the issue, qtmultimedia uses this way to find GStreamer and I guess it doesn't include that linker flag. So we'll have to add it somehow.

perhaps qtmultimedia should link with gstreamer-full-1.0 instead of gstreamer-1.0 now 🤔

My previous guess was the same, but I can't understand the qt build system, and there's nothing I can do to modify qt's portfile, and on the other hand I'm not sure if qt needs to link to gstreamer-full-1.0 just to build a gstreamer plugin. but I'm locally static linking with gstreamer-full-1.0 in static linkage mode and have had no problems so far. When linking gstreamer-1.0 before, all the tools didn't work. I've posted a thread in the gstreamer forum asking about the difference between gstreamer-1.0 and gstreamer-full-1.0, and no one has replied to me so far!

@gerard-ryan-immersaview
Copy link
Contributor

Looks like this is the issue, qtmultimedia uses this way to find GStreamer and I guess it doesn't include that linker flag. So we'll have to add it somehow.

perhaps qtmultimedia should link with gstreamer-full-1.0 instead of gstreamer-1.0 now 🤔

My previous guess was the same, but I can't understand the qt build system, and there's nothing I can do to modify qt's portfile, and on the other hand I'm not sure if qt needs to link to gstreamer-full-1.0 just to build a gstreamer plugin. but I'm locally static linking with gstreamer-full-1.0 in static linkage mode and have had no problems so far. When linking gstreamer-1.0 before, all the tools didn't work. I've posted a thread in the gstreamer forum asking about the difference between gstreamer-1.0 and gstreamer-full-1.0, and no one has replied to me so far!

It sounded like from my brief look that gstreamer-full-1.0 bundles all the plugins too. at least for the linking error shown it sounds like gstreamer-1.0 should suffice.

I played around with adding -Wl,--undefined=gst_init_static_plugins to various places as it sounds like it should force the linker to add that symbol but had no success.

As an aside qtmultimedia supports an FFmpeg backend too that sounds better supported, so I'm not sure what the motivation for using GStreamer by default is.

If I get time in the coming weeks I'll take a stab at this again.

@vipcxj
Copy link
Contributor Author

vipcxj commented May 14, 2024

@gerard-ryan-immersaview Personally, I feel that this is a bug of gstreamer full-static feature, Gstreamer-1.0.a does not work well after enabling the full-static feature. I have asked for help in the gstreamer forum, but no one has replied to me so far.

@gerard-ryan-immersaview
Copy link
Contributor

@gerard-ryan-immersaview Personally, I feel that this is a bug of gstreamer full-static feature, Gstreamer-1.0.a does not work well after enabling the full-static feature. I have asked for help in the gstreamer forum, but no one has replied to me so far.

you could be right! the only cause for question that makes me consider qtmultimedia being an issue is how they define the CMake targets they use and vcpkg already modifies for better compatibility.

@dg0yt
Copy link
Contributor

dg0yt commented Jul 17, 2024

gstreamer-full-1.0 seems to be a convenience lib which doesn't only include gstreamer libs and plugins. README: "glib-2.0, gobject-2.0 and gstreamer-1.0 are always included." That's indeed convenient for tools, but probably not what should be used in other vcpkg ports.

AFAICS the new full-static option makes the gstreamer lib call gst_init_static_plugins which is defined only in - and depends on the set of plugins included in - gstreamer-full-1.0.

So this is really a dilemma for static library linkage: You either get too much, or not enough. IMO if lib gstreamer-full-1.0 really includes lib gstreamer, it should have a variant with plugin initialization without forcing implementation details on direct users of lib gstreamer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-update The issue is with a library, which is requesting update new revision
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants