maintainer-feedback requested: [Bug 217078] x11/kde4-workspace: fails to build on armv6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 13 18:32:14 UTC 2017


mikael.urankar at gmail.com has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to kde at FreeBSD.org:
Bug 217078: x11/kde4-workspace: fails to build on armv6
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217078



--- Description ---
Created attachment 179955
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179955&action=edit
patch

error:
[ 13%] Building CXX object kwin/CMakeFiles/kdeinit_kwin.dir/scene_xrender.cpp.o
cd /wrkdirs/usr/ports/x11/kde4-workspace/work/.build/kwin &&
/nxb-bin/usr/bin/c++   -DDISABLE_NEPOMUK_LEGACY -DHAVE_CONFIG_H=1
-DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=42 -DKDE_DEPRECATED_WARNINGS
-DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION
-DQT_USE_FAST_OPERATOR_PLUS -D_REENTRANT -Dkdeinit_kwin_EXPORTS
-I/wrkdirs/usr/ports/x11/kde4-workspace/work/.build/kwin
-I/wrkdirs/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.21/kwin
-I/wrkdirs/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.21/kwin/tabbox
-I/wrkdirs/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.21/kwin/effects
-I/wrkdirs/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.21/kwin/libkdec
orations
-I/wrkdirs/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.21/kwin/libkwin
effects
-I/wrkdirs/usr/ports/x11/kde4-workspace/work/.build/kwin/libkwineffects
-I/wrkdirs/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.21
-I/wrkdirs/usr/ports/x11/kde4-workspace/work/.build
-I/wrkdirs/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.21/libs
-I/usr/local/include/kde4 -I/usr/local/include/kde4/KDE
-I/usr/local/include/KDE -I/usr/local/include -I/usr/local/include/qt4/phonon
-I/usr/local/include/qt4/QtXmlPatterns -I/usr/local/include/qt4/QtXml
-I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtUiTools
-I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtSvg
-I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScript
-I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork
-I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtDesigner
-I/usr/local/include/qt4/QtDeclarative -I/usr/local/include/qt4/QtDBus
-I/usr/local/include/qt4/Qt3Support -I/usr/local/include/qt4/QtGui
-I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/Qt
-I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4  -O2 -pipe
-fno-builtin-sin -fno-builtin-cos -fno-strict-aliasing -fno-builtin-sin
-fno-builtin-cos -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align
-Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security
-Woverloaded-virtual -fno-common -fvisibility=hidden -Werror=return-type
-fvisibility-inlines-hidden -Wno-return-type-c-linkage -O2 -DNDEBUG
-DQT_NO_DEBUG -fPIC    -D_LARGEFILE64_SOURCE -DKWIN_HAVE_OPENGL_1 -o
CMakeFiles/kdeinit_kwin.dir/scene_xrender.cpp.o -c
/wrkdirs/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.21/kwin/scene_xre
nder.cpp
/wrkdirs/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.21/kwin/scene_xre
nder.cpp:395:33:
error: call to 'qFuzzyCompare' is ambiguous
    bool opaque = isOpaque() && qFuzzyCompare(data.opacity(), 1.0);
				^~~~~~~~~~~~~
/usr/local/include/qt4/QtCore/qglobal.h:2156:37: note: candidate function
Q_DECL_CONSTEXPR static inline bool qFuzzyCompare(double p1, double p2)
				    ^
/usr/local/include/qt4/QtCore/qglobal.h:2161:37: note: candidate function
Q_DECL_CONSTEXPR static inline bool qFuzzyCompare(float p1, float p2)
				    ^
/usr/local/include/qt4/QtGui/qmatrix.h:172:13: note: candidate function
inline bool qFuzzyCompare(const QMatrix& m1, const QMatrix& m2)
	    ^
/usr/local/include/qt4/QtGui/qtransform.h:339:13: note: candidate function
inline bool qFuzzyCompare(const QTransform& t1, const QTransform& t2)


The attached patch fixes the issue, obtained from mmel@


More information about the kde-freebsd mailing list