Bug 281196

Summary: www/chromium: 127.0.6533.119 poudriere build fails
Product: Ports & Packages Reporter: Dwayne MacKinnon <dmk>
Component: Individual Port(s)Assignee: freebsd-chromium (Nobody) <chromium>
Status: New ---    
Severity: Affects Only Me CC: Alexander88207
Priority: --- Flags: bugzilla: maintainer-feedback? (chromium)
Version: Latest   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Build log with missing file
none
Build log with extract error
none
My poudriere.conf none

Description Dwayne MacKinnon 2024-09-01 18:55:04 UTC
Created attachment 253255 [details]
Build log with missing file

I've been attempting to update chromium, which I compile with poudriere to add in the widevine support. First few times the process died, so I cut the jobs down to one. Still died... determined it was running out of swap. So I stopped using the memory file system. So, with one job and everything on hard disk it still failed.

This time, the error was this:

../../base/gtest_prod_util.h:9:10: fatal error: 'testing/gtest/include/gtest/gtest_prod.h' file not found

I don't know a lot about the build process, so I thought I'd try enabling the tests to see if this file would then be available.

Failed again, this time on extract:

mv: rename /wrkdirs/usr/ports/www/chromium/work/test_fonts to /wrkdirs/usr/ports/www/chromium/work/chromium-127.0.6533.119/third_party/test_fonts/test_fonts: Directory not empty

Any advice on what I can do to get this to work would be greatly appreciated.
Comment 1 Dwayne MacKinnon 2024-09-01 18:55:58 UTC
Created attachment 253256 [details]
Build log with extract error
Comment 2 Dwayne MacKinnon 2024-09-01 18:56:21 UTC
Created attachment 253257 [details]
My poudriere.conf
Comment 3 Alexander Vereeken freebsd_triage 2024-09-02 12:15:54 UTC
Hello,

in case of general building, can you update your portstree and try again? (There have been some updates and it builds at least on the cluster fine)

I think an extra rebuild of chromium is not needed for widevine support.

The option only adds foreign-cdm as run-depend so you should only need to build foreign-cdm and linux-widevine-cdm.