Summary: | graphics/mesa-dri: fails to build on armv6/armv7 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | manu, zeising | ||||
Priority: | --- | Keywords: | buildisok, patch, regression | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(x11) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Jan Beich
2020-06-09 16:29:42 UTC
Comment on attachment 215398 [details]
fix
Oops, incomplete fix:
meson.build:207:2: ERROR: Problem encountered: Only one swrast provider can be built
Cc: committer of r537998 . A commit references this bug: Author: zeising Date: Tue Jun 9 19:56:17 UTC 2020 New revision: 538339 URL: https://svnweb.freebsd.org/changeset/ports/538339 Log: mesa: Fix build empty DRI_DRIVER In some cases, such as on sparc64, armv6 and armv7 etc, DRI_DRIVER, GALLIUM_DRIVER and/or VULKAN_DRIVER might be undefined. This causes an error similar to make: "/usr/ports/graphics/mesa-dri/Makefile" line 106: Malformed conditional (${DRI_DRIVERS:M${:UI915}}) Fix this by checking if [DRI,GALLIUM,VULKAN]_DRIVER is defined before checking what it is set to. While here, remove textproc/py-mako dependency from mesa-dri/Makefile, it's already included in mesa-dri/Makefile.common, no need to depend on it twice. PR: 247117 Reported by: jbeich Changes: head/graphics/mesa-dri/Makefile head/graphics/mesa-libs/Makefile Should be fixed now, thanks for the report. Still fails here: $ make install [...] ===> Registering installation for mesa-dri-19.0.8_4 pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/mesa-dri/work/stage/usr/local/include/GL/internal/dri_interface.h:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/mesa-dri/work/stage/usr/local/lib/dri/kms_swrast_dri.so:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/mesa-dri/work/stage/usr/local/lib/dri/swrast_dri.so:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/mesa-dri/work/stage/usr/local/libdata/pkgconfig/dri.pc:No such file or directory *** Error code 74 Reopen this since it's apparently not fixed. I'll have to take a closer look tomorrow at what's going on. Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/159425167 I believe this is fixed with the last round of mesa updates. Please reopen if it's still an issue. |