Bug 285199 - www/chromium: 134.0.6998.35 poudriere build fails in stable/14
Summary: www/chromium: 134.0.6998.35 poudriere build fails in stable/14
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-chromium (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-06 14:44 UTC by david
Modified: 2025-03-06 19:23 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david 2025-03-06 14:44:49 UTC
This is on a machine running:

FreeBSD freebeast.catwhisker.org 14.2-STABLE FreeBSD 14.2-STABLE #125 stable/14-n270695-057409d0259f: Wed Mar  5 11:38:57 UTC 2025     root@freebeast.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1402504 1402504

CPU: AMD EPYC 7502P 32-Core Processor                (2495.44-MHz K8-class CPU)
real memory  = 274869518336 (262136 MB)
avail memory = 267578699776 (255182 MB)

that I use for package-building (for the last few months).  The ports tree is at main-n698794-56fb74f11df4.  Previous chromium builds have built OK: I track both FreeBSD base & ports daily on both this machine and a couple of laptops, but chromium is only built on this machine (because I actually use one of the laptops for day-to-day work).

I tried to attached a gzipped build log, but it was too big (220MB uncompressed; 3.6MB compressed).  So I placed copies (both compressed & not) in https://www.catwhisker.org/~david/FreeBSD/ports/chromium/

I am happy to provide any additional relevant information and/or testing.
Comment 1 iron.udjin 2025-03-06 15:37:07 UTC
I've the same problem on 14.2-STABLE with poudriere.

Host OSVERSION: 1402503
Jail OSVERSION: 1402501

Options        :
	ALSA           : off
	CODECS         : on
	CUPS           : off
	DEBUG          : off
	DRIVER         : off
	HEIMDAL        : off
	HEIMDAL_BASE   : off
	KERBEROS       : off
	LTO            : on
	MIT            : off
	PIPEWIRE       : on
	PULSEAUDIO     : on
	SNDIO          : off
	TEST           : off
	WIDEVINE       : off

../../ui/ozone/platform/wayland/common/wayland_util.cc:428:5: error: unknown type name 'ucred'
  428 |     ucred credentials{.pid = 0};
      |     ^
../../ui/ozone/platform/wayland/common/wayland_util.cc:429:29: error: use of undeclared identifier 'ucred'
  429 |     socklen_t size = sizeof(ucred);
      |                             ^
../../ui/ozone/platform/wayland/common/wayland_util.cc:430:36: error: use of undeclared identifier 'SO_PEERCRED'
  430 |     if (getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &credentials, &size) == -1) {
      |                                    ^
3 errors generated.
Comment 2 iron.udjin 2025-03-06 15:48:48 UTC
I guess, socket option SO_PEERCRED has to be replaced by LOCAL_PEERCRED.
Comment 3 oleg.nauman 2025-03-06 18:30:00 UTC
The same issue on 15.0 CURRENT amd64
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-03-06 19:21:26 UTC
A commit in branch main references this bug:

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

commit c0821946bf4b36ec967bd15d4960d0a174dd7609
Author:     Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2025-03-06 19:18:52 +0000
Commit:     Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2025-03-06 19:20:22 +0000

    www/chromium: unbreak by adding a patch missed from the previous commit

    PR:     285199

 ...zone_platform_wayland_common_wayland__util.cc (new) | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-03-06 19:22:27 UTC
A commit in branch 2025Q1 references this bug:

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

commit c611682af0a078b00dd38d41fa055bee7a06ac31
Author:     Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2025-03-06 19:18:52 +0000
Commit:     Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2025-03-06 19:20:54 +0000

    www/chromium: unbreak by adding a patch missed from the previous commit

    PR:     285199
    (cherry picked from commit c0821946bf4b36ec967bd15d4960d0a174dd7609)

 ...zone_platform_wayland_common_wayland__util.cc (new) | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)