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

librsvg: add legacy C version #25373

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

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Sep 24, 2024

Summary

Changes to recipe: librsvg/2.40.21

Motivation

A library to render SVG images to Cairo surfaces.

https://gitlab.gnome.org/GNOME/librsvg/-/tree/2.40.21

Packaging status

Used to provide SVG support in many software projects, but is currently still missing a recipe on CCI.

Details

There's also a draft PR for the latest Rust-based version (#21005), but it won't be merged anytime soon due to (1) a missing Rust compiler toolchain on CCI and (2) the system_deps crate currently being fundamentally broken when it comes to using relocatable C dependencies (#21005 (comment)).

Has known vulnerabilities: https://repology.org/project/librsvg/cves?version=2.40.21

Requires libcroco: #25372.


@conan-center-bot

This comment has been minimized.

@valgur valgur mentioned this pull request Sep 24, 2024
3 tasks
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 2 (d9d9b72cd9aa21f2a47a7ec8db0cd766c5716503):

  • librsvg/2.40.21:
    Error running command conan info librsvg/2.40.21@#731b0783c897cf27c28dd108f19c8e5d --json {jsonName} --dry-build -pr {profileName}:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    librsvg:shared=False
    
    ...
    WARN: pcre2/10.42: requirement zlib/[>=1.2.11 <2] overridden by glib/2.78.3 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 
    ERROR: Failed requirement 'libcroco/0.6.13' from 'librsvg/2.40.21'
    ERROR: Unable to find 'libcroco/0.6.13' in remotes
    

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

  • librsvg/2.40.21:
    Error running command conan graph info --requires librsvg/2.40.21@#731b0783c897cf27c28dd108f19c8e5d --build librsvg/2.40.21@#731b0783c897cf27c28dd108f19c8e5d -f json -pr:h /home/conan/workspace/prod-v2/bsr/89507/eeffa/profile_linux_11_libstdcpp11_17_gcc_release_64.-shared-False.txt -pr:b /home/conan/workspace/prod-v2/bsr/89507/eeffa/profile_linux_11_libstdcpp11_17_gcc_release_64..txt:
    ======== Computing dependency graph ========
    glib/2.78.3: Not found in local cache, looking in remotes...
    glib/2.78.3: Checking remote: conan-center
    glib/2.78.3: Downloaded recipe revision 0d214f34a22088571a43892d3fd41093
    zlib/1.3.1: Not found in local cache, looking in remotes...
    zlib/1.3.1: Checking remote: conan-center
    zlib/1.3.1: Downloaded recipe revision f52e03ae3d251dec704634230cd806a2
    libffi/3.4.4: Not found in local cache, looking in remotes...
    libffi/3.4.4: Checking remote: conan-center
    libffi/3.4.4: Downloaded recipe revision 72cccac6139293b6e97ec9cd676547ff
    pcre2/10.42: Not found in local cache, looking in remotes...
    pcre2/10.42: Checking remote: conan-center
    pcre2/10.42: Downloaded recipe revision 576680686b88a4dadf6d382d6d6351d9
    bzip2/1.0.8: Not found in local cache, looking in remotes...
    bzip2/1.0.8: Checking remote: conan-center
    bzip2/1.0.8: Downloaded recipe revision d00dac990f08d991998d624be81a9526
    libelf/0.8.13: Not found in local cache, looking in remotes...
    libelf/0.8.13: Checking remote: conan-center
    libelf/0.8.13: Downloaded recipe revision 4f70a3555809ae50cc8add44f0f84288
    autoconf/2.71: Not found in local cache, looking in remotes...
    autoconf/2.71: Checking remote: conan-center
    autoconf/2.71: Downloaded recipe revision f9307992909d7fb3df459340f1932809
    m4/1.4.19: Not found in local cache, looking in remotes...
    m4/1.4.19: Checking remote: conan-center
    m4/1.4.19: Downloaded recipe revision b38ced39a01e31fef5435bc634461fd2
    gnu-config/cci.20210814: Not found in local cache, looking in remotes...
    gnu-config/cci.20210814: Checking remote: conan-center
    gnu-config/cci.20210814: Downloaded recipe revision dc430d754f465e8c74463019672fb97b
    libmount/2.39: Not found in local cache, looking in remotes...
    libmount/2.39: Checking remote: conan-center
    libmount/2.39: Downloaded recipe revision 8a95198b2547a8ca7685eb7a1d002903
    libselinux/3.6: Not found in local cache, looking in remotes...
    libselinux/3.6: Checking remote: conan-center
    libselinux/3.6: Downloaded recipe revision 5a78ff6ae5034eeaac8da723361a8ce4
    flex/2.6.4: Not found in local cache, looking in remotes...
    flex/2.6.4: Checking remote: conan-center
    flex/2.6.4: Downloaded recipe revision e35bc44b3fcbcd661e0af0dc5b5b1ad4
    pkgconf/2.2.0: Not found in local cache, looking in remotes...
    pkgconf/2.2.0: Checking remote: conan-center
    pkgconf/2.2.0: Downloaded recipe revision 6462942a22803086372db44689ba825f
    meson/1.2.2: Not found in local cache, looking in remotes...
    meson/1.2.2: Checking remote: conan-center
    meson/1.2.2: Downloaded recipe revision 21b73818ba96d9eea465b310b5bbc993
    ninja/1.12.1: Not found in local cache, looking in remotes...
    ninja/1.12.1: Checking remote: conan-center
    ninja/1.12.1: Downloaded recipe revision fd583651bf0c6a901943495d49878803
    meson/1.5.1: Not found in local cache, looking in remotes...
    meson/1.5.1: Checking remote: conan-center
    meson/1.5.1: Downloaded recipe revision 98751d4b5aa14502306753baa607ac44
    pkgconf/2.0.3: Not found in local cache, looking in remotes...
    pkgconf/2.0.3: Checking remote: conan-center
    pkgconf/2.0.3: Downloaded recipe revision f996677e96e61e6552d85e83756c328b
    fontconfig/2.15.0: Not found in local cache, looking in remotes...
    fontconfig/2.15.0: Checking remote: conan-center
    fontconfig/2.15.0: Downloaded recipe revision e0b660ff9389f08e1aca1a67d748d737
    freetype/2.13.2: Not found in local cache, looking in remotes...
    freetype/2.13.2: Checking remote: conan-center
    freetype/2.13.2: Downloaded recipe revision 7934d59c447d72edcd56025dc60e1aeb
    libpng/1.6.44: Not found in local cache, looking in remotes...
    libpng/1.6.44: Checking remote: conan-center
    libpng/1.6.44: Downloaded recipe revision 9e1aa08fb46946c7c91e4ae03bd49811
    brotli/1.1.0: Not found in local cache, looking in remotes...
    brotli/1.1.0: Checking remote: conan-center
    brotli/1.1.0: Downloaded recipe revision d56d7bb9ca722942aba17369cb5c0519
    meson/1.3.2: Not found in local cache, looking in remotes...
    meson/1.3.2: Checking remote: conan-center
    meson/1.3.2: Downloaded recipe revision 26ce8a76a36cc275cdfee1d757bc6561
    pkgconf/2.1.0: Not found in local cache, looking in remotes...
    pkgconf/2.1.0: Checking remote: conan-center
    pkgconf/2.1.0: Downloaded recipe revision 27f44583701117b571307cf5b5fe5605
    expat/2.6.3: Not found in local cache, looking in remotes...
    expat/2.6.3: Checking remote: conan-center
    expat/2.6.3: Downloaded recipe revision 39b80d3109fbe578fddfe4951f0b1d57
    util-linux-libuuid/2.39.2: Not found in local cache, looking in remotes...
    util-linux-libuuid/2.39.2: Checking remote: conan-center
    util-linux-libuuid/2.39.2: Downloaded recipe revision 339f80aea7e5cf507b5b9839a128909f
    gperf/3.1: Not found in local cache, looking in remotes...
    gperf/3.1: Checking remote: conan-center
    gperf/3.1: Downloaded recipe revision 1d622ad9717e9348ed3685c9994ad0b9
    meson/1.4.0: Not found in local cache, looking in remotes...
    meson/1.4.0: Checking remote: conan-center
    meson/1.4.0: Downloaded recipe revision 2262941cc8fbb0099dd0c196ca2a6c01
    cairo/1.18.0: Not found in local cache, looking in remotes...
    cairo/1.18.0: Checking remote: conan-center
    cairo/1.18.0: Downloaded recipe revision 4158de4757b659c3cdbb0751b1bb22aa
    pixman/0.43.4: Not found in local cache, looking in remotes...
    pixman/0.43.4: Checking remote: conan-center
    pixman/0.43.4: Downloaded recipe revision 0dcdf859941e32fcc7bfb73ea1946a7f
    lzo/2.10: Not found in local cache, looking in remotes...
    lzo/2.10: Checking remote: conan-center
    lzo/2.10: Downloaded recipe revision 5725914235423c771cb1c6b607109b45
    xorg/system: Not found in local cache, looking in remotes...
    xorg/system: Checking remote: conan-center
    xorg/system: Downloaded recipe revision 98f82cb669e4ebc6b4d9d8a4f3f1faf4
    pango/1.54.0: Not found in local cache, looking in remotes...
    pango/1.54.0: Checking remote: conan-center
    pango/1.54.0: Downloaded recipe revision 4e7c305991b6edc94f2b750c9241f61d
    libxft/2.3.8: Not found in local cache, looking in remotes...
    libxft/2.3.8: Checking remote: conan-center
    libxft/2.3.8: Downloaded recipe revision 5a86906f15dcf469406c4b186410bf0b
    xorg-macros/1.20.0: Not found in local cache, looking in remotes...
    xorg-macros/1.20.0: Checking remote: conan-center
    xorg-macros/1.20.0: Downloaded recipe revision b721d2f8ca6804d072820cb551d8c4fa
    automake/1.16.5: Not found in local cache, looking in remotes...
    automake/1.16.5: Checking remote: conan-center
    automake/1.16.5: Downloaded recipe revision 058bda3e21c36c9aa8425daf3c1faf50
    libtool/2.4.7: Not found in local cache, looking in remotes...
    libtool/2.4.7: Checking remote: conan-center
    libtool/2.4.7: Downloaded recipe revision 08316dad5c72c541ed21e039e4cf217b
    fribidi/1.0.13: Not found in local cache, looking in remotes...
    fribidi/1.0.13: Checking remote: conan-center
    fribidi/1.0.13: Downloaded recipe revision 861199a83fa19c194beeb7f6234d9d51
    meson/1.2.1: Not found in local cache, looking in remotes...
    meson/1.2.1: Checking remote: conan-center
    meson/1.2.1: Downloaded recipe revision f2b0c7763308df8e33172744dace8845
    harfbuzz/8.3.0: Not found in local cache, looking in remotes...
    harfbuzz/8.3.0: Checking remote: conan-center
    harfbuzz/8.3.0: Downloaded recipe revision c83405ed297bad6c9e9587e2a19c686a
    libxml2/2.12.7: Not found in local cache, looking in remotes...
    libxml2/2.12.7: Checking remote: conan-center
    libxml2/2.12.7: Downloaded recipe revision 1c4d20b7ab8b618ce699733723ba4df6
    libiconv/1.17: Not found in local cache, looking in remotes...
    libiconv/1.17: Checking remote: conan-center
    libiconv/1.17: Downloaded recipe revision 73fefc1b696e069df90fd1d18aa63edd
    gdk-pixbuf/2.42.10: Not found in local cache, looking in remotes...
    gdk-pixbuf/2.42.10: Checking remote: conan-center
    gdk-pixbuf/2.42.10: Downloaded recipe revision de41f295e47b7a9502fdd8bb64108f65
    libtiff/4.6.0: Not found in local cache, looking in remotes...
    libtiff/4.6.0: Checking remote: conan-center
    libtiff/4.6.0: Downloaded recipe revision 51d0e7e15d032aeec1b64e65c44ecd9f
    libdeflate/1.19: Not found in local cache, looking in remotes...
    libdeflate/1.19: Checking remote: conan-center
    libdeflate/1.19: Downloaded recipe revision 3ea74a4549efc14d4b1202dc4bfbf602
    xz_utils/5.4.5: Not found in local cache, looking in remotes...
    xz_utils/5.4.5: Checking remote: conan-center
    xz_utils/5.4.5: Downloaded recipe revision b885d1d79c9d30cff3803f7f551dbe66
    libjpeg/9e: Not found in local cache, looking in remotes...
    libjpeg/9e: Checking remote: conan-center
    libjpeg/9e: Downloaded recipe revision 3cd27a78643419450ee6d3739514d25c
    jbig/20160605: Not found in local cache, looking in remotes...
    jbig/20160605: Checking remote: conan-center
    jbig/20160605: Downloaded recipe revision 2d29fa02aacd76902e0d2cbbc24631ef
    zstd/1.5.5: Not found in local cache, looking in remotes...
    zstd/1.5.5: Checking remote: conan-center
    zstd/1.5.5: Downloaded recipe revision 1f239731dc45147c7fc2f54bfbde73df
    libwebp/1.3.2: Not found in local cache, looking in remotes...
    libwebp/1.3.2: Checking remote: conan-center
    libwebp/1.3.2: Downloaded recipe revision 52f69c4a31c5cf033fdd9230d77a8e38
    cmake/3.30.1: Not found in local cache, looking in remotes...
    cmake/3.30.1: Checking remote: conan-center
    cmake/3.30.1: Downloaded recipe revision 6d832cf2d46f6ec969ca5ed5b41f91eb
    gettext/0.22.5: Not found in local cache, looking in remotes...
    gettext/0.22.5: Checking remote: conan-center
    gettext/0.22.5: Downloaded recipe revision 909a6ca9b6d4062e9b6ccf25c8461cda
    libcroco/0.6.13: Not found in local cache, looking in remotes...
    libcroco/0.6.13: Checking remote: conan-center
    libcroco/0.6.13: Checking remote: c3i_PR-v2-25373
    Graph root
        cli
    Requirements
        brotli/1.1.0#d56d7bb9ca722942aba17369cb5c0519 - Downloaded (conan-center)
        bzip2/1.0.8#d00dac990f08d991998d624be81a9526 - Downloaded (conan-center)
        cairo/1.18.0#4158de4757b659c3cdbb0751b1bb22aa - Downloaded (conan-center)
        expat/2.6.3#39b80d3109fbe578fddfe4951f0b1d57 - Downloaded (conan-center)
        fontconfig/2.15.0#e0b660ff9389f08e1aca1a67d748d737 - Downloaded (conan-center)
        freetype/2.13.2#7934d59c447d72edcd56025dc60e1aeb - Downloaded (conan-center)
        fribidi/1.0.13#861199a83fa19c194beeb7f6234d9d51 - Downloaded (conan-center)
        gdk-pixbuf/2.42.10#de41f295e47b7a9502fdd8bb64108f65 - Downloaded (conan-center)
        glib/2.78.3#0d214f34a22088571a43892d3fd41093 - Downloaded (conan-center)
        harfbuzz/8.3.0#c83405ed297bad6c9e9587e2a19c686a - Downloaded (conan-center)
        jbig/20160605#2d29fa02aacd76902e0d2cbbc24631ef - Downloaded (conan-center)
        libdeflate/1.19#3ea74a4549efc14d4b1202dc4bfbf602 - Downloaded (conan-center)
        libelf/0.8.13#4f70a3555809ae50cc8add44f0f84288 - Downloaded (conan-center)
        libffi/3.4.4#72cccac6139293b6e97ec9cd676547ff - Downloaded (conan-center)
        libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Downloaded (conan-center)
        libjpeg/9e#3cd27a78643419450ee6d3739514d25c - Downloaded (conan-center)
        libmount/2.39#8a95198b2547a8ca7685eb7a1d002903 - Downloaded (conan-center)
        libpng/1.6.44#9e1aa08fb46946c7c91e4ae03bd49811 - Downloaded (conan-center)
        librsvg/2.40.21#731b0783c897cf27c28dd108f19c8e5d - Cache
        libselinux/3.6#5a78ff6ae5034eeaac8da723361a8ce4 - Downloaded (conan-center)
        libtiff/4.6.0#51d0e7e15d032aeec1b64e65c44ecd9f - Downloaded (conan-center)
        libwebp/1.3.2#52f69c4a31c5cf033fdd9230d77a8e38 - Downloaded (conan-center)
        libxft/2.3.8#5a86906f15dcf469406c4b186410bf0b - Downloaded (conan-center)
        libxml2/2.12.7#1c4d20b7ab8b618ce699733723ba4df6 - Downloaded (conan-center)
        lzo/2.10#5725914235423c771cb1c6b607109b45 - Downloaded (conan-center)
        pango/1.54.0#4e7c305991b6edc94f2b750c9241f61d - Downloaded (conan-center)
        pcre2/10.42#576680686b88a4dadf6d382d6d6351d9 - Downloaded (conan-center)
        pixman/0.43.4#0dcdf859941e32fcc7bfb73ea1946a7f - Downloaded (conan-center)
        util-linux-libuuid/2.39.2#339f80aea7e5cf507b5b9839a128909f - Downloaded (conan-center)
        xorg/system#98f82cb669e4ebc6b4d9d8a4f3f1faf4 - Downloaded (conan-center)
        xz_utils/5.4.5#b885d1d79c9d30cff3803f7f551dbe66 - Downloaded (conan-center)
        zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Downloaded (conan-center)
        zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df - Downloaded (conan-center)
    Build requirements
        autoconf/2.71#f9307992909d7fb3df459340f1932809 - Downloaded (conan-center)
        automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Downloaded (conan-center)
        bzip2/1.0.8#d00dac990f08d991998d624be81a9526 - Downloaded (conan-center)
        cmake/3.30.1#6d832cf2d46f6ec969ca5ed5b41f91eb - Downloaded (conan-center)
        flex/2.6.4#e35bc44b3fcbcd661e0af0dc5b5b1ad4 - Downloaded (conan-center)
        gettext/0.22.5#909a6ca9b6d4062e9b6ccf25c8461cda - Downloaded (conan-center)
        glib/2.78.3#0d214f34a22088571a43892d3fd41093 - Downloaded (conan-center)
        gnu-config/cci.20210814#dc430d754f465e8c74463019672fb97b - Downloaded (conan-center)
        gperf/3.1#1d622ad9717e9348ed3685c9994ad0b9 - Downloaded (conan-center)
        libelf/0.8.13#4f70a3555809ae50cc8add44f0f84288 - Downloaded (conan-center)
        libffi/3.4.4#72cccac6139293b6e97ec9cd676547ff - Downloaded (conan-center)
        libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Downloaded (conan-center)
        libmount/2.39#8a95198b2547a8ca7685eb7a1d002903 - Downloaded (conan-center)
        libselinux/3.6#5a78ff6ae5034eeaac8da723361a8ce4 - Downloaded (conan-center)
        libtool/2.4.7#08316dad5c72c541ed21e039e4cf217b - Downloaded (conan-center)
        m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Downloaded (conan-center)
        meson/1.2.1#f2b0c7763308df8e33172744dace8845 - Downloaded (conan-center)
        meson/1.2.2#21b73818ba96d9eea465b310b5bbc993 - Downloaded (conan-center)
        meson/1.3.2#26ce8a76a36cc275cdfee1d757bc6561 - Downloaded (conan-center)
        meson/1.4.0#2262941cc8fbb0099dd0c196ca2a6c01 - Downloaded (conan-center)
        meson/1.5.1#98751d4b5aa14502306753baa607ac44 - Downloaded (conan-center)
        ninja/1.12.1#fd583651bf0c6a901943495d49878803 - Downloaded (conan-center)
        pcre2/10.42#576680686b88a4dadf6d382d6d6351d9 - Downloaded (conan-center)
        pkgconf/2.0.3#f996677e96e61e6552d85e83756c328b - Downloaded (conan-center)
        pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Downloaded (conan-center)
        pkgconf/2.2.0#6462942a22803086372db44689ba825f - Downloaded (conan-center)
        xorg-macros/1.20.0#b721d2f8ca6804d072820cb551d8c4fa - Downloaded (conan-center)
        zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Downloaded (conan-center)
    Resolved version ranges
        cmake/[>=3.18 <4]: cmake/3.30.1
        expat/[>=2.6.2 <3]: expat/2.6.3
        libpng/[>=1.6 <2]: libpng/1.6.44
        libxml2/[>=2.12.5 <3]: libxml2/2.12.7
        meson/[>=1.2.3 <2]: meson/1.5.1
        ninja/[>=1.10.2 <2]: ninja/1.12.1
        pkgconf/[>=2.2 <3]: pkgconf/2.2.0
        zlib/[>=1.2.11 <2]: zlib/1.3.1
    ERROR: Package 'libcroco/0.6.13' not resolved: Unable to find 'libcroco/0.6.13' in remotes.
    

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.

2 participants