- edited description
F24 : kde-workspace fails to build
Issue #28
resolved
#!
[ 3%] Building CXX object libs/kephal/service/CMakeFiles/kded_kephal.dir/xrandr12/randr.cpp.o
cd /builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu/libs/kephal/service && /usr/bin/c++ -DDISABLE_NEPOMUK_LEGACY -DHAVE_CONFIG_H=1 -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=21 -DKDE_DEPRECATED_WARNINGS -DMAKE_KDED_KEPHAL_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu/libs/kephal/service -I/builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service -I/builddir/build/BUILD/kde-workspace-4.11.22 -I/builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu -I/builddir/build/BUILD/kde-workspace-4.11.22/libs -I/builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/kephal -I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kded_kephal.dir/xrandr12/randr.cpp.o -c /builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randr.cpp
/builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randroutput.cpp: In member function 'RandRMode RandROutput::mode() const':
/builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randroutput.cpp:230:16: error: invalid conversion from 'XID {aka long unsigned int}' to 'XRRModeInfo* {aka _XRRModeInfo*}' [-fpermissive]
return None;
^~~~
In file included from /builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randroutput.h:29:0,
from /builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randroutput.cpp:20:
/builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randrmode.h:28:5: note: initializing argument 1 of 'RandRMode::RandRMode(XRRModeInfo*)'
RandRMode(XRRModeInfo *info = 0);
^~~~~~~~~
libs/kephal/service/CMakeFiles/kephald.dir/build.make:449: recipe for target 'libs/kephal/service/CMakeFiles/kephald.dir/xrandr12/randroutput.cpp.o' failed
make[2]: *** [libs/kephal/service/CMakeFiles/kephald.dir/xrandr12/randroutput.cpp.o] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu'
CMakeFiles/Makefile2:1239: recipe for target 'libs/kephal/service/CMakeFiles/kephald.dir/all' failed
make[1]: *** [libs/kephal/service/CMakeFiles/kephald.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 3%] Building CXX object libs/kephal/service/CMakeFiles/kded_kephal.dir/xrandr12/randrscreen.cpp.o
cd /builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu/libs/kephal/service && /usr/bin/c++ -DDISABLE_NEPOMUK_LEGACY -DHAVE_CONFIG_H=1 -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=21 -DKDE_DEPRECATED_WARNINGS -DMAKE_KDED_KEPHAL_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu/libs/kephal/service -I/builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service -I/builddir/build/BUILD/kde-workspace-4.11.22 -I/builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu -I/builddir/build/BUILD/kde-workspace-4.11.22/libs -I/builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/kephal -I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kded_kephal.dir/xrandr12/randrscreen.cpp.o -c /builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randrscreen.cpp
[ 3%] Building CXX object libs/kephal/service/CMakeFiles/kded_kephal.dir/xrandr12/randroutput.cpp.o
cd /builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu/libs/kephal/service && /usr/bin/c++ -DDISABLE_NEPOMUK_LEGACY -DHAVE_CONFIG_H=1 -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=21 -DKDE_DEPRECATED_WARNINGS -DMAKE_KDED_KEPHAL_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu/libs/kephal/service -I/builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service -I/builddir/build/BUILD/kde-workspace-4.11.22 -I/builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu -I/builddir/build/BUILD/kde-workspace-4.11.22/libs -I/builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/kephal -I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kded_kephal.dir/xrandr12/randroutput.cpp.o -c /builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randroutput.cpp
/builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randroutput.cpp: In member function 'RandRMode RandROutput::mode() const':
/builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randroutput.cpp:230:16: error: invalid conversion from 'XID {aka long unsigned int}' to 'XRRModeInfo* {aka _XRRModeInfo*}' [-fpermissive]
return None;
^~~~
In file included from /builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randroutput.h:29:0,
from /builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randroutput.cpp:20:
/builddir/build/BUILD/kde-workspace-4.11.22/libs/kephal/service/xrandr12/randrmode.h:28:5: note: initializing argument 1 of 'RandRMode::RandRMode(XRRModeInfo*)'
RandRMode(XRRModeInfo *info = 0);
^~~~~~~~~
libs/kephal/service/CMakeFiles/kded_kephal.dir/build.make:449: recipe for target 'libs/kephal/service/CMakeFiles/kded_kephal.dir/xrandr12/randroutput.cpp.o' failed
make[2]: *** [libs/kephal/service/CMakeFiles/kded_kephal.dir/xrandr12/randroutput.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu'
CMakeFiles/Makefile2:1308: recipe for target 'libs/kephal/service/CMakeFiles/kded_kephal.dir/all' failed
make[1]: *** [libs/kephal/service/CMakeFiles/kded_kephal.dir/all] Error 2
make[1]: Leaving directory '/builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu'
Makefile:141: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/builddir/build/BUILD/kde-workspace-4.11.22/x86_64-redhat-linux-gnu'
error: Bad exit status from /var/tmp/rpm-tmp.yQvny6 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.yQvny6 (%build)
Comments (3)
-
reporter -
reporter - edited description
- changed title to F24 : kde-workspace fails to build
-
reporter - changed status to resolved
Updated to latest code, added a compatibility flag to compile using older standard on F24
- Log in to comment