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

cairomm v2 toolchain #15713

Closed
wants to merge 18 commits into from
Closed

Conversation

planetmarshall
Copy link
Contributor

Specify library name and version: cairomm


@conan-center-bot

This comment has been minimized.

@stale
Copy link

stale bot commented Mar 11, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 11, 2023
@stale
Copy link

stale bot commented Apr 11, 2023

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@CLAassistant
Copy link

CLAassistant commented May 18, 2023

CLA assistant check
All committers have signed the CLA.

@stale stale bot removed the stale label May 18, 2023
@stale
Copy link

stale bot commented Jun 18, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@jcar87 jcar87 self-assigned this Jun 28, 2023
@jcar87
Copy link
Contributor

jcar87 commented Jun 29, 2023

I've pushed a fix for the error in the v1 pipeline, as well as some small cleanup to the test_package CMakeLists to align it with the current template.

ERROR: cairomm/1.16.1: Error in configure() method, line 56
	self.dependencies["cairo"].options.shared = True
	KeyError: {'ref': cairo/unknown@unknown/unknown, 'build': False, 'direct': True, 'test': False, 'visible': True}

Which should also cause the v2 checks to run again. Will keep an eye on this one.

Thanks for your contribution!

@conan-center-bot

This comment has been minimized.

@stale
Copy link

stale bot commented Aug 7, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 7, 2023
@planetmarshall
Copy link
Contributor Author

Getting a test package failure on conan 2.0.10 (succeeds on 1.61) due to the transitive dependency on libsigcpp - something to do with component requires? Can't figure it out.

@stale stale bot removed the stale label Sep 17, 2023
@ghost
Copy link

ghost commented Sep 17, 2023

I detected other pull requests that are modifying cairomm/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@conan-center-bot

This comment has been minimized.

@planetmarshall
Copy link
Contributor Author

Getting a test package failure on conan 2.0.10 (succeeds on 1.61) due to the transitive dependency on libsigcpp - something to do with component requires? Can't figure it out.

Ah, it's the new transitive_headers thing.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 9 (64cc38ce4e97194a17e81a29365c7d06ad1015c0):

  • cairomm/1.16.2:
    CI failed to create some packages (All logs)

    Logs for packageID 6547587c1367cdf183af4a680bf193dd253c2b15:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MD
    compiler.version=16
    os=Windows
    [options]
    cairomm:shared=False
    
    [...]
    -- Found: C:/J2/w/prod-v1/bsr/12233/bddec/.conan/data/lzo/2.10/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/lzo2.lib
    -- Library libpixman-1 found C:/J2/w/prod-v1/bsr/12233/bddec/.conan/data/pixman/0.40.0/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libpixman-1.lib
    -- Found: C:/J2/w/prod-v1/bsr/12233/bddec/.conan/data/pixman/0.40.0/_/_/package/3fb49604f9c2f729b85ba3115852006824e72cab/lib/libpixman-1.lib
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/J2/w/prod-v1/bsr/cci-3b3b139c/recipes/cairomm/all/test_v1_package/build/fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47
    
    ----Running------
    > cmake --build C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47 --config Release -- /m:8 /verbosity:minimal
    -----------------
    Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.
    
      Checking Build System
      Building Custom Rule C:/J2/w/prod-v1/bsr/cci-3b3b139c/recipes/cairomm/all/test_package/CMakeLists.txt
      test_package.cpp
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __cdecl Cairo::ImageSurface::get_width(void)const " (__imp_?get_width@ImageSurface@Cairo@@QEBAHXZ) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __cdecl Cairo::ImageSurface::get_height(void)const " (__imp_?get_height@ImageSurface@Cairo@@QEBAHXZ) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class std::shared_ptr<class Cairo::ImageSurface> __cdecl Cairo::ImageSurface::create(enum Cairo::Surface::Format,int,int)" (__imp_?create@ImageSurface@Cairo@@SA?AV?$shared_ptr@VImageSurface@Cairo@@@std@@W4Format@Surface@2@HH@Z) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class std::shared_ptr<class Cairo::Context> __cdecl Cairo::Context::create(class std::shared_ptr<class Cairo::Surface> const &)" (__imp_?create@Context@Cairo@@SA?AV?$shared_ptr@VContext@Cairo@@@std@@AEBV?$shared_ptr@VSurface@Cairo@@@4@@Z) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Cairo::Context::save(void)" (__imp_?save@Context@Cairo@@QEAAXXZ) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Cairo::Context::restore(void)" (__imp_?restore@Context@Cairo@@QEAAXXZ) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Cairo::Context::set_source_rgb(double,double,double)" (__imp_?set_source_rgb@Context@Cairo@@QEAAXNNN@Z) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Cairo::Context::set_source_rgba(double,double,double,double)" (__imp_?set_source_rgba@Context@Cairo@@QEAAXNNNN@Z) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Cairo::Context::set_line_width(double)" (__imp_?set_line_width@Context@Cairo@@QEAAXN@Z) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Cairo::Context::move_to(double,double)" (__imp_?move_to@Context@Cairo@@QEAAXNN@Z) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Cairo::Context::line_to(double,double)" (__imp_?line_to@Context@Cairo@@QEAAXNN@Z) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Cairo::Context::arc(double,double,double,double,double)" (__imp_?arc@Context@Cairo@@QEAAXNNNNN@Z) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Cairo::Context::rectangle(double,double,double,double)" (__imp_?rectangle@Context@Cairo@@QEAAXNNNN@Z) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Cairo::Context::paint(void)" (__imp_?paint@Context@Cairo@@QEAAXXZ) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl Cairo::Context::stroke(void)" (__imp_?stroke@Context@Cairo@@QEAAXXZ) referenced in function main [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\bin\test_package.exe : fatal error LNK1120: 15 unresolved externals [C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47\test_package\test_package.vcxproj]
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_EXPORT_NO_PACKAGE_REGISTRY
        CMAKE_INSTALL_BINDIR
        CMAKE_INSTALL_DATAROOTDIR
        CMAKE_INSTALL_INCLUDEDIR
        CMAKE_INSTALL_LIBDIR
        CMAKE_INSTALL_LIBEXECDIR
        CMAKE_INSTALL_OLDINCLUDEDIR
        CMAKE_INSTALL_SBINDIR
    
    
    WARN: freetype/2.13.0: requirement zlib/[>=1.2.10 <2] overridden by cairo/1.17.6 to zlib/1.2.13 
    WARN: pcre2/10.42: requirement zlib/[>=1.2.11 <2] overridden by glib/2.77.0 to zlib/1.2.13 
    ERROR: cairomm/1.16.2 (test package): Error in build() method, line 12
    	cmake.build()
    	ConanException: Error 1 while executing cmake --build C:\J2\w\prod-v1\bsr\cci-3b3b139c\recipes\cairomm\all\test_v1_package\build\fa17ad47d95cf5f6a6b6f8f5b5be39384d87bd47 --config Release -- /m:8 /verbosity:minimal
    
  • cairomm/1.16.1:
    Didn't run or was cancelled before finishing

  • cairomm/1.14.3:
    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.


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.

See details:

Failure in build 9 (64cc38ce4e97194a17e81a29365c7d06ad1015c0):

  • cairomm/1.16.1:
    Didn't run or was cancelled before finishing

  • cairomm/1.14.3:
    Didn't run or was cancelled before finishing

  • cairomm/1.16.2:
    CI failed to create some packages (All logs)

    Logs for packageID d8eacf390169b704fc94aa880f0d04b2cac101c6:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
    xorg/system: RUN: sudo apt-get install -y --no-install-recommends libxcb-util-dev
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following NEW packages will be installed:
      libxcb-util-dev
    0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
    Need to get 9,974 B of archives.
    After this operation, 71.7 kB of additional disk space will be used.
    Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb-util-dev amd64 0.4.0-0ubuntu3 [9,974 B]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 9,974 B in 0s (104 kB/s)
    Selecting previously unselected package libxcb-util-dev:amd64.
    (Reading database ... 
    (Reading database ... 5%
    (Reading database ... 10%
    (Reading database ... 15%
    (Reading database ... 20%
    (Reading database ... 25%
    (Reading database ... 30%
    (Reading database ... 35%
    (Reading database ... 40%
    (Reading database ... 45%
    (Reading database ... 50%
    (Reading database ... 55%
    (Reading database ... 60%
    (Reading database ... 65%
    (Reading database ... 70%
    (Reading database ... 75%
    (Reading database ... 80%
    (Reading database ... 85%
    (Reading database ... 90%
    (Reading database ... 95%
    (Reading database ... 100%
    (Reading database ... 20599 files and directories currently installed.)
    Preparing to unpack .../libxcb-util-dev_0.4.0-0ubuntu3_amd64.deb ...
    Unpacking libxcb-util-dev:amd64 (0.4.0-0ubuntu3) ...
    Setting up libxcb-util-dev:amd64 (0.4.0-0ubuntu3) ...
    
    
    ======== Installing packages ========
    ERROR: Missing binary: cairo/1.17.6:896cbccbe0a9b10ae980282e487f24fa75cc376b
    ERROR: Missing binary: pcre2/10.42:dec24e389821756f046850665ac2dc2e4fb7634e
    
    pcre2/10.42: WARN: Can't find a 'pcre2/10.42' package binary 'dec24e389821756f046850665ac2dc2e4fb7634e' for the configuration:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.version=11
    os=Linux
    [options]
    build_pcre2_16=True
    build_pcre2_32=True
    build_pcre2_8=True
    build_pcre2grep=True
    fPIC=True
    grep_support_callout_fork=True
    shared=False
    support_jit=False
    with_bzip2=True
    with_zlib=True
    [requires]
    bzip2/1.0.Z
    zlib/1.2.Z
    
    ERROR: Missing prebuilt package for 'cairo/1.17.6', 'pcre2/10.42'
    Check the available packages using 'conan list pcre2/10.42:* -r=remote'
    or try to build locally from sources using the '--build=cairo/1.17.6 --build=pcre2/10.42' argument
    
    More Info at 'https://docs.conan.io/2/knowledge/faq.html#error-missing-prebuilt-package'
    

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

valgur commented Jan 24, 2024

cairomm has been migrated to Conan v2: #18884. This PR can probably be closed.

@jcar87
Copy link
Contributor

jcar87 commented Feb 12, 2024

Closing this in favour of #18884 -
@planetmarshall please let me know if there's anything pending that still needs to be merged, thanks!

@jcar87 jcar87 closed this Feb 12, 2024
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.

5 participants