example: ``` make[3]: Entering directory '/tmp/portage/dev-qt/qtwebengine-5.6.1/work/qtwebengine-opensource-src-5.6.1/src/core' /usr/bin/ninja -C /tmp/portage/dev-qt/qtwebengine-5.6.1/work/qtwebengine-opensource-src-5.6.1/src/core/Release ninja: Entering directory `/tmp/portage/dev-qt/qtwebengine-5.6.1/work/qtwebengine-opensource-src-5.6.1/src/core/Release' [79/10936] CXX obj/src/3rdparty/chromium/base/base_static.base_switches.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [329/10936] CXX obj/src/3rdparty/chromium/third_party/webrtc/modules/audio_coding/codecs/audio_decoder_interface.audio_decoder.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [411/10936] COPY /tmp/portage/dev-qt/qtwebengine-5.6.1/work/qtwebengine-opensource-src-5.6.1/src/3rdparty/chromium/third_party/widevine/cdm/widevine_cdm_version.h gen[411/10936] COPY /tmp/portage/dev-qt/qtwebengine-5.6.1/work/qtwebengine-opensource-src-5.6.1/src/3rdparty/chromium/third_party/widevine/cdm/widevine_cdm_version.h gen[486/10936] CXX obj/src/3rdparty/chromium/third_party/webrtc/system_wrappers/source/system_wrappers.aligned_malloc.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [487/10936] CXX obj/src/3rdparty/chromium/third_party/webrtc/webrtc_common.common_types.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [489/10936] CXX obj/src/3rdparty/chromium/third_party/webrtc/webrtc_common.config.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition [506/10936] CXX obj/src/3rdparty/chromium/components/scheduler/common/scheduler_common.scheduler_switches.o <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ```
Created attachment 444006 [details, diff] qtwebengine-5.7.0-ninja-verbose.patch Proposed patch to add the ninja -v option to turn on verbose build. It could be added to the ebuild like: PATCHES=( "${FILESDIR}/${PN}-5.7.0-ninja-verbose.patch" ) Or you can create a directory: mkdir -p /etc/portage/patches/dev-qt/qtwebengine-5.7.0 and place the patch in the above directory.
Why don't you just use NINJAFLAGS Makefile variable instead of patching? Also it'd be better if it supported all NINJAOPTS as exported from cmake-utils.eclass. This would require to create a new ninja.eclass though.
In overlay: https://gitweb.gentoo.org/proj/qt.git/commit/?id=cfbb33fabae2dd1ced8dbf4d83dfad1068571272
Thanks, fixed in git. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90f45d0172ad22d6b8a6e77025499156b704dcc9