Bug 424878 - Kio-extras: FISH component fails to build due to dead/removed code from include.
Summary: Kio-extras: FISH component fails to build due to dead/removed code from include.
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: FISH (other bugs)
Version First Reported In: 20.07.80
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-31 21:35 UTC by Paul McQuade
Modified: 2020-07-31 22:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
CMakeError.log (4.21 KB, text/x-log)
2020-07-31 21:35 UTC, Paul McQuade
Details
CMakeOut.log (76.44 KB, text/x-log)
2020-07-31 21:35 UTC, Paul McQuade
Details
cmake.log (8.49 KB, text/x-log)
2020-07-31 21:37 UTC, Paul McQuade
Details

Note You need to log in before you can comment on or make changes to this bug.
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