[kde-freebsd] maintainer-feedback requested: [Bug 207098] devel/qt5-linguisttools: error: non-virtual member function marked 'override' hides virtual member function (stops the build)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 11 03:28:24 UTC 2016


Mark Millard <markmi at dsl-only.net> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to kde at FreeBSD.org:
Bug 207098: devel/qt5-linguisttools: error: non-virtual member function marked
'override' hides virtual member function (stops the build)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207098



--- Description ---
[Context basics: projects/clang380-import -r295351 for buildworld/buildkernel
that targeted an rpi2 (armv7-a/cortex-a7).]

When I attempt portinstall/portmaster builds for devel/qt5-linguisttools I get
the following.

. . .
--- .obj/qdeclarative.o ---
/usr/bin/clang++ -c -O -pipe -target armv6--freebsd11.0-gnueabi -march=armv7-a
-mcpu=cortex-a7 -mfloat-abi=softfp -mno-unaligned-access -mfloat-abi=softfp
-fno-strict-aliasing -std=c++11 -fno-exceptions -Wall -W -pthread
-D_THREAD_SAFE -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII
-DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_INIT_PROPS -DPROEVALUATOR_DEBUG
-DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
-DQT_QMLDEVTOOLS_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I../shared
-I/usr/local/include/qt5/QtCore/5.5.1
-I/usr/local/include/qt5/QtCore/5.5.1/QtCore -I/usr/local/include/qt5
-I/usr/local/include/qt5/QtQml -I/usr/local/include/qt5/QtQml/5.4.1
-I/usr/local/include/qt5/QtQml/5.4.1/QtQml -I/usr/local/include/qt5/QtXml
-I/usr/local/include/qt5/QtCore -I.moc -I/usr/local/include
-I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/qdeclarative.o
qdeclarative.cpp
qdeclarative.cpp:428:65: error: non-virtual member function marked 'override'
hides virtual member function
    void importFile(const QString &, const QString &, int, int) Q_DECL_OVERRIDE
{ consumeDirective(); }
								^
/usr/local/include/qt5/QtCore/qcompilerdetection.h:1027:26: note: expanded from
macro 'Q_DECL_OVERRIDE'
# define Q_DECL_OVERRIDE override
			 ^
/usr/local/include/qt5/QtQml/5.4.1/QtQml/private/qqmljslexer_p.h:67:18: note:
hidden overloaded virtual function 'QQmlJS::Directives::importFile' declared
here: different number of parameters (2 vs 4)
    virtual void importFile(const QString &jsfile, const QString &module)
		 ^
qdeclarative.cpp:429:84: error: non-virtual member function marked 'override'
hides virtual member function
    void importModule(const QString &, const QString &, const QString &, int,
int) Q_DECL_OVERRIDE { consumeDirective(); }
									       
   ^
/usr/local/include/qt5/QtCore/qcompilerdetection.h:1027:26: note: expanded from
macro 'Q_DECL_OVERRIDE'
# define Q_DECL_OVERRIDE override
			 ^
/usr/local/include/qt5/QtQml/5.4.1/QtQml/private/qqmljslexer_p.h:73:18: note:
hidden overloaded virtual function 'QQmlJS::Directives::importModule' declared
here: different number of parameters (3 vs 5)
    virtual void importModule(const QString &uri, const QString &version, const
QString &module)
		 ^
2 errors generated.
*** [.obj/qdeclarative.o] Error code 1

make[2]: stopped in
/usr/obj/portswork/usr/ports/devel/qt5-linguisttools/work/qttools-opensource-sr
c-5.5.1/src/linguist/lupdate
1 error
. . .

which stops the overall build.

Stop reading the description here if you do not care about supporting details
at this point.

Other context details:

# svnlite info /usr/ports/devel/qt5-linguisttools
Path: devel/qt5-linguisttools
Working Copy Root Path: /usr/ports
URL: https://svn0.us-west.freebsd.org/ports/head/devel/qt5-linguisttools
Relative URL: ^/head/devel/qt5-linguisttools
Repository Root: https://svn0.us-west.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 408464
Node Kind: directory
Schedule: normal
Last Changed Author: rakuco
Last Changed Rev: 407169
Last Changed Date: 2016-01-24 18:10:14 +0000 (Sun, 24 Jan 2016)

# freebsd-version -ku; uname -aKU
11.0-CURRENT
11.0-CURRENT
FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #14 r295351M: Sun Feb  7
03:23:24 PST 2016    
markmi at FreeBSDx64:/usr/obj/clang/arm.armv6/usr/src/sys/RPI2-NODBG  arm 1100097
1100097

# more /etc/make.conf 
DEFAULT_VERSIONS+=perl5=5.22
WRKDIRPREFIX=/usr/obj/portswork
WITH_DEBUG=
WITH_DEBUG_FILES=
MALLOC_PRODUCTION=
#
TO_TYPE=armv6
VERSION_CONTEXT=11.0
CFLAGS+=-target ${TO_TYPE}--freebsd${VERSION_CONTEXT}-gnueabi -march=armv7-a
-mcpu=cortex-a7 -mfloat-abi=softfp -mno-unaligned-access
.if ${.MAKE.LEVEL} == 0
CC=/usr/bin/clang
CXX=/usr/bin/clang++
CPP=/usr/bin/clang-cpp
.export CC
.export CXX
.export CPP
.endif

(This is a clang 3.8.0 testing/usage context, in case that was not clear.)


More information about the kde-freebsd mailing list