Bug 441526

Summary: why "make clean" removes plugins.qmltypes ?
Product: [Applications] Elisa Reporter: empyreal <empyreal>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description empyreal 2021-08-25 11:02:41 UTC
cd elisa
mkdir install && cd install
cmake ..
make clean && make -j6
Error copying file "/home/user/Downloads/elisa-light/src/plugins.qmltypes" to "/home/user/Downloads/elisa-light/install/bin/org/kde/elisa/".
make[2]: *** [src/CMakeFiles/copy2.dir/build.make:76: copy2] Error 1
make[1]: *** [CMakeFiles/Makefile2:1073: src/CMakeFiles/copy2.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  0%] Built target doc-index-cache-bz2
[  1%] Automatic MOC for target elisaLib
[  2%] Automatic MOC for target elisaqmltests
[  2%] Built target copy
[  2%] Built target elisaqmltests_autogen
[  2%] Built target elisaLib_autogen
make: *** [Makefile:160: all] Error 2

plugins.qmltypes is gone
copy plugins.qmltypes manually to src and do just make -j(number of cores)
Comment 1 Nate Graham 2021-08-25 16:42:42 UTC
Does it come back if you re-run `cmake`?
Comment 2 empyreal 2021-08-25 16:51:19 UTC
No. I need to copy it manually.