[Slackbuilds-users] I failed to build qt5

Christoph Willing chris.willing at linux.com
Wed May 6 05:21:43 UTC 2020


On 6/5/20 12:16 am, M Wedin wrote:
> The old qt 5.9.9 was removed.
> 
> I did have some stuff after the env check. So I exited root and logged
> in again in the terminal window. The next check showed the following:
> 
> # env | grep -i qt5
> PWD=/home/wed/slackpacks64_14.2/slackbuilds/qt5
> root at headroom:/home/wed/slackpacks64_14.2/slackbuilds/qt5#
> 
> Thus I ran the command
> ./qt5.SlackBuild
> 
> [641/2162] /usr/bin/g++ -MMD -MF
> obj/content/browser/browser/save_package.o.d -DENABLE_SCREEN_CAPTURE=1
> -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1
> -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
> -DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD
> -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS
> -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND
> -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DCONTENT_IMPLEMENTATION
> -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DU_USING_ICU_NAMESPACE=0
> -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION
> -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t
> -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
> -DHAVE_PTHREAD -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS
> -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY
> -DSK_SUPPORT_GPU=1
> -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\"
> -DLEVELDB_PLATFORM_CHROMIUM=1
> -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DGTEST_RELATIVE_PATH
> -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX
> -DMESA_EGL_NO_X11_HEADERS -DABSL_ALLOCATOR_NOTHROW=1
> -DNO_MAIN_THREAD_WRAPPING -DUSE_SYSTEM_ZLIB=1 -Igen
> -I../../3rdparty/chromium -Igen -Igen -Igen -Igen
> -I../../3rdparty/chromium/third_party/khronos
> -I../../3rdparty/chromium/gpu
> -I../../3rdparty/chromium/third_party/libyuv/include -Igen -Igen -Igen
> -Igen -I../../3rdparty/chromium/third_party/ced/src
> -I../../3rdparty/chromium/third_party/icu/source/common
> -I../../3rdparty/chromium/third_party/icu/source/i18n
> -I../../3rdparty/chromium/third_party/protobuf/src
> -I../../3rdparty/chromium/skia/config
> -I../../3rdparty/chromium/skia/ext
> -I../../3rdparty/chromium/third_party/skia/include/c
> -I../../3rdparty/chromium/third_party/skia/include/config
> -I../../3rdparty/chromium/third_party/skia/include/core
> -I../../3rdparty/chromium/third_party/skia/include/effects
> -I../../3rdparty/chromium/third_party/skia/include/encode
> -I../../3rdparty/chromium/third_party/skia/include/gpu
> -I../../3rdparty/chromium/third_party/skia/include/images
> -I../../3rdparty/chromium/third_party/skia/include/lazy
> -I../../3rdparty/chromium/third_party/skia/include/pathops
> -I../../3rdparty/chromium/third_party/skia/include/pdf
> -I../../3rdparty/chromium/third_party/skia/include/pipe
> -I../../3rdparty/chromium/third_party/skia/include/ports
> -I../../3rdparty/chromium/third_party/skia/include/utils
> -I../../3rdparty/chromium/third_party/skia/src/gpu
> -I../../3rdparty/chromium/third_party/skia/src/sksl
> -I../../3rdparty/chromium/third_party/libwebm/source
> -I../../3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out
> -I../../3rdparty/chromium/third_party/leveldatabase
> -I../../3rdparty/chromium/third_party/leveldatabase/src
> -I../../3rdparty/chromium/third_party/leveldatabase/src/include
> -I../../3rdparty/chromium/third_party/webrtc_overrides
> -I../../3rdparty/chromium/testing/gtest/include
> -I../../3rdparty/chromium/third_party/webrtc
> -I../../3rdparty/chromium/third_party/webrtc_overrides
> -I../../3rdparty/chromium/third_party/webrtc
> -Igen/third_party/metrics_proto
> -I../../3rdparty/chromium/third_party/boringssl/src/include
> -I../../3rdparty/chromium/third_party/mesa/src/include
> -I../../3rdparty/chromium/v8/include -Igen/v8/include
> -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base
> -Igen/angle -I../../3rdparty/chromium/third_party/brotli/include
> -I../../3rdparty/chromium/third_party/re2/src -fno-strict-aliasing
> --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC
> -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
> -Wno-unused-local-typedefs -Wno-maybe-uninitialized
> -Wno-deprecated-declarations -fno-delete-null-pointer-checks
> -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned
> -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident
> -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0
> -fvisibility=hidden -isystem../../../../../../../usr/include/nss
> -isystem../../../../../../../usr/include/nspr -isystem
> ../../3rdparty/chromium/third_party/abseil-cpp
> -isystem../../../../../../../usr/include/dbus-1.0
> -isystem../../../../../../../usr/lib64/dbus-1.0/include -std=gnu++14
> -Wno-narrowing -Wno-attributes -Wno-class-memaccess
> -Wno-subobject-linkage -fno-exceptions -fno-rtti
> -fvisibility-inlines-hidden -c
> ../../3rdparty/chromium/content/browser/download/save_package.cc -o
> obj/content/browser/browser/save_package.o
> ninja: build stopped: subcommand failed.
> Makefile.gn_run:1151: recipe for target 'run_ninja' failed
> make[4]: *** [run_ninja] Error 1
> make[4]: Leaving directory
> '/tmp/SBo/qt-everywhere-src-5.12.8/qtwebengine/src/core'
> Makefile:82: recipe for target 'sub-gn_run-pro-make_first' failed
> make[3]: *** [sub-gn_run-pro-make_first] Error 2
> make[3]: Leaving directory
> '/tmp/SBo/qt-everywhere-src-5.12.8/qtwebengine/src/core'
> Makefile:80: recipe for target 'sub-core-make_first' failed
> make[2]: *** [sub-core-make_first] Error 2
> make[2]: Leaving directory '/tmp/SBo/qt-everywhere-src-5.12.8/qtwebengine/src'
> Makefile:48: recipe for target 'sub-src-make_first' failed
> make[1]: *** [sub-src-make_first] Error 2
> make[1]: Leaving directory '/tmp/SBo/qt-everywhere-src-5.12.8/qtwebengine'
> Makefile:1031: recipe for target 'module-qtwebengine-make_first' failed
> make: *** [module-qtwebengine-make_first] Error 2
> root at headroom:/home/wed/slackpacks64_14.2/slackbuilds/qt5#
> 

Have you changed the SlackBuild in any way? I saw a similar problem
recently while experimenting with the use of additional "system"
libraries (as opposed to using third party code included in the source
tarball).

One thing that stands out is:
> -isystem../../../../../../../usr/lib64/dbus-1.0/include -std=gnu++14

I don't think that standard is supported in the stock g++ supplied with
14.2 is it?

Sorry I don't recall exactly which additional system package triggered
that particular error. It may have been ffmpeg because that was
definitely one system package that I couldn't integrate into the qt5
build at all. However I"m not sure if that failure was the one
associated with the c++14 and subsequent meson error.

Good luck,
chris


More information about the SlackBuilds-users mailing list