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

plutovg: add version 0.0.1 #24516

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

plutovg: add version 0.0.1 #24516

wants to merge 2 commits into from

Conversation

toge
Copy link
Contributor

@toge toge commented Jul 4, 2024

Summary

Changes to recipe: plutovg/0.0.1

Motivation

This is the initial release.

Details

While PlutoVG start to use meson instead of CMake, I created new all directory nad remove old-all direvtory to prerelease.


@perseoGI perseoGI self-assigned this Jul 4, 2024
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.

If the old versions are pre-releases, I'd also be fine with outright removing them, the binaries will still be around, but it will be less maintenance overhead in the future :) wdyt @toge?

@conan-center-bot

This comment has been minimized.

@toge
Copy link
Contributor Author

toge commented Jul 4, 2024

@AbrilRBS
Several pre-release versions are used by lunasvg.
I think that if we don't remove the old version dependencies from lunasvg, it will cause inconvenience.
Can we remove these versions without that fix?

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 2 (bdcbbaaa84f43ca6f53e104721b010f09076920a):

  • plutovg/cci.20230205:
    All packages built successfully! (All logs)

  • plutovg/cci.20220103:
    All packages built successfully! (All logs)

  • plutovg/cci.20221030:
    All packages built successfully! (All logs)

  • plutovg/0.0.1:
    CI failed to create some packages (All logs)

    Logs for packageID d057732059ea44a47760900cb5e4855d2bea8714:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=Visual Studio
    compiler.runtime=MDd
    compiler.version=16
    os=Windows
    [options]
    plutovg:shared=False
    
    [...]
    ../src/source/plutovg-font.c(334): warning C4244: 'return': conversion from 'int' to 'float', possible loss of data
    ../src/source/plutovg-font.c(339): warning C4244: 'return': conversion from 'int' to 'float', possible loss of data
    ../src/source/plutovg-font.c(344): warning C4244: 'return': conversion from 'int' to 'float', possible loss of data
    [9/12] Compiling C object libplutovg.a.p/source_plutovg-ft-stroker.c.obj
    [10/12] Compiling C object libplutovg.a.p/source_plutovg-ft-math.c.obj
    [11/12] Compiling C object libplutovg.a.p/source_plutovg-surface.c.obj
    [12/12] Linking static target libplutovg.a
    INFO: autodetecting backend as ninja
    INFO: calculating backend command to run: C:\J\workspace\prod-v1\bsr\65868\bbded\.conan\data\ninja\1.11.1\_\_\package\01edd76db8e16db9b38c3cca44ec466a9444c388\bin\ninja.EXE -j 8
    plutovg/0.0.1: Package 'd057732059ea44a47760900cb5e4855d2bea8714' built
    plutovg/0.0.1: Build folder C:\J\workspace\prod-v1\bsr\65868\bbded\.conan\data\plutovg\0.0.1\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714\build-debug
    plutovg/0.0.1: Generated conaninfo.txt
    plutovg/0.0.1: Generated conanbuildinfo.txt
    plutovg/0.0.1: Generating the package
    plutovg/0.0.1: Package folder C:\J\workspace\prod-v1\bsr\65868\bbded\.conan\data\plutovg\0.0.1\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714
    plutovg/0.0.1: Calling package()
    plutovg/0.0.1: Copied 1 file: LICENSE
    
    ----Running------
    > "C:\J\workspace\prod-v1\bsr\65868\bbded\.conan\data\plutovg\0.0.1\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714\build-debug\conan\conanbuild.bat" && meson install -C "C:/J/workspace/prod-v1/bsr/65868/bbded/.conan/data/plutovg/0.0.1/_/_/build/d057732059ea44a47760900cb5e4855d2bea8714/build-debug" --destdir "C:/J/workspace/prod-v1/bsr/65868/bbded/.conan/data/plutovg/0.0.1/_/_/package/d057732059ea44a47760900cb5e4855d2bea8714"
    -----------------
    **********************************************************************
    ** Visual Studio 2019 Developer Command Prompt v16.11.26
    ** Copyright (c) 2021 Microsoft Corporation
    **********************************************************************
    [vcvarsall.bat] Environment initialized for: 'x64'
    ninja: Entering directory `C:\J\workspace\prod-v1\bsr\65868\bbded\.conan\data\plutovg\0.0.1\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714\build-debug'
    ninja: no work to do.
    Installing libplutovg.a to C:\J\workspace\prod-v1\bsr\65868\bbded\.conan\data\plutovg\0.0.1\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\lib
    Installing C:\J\workspace\prod-v1\bsr\65868\bbded\.conan\data\plutovg\0.0.1\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714\src\include/plutovg.h to C:\J\workspace\prod-v1\bsr\65868\bbded\.conan\data\plutovg\0.0.1\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\include\plutovg\
    Installing C:\J\workspace\prod-v1\bsr\65868\bbded\.conan\data\plutovg\0.0.1\_\_\build\d057732059ea44a47760900cb5e4855d2bea8714\build-debug\meson-private\plutovg.pc to C:\J\workspace\prod-v1\bsr\65868\bbded\.conan\data\plutovg\0.0.1\_\_\package\d057732059ea44a47760900cb5e4855d2bea8714\lib\pkgconfig
    [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK
    [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK
    [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK
    [HOOK - conan-center.py] post_package(): [STATIC ARTIFACTS (KB-H074)] OK
    [HOOK - conan-center.py] post_package(): [EITHER STATIC OR SHARED OF EACH LIB (KB-H076)] OK
    [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK
    [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK
    [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK
    [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK
    [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK
    [HOOK - conan-center.py] post_package(): [SHORT_PATHS USAGE (KB-H066)] OK
    [HOOK - conan-center.py] post_package(): [MISSING SYSTEM LIBS (KB-H043)] OK
    [HOOK - conan-center.py] post_package(): [APPLE RELOCATABLE SHARED LIBS (KB-H077)] OK
    
    Generating targets:   0%|          | 0/1 eta ?
                                                  
    
    Writing build.ninja:   0%|          | 0/38 eta ?
                                                    
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    plutovg/0.0.1: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Package for Visual Studio does not contain artifacts with these extensions: ['lib', 'dll', 'exe', 'bat'] (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014-MATCHING-CONFIGURATION) 
    [HOOK - conan-center.py] post_package(): ERROR: [MATCHING CONFIGURATION (KB-H014)] Packaged artifacts does not match the settings used: os=Windows, compiler=Visual Studio (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H014-MATCHING-CONFIGURATION) 
    ERROR: [HOOK - conan-center.py] post_package(): Some checks failed running the hook, check the output
    

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 (bdcbbaaa84f43ca6f53e104721b010f09076920a):

  • plutovg/cci.20230205:
    All packages built successfully! (All logs)

  • plutovg/cci.20221030:
    All packages built successfully! (All logs)

  • plutovg/cci.20220103:
    All packages built successfully! (All logs)

  • plutovg/0.0.1:
    CI failed to create some packages (All logs)

    Logs for packageID 7bfde258ff4f62f75668d0896dbddedaa7480a0f:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=msvc
    compiler.cppstd=14
    compiler.runtime=dynamic
    compiler.runtime_type=Release
    compiler.version=193
    os=Windows
    [options]
    */*:shared=False
    
    [...]
    ======== Testing the package: Building ========
    plutovg/0.0.1 (test package): Calling build()
    plutovg/0.0.1 (test package): Meson configure cmd: meson setup --native-file "C:\J\workspace\prod-v2\bsr\cci-891785dc\recipes\plutovg\all\test_package\build-release\conan\conan_meson_native.ini" "C:\J\workspace\prod-v2\bsr\cci-891785dc\recipes\plutovg\all\test_package\build-release" "C:\J\workspace\prod-v2\bsr\cci-891785dc\recipes\plutovg\all\test_package" --prefix=/
    plutovg/0.0.1 (test package): RUN: meson setup --native-file "C:\J\workspace\prod-v2\bsr\cci-891785dc\recipes\plutovg\all\test_package\build-release\conan\conan_meson_native.ini" "C:\J\workspace\prod-v2\bsr\cci-891785dc\recipes\plutovg\all\test_package\build-release" "C:\J\workspace\prod-v2\bsr\cci-891785dc\recipes\plutovg\all\test_package" --prefix=/
    conanvcvars.bat: Activating environment Visual Studio 17 - amd64 - winsdk_version=None - vcvars_ver=14.3
    [vcvarsall.bat] Environment initialized for: 'x64'
    The Meson build system
    Version: 1.2.3
    Source dir: C:\J\workspace\prod-v2\bsr\cci-891785dc\recipes\plutovg\all\test_package
    Build dir: C:\J\workspace\prod-v2\bsr\cci-891785dc\recipes\plutovg\all\test_package\build-release
    Build type: native build
    Project name: test_package
    Project version: undefined
    C compiler for the host machine: cl (msvc 19.36.32532 "Microsoft (R) C/C++ Optimizing Compiler Version 19.36.32532 for x64")
    C linker for the host machine: link link 14.36.32532.0
    Host machine cpu family: x86_64
    Host machine cpu: x86_64
    Found pkg-config: C:/J/workspace/prod-v2/bsr/58736/dfaaa/p/pkgco6062a3e090f7e/p/bin/pkgconf.exe (2.0.3)
    Run-time dependency plutovg found: YES 0.0.1
    Build targets in project: 1
    
    test_package undefined
    
      User defined options
        Native files: C:\J\workspace\prod-v2\bsr\cci-891785dc\recipes\plutovg\all\test_package\build-release\conan\conan_meson_native.ini
        prefix      : /
    
    Found ninja-1.11.1 at C:\J\workspace\prod-v2\bsr\58736\dfaaa\p\ninjae2ad385cd85df\p\bin\ninja.EXE
    
    plutovg/0.0.1 (test package): Meson build cmd: meson compile -C "C:\J\workspace\prod-v2\bsr\cci-891785dc\recipes\plutovg\all\test_package\build-release" -j8
    plutovg/0.0.1 (test package): RUN: meson compile -C "C:\J\workspace\prod-v2\bsr\cci-891785dc\recipes\plutovg\all\test_package\build-release" -j8
    conanvcvars.bat: Activating environment Visual Studio 17 - amd64 - winsdk_version=None - vcvars_ver=14.3
    [vcvarsall.bat] Environment initialized for: 'x64'
    [1/2] Compiling C object test_package.exe.p/test_package.c.obj
    ../test_package.c(21): warning C4305: 'initializing': truncation from 'double' to 'const float'
    [2/2] Linking target test_package.exe
    FAILED: test_package.exe 
    "link"  /MACHINE:x64 /OUT:test_package.exe test_package.exe.p/test_package.c.obj "/nologo" "/release" "/nologo" "/OPT:REF" "C:/J/workspace/prod-v2/bsr/58736/dfaaa/p/b/pluto7191121cd775e/p/lib/libplutovg.a" "/SUBSYSTEM:CONSOLE" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "comdlg32.lib" "advapi32.lib"
    test_package.c.obj : error LNK2019: unresolved external symbol __imp_plutovg_surface_create referenced in function main
    test_package.c.obj : error LNK2019: unresolved external symbol __imp_plutovg_surface_destroy referenced in function main
    test_package.c.obj : error LNK2019: unresolved external symbol __imp_plutovg_canvas_create referenced in function main
    test_package.c.obj : error LNK2019: unresolved external symbol __imp_plutovg_canvas_destroy referenced in function main
    
    test_package.exe : fatal error LNK1120: 4 unresolved externals
    
    ninja: build stopped: subcommand failed.
    INFO: autodetecting backend as ninja
    INFO: calculating backend command to run: C:\J\workspace\prod-v2\bsr\58736\dfaaa\p\ninjae2ad385cd85df\p\bin\ninja.EXE -j 8
    
    ERROR: plutovg/0.0.1 (test package): Error in build() method, line 26
    	meson.build()
    	ConanException: Error 1 while executing
    

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.

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.

None yet

4 participants