Bug 342901 - plasma-workspace wont build (build error)
Summary: plasma-workspace wont build (build error)
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR grave
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-16 08:54 UTC by Lane Wiscombe
Modified: 2015-01-16 18:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lane Wiscombe 2015-01-16 08:54:00 UTC
Im getting this build error?



/home/anex/git/plasma-packages/plasma-workspace/src/plasma-workspace/dataengines/powermanagement/powermanagementengine.cpp:198:94: warning: ‘QSet<Solid::PowerManagement::SleepState> Solid::PowerManagement::supportedSleepStates()’ is deprecated (declared at /usr/include/KF5/KDELibs4Support/solid/powermanagement.h:74) [-Wdeprecated-declarations]
         const QSet<Solid::PowerManagement::SleepState> sleepstates = Solid::PowerManagement::supportedSleepStates();
                                                                                              ^
/home/anex/git/plasma-packages/plasma-workspace/src/plasma-workspace/dataengines/powermanagement/powermanagementengine.cpp:198:115: warning: ‘QSet<Solid::PowerManagement::SleepState> Solid::PowerManagement::supportedSleepStates()’ is deprecated (declared at /usr/include/KF5/KDELibs4Support/solid/powermanagement.h:74) [-Wdeprecated-declarations]
         const QSet<Solid::PowerManagement::SleepState> sleepstates = Solid::PowerManagement::supportedSleepStates();
                                                                                                                   ^
/home/anex/git/plasma-packages/plasma-workspace/src/plasma-workspace/dataengines/powermanagement/powermanagementengine.cpp: In member function ‘void PowermanagementEngine::updateOverallBattery()’:
/home/anex/git/plasma-packages/plasma-workspace/src/plasma-workspace/dataengines/powermanagement/powermanagementengine.cpp:426:37: error: ‘const class Solid::Battery’ has no member named ‘energyFull’
             totalEnergy += battery->energyFull();
                                     ^
[ 73%] Building CXX object dataengines/places/CMakeFiles/plasma_engine_places.dir/placesproxymodel.cpp.o
dataengines/powermanagement/CMakeFiles/plasma_engine_powermanagement.dir/build.make:66: recipe for target 'dataengines/powermanagement/CMakeFiles/plasma_engine_powermanagement.dir/powermanagementengine.cpp.o' failed
make[2]: *** [dataengines/powermanagement/CMakeFiles/plasma_engine_powermanagement.dir/powermanagementengine.cpp.o] Error 1
CMakeFiles/Makefile2:8183: recipe for target 'dataengines/powermanagement/CMakeFiles/plasma_engine_powermanagement.dir/all' failed
make[1]: *** [dataengines/powermanagement/CMakeFiles/plasma_engine_powermanagement.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 73%] Building CXX object dataengines/places/CMakeFiles/plasma_engine_places.dir/setupdevicejob.cpp.o
[ 73%] Building CXX object dataengines/mpris2/CMakeFiles/plasma_engine_mpris2.dir/plasma_engine_mpris2_automoc.cpp.o
Linking CXX shared module plasma_engine_notifications.so
[ 73%] Built target plasma_engine_notifications
[ 73%] Building CXX object dataengines/places/CMakeFiles/plasma_engine_places.dir/plasma_engine_places_automoc.cpp.o
Linking CXX shared module plasma_engine_places.so
[ 73%] Built target plasma_engine_places
Linking CXX shared module plasma_engine_mpris2.so
[ 73%] Built target plasma_engine_mpris2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
[anex@manjaro plasma-workspace]$ 

Reproducible: Always

Steps to Reproduce:
1.yaourt -S plasma-workspace-git
2.
3.

Actual Results:  
build error

Expected Results:  
successful build
Comment 1 Bhushan Shah 2015-01-16 11:02:10 UTC
Please make sure you have updated solid-git package.
Comment 2 Lane Wiscombe 2015-01-16 11:05:26 UTC
k im rebuilding solid-git now i had

r223.06561a9-1

Sun - 11/01/2015 21:29:05
Comment 3 Lane Wiscombe 2015-01-16 11:27:57 UTC
k its building past the point, im going to ask the maintainer to add solid-git to the make depends so people can make sure they have them updated before build and not run into this again
Comment 4 Hrvoje Senjan 2015-01-16 18:15:44 UTC
please raise the required solid version in toplevel CMakeLists
Comment 5 David Edmundson 2015-01-16 18:26:14 UTC
Git commit 4941d5194f8ab54394c28da7e84d65dac8dfbabf by David Edmundson.
Committed on 16/01/2015 at 18:26.
Pushed by davidedmundson into branch 'master'.

bump minimum frameworks to 5.7

We already rely on new Solid API

M  +1    -1    CMakeLists.txt

http://commits.kde.org/plasma-workspace/4941d5194f8ab54394c28da7e84d65dac8dfbabf