Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Aug 2015 10:11:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202020] www/chromium fail to build with gcc
Message-ID:  <bug-202020-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 202020
           Summary: www/chromium fail to build with gcc
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium@FreeBSD.org
          Reporter: gja822@narod.ru
          Assignee: chromium@FreeBSD.org
             Flags: maintainer-feedback?(chromium@FreeBSD.org)

Several last versions of www/chromium (up to latest 44.0.2403.125) won't build
with gcc. If I try gcc-5.2.0, gcc_version is misread as "5" instead of "52",
when I try gcc49 or gcc48, compilation stops with the following strange errors:


In file included from
../../third_party/ffmpeg/libavutil/autorename_libavutil_cpu.c:42:0:
/usr/include/sys/sysctl.h:801:25: error: unknown type name 'u_int'
 int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
                         ^
In file included from
../../third_party/ffmpeg/libavutil/autorename_libavutil_cpu.c:45:0:
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.4/include-fixed/unistd.h:567:18:
error: unknown type name 'fd_set'
 int  select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
                  ^
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.4/include-fixed/unistd.h:567:28:
error: unknown type name 'fd_set'
 int  select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
                            ^
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.4/include-fixed/unistd.h:567:38:
error: unknown type name 'fd_set'
 int  select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
                                      ^
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.4/include-fixed/unistd.h:587:27:
error: unknown type name 'u_long'
 int  strtofflags(char **, u_long *, u_long *);
                           ^
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.3/4.9.4/include-fixed/unistd.h:587:37:
error: unknown type name 'u_long'
 int  strtofflags(char **, u_long *, u_long *);
                                     ^
[331/17440] CC obj/third_party/ffmpeg/libavcodec/ffmpeg.h264pred.o
ninja: build stopped: subcommand failed.

-- 
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-202020-13>