Bug 223201 - emulators/virtualbox-ose 5.2.0 does not compile with QT5 selected
Summary: emulators/virtualbox-ose 5.2.0 does not compile with QT5 selected
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-24 04:27 UTC by Jack
Modified: 2017-10-25 00:18 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2017-10-24 04:27:08 UTC
port does not compile with QT5 option selected.

snipped of build error below:

kBuild: Generating python - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGLgen/server_dispatch.c
kBuild: Compiling VBoxOGLcrserverlib - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGLgen/server_dispatch.c
kBuild: Generating python - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGLgen/server_retval.c
kBuild: Compiling VBoxOGLcrserverlib - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGLgen/server_retval.c
kBuild: Generating python - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGLgen/server_get.c
kBuild: Compiling VBoxOGLcrserverlib - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGLgen/server_get.c
kBuild: Generating python - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGLgen/server_simpleget.c
kBuild: Compiling VBoxOGLcrserverlib - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGLgen/server_simpleget.c
kBuild: Linking VBoxOGLcrserverlib
kBuild: Installing VBoxOGLcrserverlib => /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/lib/VBoxOGLcrserverlib.a
kBuild: Generating python - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGLgen/unpack_extend.h
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_arrays.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_bounds.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_bufferobject.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_calllists.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_clipplane.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_context.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_drawpixels.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_fence.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_fog.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_lights.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_map.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_materials.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_matrices.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_misc.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_pixelmap.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_point.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_program.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_readpixels.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_regcombiner.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_stipple.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_texture.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_writeback.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_visibleregion.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_shaders.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_framebuffer.c
kBuild: Generating python - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGLgen/unpack.c
kBuild: Compiling VBoxOGLcrunpacker - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGLgen/unpack.c
kBuild: Linking VBoxOGLcrunpacker
kBuild: Installing VBoxOGLcrunpacker => /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/lib/VBoxOGLcrunpacker.a
kBuild: Compiling VBoxOGLTest - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTest.cpp
kBuild: Linking VBoxOGLTest
kBuild: Installing VBoxOGLTest => /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/lib/VBoxOGLTest.a
kBuild: Compiling Debugger - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Debugger/DBGConsole.cpp
kBuild: Compiling Debugger - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Debugger/DBGCEval.cpp
kBuild: Compiling Debugger - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Debugger/DBGCBuiltInSymbols.cpp
kBuild: Compiling Debugger - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Debugger/DBGCCmdHlp.cpp
kBuild: Compiling Debugger - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Debugger/DBGCCmdWorkers.cpp
kBuild: Compiling Debugger - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Debugger/DBGCCommands.cpp
kBuild: Compiling Debugger - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Debugger/DBGCFunctions.cpp
kBuild: Compiling Debugger - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Debugger/DBGCEmulateCodeView.cpp
kBuild: Compiling Debugger - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Debugger/DBGCOps.cpp
kBuild: Compiling Debugger - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Debugger/DBGCGdbRemoteStub.cpp
kBuild: Compiling Debugger - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Debugger/DBGCTcp.cpp
kBuild: Compiling Debugger - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Debugger/DBGCScreenAscii.cpp
kBuild: Linking Debugger
kBuild: Installing Debugger => /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/lib/Debugger.a
kBuild: Compiling VBoxOGL2D - /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp
In file included from /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp:26:
In file included from /usr/local/include/qt5/QtOpenGL/QGLWidget:1:
In file included from /usr/local/include/qt5/QtOpenGL/qgl.h:45:
In file included from /usr/local/include/qt5/QtGui/qopengl.h:43:
In file included from /usr/local/include/qt5/QtCore/qglobal.h:83:
/usr/local/include/qt5/QtCore/qcompilerdetection.h:562:6: error: Qt requires a C++11 compiler and yours does not seem to be that.
#    error Qt requires a C++11 compiler and yours does not seem to be that.
     ^
In file included from /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp:26:
In file included from /usr/local/include/qt5/QtOpenGL/QGLWidget:1:
In file included from /usr/local/include/qt5/QtOpenGL/qgl.h:45:
In file included from /usr/local/include/qt5/QtGui/qopengl.h:43:
/usr/local/include/qt5/QtCore/qglobal.h:1133:23: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
void qAsConst(const T &&) Q_DECL_EQ_DELETE;
                      ^
In file included from /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp:26:
In file included from /usr/local/include/qt5/QtOpenGL/QGLWidget:1:
In file included from /usr/local/include/qt5/QtOpenGL/qgl.h:45:
In file included from /usr/local/include/qt5/QtGui/qopengl.h:43:
In file included from /usr/local/include/qt5/QtCore/qglobal.h:1145:
In file included from /usr/local/include/qt5/QtCore/qatomic.h:46:
/usr/local/include/qt5/QtCore/qbasicatomic.h:61:4: error: "Qt requires C++11 support"
#  error "Qt requires C++11 support"
   ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:90:13: error: unknown type name 'QAtomicOps'
    typedef QAtomicOps<T> Ops;
            ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:90:23: error: expected member name or ';' after declaration specifiers
    typedef QAtomicOps<T> Ops;
    ~~~~~~~~~~~~~~~~~~^
/usr/local/include/qt5/QtCore/qbasicatomic.h:93:23: error: use of undeclared identifier 'QAtomicOpsSupport'
    Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not support...
                      ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:93:53: error: no member named 'IsSupported' in the global namespace
    Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not support...
                                                  ~~^
/usr/local/include/qt5/QtCore/qglobal.h:761:63: note: expanded from macro 'Q_STATIC_ASSERT_X'
#define Q_STATIC_ASSERT_X(Condition, Message) Q_STATIC_ASSERT(Condition)
                                                              ^~~~~~~~~
/usr/local/include/qt5/QtCore/qglobal.h:756:110: note: expanded from macro 'Q_STATIC_ASSERT'
    enum {Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) = sizeof(QStaticAssertFailure<!!(Condition)>)}
                                                                                                             ^~~~~~~~~
In file included from /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp:26:
In file included from /usr/local/include/qt5/QtOpenGL/QGLWidget:1:
In file included from /usr/local/include/qt5/QtOpenGL/qgl.h:45:
In file included from /usr/local/include/qt5/QtGui/qopengl.h:43:
In file included from /usr/local/include/qt5/QtCore/qglobal.h:1145:
In file included from /usr/local/include/qt5/QtCore/qatomic.h:46:
/usr/local/include/qt5/QtCore/qbasicatomic.h:93:5: error: type name requires a specifier or qualifier
    Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not support...
    ^
/usr/local/include/qt5/QtCore/qglobal.h:761:47: note: expanded from macro 'Q_STATIC_ASSERT_X'
#define Q_STATIC_ASSERT_X(Condition, Message) Q_STATIC_ASSERT(Condition)
                                              ^
/usr/local/include/qt5/QtCore/qglobal.h:756:121: note: expanded from macro 'Q_STATIC_ASSERT'
    enum {Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) = sizeof(QStaticAssertFailure<!!(Condition)>)}
                                                                                                                        ^
In file included from /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp:26:
In file included from /usr/local/include/qt5/QtOpenGL/QGLWidget:1:
In file included from /usr/local/include/qt5/QtOpenGL/qgl.h:45:
In file included from /usr/local/include/qt5/QtGui/qopengl.h:43:
In file included from /usr/local/include/qt5/QtCore/qglobal.h:1145:
In file included from /usr/local/include/qt5/QtCore/qatomic.h:46:
/usr/local/include/qt5/QtCore/qbasicatomic.h:95:14: error: use of undeclared identifier 'Ops'
    typename Ops::Type _q_value;
             ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:95:19: error: expected a qualified name after 'typename'
    typename Ops::Type _q_value;
                  ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:95:23: error: expected ';' at end of declaration list
    typename Ops::Type _q_value;
                      ^
                      ;                                                                                                          
/usr/local/include/qt5/QtCore/qbasicatomic.h:99:44: error: use of undeclared identifier 'Ops'
    T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); }
                                           ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:99:54: error: use of undeclared identifier '_q_value'
    T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); }
                                                     ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:100:45: error: use of undeclared identifier 'Ops'
    void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); }
                                            ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:100:56: error: use of undeclared identifier '_q_value'
    void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); }
                                                       ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:102:51: error: use of undeclared identifier 'Ops'
    T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); }
                                                  ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:102:68: error: use of undeclared identifier '_q_value'
    T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); }
                                                                   ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:103:52: error: use of undeclared identifier 'Ops'
    void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); }
                                                   ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:103:70: error: use of undeclared identifier '_q_value'
    void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); }
                                                                     ^
/usr/local/include/qt5/QtCore/qbasicatomic.h:107:86: error: use of undeclared identifier 'Ops'
    static Q_DECL_CONSTEXPR bool isReferenceCountingNative() Q_DECL_NOTHROW { return Ops::isReferenceCountingNative(); }
                                                                                     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
kmk: *** [/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGL2D/src/VBoxGLSupportInfo.o] Error 1
The failing command:
@c++ -c -O2 -fPIC -g -pipe -Wall -Wextra -Wno-missing-field-initializers -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter -Wno-language-extension-token -Wno-extended-offsetof -Wno-gnu-folding-constant -Wno-string-plus-int -Wno-nested-anon-types -Wno-variadic-macros -frtti -fno-exceptions -Wno-long-long -fshort-wchar -fno-strict-aliasing -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -fvisibility-inlines-hidden -Wno-return-type-c-linkage   -fPIC -m64 -I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Frontends/VirtualBox/include -I/usr/local/include -I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include -I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom -I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/string -I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom -I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub -I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/ipcd -I/usr/local/include/qt5/QtOpenGL -I/usr/local/include/qt5 -I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGL2D/qtmoc -I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGL2D/qtuic -I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/include -I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM -DVBOX_WITH_RAW_MODE -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox-ose\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" -DPIC -DIN_RING3 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DHAVE_CONFIG_H -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -DVBOX_WITH_XPCOM -DPIC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DHAVE_CONFIG_H -DVBOX_WITH_VIDEOHWACCEL -DVBOX_GUI_USE_QGL -DQT_OPENGL_LIB -Wp,-MD,/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGL2D/src/VBoxGLSupportInfo.o.dep -Wp,-MT,/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGL2D/src/VBoxGLSupportInfo.o -Wp,-MP -o /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/out/freebsd.amd64/release/obj/VBoxOGL2D/src/VBoxGLSupportInfo.o /usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.0/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/emulators/virtualbox-ose
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/virtualbox-ose
Comment 1 Jack 2017-10-24 04:56:53 UTC
It builds fine if WEBSERVICE is selected along with QT5
Comment 2 Jung-uk Kim freebsd_committer 2017-10-24 18:19:46 UTC
I'll take it.
Comment 3 commit-hook freebsd_committer 2017-10-25 00:15:44 UTC
A commit references this bug:

Author: jkim
Date: Wed Oct 25 00:15:33 UTC 2017
New revision: 452823
URL: https://svnweb.freebsd.org/changeset/ports/452823

Log:
  - Work around build failures with Clang 3.4.
  - Fix build without WEBSERVICE option. [1]

  PR:		223201 [1]

Changes:
  head/emulators/virtualbox-ose/Makefile
  head/emulators/virtualbox-ose/files/patch-src_VBox_Debugger_Makefile.kmk
  head/emulators/virtualbox-ose/files/patch-src_VBox_Frontends_VirtualBox_Makefile.kmk
  head/emulators/virtualbox-ose/files/patch-src_VBox_HostServices_SharedOpenGL_Makefile.kmk