[Interest] X86 64 bit Qt5.4 Alpha build error
Ramakanthreddy Kesireddy
Ramakanthreddy.Kesireddy at TechMahindra.com
Mon Oct 20 08:16:24 CEST 2014
Thanks for your input. If I run make -j1, it fails with below error. Am I missing anything further?
using python: /usr/bin/python version: 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2]
Using extra options found in /home/ramakanth/qt-everywhere-opensource-src-5.4.0-alpha/qtwebengine/src/core/qtwebengine_extras.gypi
Using extra options found in /home/ramakanth/qt-everywhere-opensource-src-5.4.0-alpha/qtwebengine/src/core/qmake_extras.gypi
Updating projects from gyp files...
Building ninja manually...
Building ninja using itself...
warning: A compatible version of re2c (>= 0.11.3) was not found; changes to src/*.in.cc will not affect your build.
wrote build.ninja.
[24/24] LINK ninja
Done!
make[4]: Entering directory `/home/ramakanth/qt-everywhere-opensource-src-5.4.0-alpha/qtwebengine/src/core'
/home/ramakanth/qt-everywhere-opensource-src-5.4.0-alpha/qtwebengine/src/3rdparty/ninja/ninja -C /home/sona/qt-everywhere-opensource-src-5.4.0-alpha/qtwebengine/src/core/Release
ninja: Entering directory `/home/sona/qt-everywhere-opensource-src-5.4.0-alpha/qtwebengine/src/core/Release'
[1905/10112] CXX obj/src/3rdparty/chromium/sandbox/linux/services/sandbox_services.credentials.o
FAILED: /usr/bin/g++ -MMD -MF obj/src/3rdparty/chromium/sandbox/linux/services/sandbox_services.credentials.o.d -DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DCHROMIUM_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DUSE_UDEV -DENABLE_EGLIMAGE=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DSANDBOX_IMPLEMENTATION -DUSE_NSS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen -I../../../src/3rdparty/chromium/sandbox -I../../../src/3rdparty/chromium -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -c ../../../src/3rdparty/chromium/sandbox/linux/services/credentials.cc -o obj/src/3rdparty/chromium/sandbox/linux/services/sandbox_services.credentials.o
../../../src/3rdparty/chromium/sandbox/linux/services/credentials.cc:12:28: fatal error: sys/capability.h: No such file or directory
#include <sys/capability.h>
^
compilation terminated.
[1905/10112] CXX obj/src/3rdparty/chromium/v8/src/x64/v8_base.lithium-x64.o
ninja: build stopped: subcommand failed.
make[4]: *** [invoke_ninja] Error 1
make[4]: Leaving directory `/home/ramakanth/qt-everywhere-opensource-src-5.4.0-alpha/qtwebengine/src/core'
make[3]: *** [sub-gyp_run-pro-make_first] Error 2
make[3]: Leaving directory `/home/ ramakanth /qt-everywhere-opensource-src-5.4.0-alpha/qtwebengine/src/core'
make[2]: *** [sub-core-make_first] Error 2
make[2]: Leaving directory `/home/ ramakanth /qt-everywhere-opensource-src-5.4.0-alpha/qtwebengine/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/home/ ramakanth /qt-everywhere-opensource-src-5.4.0-alpha/qtwebengine'
make: *** [module-qtwebengine-make_first] Error 2
Thanks and Regards,
Ramakanth
-----Original Message-----
From: Koehne Kai [mailto:Kai.Koehne at theqtcompany.com]
Sent: Thursday, October 16, 2014 4:14 PM
To: Ramakanthreddy Kesireddy; interest at qt-project.org
Subject: RE: X86 64 bit Qt5.4 Alpha build error
> -----Original Message-----
> From: interest-bounces+kai.koehne=theqtcompany.com at qt-project.org
> [mailto:interest-bounces+kai.koehne=theqtcompany.com at qt-project.org]
> On Behalf Of Ramakanthreddy Kesireddy
> Sent: Thursday, October 16, 2014 12:24 PM
> To: interest at qt-project.org
> Subject: [Interest] X86 64 bit Qt5.4 Alpha build error
>
> Hi,
>
>
>
> I installed all the X11 packages and build the latest Qt5.4 Alpha on
> Ubuntu
> 14.04 desktop 64 bit machine.
>
> It gives the below error when I did make.
The real error is not included in your snippet. It almost certainly was printed before the part you copied.
It often helps to run make -j1 , so that the actual build errors show up right before make exits.
Regards
Kai
>
>
>
>
> g++ -Wl,--no-undefined -Wl,-O1 -fuse-ld=gold -shared -o libqxcb.so
> .obj/qxcbclipboard.o .obj/qxcbconnection.o .obj/qxcbintegration.o
> .obj/qxcbkeyboard.o .obj/qxcbmime.o .obj/qxcbdrag.o .obj/qxcbscreen.o
> .obj/qxcbwindow.o .obj/qxcbbackingstore.o .obj/qxcbwmsupport.o
> .obj/qxcbmain.o .obj/qxcbnativeinterface.o .obj/qxcbcursor.o
> .obj/qxcbimage.o .obj/qxcbxsettings.o .obj/qxcbsystemtraytracker.o
> .obj/qxcbconnection_xi2.o .obj/qglxintegration.o .obj/atom.o .obj/xkb-
> compat.o .obj/context.o .obj/xkb-keymap.o .obj/keysym.o .obj/keysym-
> utf.o .obj/state.o .obj/text.o .obj/context-priv.o .obj/keymap-priv.o
> .obj/utils.o .obj/utf8.o .obj/action.o .obj/ast-build.o .obj/compat.o
> .obj/expr.o .obj/include.o .obj/keycodes.o .obj/keymap-dump.o
> .obj/keymap.o .obj/keywords.o .obj/rules.o .obj/scanner.o
> .obj/symbols.o .obj/types.o .obj/vmod.o .obj/xkbcomp.o .obj/parser.o
> .obj/util.o .obj/x11- keymap.o .obj/x11-state.o
> .obj/moc_qxcbconnection.o .obj/moc_qxcbmime.o
> .obj/moc_qxcbnativeinterface.o .obj/moc_qxcbsystemtraytracker.o
> -lX11-xcb -lXi -ldl -ldbus-1 -lxcb -
> L/home/sona/qt-everywhere-opensource-src-5.4.0-
> alpha/qtbase/src/plugins/platforms/xcb/xcb-static -lxcb-static -
> L/home/sona/qt-everywhere-opensource-src-5.4.0-alpha/qtbase/lib -
> lQt5PlatformSupport -lfontconfig -lfreetype -lXrender -lXext -lX11 -lm
> -ludev -lmtdev -lQt5Gui -lQt5DBus -lQt5Core -lGL -lpthread mv -f
> libqxcb.so ../../../../plugins/platforms/
> make[6]: Leaving directory `/home/ramakanth/qt-everywhere-opensource-
> src-5.4.0-alpha/qtbase/src/plugins/platforms/xcb'
> make[5]: Leaving directory `/home/ ramakanth /qt-everywhere-
> opensource-src-5.4.0-alpha/qtbase/src/plugins/platforms/xcb'
> make[4]: Leaving directory `/home/ ramakanth /qt-everywhere-
> opensource-src-5.4.0-alpha/qtbase/src/plugins/platforms'
> make[3]: Leaving directory `/home/ ramakanth /qt-everywhere-
> opensource-src-5.4.0-alpha/qtbase/src/plugins'
> make[2]: *** [sub-plugins-make_first] Error 2
> make[2]: Leaving directory `/home/ ramakanth /qt-everywhere-
> opensource-src-5.4.0-alpha/qtbase/src'
> make[1]: *** [sub-src-make_first] Error 2
> make[1]: Leaving directory `/home/ ramakanth /qt-everywhere-
> opensource-src-5.4.0-alpha/qtbase'
> make: *** [module-qtbase-make_first] Error 2
>
> Please let me know if am missing any X11 libraries though I installed
> all libraries from Qt for
> http://qt-project.org/doc/qt-5/linux-requirements.html
>
>
>
> Thanks and Regards,
>
> Ramakanth
>
>
>
>
>
>
>
> ________________________________
>
> ==========================================================
> ==========================================================
> ========
> Disclaimer: This message and the information contained herein is
> proprietary and confidential and subject to the Tech Mahindra policy
> statement, you may review the policy at
> http://www.techmahindra.com/Disclaimer.html
> externally http://tim.techmahindra.com/tim/disclaimer.html internally
> within TechMahindra.
> ==========================================================
> ==========================================================
> ========
>
============================================================================================================================
Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================
More information about the Interest
mailing list