Bug 222393 - www/qt5-webengine Too many redefinition errors
Summary: www/qt5-webengine Too many redefinition errors
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: kde
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-17 12:26 UTC by Rob Belics
Modified: 2018-02-07 12:00 UTC (History)
2 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Belics 2017-09-17 12:26:16 UTC
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:80:9: warning: 'V8_INLINE' macro redefined [-Wmacro-redefined]
#define V8_INLINE(declarator) inline __attribute__((always_inline)) declarator
        ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8config.h:303:10: note: previous definition is here
# define V8_INLINE inline __attribute__((always_inline))
         ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:88:9: warning: 'V8_DEPRECATED' macro redefined [-Wmacro-redefined]
#define V8_DEPRECATED(declarator) declarator __attribute__ ((deprecated))
        ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8config.h:341:9: note: previous definition is here
#define V8_DEPRECATED(message, declarator) \
        ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:96:11: warning: 'V8_UNLIKELY' macro redefined [-Wmacro-redefined]
  #define V8_UNLIKELY(condition) __builtin_expect((condition), 0)
          ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8config.h:367:10: note: previous definition is here
# define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0))
         ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:97:11: warning: 'V8_LIKELY' macro redefined [-Wmacro-redefined]
  #define V8_LIKELY(condition) __builtin_expect((condition), 1)
          ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8config.h:368:10: note: previous definition is here
# define V8_LIKELY(condition) (__builtin_expect(!!(condition), 1))
         ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:143:26: error: redefinition of 'Handle' as different kind of symbol
template <class T> class Handle;
                         ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:343:1: note: previous definition is here
using Handle = Local<T>;
^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:145:1: error: too few template parameters in template redeclaration
template <class T> class Persistent;
^~~~~~~~~~~~~~~~~~
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:311:3: note: previous template declaration is here
  template<class F, class M> friend class Persistent;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:159:7: error: redefinition of 'UniqueId'
class UniqueId {
      ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:161:7: note: previous definition is here
class UniqueId {
      ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:233:26: error: redefinition of 'Handle' as different kind of symbol
template <class T> class Handle {
                         ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:343:1: note: previous definition is here
using Handle = Local<T>;
^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:328:26: error: redefinition of 'Local'
template <class T> class Local : public Handle<T> {
                         ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:216:7: note: previous definition is here
class Local {
      ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:381:1: error: too few template parameters in template redeclaration
template <class T> class Persistent : public Handle<T> {
^~~~~~~~~~~~~~~~~~
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:311:3: note: previous template declaration is here
  template<class F, class M> friend class Persistent;
  ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:559:16: error: redefinition of 'HandleScope'
class V8EXPORT HandleScope {
               ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:887:17: note: previous definition is here
class V8_EXPORT HandleScope {
                ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:631:16: error: redefinition of 'Data'
class V8EXPORT Data {
               ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:994:17: note: previous definition is here
class V8_EXPORT Data {
                ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:695:7: error: redefinition of 'ScriptOrigin'
class ScriptOrigin {
      ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:1035:7: note: previous definition is here
class ScriptOrigin {
      ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:717:16: error: redefinition of 'Script'
class V8EXPORT Script {
               ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:1102:17: note: previous definition is here
class V8_EXPORT Script {
                ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:827:16: error: redefinition of 'Message'
class V8EXPORT Message {
               ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:1444:17: note: previous definition is here
class V8_EXPORT Message {
                ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:893:16: error: redefinition of 'StackTrace'
class V8EXPORT StackTrace {
               ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:1524:17: note: previous definition is here
class V8_EXPORT StackTrace {
                ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:942:16: error: redefinition of 'StackFrame'
class V8EXPORT StackFrame {
               ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:1576:17: note: previous definition is here
class V8_EXPORT StackFrame {
                ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:999:16: error: redefinition of 'Value'
class V8EXPORT Value : public Data {
               ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:1697:17: note: previous definition is here
class V8_EXPORT Value : public Data {
                ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:1210:16: error: redefinition of 'Primitive'
class V8EXPORT Primitive : public Value { };
               ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:2054:17: note: previous definition is here
class V8_EXPORT Primitive : public Value { };
                ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:1217:16: error: redefinition of 'Boolean'
class V8EXPORT Boolean : public Primitive {
               ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:2061:17: note: previous definition is here
class V8_EXPORT Boolean : public Primitive {
                ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:1227:16: error: redefinition of 'String'
class V8EXPORT String : public Primitive {
               ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:2098:17: note: previous definition is here
class V8_EXPORT String : public Name {
                ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:1616:16: error: redefinition of 'Symbol'
class V8EXPORT Symbol : public Primitive {
               ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:2465:17: note: previous definition is here
class V8_EXPORT Symbol : public Name {
                ^
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/GeoNotifier.cpp:7:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/modules/geolocation/Geolocation.h:30:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34:
In file included from /usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/WebKit/Source/bindings/core/v8/WrapperTypeInfo.h:38:
/usr/local/include/v8.h:1637:16: error: redefinition of 'Number'
class V8EXPORT Number : public Primitive {
               ^
/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/include/v8.h:2530:17: note: previous definition is here
class V8_EXPORT Number : public Primitive {
                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
4 warnings and 20 errors generated.
[8550/11250] CXX obj/src/3rdparty/chromium/third_party/WebKit/Source/core/layout/svg/line/webcore_rendering.SVGInlineTextBox.o
[8551/11250] CXX obj/src/3rdparty/chromium/third_party/WebKit/Source/core/layout/svg/line/webcore_rendering.SVGRootInlineBox.o
ninja: build stopped: subcommand failed.
*** [invoke_ninja] Error code 1

make[5]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/core
1 error

make[5]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/core
*** [sub-gyp_run-pro-make_first] Error code 2

make[4]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/core
1 error

make[4]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/core
*** [sub-core-make_first] Error code 2

make[3]: stopped in /usr/ports/www/qt5-webengine/work/.build/src
1 error

make[3]: stopped in /usr/ports/www/qt5-webengine/work/.build/src
*** [sub-src-make_first] Error code 2

make[2]: stopped in /usr/ports/www/qt5-webengine/work/.build
1 error

make[2]: stopped in /usr/ports/www/qt5-webengine/work/.build
===> Compilation failed unexpectedly.
Comment 1 Rob Belics 2017-10-01 00:07:38 UTC
I forgot to add this is FreeBSD  11.1-RELEASE-p1
Comment 2 Tobias C. Berner freebsd_committer 2017-10-01 07:09:36 UTC
My guess is, that you have lang/v8 installed, and that it mixes up the headers of the installed version with the one bundled inside webengine.
Afair I had a similar issue when working on it. 

Could you try to deinstall lang/v8 and try again?


mfg Tobias
Comment 3 Rob Belics 2017-10-01 14:57:59 UTC
(In reply to Tobias C. Berner from comment #2)
You are correct. I uninstalled lang/v8 and qt5-webengine updated without issue.
Comment 4 Walter Schwarzenfeld freebsd_triage 2018-02-07 09:52:59 UTC
Can we close this a "not a bug"?