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

qcustomplot: add package_type, transitive_headers=True #25405

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

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Sep 25, 2024

Summary

Changes to recipe: qcustomplot/[*]

Motivation

Details

test_package fails to link with transitive_libs=False.

The OpenGL direct dependency should not be necessary since the code only uses qtOpenGL and not OpenGL itself.


@conan-center-bot

This comment has been minimized.

Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

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

Some comments, thanks for the fix!


def requirements(self):
if Version(self.version) >= "2.0.0":
self.requires("qt/6.4.1")
self.requires("qt/[>=6.4 <7]", transitive_headers=True, transitive_libs=True)
Copy link
Member

Choose a reason for hiding this comment

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

So this never worked in Conan 2 then? Nice catch if so!

Copy link
Member

Choose a reason for hiding this comment

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

Why transitive_libs BTW?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

test_package without transitive_libs=True:

undefined reference to symbol '_ZN7QWidget11setGeometryERK5QRect@@Qt_6'
qt00e75f421b97e/p/lib/libQt6Widgets.so.6: error adding symbols: DSO missing from command line

recipes/qcustomplot/all/conanfile.py Show resolved Hide resolved
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 2 (fe42093713e0d32390230ffd689af6b266b8f6ac):

  • qcustomplot/2.1.1:
    Didn't run or was cancelled before finishing

  • qcustomplot/1.3.2:
    Didn't run or was cancelled before finishing

  • qcustomplot/2.1.0:
    CI failed to create some packages (All logs)

    Logs for packageID 20e7462f718928d28652f200894e0239901076c3:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=9
    os=Linux
    [options]
    qcustomplot:shared=False
    
    [...]
    [ 50%] Building CXX object test_package/CMakeFiles/test_package.dir/test_package.cpp.o
    [100%] Linking CXX executable ../bin/test_package
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    
    
    /usr/bin/ld: /home/conan/workspace/prod-v1/bsr/102398/cecdc/.conan/data/qt/6.7.1/_/_/package/c6f9811941e2715cb33edb4bc2b1e217a1780d85/lib/objects-Release/Widgets_resources_2/.qt/rcc/qrc_qstyle1_init.cpp.o: in function `_GLOBAL__sub_I_qrc_qstyle1_init.cpp':
    qrc_qstyle1_init.cpp:(.text.startup._GLOBAL__sub_I_qrc_qstyle1_init.cpp+0x7): undefined reference to `qInitResources_qstyle1()'
    /usr/bin/ld: /home/conan/workspace/prod-v1/bsr/102398/cecdc/.conan/data/qt/6.7.1/_/_/package/c6f9811941e2715cb33edb4bc2b1e217a1780d85/lib/objects-Release/Widgets_resources_3/.qt/rcc/qrc_qstyle_fusion_init.cpp.o: in function `_GLOBAL__sub_I_qrc_qstyle_fusion_init.cpp':
    qrc_qstyle_fusion_init.cpp:(.text.startup._GLOBAL__sub_I_qrc_qstyle_fusion_init.cpp+0x7): undefined reference to `qInitResources_qstyle_fusion()'
    /usr/bin/ld: /home/conan/workspace/prod-v1/bsr/102398/cecdc/.conan/data/qt/6.7.1/_/_/package/c6f9811941e2715cb33edb4bc2b1e217a1780d85/lib/objects-Release/Gui_resources_2/.qt/rcc/qrc_gui_shaders_init.cpp.o: in function `_GLOBAL__sub_I_qrc_gui_shaders_init.cpp':
    qrc_gui_shaders_init.cpp:(.text.startup._GLOBAL__sub_I_qrc_gui_shaders_init.cpp+0x7): undefined reference to `qInitResources_gui_shaders()'
    /usr/bin/ld: /home/conan/workspace/prod-v1/bsr/102398/cecdc/.conan/data/qt/6.7.1/_/_/package/c6f9811941e2715cb33edb4bc2b1e217a1780d85/lib/objects-Release/PrintSupport_resources_1/.qt/rcc/qrc_qprintdialog_init.cpp.o: in function `_GLOBAL__sub_I_qrc_qprintdialog_init.cpp':
    qrc_qprintdialog_init.cpp:(.text.startup._GLOBAL__sub_I_qrc_qprintdialog_init.cpp+0x7): undefined reference to `qInitResources_qprintdialog()'
    /usr/bin/ld: /home/conan/workspace/prod-v1/bsr/102398/cecdc/.conan/data/qt/6.7.1/_/_/package/c6f9811941e2715cb33edb4bc2b1e217a1780d85/lib/objects-Release/PrintSupport_resources_2/.qt/rcc/qrc_qprintdialog1_init.cpp.o: in function `_GLOBAL__sub_I_qrc_qprintdialog1_init.cpp':
    qrc_qprintdialog1_init.cpp:(.text.startup._GLOBAL__sub_I_qrc_qprintdialog1_init.cpp+0x7): undefined reference to `qInitResources_qprintdialog1()'
    collect2: error: ld returned 1 exit status
    make[2]: *** [test_package/CMakeFiles/test_package.dir/build.make:159: bin/test_package] Error 1
    make[1]: *** [CMakeFiles/Makefile2:113: test_package/CMakeFiles/test_package.dir/all] Error 2
    make: *** [Makefile:103: all] Error 2
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: openssl/3.3.2: requirement zlib/[>=1.2.11 <2] overridden by qt/6.7.1 to zlib/1.3.1 
    WARN: pcre2/10.42: requirement zlib/[>=1.2.11 <2] overridden by qt/6.7.1 to zlib/1.3.1 
    WARN: freetype/2.13.2: requirement libpng/[>=1.6 <2] overridden by qt/6.7.1 to libpng/1.6.44 
    WARN: freetype/2.13.2: requirement zlib/[>=1.2.10 <2] overridden by qt/6.7.1 to zlib/1.3.1 
    WARN: libpng/1.6.44: requirement zlib/[>=1.2.11 <2] overridden by freetype/2.13.2 to zlib/1.3.1 
    WARN: glib/2.78.3: requirement zlib/[>=1.2.11 <2] overridden by harfbuzz/8.3.0 to zlib/1.3.1 
    WARN: libxml2/2.13.4: requirement zlib/[>=1.2.11 <2] overridden by xkbcommon/1.5.0 to zlib/1.3.1 
    WARN: wayland/1.22.0: requirement libxml2/[>=2.12.5 <3] overridden by xkbcommon/1.5.0 to libxml2/2.13.4 
    qcustomplot/2.1.0 (test package): WARN: 
         ************************************************
         The 'cmake_find_package_multi' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    qcustomplot/2.1.0 (test package): WARN: 
         ************************************************
         The 'cmake' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    qcustomplot/2.1.0 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. ****
    ERROR: qcustomplot/2.1.0 (test package): Error in build() method, line 14
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build '/home/conan/workspace/prod-v1/bsr/cci-3bb23126/recipes/qcustomplot/all/test_v1_package/build/509622d5acabd0ac413ba4a450d193bcd0fc6d3d' '--' '-j3'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 2 (fe42093713e0d32390230ffd689af6b266b8f6ac):

  • qcustomplot/2.1.0:
    Didn't run or was cancelled before finishing

  • qcustomplot/1.3.2:
    CI failed to create some packages (All logs)

    Logs for packageID 5d31b25d7f3aeffea58e0c286923ba558946bdd7:
    [settings]
    arch=armv8
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=False
    
    [...]
    ld: warning: direct access in function 'int qRegisterNormalizedMetaType<QtMetaTypePrivate::QSequentialIterableImpl>(QByteArray const&, QtMetaTypePrivate::QSequentialIterableImpl*, QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::Defined && !QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::IsBuiltIn>::DefinedType)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Widgets.a(qgraphicsscene.o)' to global weak symbol 'QtMetaTypePrivate::QMetaTypeFunctionHelper<QtMetaTypePrivate::QSequentialIterableImpl, true>::Destruct(void*)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'int qRegisterNormalizedMetaType<QtMetaTypePrivate::QSequentialIterableImpl>(QByteArray const&, QtMetaTypePrivate::QSequentialIterableImpl*, QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::Defined && !QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::IsBuiltIn>::DefinedType)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Widgets.a(qgraphicsscene.o)' to global weak symbol 'QtMetaTypePrivate::QMetaTypeFunctionHelper<QtMetaTypePrivate::QSequentialIterableImpl, true>::Destruct(void*)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<QRectF>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<QRectF>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Widgets.a(qgraphicsscene.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<QRectF>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<QRectF>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Widgets.a(qgraphicsscene.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ValueTypeIsMetaType<QList<int>, true>::registerConverter(int)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Gui.a(qplatformtheme.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ValueTypeIsMetaType<QList<int>, true>::registerConverter(int)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Gui.a(qplatformtheme.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<int>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<int>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Gui.a(qplatformtheme.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<int>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<int>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Gui.a(qplatformtheme.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ValueTypeIsMetaType<QList<QUrl>, true>::registerConverter(int)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Gui.a(qplatformdialoghelper.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ValueTypeIsMetaType<QList<QUrl>, true>::registerConverter(int)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Gui.a(qplatformdialoghelper.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<QUrl>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<QUrl>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Gui.a(qplatformdialoghelper.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<QUrl>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<QUrl>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Gui.a(qplatformdialoghelper.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::QVariantValueHelperInterface<QList<QVariant>>::invoke(QVariant const&)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Gui.a(qtextformat.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::QVariantValueHelperInterface<QList<QVariant>>::invoke(QVariant const&)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Gui.a(qtextformat.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::QVariantValueHelper<QtMetaTypePrivate::QSequentialIterableImpl>::metaType(QVariant const&)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Gui.a(qtextformat.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::QVariantValueHelper<QtMetaTypePrivate::QSequentialIterableImpl>::metaType(QVariant const&)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Gui.a(qtextformat.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ValueTypeIsMetaType<QList<Qt::DayOfWeek>, true>::registerConverter(int)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qlocale.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ValueTypeIsMetaType<QList<Qt::DayOfWeek>, true>::registerConverter(int)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qlocale.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<Qt::DayOfWeek>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<Qt::DayOfWeek>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qlocale.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<Qt::DayOfWeek>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<Qt::DayOfWeek>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qlocale.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<Qt::DayOfWeek>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<Qt::DayOfWeek>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qlocale.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<Qt::DayOfWeek>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<Qt::DayOfWeek>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qlocale.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'int qRegisterMetaType<QtMetaTypePrivate::QSequentialIterableImpl>(char const*, QtMetaTypePrivate::QSequentialIterableImpl*, QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::Defined && !QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::IsBuiltIn>::DefinedType)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qlocale.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'int qRegisterMetaType<QtMetaTypePrivate::QSequentialIterableImpl>(char const*, QtMetaTypePrivate::QSequentialIterableImpl*, QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::Defined && !QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::IsBuiltIn>::DefinedType)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qlocale.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'int qRegisterMetaType<QtMetaTypePrivate::QSequentialIterableImpl>(char const*, QtMetaTypePrivate::QSequentialIterableImpl*, QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::Defined && !QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::IsBuiltIn>::DefinedType)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qlocale.o)' to global weak symbol 'QtMetaTypePrivate::QMetaTypeFunctionHelper<QtMetaTypePrivate::QSequentialIterableImpl, true>::Construct(void*, void const*)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'int qRegisterMetaType<QtMetaTypePrivate::QSequentialIterableImpl>(char const*, QtMetaTypePrivate::QSequentialIterableImpl*, QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::Defined && !QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::IsBuiltIn>::DefinedType)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qlocale.o)' to global weak symbol 'QtMetaTypePrivate::QMetaTypeFunctionHelper<QtMetaTypePrivate::QSequentialIterableImpl, true>::Construct(void*, void const*)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'int qRegisterMetaType<QtMetaTypePrivate::QSequentialIterableImpl>(char const*, QtMetaTypePrivate::QSequentialIterableImpl*, QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::Defined && !QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::IsBuiltIn>::DefinedType)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qlocale.o)' to global weak symbol 'QtMetaTypePrivate::QMetaTypeFunctionHelper<QtMetaTypePrivate::QSequentialIterableImpl, true>::Destruct(void*)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'int qRegisterMetaType<QtMetaTypePrivate::QSequentialIterableImpl>(char const*, QtMetaTypePrivate::QSequentialIterableImpl*, QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::Defined && !QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::IsBuiltIn>::DefinedType)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qlocale.o)' to global weak symbol 'QtMetaTypePrivate::QMetaTypeFunctionHelper<QtMetaTypePrivate::QSequentialIterableImpl, true>::Destruct(void*)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ValueTypeIsMetaType<QList<QModelIndex>, true>::registerConverter(int)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qitemselectionmodel.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ValueTypeIsMetaType<QList<QModelIndex>, true>::registerConverter(int)' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qitemselectionmodel.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<QModelIndex>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<QModelIndex>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qitemselectionmodel.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<QModelIndex>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<QModelIndex>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qitemselectionmodel.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<QModelIndex>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<QModelIndex>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qitemselectionmodel.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QtPrivate::ConverterFunctor<QList<QModelIndex>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<QModelIndex>>>::~ConverterFunctor()' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qitemselectionmodel.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QVariant::canConvert(int) const' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qvariant.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in function 'QVariant::canConvert(int) const' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/qt7aad0d6365b8e/p/lib/libQt5Core.a(qvariant.o)' to global weak symbol 'QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id' from file '/Users/jenkins/workspace/prod-v2/bsr/91184/decfd/p/b/qcust010d62e8da16d/p/lib/libqcustomplot.a(mocs_compilation.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    [100%] Built target test_package
    
    
    ======== Testing the package: Executing test ========
    qcustomplot/1.3.2 (test package): Running test()
    qcustomplot/1.3.2 (test package): RUN: ./test_package
    qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    /bin/sh: line 1:  1221 Abort trap: 6           ./test_package
    
    ERROR: qcustomplot/1.3.2 (test package): Error in test() method, line 32
    	self.run(bin_path, env="conanrun")
    	ConanException: Error 134 while executing
    
  • qcustomplot/2.1.1:
    Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@valgur
Copy link
Contributor Author

valgur commented Sep 26, 2024

I don't have any good ideas on how to approach the qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in "" error right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants