Bug 256138 - graphics/mesa-dri: attempt to fix build on riscv64
Summary: graphics/mesa-dri: attempt to fix build on riscv64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: riscv Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-25 01:57 UTC by Mark Linimon
Modified: 2021-06-16 20:33 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments
patch to graphics/mesa-dri/Makefile (540 bytes, patch)
2021-05-25 01:57 UTC, Mark Linimon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Linimon freebsd_committer freebsd_triage 2021-05-25 01:57:52 UTC
Created attachment 225241 [details]
patch to graphics/mesa-dri/Makefile

mesa-dri fails on attempts to build (via qemu):

  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/libdata/pkgconfig/dri.pc:No such file or directory

This is due to the fact that there is no stanza including riscv64 in the Makefile.  Thus, add one.

Note: the hardware I have is not yet ready for graphics testing, so this is _only_ a compile-time fix so that I can test-build dependent ports.  However, it should be harmless.

Unless there are objections, I intend to commit this in two weeks.
Comment 1 commit-hook freebsd_committer 2021-06-16 20:33:48 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b2c4a0ef4b6cf846746653dcea02089c22e0956f

commit b2c4a0ef4b6cf846746653dcea02089c22e0956f
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-06-16 20:33:08 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-06-16 20:33:08 +0000

    graphics/mesa-dri: fix build on riscv64

    Submitted by:   linimon
    PR:     256138

 graphics/mesa-dri/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)