Bug 274338

Summary: www/iridium: FreeBSD 15.0-CURRENT main-n265649-8a77bc5e1be1: Unable to access file /wrkdirs/usr/ports/www/iridium/work/stage/usr/local/share/iridium/swiftshader/
Product: Ports & Packages Reporter: Bob Prohaska <fbsd>
Component: Individual Port(s)Assignee: freebsd-chromium (Nobody) <chromium>
Status: Open ---    
Severity: Affects Only Me CC: pi, rnagy
Priority: --- Keywords: needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (chromium)
Hardware: Any   
OS: Any   
URL: https://www.freshports.org/www/iridium/

Description Bob Prohaska 2023-10-07 17:23:32 UTC
On a Pi4 running -current a build of www/iridium stops, reporting
===>  Building package for iridium-browser-2023.09.116.2
pkg-static: Unable to access file /wrkdirs/usr/ports/www/iridium/work/stage/usr/local/share/iridium/swiftshader/:No such file or directory
*** Error code 1

A check for updates  suggests the problem is with the source.

A fix or workaround compatible with Poudriere would be most helpful
Comment 1 Graham Perrin 2023-10-07 18:22:08 UTC
Which version of FreeBSD, exactly? 

> Pi4

Via the FreshPorts page, there's not (yet) fallout.
Comment 2 Bob Prohaska 2023-10-07 19:05:50 UTC
(In reply to Graham Perrin from comment #1)
FreeBSD nemesis.zefox.com 15.0-CURRENT FreeBSD 15.0-CURRENT #98 main-n265649-8a77bc5e1be1: Sun Oct  1 11:19:00 PDT 2023     bob@nemesis.zefox.com:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
Comment 3 Robert Nagy freebsd_committer freebsd_triage 2023-10-09 09:23:24 UTC
(In reply to Bob Prohaska from comment #0)

Try the following patch:

--- a/www/iridium/pkg-plist
+++ b/www/iridium/pkg-plist
@@ -142,4 +142,4 @@ share/icons/hicolor/24x24/apps/iridium.png
 share/icons/hicolor/256x256/apps/iridium.png
 share/icons/hicolor/48x48/apps/iridium.png
 share/icons/hicolor/64x64/apps/iridium.png
-@dir %%DATADIR%%/swiftshader
+%%NOT_AARCH64%%@dir %%DATADIR%%/swiftshader