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

mesa: Add recipe #20528

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

mesa: Add recipe #20528

wants to merge 138 commits into from

Conversation

jwillikers
Copy link
Contributor

@jwillikers jwillikers commented Oct 11, 2023

Specify library name and version: mesa/24.0.3

Mesa is an open-source implementation of various graphics APIs.

This PR adds a recipe for Mesa, which overlaps with some of the libraries provided by the opengl/system, egl/system, and libglvnd packages. This occurs when Mesa is built without libglvnd support on Linux and FreeBSD, where it will provide the OpenGL libraries that are enabled.

The Mesa package provides the libgbm library, which is required for several Wayland compositors, such as Weston and wlroots. I'm working on packages for these compositors.

Fixes #6506.

Required:

Optional:

  • CPython: Conan 2.0 #21387 - This will allow building a newer version of Python as required for CCI. I've already got this PR tested and working with the Mesa recipe, so all that is required is for it to be merged.
  • llvm - Mesa integrates tightly with LLVM to provide a substantial amount of functionality. The LLVMPipe software rasterizer is one of these features. Ideally, package: llvm/13 - llvm/16 #17509 will be merged so that a proper dependency can exist.
  • macOS - I don't have a Mac unfortunately, so I haven't been testing this extensively. Needless to say, only GLX is supported for macOS and which limits it to working in XQuartz. A lot of work involving HomeBrew to pull in XQuartz is currently needed to get this working.
  • OpenCL - Requires llvm / clang libraries and modules like clang-cpp, Polly, PollyISL, etc. There is also LLVMSPIRVLib.
  • DirectX support - need to make a directx-headers package. This will allow building the Microsoft experimental Vulkan drivers. directx-headers: Add recipe #20623
  • libva - missing a libva package
  • omx - missing dependencies such as libomxil-bellagio or libtizonia, libtizplatform, and tizilheaders
  • vdpau - missing a vdpau package
  • Windows Cygwin
  • Windows mingw64
  • Tests could be improved. Tests are missing for Vulkan, GLX, and GLES. Runtime loading of EGL is not tested when running without glvnd support. Nothing is currently tested on Windows, either. Contributions on this end would be incredibly helpful.

@conan-center-bot

This comment has been minimized.

@jwillikers jwillikers mentioned this pull request Oct 12, 2023
10 tasks
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

7 similar comments
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Ahajha pushed a commit to Ahajha/conan-center-index that referenced this pull request Apr 6, 2024
@conan-center-bot conan-center-bot added Service Under Maintenance and removed Failed Missing dependencies Build failed due missing dependencies in Conan Center labels Apr 11, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

ericLemanissier added a commit to ericLemanissier/conan-center-index that referenced this pull request May 10, 2024
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 35 (0ace18207e4d1a0c7c8109a44500124a07a76715):

  • mesa/24.0.9:
    CI failed to create some packages (All logs)

    Logs for packageID 9c900104e14f512e356363dd16283b69a7e0e9fc:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    
    [...]
    Build requirements packages
        bison/3.8.2:4cc81c2613a066531a3fa4ef00e16064aeb208d2 - Download
        brotli/1.1.0:e1dc2bcd4b907868f16d7f3b15e15c3bb07067f2 - Download
        bzip2/1.0.8:c32092bf4d4bb47cf962af898e02823f499b017e - Download
        cpython/3.12.2:9b3f0daf08eb97fc40897448e1affb7624019bae - Download
        flex/2.6.4:4cc81c2613a066531a3fa4ef00e16064aeb208d2 - Download
        fontconfig/2.13.93:91934fc8bcc809a17bd34af66d8491f41cb49e99 - Download
        freetype/2.13.2:7d544953cc6cdd1bd06a4e40fc9904c650a37eb2 - Download
        gdbm/1.23:908097757c5e4da3623d2abcaa734160aa83964e - Download
        glslang/11.7.0:4d9767460925aa883b0e2e60b134db93e69f3dfb - Missing
        libpng/1.6.43:025ffc7158b5e62f5f3ed9af91d48958d216f972 - Download
        libxcrypt/4.4.36:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Download
        m4/1.4.19:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download
        meson/1.5.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
        mpdecimal/2.5.1:6d64b3a4738c7abe0d160151ffa1110042a36400 - Download
        ncurses/6.4:89763a2b31b2939794b7de311235a77b84e7e535 - Download
        ninja/1.11.1:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download
        openssl/3.2.2:304480252b01879c8641f79a653b593b8f26cf9f - Download
        pkgconf/2.2.0:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download
        sqlite3/3.45.2:8fc930bdbf940331d9f322f454eac3dd06fd27e8 - Download
        tcl/8.6.10:b88c434d8110e892fcfb7bbb4f76234f590822f1 - Download
        tk/8.6.10:8dcbe4f26e8816d4bb2d44287158d4c16561dad9 - Download
        util-linux-libuuid/2.39.2:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Download
        wayland-protocols/1.33:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
    
    Installing (downloading, building) binaries...
    
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    WARN: wayland/1.22.0: requirement expat/[>=2.6.2 <3] overridden by mesa/24.0.9 to expat/2.6.2 
    WARN: libxml2/2.12.7: requirement zlib/[>=1.2.11 <2] overridden by wayland/1.22.0 to zlib/1.3.1 
    WARN: libunwind/1.7.2: requirement zlib/[>=1.2.11 <2] overridden by mesa/24.0.9 to zlib/1.3.1 
    WARN: openssl/3.2.2: requirement zlib/[>=1.2.11 <2] overridden by cpython/3.12.2 to zlib/1.3.1 
    WARN: tcl/8.6.10: requirement zlib/[>=1.2.11 <2] overridden by tk/8.6.10 to zlib/1.3.1 
    WARN: fontconfig/2.13.93: requirement expat/[>=2.6.2 <3] overridden by tk/8.6.10 to expat/2.6.2 
    WARN: freetype/2.13.2: requirement zlib/[>=1.2.10 <2] overridden by fontconfig/2.13.93 to zlib/1.3.1 
    WARN: libpng/1.6.43: requirement zlib/[>=1.2.11 <2] overridden by freetype/2.13.2 to zlib/1.3.1 
    ERROR: Missing binary: glslang/11.7.0:4d9767460925aa883b0e2e60b134db93e69f3dfb
    glslang/11.7.0: WARN: Can't find a 'glslang/11.7.0' package for the specified settings, options and dependencies:
    - Settings: arch=x86_64, build_type=Release, compiler=gcc, compiler.libcxx=libstdc++11, compiler.version=11, os=Linux
    - Options: build_executables=True, enable_optimizer=False, fPIC=True, hlsl=True, shared=False, spv_remapper=True
    - Dependencies: 
    - Requirements: 
    - Package ID: 4d9767460925aa883b0e2e60b134db93e69f3dfb
    
    ERROR: Missing prebuilt package for 'glslang/11.7.0'
    Use 'conan search glslang/11.7.0@ --table=table.html -r=remote' and open the table.html file to see available packages
    Or try to build locally from sources with '--build=glslang'
    
    More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
    
  • mesa/24.1.0:
    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.

Failure in build 35 (0ace18207e4d1a0c7c8109a44500124a07a76715):

  • mesa/24.1.0:
    Didn't run or was cancelled before finishing

  • mesa/24.0.9:
    CI failed to create some packages (All logs)

    Logs for packageID f87aa47a99af7c9a847f3ff82e1a8553e747807e:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
        mesa/24.0.9#06d3cc32a28f76098ffe6876406dbae1:f87aa47a99af7c9a847f3ff82e1a8553e747807e - Build
        opengl/system#4df6fecde4084386beded3ed0e56e4ea:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Download (conan-center)
        wayland/1.22.0#284b56bdbe57868770f46100784e3b4d:9ef61cfe051f69b8cce843b72e11408e15171fab#2f4a3f922deed888a7661360b8094ee3 - Download (conan-center)
        xorg-macros/1.19.3#c3465b331ce1d044ee771dc5e4529b79:da39a3ee5e6b4b0d3255bfef95601890afd80709#f6477c9b9eaafe88df13906bad42fbb4 - Download (conan-center)
        xorg-proto/2022.2#635ad5e6f83ce1f751f8abe1dc8f0e80:9a4eb3c8701508aa9458b1a73d0633783ecc2270#aa1ecf33aa0ca9ff079f7c7b0b206107 - Download (conan-center)
        xorg/system#f626cbdd0ba57d9c53bce2d8b9362fad:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Download (conan-center)
        xz_utils/5.4.5#51e5a6e6564f4ea3afd79def01f035ad:b647c43bfefae3f830561ca202b6cfd935b56205#138de75176063b63b5390d111d4af0e2 - Download (conan-center)
        zlib/1.3.1#f52e03ae3d251dec704634230cd806a2:b647c43bfefae3f830561ca202b6cfd935b56205#6b307bbcbae23635c4006543ffdbf3ef - Download (conan-center)
        zstd/1.5.5#1f239731dc45147c7fc2f54bfbde73df:c1b14c3945d5adf1e5ae440c43c12f88117f2edc#5766258f0ea4ee0d0a66a93cffb8b93a - Download (conan-center)
    Build requirements
        bison/3.8.2#ed1ba0c42d2ab7ab64fc3a62e9ecc673:500c2a3f502e0ca7d4a4c65cb2a4a0b0a24994f5#5cb896361e56e9799eac5902503e1efc - Download (conan-center)
        cpython/3.12.2#68cb44d6d7eeb24578b1c942ce16a8cd:82b00a908883043868be99c6d740a1d397aa4468#2684710f5efbacf6d316625d42049442 - Download (conan-center)
        flex/2.6.4#e35bc44b3fcbcd661e0af0dc5b5b1ad4:b647c43bfefae3f830561ca202b6cfd935b56205#d18545ed84d684e0090595f1eb0d23c5 - Download (conan-center)
        glslang/11.7.0#48f276cb78ef05fdbcac7d17a4760bae:a2a06f7f5f3856b81284cbe63866d8fa0f7f82d1 - Missing
        m4/1.4.19#b38ced39a01e31fef5435bc634461fd2:3593751651824fb813502c69c971267624ced41a#cd8019a4f9b70880d548f7cc26569604 - Download (conan-center)
        meson/1.4.0#024dfac41ea5570cb1aec3ea6fe34d0a:da39a3ee5e6b4b0d3255bfef95601890afd80709#91b870cdcf4edb1a302a2ef7a0514791 - Download (conan-center)
        ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21:3593751651824fb813502c69c971267624ced41a#60e6fc0f973babfbed66a66af22a4f02 - Download (conan-center)
        pkgconf/2.2.0#6462942a22803086372db44689ba825f:c0b621fd4b3199fe05075171573398833dba85f4#35e5163b1cf42becef616e6b7873202e - Download (conan-center)
        wayland-protocols/1.33#b9e56b7662c2a25f30bfb4eb72df9ad6:da39a3ee5e6b4b0d3255bfef95601890afd80709#f85f08cf8936bf98a464db0e7a468e8f - Download (conan-center)
        wayland/1.22.0#284b56bdbe57868770f46100784e3b4d:9ef61cfe051f69b8cce843b72e11408e15171fab#2f4a3f922deed888a7661360b8094ee3 - Download (conan-center)
        xorg/system#f626cbdd0ba57d9c53bce2d8b9362fad:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Download (conan-center)
    Skipped binaries
        linux-headers-generic/6.5.9, autoconf/2.71, automake/1.16.5, brotli/1.1.0, bzip2/1.0.8, expat/2.6.2, fontconfig/2.13.93, freetype/2.13.2, gdbm/1.23, gnu-config/cci.20210814, gperf/3.1, libffi/3.4.4, libiconv/1.17, libpng/1.6.43, libtool/2.4.7, libxcrypt/4.4.36, libxml2/2.12.7, meson/1.2.2, meson/1.3.0, meson/1.3.1, meson/1.3.2, mpdecimal/2.5.1, ncurses/6.4, openssl/3.2.2, pkgconf/2.0.3, pkgconf/2.1.0, spirv-headers/1.2.198.0, spirv-tools/2021.4, sqlite3/3.45.2, tcl/8.6.10, tk/8.6.10, util-linux-libuuid/2.39.2, xorg-macros/1.19.3, xz_utils/5.4.5, zlib/1.3.1
    ERROR: Missing binary: glslang/11.7.0:a2a06f7f5f3856b81284cbe63866d8fa0f7f82d1
    
    glslang/11.7.0: WARN: Can't find a 'glslang/11.7.0' package binary 'a2a06f7f5f3856b81284cbe63866d8fa0f7f82d1' for the configuration:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    build_executables=True
    enable_optimizer=True
    fPIC=True
    hlsl=True
    shared=False
    spv_remapper=True
    [requires]
    spirv-tools/2021.4.Z
    
    ERROR: Missing prebuilt package for 'glslang/11.7.0'. You can try:
        - List all available packages using 'conan list "glslang/11.7.0:*" -r=remote'
        - Explain missing binaries: replace 'conan install ...' with 'conan graph explain ...'
        - Try to build locally from sources using the '--build=glslang/11.7.0' 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Failed Missing dependencies Build failed due missing dependencies in Conan Center
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[request] mesa/21.1.5
6 participants