Bug 280979 - graphics/mesa-libs: fails to build on i386
Summary: graphics/mesa-libs: fails to build on i386
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-21 16:58 UTC by Jan Beich
Modified: 2024-08-23 07:05 UTC (History)
3 users (show)

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


Attachments
Fail to build on aarch64 - patch from graphics/mesa-devel (463 bytes, patch)
2024-08-22 06:31 UTC, Henri Hennebert
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2024-08-21 16:58:50 UTC
Regressed by ports 277dfdc8d586. See mesa-devel for an example fix.

$ poudriere testport -j 133i386 graphics/mesa-libs
[...]
Host machine cpu family: x86
Host machine cpu: i386
Checking for size of "void*" : 4

meson.build:308:3: ERROR: Feature intel-rt cannot be enabled: Intel Ray Tracing is only supported on x86_64
Comment 1 Henri Hennebert 2024-08-22 06:31:12 UTC
Created attachment 253001 [details]
Fail to build on aarch64 - patch from graphics/mesa-devel

Host machine cpu family: aarch64
Host machine cpu: aarch64
Checking for size of "void*" : 8 

meson.build:308:3: ERROR: Feature intel-rt cannot be enabled: Intel Ray Tracing is only supported on x86_64

Take the correction from graphics/mesa-devel
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-08-22 08:34:20 UTC
A commit in branch main references this bug:

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

commit e313acaea33b7ad94efcc4455d17d9284968cb68
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-08-22 07:40:14 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-08-22 08:33:24 +0000

    graphics/mesa: Unbreak on !amd64

    Disable intel-rt for all arches except amd64 as it's only supported there.

    PR:              280979
    Sponsored by:   Beckhoff Automation GmbH & Co. KG

 graphics/libosmesa/Makefile          | 4 ++++
 graphics/mesa-dri/Makefile           | 1 +
 graphics/mesa-gallium-va/Makefile    | 4 ++++
 graphics/mesa-gallium-vdpau/Makefile | 4 ++++
 graphics/mesa-gallium-xa/Makefile    | 4 ++++
 graphics/mesa-libs/Makefile          | 4 ++++
 lang/clover/Makefile                 | 4 ++++
 7 files changed, 25 insertions(+)
Comment 3 Nuno Teixeira freebsd_committer freebsd_triage 2024-08-22 19:29:27 UTC
(In reply to Henri Hennebert from comment #1)

Could you confirm build result for mesa-dri?
I continue to get same error. mesa-libs is building fine.

Thanks
Comment 4 Henri Hennebert 2024-08-23 07:05:41 UTC
(In reply to Nuno Teixeira from comment #3)
Sorry but I don't need mesa-dri so I can't test it without "polluting" my env.

Note the commit of comment #2