conan-center-index icon indicating copy to clipboard operation
conan-center-index copied to clipboard

ImageMagick: Add 7.1.0-29 and build it with cmake on all platforms.

Open Cyriuz opened this issue 3 years ago • 4 comments

This fixes the previously broken Windows build and adds a bunch of new possible dependencies.

Specify library name and version: imagemagick/7.1.0-29

I was a bit sad when I realized that the current ImageMagick package in conan-center did not support Windows and after looking around a bit for solutions I found some previous discussions about its build scripts being very complicated for Windows and some attempts at contributing a CMake build script instead (here and here). So I continued the work on the CMake scripts to make it work with the latest release and on windows/linux/mac. The patch provided in this PR is based on my fork here.

The maintainers of ImageMagick have stated an interest in a CMake build script but would like some more people to test and use it before adapting it as stated here. So I thought this would be a good way to get it used even if it is not merged to ImageMagick itself yet, as the CMake build script simplifies the build by miles.


  • [x] I've read the guidelines for contributing.
  • [x] I've followed the PEP8 style guides for Python code in the recipes.
  • [x] I've used the latest Conan client version.
  • [x] I've tried at least one configuration locally with the conan-center hook activated.

Cyriuz avatar Mar 29 '22 14:03 Cyriuz

Failure in build 10 (e4f52008fca17849152795d9257e4afcab19b4f2):

  • imagemagick/7.0.11-14@: Error running command conan export recipes/imagemagick/7.0/conanfile.py imagemagick/7.0.11-14@:

    [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK
    [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK
    [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK
    [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK
    [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 26.869140625 KB
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: patches/*
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK
    [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK
    [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK
    [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK
    [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK
    [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK
    [HOOK - conan-center.py] pre_export(): [NOT ALLOWED ATTRIBUTES (KB-H039)] OK
    [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK
    [HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK
    [HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK
    [HOOK - conan-center.py] pre_export(): [CONFIG.YML HAS NEW VERSION (KB-H052)] OK
    [HOOK - conan-center.py] pre_export(): [PRIVATE IMPORTS (KB-H053)] OK
    [HOOK - conan-center.py] pre_export(): [SINGLE REQUIRES (KB-H055)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS RENAME (KB-H057)] OK
    [HOOK - conan-center.py] pre_export(): [ILLEGAL CHARACTERS (KB-H058)] OK
    [HOOK - conan-center.py] pre_export(): [CLASS NAME (KB-H059)] OK
    [HOOK - conan-center.py] pre_export(): [NO CRLF (KB-H060)] OK
    [HOOK - conan-center.py] pre_export(): [NO BUILD SYSTEM FUNCTIONS (KB-H061)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS CROSS BUILDING (KB-H062)] OK
    [HOOK - conan-center.py] pre_export(): [INVALID TOPICS (KB-H064)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRED_CONAN_VERSION (KB-H065)] OK
    [HOOK - conan-center.py] pre_export(): [TEST_TYPE MANAGEMENT (KB-H068)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO DEFAULT OPTIONS (KB-H069)] OK
    [HOOK - conan-center.py] pre_export(): [MANDATORY SETTINGS (KB-H070)] OK
    [HOOK - conan-center.py] pre_export(): ERROR: [NO FINAL ENDLINE (KB-H041)] File '/home/conan/w/prod_cci_PR-10003/recipes/imagemagick/7.0/../config.yml' does not end with an endline (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H041) 
    ERROR: [HOOK - conan-center.py] pre_export(): Some checks failed running the hook, check the output
    
  • imagemagick/7.1.0-29@: Error running command conan export recipes/imagemagick/7.1/conanfile.py imagemagick/7.1.0-29@:

    [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK
    [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK
    [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK
    [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK
    [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 134.8134765625 KB
    [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: patches/*
    [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK
    [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK
    [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK
    [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK
    [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK
    [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK
    [HOOK - conan-center.py] pre_export(): [NOT ALLOWED ATTRIBUTES (KB-H039)] OK
    [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK
    [HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK
    [HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK
    [HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK
    [HOOK - conan-center.py] pre_export(): [CONFIG.YML HAS NEW VERSION (KB-H052)] OK
    [HOOK - conan-center.py] pre_export(): [PRIVATE IMPORTS (KB-H053)] OK
    [HOOK - conan-center.py] pre_export(): [SINGLE REQUIRES (KB-H055)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS RENAME (KB-H057)] OK
    [HOOK - conan-center.py] pre_export(): [ILLEGAL CHARACTERS (KB-H058)] OK
    [HOOK - conan-center.py] pre_export(): [CLASS NAME (KB-H059)] OK
    [HOOK - conan-center.py] pre_export(): [NO CRLF (KB-H060)] OK
    [HOOK - conan-center.py] pre_export(): [NO BUILD SYSTEM FUNCTIONS (KB-H061)] OK
    [HOOK - conan-center.py] pre_export(): [TOOLS CROSS BUILDING (KB-H062)] OK
    [HOOK - conan-center.py] pre_export(): [INVALID TOPICS (KB-H064)] OK
    [HOOK - conan-center.py] pre_export(): [NO REQUIRED_CONAN_VERSION (KB-H065)] OK
    [HOOK - conan-center.py] pre_export(): [TEST_TYPE MANAGEMENT (KB-H068)] OK
    [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO DEFAULT OPTIONS (KB-H069)] OK
    [HOOK - conan-center.py] pre_export(): [MANDATORY SETTINGS (KB-H070)] OK
    [HOOK - conan-center.py] pre_export(): ERROR: [NO FINAL ENDLINE (KB-H041)] File '/home/conan/w/prod_cci_PR-10003/recipes/imagemagick/7.1/../config.yml' does not end with an endline (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H041) 
    ERROR: [HOOK - conan-center.py] pre_export(): 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-center-bot avatar Jun 29 '22 14:06 conan-center-bot

Failure in build 12 (72addc038a6654ede4ae29e2524639207b86c886):

  • imagemagick/7.0.11-14@: Didn't run or was cancelled before finishing

  • imagemagick/7.1.0-29@: CI failed to create some packages (All logs)

    Logs for packageID f8f463baea752d4e97dcfeeb818df8302c1276b4:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    imagemagick:shared=False
    
    [...]
        libwebp/1.2.2:9914f4fbedcef15a1908dc721c310d135acd4987 - Download
        libxml2/2.9.12:13c49745b25725ed9cfa2d6c055b02c0efebe225 - Download
        lzo/2.10:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        openexr/2.5.7:6f434c3c3da96552412901feb7c42609d558a2cc - Download
        opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        openjpeg/2.5.0:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        pango/1.48.5:8cab6a5fdfcd9b69b4014a2c74e142b31bfdfdff - Missing
        pcre/8.45:fab187555fa87e54b51a5e8e8ff95b0f5855d00b - Download
        pcre2/10.37:49e53541184a75e1bfaa4dad6b0819ae43a76cf9 - Download
        pixman/0.40.0:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        xorg/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        xz_utils/5.2.5:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        zlib/1.2.12:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        zstd/1.5.2:ff7e1eda45846fc95249ac3e0c50da0e296272b3 - Download
    Build requirements
        cmake/3.22.0 from 'conan-center' - Downloaded
        ninja/1.10.2 from 'conan-center' - Downloaded
        openssl/1.1.1o from 'conan-center' - Downloaded
        pkgconf/1.7.4 from 'conan-center' - Downloaded
    Build requirements packages
        cmake/3.22.0:5c09c752508b674ca5cb1f2d327b5a2d582866c8 - Download
        ninja/1.10.2:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download
        openssl/1.1.1o:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        pkgconf/1.7.4:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download
    
    Installing (downloading, building) binaries...
    
    imagemagick/7.1.0-29: WARN: Conan package for OpenMP is not available, this package will be used from system.
    WARN: pango/1.48.5: requirement freetype/2.11.0 overridden by imagemagick/7.1.0-29 to freetype/2.10.4 
    WARN: fontconfig/2.13.93: requirement freetype/2.12.1 overridden by pango/1.48.5 to freetype/2.10.4 
    WARN: cairo/1.17.4: requirement freetype/2.12.1 overridden by pango/1.48.5 to freetype/2.10.4 
    WARN: cairo/1.17.4: requirement glib/2.73.0 overridden by pango/1.48.5 to glib/2.70.0 
    WARN: glib/2.70.0: requirement zlib/1.2.11 overridden by cairo/1.17.4 to zlib/1.2.12 
    WARN: harfbuzz/2.7.4: requirement freetype/2.12.1 overridden by pango/1.48.5 to freetype/2.10.4 
    WARN: harfbuzz/2.7.4: requirement glib/2.73.0 overridden by pango/1.48.5 to glib/2.70.0 
    ERROR: Missing binary: cairo/1.17.4:1361433b1a6e676f44c117a781b907730fdae86c
    ERROR: Missing binary: harfbuzz/2.7.4:fa0a00c68faed3a885b00f6d1e00f179830f4fbb
    ERROR: Missing binary: pango/1.48.5:8cab6a5fdfcd9b69b4014a2c74e142b31bfdfdff
    cairo/1.17.4: WARN: Can't find a 'cairo/1.17.4' package for the specified settings, options and dependencies:
    - Settings: arch=x86_64, build_type=Release, compiler=gcc, compiler.version=5, os=Linux
    - Options: fPIC=True, shared=False, tee=True, with_fontconfig=True, with_freetype=True, with_glib=True, with_lzo=True, with_opengl=desktop, with_png=True, with_symbol_lookup=False, with_xcb=True, with_xlib=True, with_xlib_xrender=True, with_zlib=True, brotli:fPIC=True, brotli:shared=False, bzip2:build_executable=True, bzip2:fPIC=True, bzip2:shared=False, expat:char_type=char, expat:fPIC=True, expat:shared=False, fontconfig:fPIC=True, fontconfig:shared=False, freetype:fPIC=True, freetype:shared=False, freetype:subpixel=False, freetype:with_brotli=True, freetype:with_bzip2=True, freetype:with_png=True, freetype:with_zlib=True, glib:fPIC=True, glib:shared=False, glib:with_elf=True, glib:with_mount=True, glib:with_pcre=True, glib:with_selinux=True, libelf:fPIC=True, libelf:shared=False, libffi:fPIC=True, libffi:shared=False, libmount:fPIC=True, libmount:shared=False, libpng:api_prefix=, libpng:fPIC=True, libpng:shared=False, libpng:sse=True, libselinux:fPIC=True, libselinux:shared=False, libuuid:fPIC=True, libuuid:shared=False, lzo:fPIC=True, lzo:shared=False, pcre:build_pcre_16=True, pcre:build_pcre_32=True, pcre:build_pcre_8=True, pcre:build_pcrecpp=False, pcre:build_pcregrep=True, pcre:fPIC=True, pcre:shared=False, pcre:with_bzip2=True, pcre:with_jit=False, pcre:with_stack_for_recursion=True, pcre:with_unicode_properties=True, pcre:with_utf=True, pcre:with_zlib=True, pcre2:build_pcre2_16=True, pcre2:build_pcre2_32=True, pcre2:build_pcre2_8=True, pcre2:build_pcre2grep=True, pcre2:fPIC=True, pcre2:shared=False, pcre2:support_jit=False, pcre2:with_bzip2=True, pcre2:with_zlib=True, pixman:fPIC=True, pixman:shared=False, zlib:fPIC=True, zlib:shared=False
    - Dependencies: pixman/0.40.0, expat/2.4.8, lzo/2.10, zlib/1.2.12, freetype/2.10.4, fontconfig/2.13.93, libpng/1.6.37, glib/2.70.0, xorg/system, opengl/system, egl/system
    - Requirements: egl/system, expat/2.Y.Z, fontconfig/2.Y.Z, freetype/2.Y.Z, glib/2.70.0:b029d6594fa7dfdc445f2d6878d1eb1ee5c4cbc2, libpng/1.Y.Z, lzo/2.Y.Z, opengl/system, pixman/0.40.0, xorg/system, zlib/1.Y.Z
    - Package ID: 1361433b1a6e676f44c117a781b907730fdae86c
    
    ERROR: Missing prebuilt package for 'cairo/1.17.4', 'harfbuzz/2.7.4', 'pango/1.48.5'
    Use 'conan search cairo/1.17.4 --table=table.html -r=remote' and open the table.html file to see available packages
    Or try to build locally from sources with '--build=cairo --build=harfbuzz --build=pango'
    
    More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.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.

conan-center-bot avatar Jun 30 '22 07:06 conan-center-bot

Failure in build 13 (72addc038a6654ede4ae29e2524639207b86c886):

  • imagemagick/7.0.11-14@: Didn't run or was cancelled before finishing

  • imagemagick/7.1.0-29@: CI failed to create some packages (All logs)

    Logs for packageID f8f463baea752d4e97dcfeeb818df8302c1276b4:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    imagemagick:shared=False
    
    [...]
        libwebp/1.2.2:9914f4fbedcef15a1908dc721c310d135acd4987 - Download
        libxml2/2.9.12:13c49745b25725ed9cfa2d6c055b02c0efebe225 - Download
        lzo/2.10:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        openexr/2.5.7:6f434c3c3da96552412901feb7c42609d558a2cc - Download
        opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        openjpeg/2.5.0:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        pango/1.48.5:8cab6a5fdfcd9b69b4014a2c74e142b31bfdfdff - Missing
        pcre/8.45:fab187555fa87e54b51a5e8e8ff95b0f5855d00b - Download
        pcre2/10.37:49e53541184a75e1bfaa4dad6b0819ae43a76cf9 - Download
        pixman/0.40.0:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        xorg/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        xz_utils/5.2.5:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        zlib/1.2.12:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        zstd/1.5.2:ff7e1eda45846fc95249ac3e0c50da0e296272b3 - Download
    Build requirements
        cmake/3.22.0 from 'conan-center' - Downloaded
        ninja/1.10.2 from 'conan-center' - Downloaded
        openssl/1.1.1o from 'conan-center' - Downloaded
        pkgconf/1.7.4 from 'conan-center' - Downloaded
    Build requirements packages
        cmake/3.22.0:5c09c752508b674ca5cb1f2d327b5a2d582866c8 - Download
        ninja/1.10.2:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download
        openssl/1.1.1o:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download
        pkgconf/1.7.4:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download
    
    Installing (downloading, building) binaries...
    
    imagemagick/7.1.0-29: WARN: Conan package for OpenMP is not available, this package will be used from system.
    WARN: pango/1.48.5: requirement freetype/2.11.0 overridden by imagemagick/7.1.0-29 to freetype/2.10.4 
    WARN: fontconfig/2.13.93: requirement freetype/2.12.1 overridden by pango/1.48.5 to freetype/2.10.4 
    WARN: cairo/1.17.4: requirement freetype/2.12.1 overridden by pango/1.48.5 to freetype/2.10.4 
    WARN: cairo/1.17.4: requirement glib/2.73.0 overridden by pango/1.48.5 to glib/2.70.0 
    WARN: glib/2.70.0: requirement zlib/1.2.11 overridden by cairo/1.17.4 to zlib/1.2.12 
    WARN: harfbuzz/2.7.4: requirement freetype/2.12.1 overridden by pango/1.48.5 to freetype/2.10.4 
    WARN: harfbuzz/2.7.4: requirement glib/2.73.0 overridden by pango/1.48.5 to glib/2.70.0 
    ERROR: Missing binary: cairo/1.17.4:1361433b1a6e676f44c117a781b907730fdae86c
    ERROR: Missing binary: harfbuzz/2.7.4:fa0a00c68faed3a885b00f6d1e00f179830f4fbb
    ERROR: Missing binary: pango/1.48.5:8cab6a5fdfcd9b69b4014a2c74e142b31bfdfdff
    cairo/1.17.4: WARN: Can't find a 'cairo/1.17.4' package for the specified settings, options and dependencies:
    - Settings: arch=x86_64, build_type=Release, compiler=gcc, compiler.version=5, os=Linux
    - Options: fPIC=True, shared=False, tee=True, with_fontconfig=True, with_freetype=True, with_glib=True, with_lzo=True, with_opengl=desktop, with_png=True, with_symbol_lookup=False, with_xcb=True, with_xlib=True, with_xlib_xrender=True, with_zlib=True, brotli:fPIC=True, brotli:shared=False, bzip2:build_executable=True, bzip2:fPIC=True, bzip2:shared=False, expat:char_type=char, expat:fPIC=True, expat:shared=False, fontconfig:fPIC=True, fontconfig:shared=False, freetype:fPIC=True, freetype:shared=False, freetype:subpixel=False, freetype:with_brotli=True, freetype:with_bzip2=True, freetype:with_png=True, freetype:with_zlib=True, glib:fPIC=True, glib:shared=False, glib:with_elf=True, glib:with_mount=True, glib:with_pcre=True, glib:with_selinux=True, libelf:fPIC=True, libelf:shared=False, libffi:fPIC=True, libffi:shared=False, libmount:fPIC=True, libmount:shared=False, libpng:api_prefix=, libpng:fPIC=True, libpng:shared=False, libpng:sse=True, libselinux:fPIC=True, libselinux:shared=False, libuuid:fPIC=True, libuuid:shared=False, lzo:fPIC=True, lzo:shared=False, pcre:build_pcre_16=True, pcre:build_pcre_32=True, pcre:build_pcre_8=True, pcre:build_pcrecpp=False, pcre:build_pcregrep=True, pcre:fPIC=True, pcre:shared=False, pcre:with_bzip2=True, pcre:with_jit=False, pcre:with_stack_for_recursion=True, pcre:with_unicode_properties=True, pcre:with_utf=True, pcre:with_zlib=True, pcre2:build_pcre2_16=True, pcre2:build_pcre2_32=True, pcre2:build_pcre2_8=True, pcre2:build_pcre2grep=True, pcre2:fPIC=True, pcre2:shared=False, pcre2:support_jit=False, pcre2:with_bzip2=True, pcre2:with_zlib=True, pixman:fPIC=True, pixman:shared=False, zlib:fPIC=True, zlib:shared=False
    - Dependencies: pixman/0.40.0, expat/2.4.8, lzo/2.10, zlib/1.2.12, freetype/2.10.4, fontconfig/2.13.93, libpng/1.6.37, glib/2.70.0, xorg/system, opengl/system, egl/system
    - Requirements: egl/system, expat/2.Y.Z, fontconfig/2.Y.Z, freetype/2.Y.Z, glib/2.70.0:b029d6594fa7dfdc445f2d6878d1eb1ee5c4cbc2, libpng/1.Y.Z, lzo/2.Y.Z, opengl/system, pixman/0.40.0, xorg/system, zlib/1.Y.Z
    - Package ID: 1361433b1a6e676f44c117a781b907730fdae86c
    
    ERROR: Missing prebuilt package for 'cairo/1.17.4', 'harfbuzz/2.7.4', 'pango/1.48.5'
    Use 'conan search cairo/1.17.4 --table=table.html -r=remote' and open the table.html file to see available packages
    Or try to build locally from sources with '--build=cairo --build=harfbuzz --build=pango'
    
    More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.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.

conan-center-bot avatar Jul 01 '22 16:07 conan-center-bot

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[bot] avatar Aug 11 '22 14:08 stale[bot]

Sorry for being slow on this, how do you usually handle missing prebuilts?

Cyriuz avatar Aug 31 '22 12:08 Cyriuz

@Cyriuz I gonna check will cairo is missing and try to regenerate it. THanks for reporting.

uilianries avatar Aug 31 '22 13:08 uilianries

Failure in build 14 (72addc038a6654ede4ae29e2524639207b86c886):

  • imagemagick/7.1.0-29@: Didn't run or was cancelled before finishing

  • imagemagick/7.0.11-14@: CI failed to create some packages (All logs)

    Logs for packageID 7d8b8868e8faf4f85733bd7314c904ad389c89c6:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=8
    os=Linux
    [options]
    imagemagick:shared=False
    
    [...]
        libselinux/3.3:3cdf9c40ed41ce093aec6e5f6607274047658b2d - Download
        libtiff/4.3.0:e83ffa2a2edf838fabda37423374736f3541a363 - Download
        libuuid/1.0.3:1d877a3df840030e6a8abb74c5ffb9088d08b47a - Download
        libwebp/1.2.3:a4d73d2d4a03abfc1a36922919556dad5ab3d20d - Download
        libxft/2.3.4:411767733e6c5a2bbba708864cab854bd9046a3b - Download
        libxml2/2.9.10:a60cd016254b491086f00ca14d9cdef5f8632055 - Download
        lzo/2.10:1d877a3df840030e6a8abb74c5ffb9088d08b47a - Download
        openexr/2.5.7:628955646eaa0f6298ac808566165fa82f9f8191 - Download
        opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        openjpeg/2.4.0:1d877a3df840030e6a8abb74c5ffb9088d08b47a - Download
        pango/1.50.7:e5484f7e008cb2b0da51a696826a14a8e8c9bb17 - Missing
        pcre/8.45:95c3c559337923e10e8b01075ae10c7bdcebf915 - Download
        pcre2/10.40:63e2e082db68514d73a3597341e8a175e002e762 - Download
        pixman/0.40.0:1d877a3df840030e6a8abb74c5ffb9088d08b47a - Download
        xorg/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        xz_utils/5.2.5:1d877a3df840030e6a8abb74c5ffb9088d08b47a - Download
        zlib/1.2.11:1d877a3df840030e6a8abb74c5ffb9088d08b47a - Download
        zstd/1.5.2:3b258fdc811e95a086ce28938b49155b5c0c91be - Download
    
    Installing (downloading, building) binaries...
    
    WARN: openexr/2.5.7: requirement zlib/1.2.12 overridden by imagemagick/7.0.11-14 to zlib/1.2.11 
    WARN: pango/1.50.7: requirement freetype/2.12.1 overridden by imagemagick/7.0.11-14 to freetype/2.10.4 
    WARN: freetype/2.10.4: requirement zlib/1.2.12 overridden by pango/1.50.7 to zlib/1.2.11 
    WARN: libpng/1.6.37: requirement zlib/1.2.12 overridden by freetype/2.10.4 to zlib/1.2.11 
    WARN: fontconfig/2.13.93: requirement freetype/2.12.1 overridden by pango/1.50.7 to freetype/2.10.4 
    WARN: libxft/2.3.4: requirement freetype/2.12.1 overridden by pango/1.50.7 to freetype/2.10.4 
    WARN: cairo/1.17.4: requirement zlib/1.2.12 overridden by pango/1.50.7 to zlib/1.2.11 
    WARN: cairo/1.17.4: requirement freetype/2.12.1 overridden by pango/1.50.7 to freetype/2.10.4 
    WARN: glib/2.73.0: requirement zlib/1.2.12 overridden by cairo/1.17.4 to zlib/1.2.11 
    WARN: pcre/8.45: requirement zlib/1.2.12 overridden by glib/2.73.0 to zlib/1.2.11 
    WARN: pcre2/10.40: requirement zlib/1.2.12 overridden by libselinux/3.3 to zlib/1.2.11 
    WARN: harfbuzz/4.3.0: requirement freetype/2.12.1 overridden by pango/1.50.7 to freetype/2.10.4 
    WARN: harfbuzz/4.3.0: requirement glib/2.73.1 overridden by pango/1.50.7 to glib/2.73.0 
    WARN: libtiff/4.3.0: requirement zlib/1.2.12 overridden by imagemagick/7.0.11-14 to zlib/1.2.11 
    WARN: libxml2/2.9.10: requirement zlib/1.2.12 overridden by imagemagick/7.0.11-14 to zlib/1.2.11 
    ERROR: Missing binary: cairo/1.17.4:20cf63326af8c0b8ee935509ff0be4e71fdc7d33
    ERROR: Missing binary: pango/1.50.7:e5484f7e008cb2b0da51a696826a14a8e8c9bb17
    cairo/1.17.4: WARN: Can't find a 'cairo/1.17.4' package for the specified settings, options and dependencies:
    - Settings: arch=x86_64, build_type=Release, compiler=gcc, compiler.version=8, os=Linux
    - Options: fPIC=True, shared=False, tee=True, with_fontconfig=True, with_freetype=True, with_glib=True, with_lzo=True, with_opengl=desktop, with_png=True, with_symbol_lookup=False, with_xcb=True, with_xlib=True, with_xlib_xrender=True, with_zlib=True, brotli:enable_debug=False, brotli:enable_log=False, brotli:enable_portable=False, brotli:enable_rbit=True, brotli:endianness=None, brotli:fPIC=True, brotli:shared=False, brotli:target_bits=None, bzip2:build_executable=True, bzip2:fPIC=True, bzip2:shared=False, expat:char_type=char, expat:fPIC=True, expat:shared=False, fontconfig:fPIC=True, fontconfig:shared=False, freetype:fPIC=True, freetype:shared=False, freetype:subpixel=False, freetype:with_brotli=True, freetype:with_bzip2=True, freetype:with_png=True, freetype:with_zlib=True, glib:shared=True, glib:with_elf=True, glib:with_mount=True, glib:with_pcre=True, glib:with_selinux=True, libelf:fPIC=True, libelf:shared=False, libffi:fPIC=True, libffi:shared=False, libmount:fPIC=True, libmount:shared=False, libpng:api_prefix=, libpng:fPIC=True, libpng:shared=False, libpng:sse=True, libselinux:fPIC=True, libselinux:shared=False, libuuid:fPIC=True, libuuid:shared=False, lzo:fPIC=True, lzo:shared=False, pcre:build_pcre_16=True, pcre:build_pcre_32=True, pcre:build_pcre_8=True, pcre:build_pcrecpp=False, pcre:build_pcregrep=True, pcre:fPIC=True, pcre:shared=False, pcre:with_bzip2=True, pcre:with_jit=False, pcre:with_stack_for_recursion=True, pcre:with_unicode_properties=True, pcre:with_utf=True, pcre:with_zlib=True, pcre2:build_pcre2_16=True, pcre2:build_pcre2_32=True, pcre2:build_pcre2_8=True, pcre2:build_pcre2grep=True, pcre2:fPIC=True, pcre2:grep_support_callout_fork=True, pcre2:shared=False, pcre2:support_jit=False, pcre2:with_bzip2=True, pcre2:with_zlib=True, pixman:fPIC=True, pixman:shared=False, zlib:fPIC=True, zlib:shared=False
    - Dependencies: pixman/0.40.0, expat/2.4.8, lzo/2.10, zlib/1.2.11, freetype/2.10.4, fontconfig/2.13.93, libpng/1.6.37, glib/2.73.0, xorg/system, opengl/system, egl/system
    - Requirements: egl/system, expat/2.Y.Z, fontconfig/2.Y.Z, freetype/2.Y.Z, glib/2.73.0:9a55ecdc0f7c7f70f774dd52075cb8302fd8c48e, libpng/1.Y.Z, lzo/2.Y.Z, opengl/system, pixman/0.40.0, xorg/system, zlib/1.Y.Z
    - Package ID: 20cf63326af8c0b8ee935509ff0be4e71fdc7d33
    
    ERROR: Missing prebuilt package for 'cairo/1.17.4', 'pango/1.50.7'
    Use 'conan search cairo/1.17.4 --table=table.html -r=remote' and open the table.html file to see available packages
    Or try to build locally from sources with '--build=cairo --build=pango'
    
    More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.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.

conan-center-bot avatar Sep 01 '22 07:09 conan-center-bot

@uilianries Did you get a chance to look into this? I could disable these deps by default I guess but maybe that is the wrong way to handle it :)

Cyriuz avatar Sep 12 '22 12:09 Cyriuz

@Cyriuz yes, I tried to regenerate both cairo and pango multiple times, but that same package id is always missing. I'll investigate further tomorrow, thank you for pinging!

uilianries avatar Sep 12 '22 15:09 uilianries

Hi! Here the issue (at least one of them) with cairo is related to glib:

  • cairo requires glib/2.73.3

  • ...but this requirement is overridden by pango:

    WARN: cairo/1.17.4: requirement glib/2.73.3 overridden by pango/1.50.7 to glib/2.73.0
    
  • and cairo recipe, on it side, has decided to depend on every single bit from glib:

    self.info.requires["glib"].full_package_mode()
    

    As a consequence, the different patch version, results in different package-id for cairo.

We just need to upgrade glib in pango to glib/2.73.3 so the version is not overridden

jgsogo avatar Sep 15 '22 15:09 jgsogo

@jgsogo thank you very much!!

uilianries avatar Sep 16 '22 08:09 uilianries

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

  • #13179
  • #12907
  • #12699
  • #12371

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

ericLemanissierBot avatar Oct 13 '22 22:10 ericLemanissierBot

Failure in build 15 (4db101702f4c386dc6c7505d64683f9973d04292):

  • imagemagick/7.0.11-14@: Error running command conan info imagemagick/7.0.11-14@#57faf72cd979f014154ffc7b8dd1c857 --json {jsonName} -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    imagemagick:shared=False
    
    ...
    WARN: openexr/2.5.7: requirement zlib/1.2.12 overridden by imagemagick/7.0.11-14 to zlib/1.2.11 
    WARN: pango/1.50.10: requirement freetype/2.12.1 overridden by imagemagick/7.0.11-14 to freetype/2.10.4 
    WARN: freetype/2.10.4: requirement libpng/1.6.38 overridden by pango/1.50.10 to libpng/1.6.37 
    WARN: freetype/2.10.4: requirement zlib/1.2.12 overridden by pango/1.50.10 to zlib/1.2.11 
    WARN: libpng/1.6.37: requirement zlib/1.2.12 overridden by freetype/2.10.4 to zlib/1.2.11 
    WARN: fontconfig/2.13.93: requirement freetype/2.12.1 overridden by pango/1.50.10 to freetype/2.10.4 
    WARN: libxft/2.3.4: requirement freetype/2.12.1 overridden by pango/1.50.10 to freetype/2.10.4 
    WARN: cairo/1.17.4: requirement zlib/1.2.12 overridden by pango/1.50.10 to zlib/1.2.11 
    WARN: cairo/1.17.4: requirement freetype/2.12.1 overridden by pango/1.50.10 to freetype/2.10.4 
    ERROR: Conflict in cairo/1.17.4:
        'cairo/1.17.4' requires 'expat/2.4.8' while 'fontconfig/2.13.93' requires 'expat/2.4.9'.
        To fix this conflict you need to override the package 'expat' in your root package.
    
  • imagemagick/7.1.0-29@: Error running command conan info imagemagick/7.1.0-29@#c1c93aca3568be2432561e3c44e7fd48 --json {jsonName} -pr {profileName}:

    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    imagemagick:shared=False
    
    ...
    imagemagick/7.1.0-29: WARN: Conan package for OpenMP is not available, this package will be used from system.
    WARN: pango/1.50.10: requirement freetype/2.12.1 overridden by imagemagick/7.1.0-29 to freetype/2.10.4 
    WARN: freetype/2.10.4: requirement libpng/1.6.38 overridden by pango/1.50.10 to libpng/1.6.37 
    WARN: fontconfig/2.13.93: requirement freetype/2.12.1 overridden by pango/1.50.10 to freetype/2.10.4 
    WARN: libxft/2.3.4: requirement freetype/2.12.1 overridden by pango/1.50.10 to freetype/2.10.4 
    WARN: cairo/1.17.4: requirement freetype/2.12.1 overridden by pango/1.50.10 to freetype/2.10.4 
    ERROR: Conflict in cairo/1.17.4:
        'cairo/1.17.4' requires 'expat/2.4.8' while 'fontconfig/2.13.93' requires 'expat/2.4.9'.
        To fix this conflict you need to override the package 'expat' in your root 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.

conan-center-bot avatar Oct 13 '22 22:10 conan-center-bot

Sorry for being so slow with this and thanks for pointing out the issue. I wanted to try to bump pango but got hit by the linter now, I had hoped I wouldn't need to change the 7.0 recipe since it doesn't build on my Windows dev env but maybe its unavoidable? Not sure if it is worth fixing this PR since we now have #12371? This one makes the recipe super easy but it depends on my cmake patch which I had hoped would be adopted by imagemagick, but that might be wishful thinking since I have had so little time to spend on this lately.

Cyriuz avatar Oct 13 '22 23:10 Cyriuz

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[bot] avatar Nov 13 '22 00:11 stale[bot]

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

stale[bot] avatar Dec 16 '22 08:12 stale[bot]