Error building package - Module required
martinez-hugo opened this issue · 1 comments
martinez-hugo commented
Hi ! I work on an issue on wolf/os, specifically about mesa package.
We have a melange workflow file for this package :
package:
name: mesa
version: 23.1.9
epoch: 0
description: Mesa DRI OpenGL library
copyright:
- license: MIT AND SGI-B-2.0 AND BSL-1.0
dependencies:
runtime:
- py3-mako
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- build-base
- automake
- autoconf
- libdrm-dev
- libxext-dev
- libxdamage-dev
- libxcb-dev
- libxshmfence-dev
- bison
- eudev-dev
- expat-dev
- findutils
- flex
- gettext
- elfutils-dev
- glslang-dev
- libtool
- libxfixes-dev
- libva-dev
- libva
- libvdpau-dev
- libx11-dev
- libxml2-dev
- libxrandr-dev
- libxrandr
- libxrender
- libxrender-dev
- libxxf86vm-dev
- llvm16
- llvm16-dev
- meson
- py3-mako
- python3
- vulkan-loader
- wayland-dev
- wayland-protocols
- xorgproto
- zlib-dev
- zstd-dev
- py3-pygments
- py3-markupsafe
pipeline:
- uses: fetch
with:
expected-sha256: 295ba27c28146ed09214e8ce79afa1659edf9d142decc3c91f804552d64f7510
uri: https://mesa.freedesktop.org/archive/mesa-${{package.version}}.tar.xz
- runs: |
set -x
export CFLAGS="$CFLAGS -O2 -g1"
export CXXFLAGS="$CXXFLAGS -O2 -g1"
export CPPFLAGS="$CPPFLAGS -O2 -g1"
_dri_driverdir=/usr/lib/xorg/modules/dri
_gallium_drivers="r300,r600,radeonsi,nouveau,swrast,virgl,zink"
_vulkan_drivers="amd,swrast"
_vulkan_layers="device-select,overlay"
PATH="$PATH:/usr/lib/llvm$_llvmver/bin" \
meson \
--prefix=/usr \
-Ddri-drivers-path=$_dri_driverdir \
-Dgallium-drivers=$_gallium_drivers \
-Dvulkan-drivers=$_vulkan_drivers \
-Dvulkan-layers=$_vulkan_layers \
-Dplatforms=x11,wayland \
-Dllvm=enabled \
-Dshared-llvm=enabled \
-Dshared-glapi=enabled \
-Dgbm=enabled \
-Dglx=dri \
-Dopengl=true \
-Dosmesa=true \
-Dgles1=enabled \
-Dgles2=enabled \
-Degl=enabled \
-Dgallium-extra-hud=true \
-Dgallium-xa=enabled \
-Dgallium-vdpau=enabled \
-Dgallium-va=enabled \
-Dgallium-nine=true \
-Dvideo-codecs=h264dec,h264enc,h265dec,h265enc \
-Db_ndebug=true \
-Db_lto=true \
. output
meson configure --no-pager output
meson compile -C output
DESTDIR="${{targets.destdir}}" meson install --no-rebuild -C output
- uses: strip
data:
- name: libs
items:
gles: libGLES*
egl: libEGL
gl: libGL
glapi: libglapi
xatracker: libxatracker*
osmesa: libOSMesa
gbm: libgbm
libd3dadapter9: d3d/d3dadapter9
subpackages:
- range: libs
name: mesa-${{range.key}}
description: mesa ${{range.key}}
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/${{range.value}}.so* ${{targets.subpkgdir}}/usr/lib
- name: mesa-dev
pipeline:
- uses: split/dev
description: mesa dev
update:
enabled: true
release-monitor:
identifier: 1970
But when I launch make
command to build this package, I have this error
ERROR: Problem encountered: Python (3.x) mako module >= 0.8.0 required to build mesa.
Also, I've check logs on console and I've seen that line : installing py3-mako (1.2.4-r2)
So normally all is good but it's not the case.
How can I fix that ?
Thanks for all