Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2022 01:55:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266982] www/firefox: 106.0,2 fails to build on FreeBSD 12.3-STABLE
Message-ID:  <bug-266982-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266982

            Bug ID: 266982
           Summary: www/firefox: 106.0,2 fails to build on FreeBSD
                    12.3-STABLE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: russo@bogodyn.org
          Assignee: gecko@FreeBSD.org
             Flags: maintainer-feedback?(gecko@FreeBSD.org)

FreeBSD xxx.org 12.3-STABLE FreeBSD 12.3-STABLE stable/12-n234844-5746abf94=
eb
GENERIC  amd64

Trying to build Firefox, get an error that clearly suggests that sys/types.=
h is
not included somewhere it needs to be before netinet/ip.h is included:

In file included from
/usr/ports/www/firefox/work/firefox-106.0/third_party/libw
ebrtc/rtc_base/ip_address.cc:20:
/usr/include/netinet/ip.h:53:2: error: unknown type name 'u_char'; did you =
mean
'char'?
        u_char  ip_hl:4,                /* header length */
        ^
/usr/include/netinet/ip.h:60:2: error: unknown type name 'u_char'; did you =
mean
'char'?
        u_char  ip_tos;                 /* type of service */
        ^

(lots more of these).

Line 20 of the file in question is the include of ip.h:
#ifndef __native_client__
#include <netinet/ip.h>
#endif

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266982-7788>