maintainer-feedback requested: [Bug 217425] devel/py-pykde4: fails to build on armv6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 28 17:43:07 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 217425: devel/py-pykde4: fails to build on armv6
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217425



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

error message:

[ 40%] Building CXX object
CMakeFiles/python_module_PyKDE4_khtml.dir/sip/khtml/sipkhtmlpart3.cpp.o
/nxb-bin/usr/bin/c++   -DQT_CORE_LIB -DQT_GUI_LIB -DSIP_PROTECTED_IS_PUBLIC
-DUSING_SOPRANO_NRLMODEL_UNSTABLE_API -D_REENTRANT -Dprotected=public
-Dpython_module_PyKDE4_khtml_EXPORTS
-I/wrkdirs/usr/ports/devel/py-pykde4/work/.build
-I/wrkdirs/usr/ports/devel/py-pykde4/work/pykde4-4.14.3
-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
-I/wrkdirs/usr/ports/devel/py-pykde4/work/include/python2.7
-I/usr/local/include/python2.7 -I/usr/local/include/kde4/solid
-I/usr/local/include/kde4/kio -I/usr/local/include/kde4/dom
-I/usr/local/include/kde4/ksettings -I/usr/local/include/kde4/knewstuff2
-I/usr/local/include/kde4/dnssd -O2 -pipe -O2 -munaligned-access
-mcpu=cortex-a15 -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos
-fno-builtin-sincosf -fno-builtin-sinf -fno-builtin-cosf -fno-builtin-sincosl
-fno-builtin-sinl -fno-builtin-cosl -fno-strict-aliasing -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 -o
CMakeFiles/python_module_PyKDE4_khtml.dir/sip/khtml/sipkhtmlpart3.cpp.o -c
/wrkdirs/usr/ports/devel/py-pykde4/work/.build/sip/khtml/sipkhtmlpart3.cpp
--- CMakeFiles/python_module_PyKDE4_plasma.dir/all ---
/wrkdirs/usr/ports/devel/py-pykde4/work/.build/sip/plasma/sipplasmapart1.cpp:22
620:110:
error: cannot initialize a parameter of type 'double *' with an lvalue of type
'qreal *' (aka 'float *')
   
((sipVH_QtGui_197)(sipModuleAPI_plasma_QtGui->em_virthandlers[197]))(sipGILStat
e,
0, sipPySelf, sipMeth, a0, a1, a2, a3);
									       
			     ^~
/wrkdirs/usr/ports/devel/py-pykde4/work/.build/sip/plasma/sipplasmapart1.cpp:22
684:31:
error: no viable conversion from 'const QList<qreal>' to 'const QList<double>'


The attached patch fixes the issue, from
https://sources.debian.net/patches/pykde4/4:4.14.0-1/make_pykde4_respect_sip_fl
ags.diff/
and https://bugs.kde.org/show_bug.cgi?id=176693


More information about the kde-freebsd mailing list