Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 819543

Summary: dev-qt/linguist-tools-5.15.2-r10 - powerpc64-gentoo-linux-musl-g++: error: unrecognized command-line option '-Winconsistent-missing-override'
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED INVALID    
Severity: normal CC: musl
Priority: Normal    
Version: unspecified   
Hardware: PPC64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=819549
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2021-10-22 22:50:53 UTC
Created attachment 746214 [details]
build.log

[...]
make[1]: Entering directory '/var/tmp/portage/dev-qt/linguist-tools-5.15.2-r10/work/qttools-33693a928986006d79c1ee743733cde5966ac402_build/src/linguist/lconvert'
powerpc64-gentoo-linux-musl-g++ -c -Os -mcpu=970 -mtune=970 -pipe -std=c++1z -fno-exceptions -Wall -Wextra -Wdate-time -Winconsistent-missing-override -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_USE_QSTRINGBUILDER -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I/var/tmp/portage/dev-qt/linguist-tools-5.15.2-r10/work/qttools-33693a928986006d79c1ee743733cde5966ac402/src/linguist/lconvert -I. -I/var/tmp/portage/dev-qt/linguist-tools-5.15.2-r10/work/qttools-33693a928986006d79c1ee743733cde5966ac402/src/linguist/shared -I/usr/include/qt5/QtCore/5.15.2 -I/usr/include/qt5/QtCore/5.15.2/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I.moc -I/usr/lib/qt5/mkspecs/linux-clang -o .obj/main.o /var/tmp/portage/dev-qt/linguist-tools-5.15.2-r10/work/qttools-33693a928986006d79c1ee743733cde5966ac402/src/linguist/lconvert/main.cpp
powerpc64-gentoo-linux-musl-g++: error: unrecognized command-line option '-Winconsistent-missing-override'
make[1]: *** [Makefile:393: .obj/main.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-qt/linguist-tools-5.15.2-r10/work/qttools-33693a928986006d79c1ee743733cde5966ac402_build/src/linguist/lconvert'
make: *** [Makefile:52: sub-lconvert-make_first] Error 2
 * ERROR: dev-qt/linguist-tools-5.15.2-r10::gentoo failed (compile phase):
 *   emake failed
Comment 1 ernsteiswuerfel archtester 2021-10-22 22:51:23 UTC
Created attachment 746217 [details]
emerge --info
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2021-10-22 23:05:45 UTC
Did you build qtcore with a different compiler (specifically, clang)?

Also please attach your /usr/lib(64)/qt5/mkspecs/gentoo/qconfig-qtcore.pri
Comment 3 ernsteiswuerfel archtester 2021-10-23 09:02:28 UTC
(In reply to Davide Pesavento from comment #2)
> Did you build qtcore with a different compiler (specifically, clang)?
> 
> Also please attach your /usr/lib(64)/qt5/mkspecs/gentoo/qconfig-qtcore.pri
Thanks for the hint! I did build it with clang some time ago and forgot about it.. Now as I rebuilt qtcore with gcc this problem disappeared.

Sorry for the noise!