[Slackbuilds-users] qt5 5.5.1 fails to build with multiple jobs

Andrzej Telszewski atelszewski at gmail.com
Sun Mar 13 10:09:59 UTC 2016


On 13/03/16 10:09, Matteo Bernardini wrote:
> 2016-03-13 10:00 GMT+01:00 Andrzej Telszewski <atelszewski at gmail.com>:
>> Hi,
>>
>> I'm on Slackware-current and SBo master.
>>
>> I'm trying to build qt5 and it fails with the following error:
>>
>> [6/10258] CXX
>> obj/src/3rdparty/chromium/third_party/protobuf/src/google/protobuf/compiler/protobuf_full_do_not_use.parser.o
>> ninja: build stopped: subcommand failed.
>> Makefile.gyp_run:766: recipe for target 'invoke_ninja' failed
>> make[4]: *** [invoke_ninja] Error 1
>> make[4]: Leaving directory
>> '/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/core'
>> Makefile:63: recipe for target 'sub-gyp_run-pro-make_first' failed
>> make[3]: *** [sub-gyp_run-pro-make_first] Error 2
>> make[3]: Leaving directory
>> '/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/core'
>> Makefile:48: recipe for target 'sub-core-make_first' failed
>> make[2]: *** [sub-core-make_first] Error 2
>> make[2]: Leaving directory
>> '/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine/src'
>> Makefile:44: recipe for target 'sub-src-make_first' failed
>> make[1]: *** [sub-src-make_first] Error 2
>> make[1]: Leaving directory
>> '/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine'
>> Makefile:803: recipe for target 'module-qtwebengine-make_first' failed
>> make: *** [module-qtwebengine-make_first] Error 2
>> make: *** Waiting for unfinished jobs....
>>
>> Please note that it's most certainly not the exact place where the build
>> failed for the first time, as I tried single job make in the leftover source
>> tree.
>>
>> Single job make seems to resume the build (it's ongoing at the moment).
>>
>> Any ideas on what might be the problem?
>>
>> It looks like ninja is only used for the build of chromium, but I might be
>> wrong on that.
>
> hi Andrzej,
>
> I don't know what's happening there but, FYI, it seems I am able to
> build qt5 with -j23 here so I'm not sure if that is related...
>
> Matteo

Well, for me, the RESUMED build fails with the single job too, now with 
the following error:



ninja: Entering directory 
`/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/core/Release'
[6/10227] CC 
obj/src/3rdparty/chromium/net/third_party/nss/ssl/libssl.ssl3con.o
FAILED: /usr/bin/gcc -MMD -MF 
obj/src/3rdparty/chromium/net/third_party/nss/ssl/libssl.ssl3con.o.d 
-DV8_DEPRECATION_WARNINGS -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 
-DNO_TCMALLOC -DCHROMIUM_BUILD -DTOOLKIT_VIEWS=1 
-DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=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 
-DDONT_EMBED_BUILD_METADATA -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 -DCLD2_DATA_SOURCE=static 
-DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=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 
-DENABLE_LOAD_COMPLETION_HACKS=1 -DNO_PKCS11_BYPASS -DNSS_ENABLE_ECC 
-DUSE_UTIL_DIRECTLY -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS=1 -DNDEBUG 
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen 
-I/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/bodge 
-I/usr/include/libdrm -fstack-protector --param=ssp-buffer-size=4 
-pthread -fno-strict-aliasing -Wno-unused-parameter 
-Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC 
-Wno-unused-local-typedefs -I/usr/include/nss -I/usr/include/nspr 
-Wno-format -Wno-unused-result -I/usr/include/dbus-1.0 
-I/usr/lib64/dbus-1.0/include -I/usr/include/dbus-1.0 
-I/usr/lib64/dbus-1.0/include -m64 -march=x86-64 -O2 -fno-ident 
-fdata-sections -ffunction-sections -funwind-tables -O2 -fPIC  -c 
/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c 
-o obj/src/3rdparty/chromium/net/third_party/nss/ssl/libssl.ssl3con.o
/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c: 
In function ‘ssl3_ChaCha20Poly1305’:
/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c:2091:15: 
error: ‘CK_NSS_AEAD_PARAMS {aka struct CK_NSS_AEAD_PARAMS}’ has no 
member named ‘pIv’
      aeadParams.pIv = (unsigned char *) additionalData;
                ^
/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c:2092:15: 
error: ‘CK_NSS_AEAD_PARAMS {aka struct CK_NSS_AEAD_PARAMS}’ has no 
member named ‘ulIvLen’
      aeadParams.ulIvLen = 8;
                ^
[6/10227] RULE net_derived_sources: 
dafsa_7d6ccdce6c873144fc2b417bd53e3eea 
base/registry_controlled_domains/effective_tld_names.gperf
ninja: build stopped: subcommand failed.
Makefile.gyp_run:766: recipe for target 'invoke_ninja' failed
make[4]: *** [invoke_ninja] Error 1
make[4]: Leaving directory 
'/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/core'
Makefile:63: recipe for target 'sub-gyp_run-pro-make_first' failed
make[3]: *** [sub-gyp_run-pro-make_first] Error 2
make[3]: Leaving directory 
'/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine/src/core'
Makefile:48: recipe for target 'sub-core-make_first' failed
make[2]: *** [sub-core-make_first] Error 2
make[2]: Leaving directory 
'/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine/src'
Makefile:44: recipe for target 'sub-src-make_first' failed
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory 
'/home/software/slackware/pkg/tmpdir/qt-everywhere-opensource-src-5.5.1/qtwebengine'
Makefile:803: recipe for target 'module-qtwebengine-make_first' failed
make: *** [module-qtwebengine-make_first] Error 2



Any suggestions on how should I try to build again?

What I have now is:
export JOBS=$(nproc)
export NUMJOBS="-j${JOBS}"
export MAKEFLAGS="$NUMJOBS"

for specifying the number of jobs

and:
DOCS=yes EXAMPLES=yes

and optional deps:
- libxkbcommon
- freetds
- OpenAL
- libwebp
- wayland

> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>


-- 
Best regards,
Andrzej Telszewski


More information about the SlackBuilds-users mailing list