Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2020 09:58:17 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        freebsd-ports@freebsd.org, chromium@freebsd.org
Subject:   chromium-79.0.3945.130 fails to build.
Message-ID:  <CAJuc1zOjf6=dAyjVtGZeCJZyoO82X=sidL6X=0BkUXsL976t5Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

The latest update of chromium-79.0.3945.130 is currently failing to
build on FreeBSD-12/amd64:

FAILED: obj/third_party/leveldatabase/leveldatabase/port_chromium.o
c++ -MMD -MF obj/third_party/leveldatabase/leveldatabase/port_chromium.o.d
-DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_COMPILE_LIBRARY -DUSE_AURA=
1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DOFFICIAL_BUILD
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DNO_UNWIND_TAB
LES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"373424-64a362e7-1\" -DNDEBUG
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DLEVELDB_PLATFORM_CHROMIUM=1
 -DLEVELDB_PLATFORM_CHROMIUM=1
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen -I../.
./third_party/leveldatabase -I../../third_party/leveldatabase/src
-I../../third_party/leveldatabase/src/include
-Igen/shim_headers/snappy_shim
 -I../../third_party/boringssl/src/include -I../../third_party/re2/src
-fprofile-sample-use=../../chrome/android/profiles/afdo.prof
-fno-stric
t-aliasing --param=ssp-buffer-size=4 -fstack-protector
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread
-fcolor-diagnostics -
fmerge-all-constants -m64 -march=x86-64 -no-canonical-prefixes -O2
-fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer
-g0
-fvisibility=hidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -Wall -Wno-unused-variable
-Wno-missing-field-initiali
zers -Wno-unused-parameter -Wno-c++11-narrowing
-Wno-unneeded-internal-declaration -Wno-undefined-var-template
-I/usr/local/include/glib-2.0 -
I/usr/local/lib/glib-2.0/include -I/usr/local/include -std=c++14
-fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe
-fstack-prote
ctor-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem
/usr/local/include  -c
../../third_party/leveldatabase/port/port_chromi
um.cc -o obj/third_party/leveldatabase/leveldatabase/port_chromium.o
In file included from ../../third_party/leveldatabase/port/port_chromium.cc:10:
../../third_party/snappy/src/snappy.h:76:59: error: unknown type name
'string'; did you mean 'std::string'?
  size_t Compress(const char* input, size_t input_length, string* output);
                                                          ^~~~~~
                                                          std::string
/usr/include/c++/v1/iosfwd:211:65: note: 'std::string' declared here
typedef basic_string<char, char_traits<char>, allocator<char> > string;
                                                                ^
In file included from ../../third_party/leveldatabase/port/port_chromium.cc:10:
../../third_party/snappy/src/snappy.h:85:19: error: unknown type name
'string'; did you mean 'std::string'?
                  string* uncompressed);
                  ^~~~~~
                  std::string
/usr/include/c++/v1/iosfwd:211:65: note: 'std::string' declared here
typedef basic_string<char, char_traits<char>, allocator<char> > string;
                                                                ^
2 errors generated.

-- 
Jonathan Chen <jonc@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zOjf6=dAyjVtGZeCJZyoO82X=sidL6X=0BkUXsL976t5Q>