Bugzilla Automation <bugzi...@freebsd.org> has asked freebsd-gecko (Nobody)
<ge...@freebsd.org> for maintainer-feedback:
Bug 266982: www/firefox: 106.0,2 fails to build on FreeBSD 12.3-STABLE
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266982



--- Description ---
FreeBSD xxx.org 12.3-STABLE FreeBSD 12.3-STABLE stable/12-n234844-5746abf94eb
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

Reply via email to