[Bug 296084] graphics/mesa-dri: upgrade fails in installation step on i386 (some options deselected)

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296084

            Bug ID: 296084
           Summary: graphics/mesa-dri: upgrade fails in installation step
                    on i386 (some options deselected)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

Created attachment 271845
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=271845&action=edit
build log

Preliminaries:
- I understand that neither i386 nor portmaster are supported anymore, however
would appreciate if the issue described here could be fixed.

Scenario:
- FreeBSD stable/15 at f77062f506f7
- Running in a VM under Linux KVM/Qemu with CPU model "qemu32"
- ports latest, with the following local patch to mesa-dri (to enable running
on very old machines):

diff --git a/graphics/mesa-dri/Makefile.common
b/graphics/mesa-dri/Makefile.common
index 8b0d8c018ade..cdcd105bd24e 100644
--- a/graphics/mesa-dri/Makefile.common
+++ b/graphics/mesa-dri/Makefile.common
@@ -73,3 +73,7 @@ LDFLAGS+=     -Wl,-rpath=${LOCALBASE}/llvm${LLVM_VERSION}/lib
 MESON_ARGS+=   -Dllvm=enabled \
                -Dlibunwind=disabled \
                -Dgallium-mediafoundation=disabled
+ 
+.if ${ARCH} == i386
+MESON_ARGS+=   -Dsse2=false -Dintel-rt=disabled
+.endif

- The options differ from the default as follows:

[0]# diff =(PORT_DBDIR=/nonexistent make showconfig) =(make showconfig)        
4c4
<      crocus=on: Intel GPU Gen4 (Broadwater) to Gen7 (Haswell)
---
>      crocus=off: Intel GPU Gen4 (Broadwater) to Gen7 (Haswell)
6c6
<      iris=on: Intel GPU Gen8 (Broadwell) and newer
---
>      iris=off: Intel GPU Gen8 (Broadwell) and newer
10c10
<      radeonsi=on: AMD/ATI Southern Islands and newer
---
>      radeonsi=off: AMD/ATI Southern Islands and newer
12c12
<      zink=on: OpenGL on top of Khronos’ Vulkan API
---
>      zink=off: OpenGL on top of Khronos’ Vulkan API
17,19c17,19
<      anv=on: Intel GPU Gen9 and newer Vulkan support
<      radv=on: AMD/ATI Southern Islands and newer Vulkan support
<      swrast_vk=on: Software Rasterizer Vulkan support
---
>      anv=off: Intel GPU Gen9 and newer Vulkan support
>      radv=off: AMD/ATI Southern Islands and newer Vulkan support
>      swrast_vk=off: Software Rasterizer Vulkan support
[1]# 

- portmaster is used for upgrading

Result:
- The build fails with missing files during the installation step, beginning
with this:

===>  Installing for mesa-dri-26.0.6
===>  Checking if mesa-dri is already installed
===>   Registering installation for mesa-dri-26.0.6
pkg-static: Unable to access file
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/mesa-dri/work/stage/usr/local/lib/dri/apple_dri.so:No
such file or directory
pkg-static: Unable to access file
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/mesa-dri/work/stage/usr/local/lib/dri/armada-drm_dri.so:No
such file or directory
...

- See the attached build log for the complete output.

Expected result:
- As with the previous version, the build should succeed (with the
modifications detailed above).

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.