Bug 424878

Summary: Kio-extras: FISH component fails to build due to dead/removed code from include.
Product: [Frameworks and Libraries] kio-extras Reporter: Paul McQuade <paulmcquad>
Component: FISHAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: arojas
Priority: NOR    
Version First Reported In: 20.07.80   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: CMakeError.log
CMakeOut.log
cmake.log

Description Paul McQuade 2020-07-31 21:35:10 UTC
Created attachment 130543 [details]
CMakeError.log

SUMMARY
Kio-extras fish codebase doesn't compile due to some systems like manjaro Linux.

fatal error: util.h: No such file or directory
fatal error: libutil.h: No such file or directory

Check the attachments above.


STEPS TO REPRODUCE
1. Run "kdesrc-build"
2. Crashes at building "Kio-extras"
3. Build Error 2

OBSERVED RESULT
Unable to configure kio-extras with CMake!
Unable to configure kio-extras with KDE

kio-extras didn't build, stopping here.
No source update, but the build directory doesn't exist

EXPECTED RESULT
To build kio-extras

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
Kernel Version: 5.7.9-1-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-4790 CPU @ 3.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GT 705/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Paul McQuade 2020-07-31 21:35:48 UTC
Created attachment 130544 [details]
CMakeOut.log
Comment 2 Paul McQuade 2020-07-31 21:37:37 UTC
Created attachment 130545 [details]
cmake.log
Comment 3 Antonio Rojas 2020-07-31 22:12:26 UTC
As I've already told you multiple times on irc: this is caused by having /bin in your PATH, which makes cmake use a wrong CMAKE_CURRENT_LIST_DIR. It has absolutely nothing to do with util.h or libutil.h. 

If you didn't put /bin in PATH yourself, report it to your distro. It shouldn't be there if is it a symlink to /usr/bin