Bug 476069

Summary: heaptrack executable not produced by build from source
Product: [Applications] Heaptrack Reporter: Bowie <bowie.owens>
Component: generalAssignee: Milian Wolff <mail>
Status: RESOLVED NOT A BUG    
Severity: normal CC: fanzhuyifan
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bowie 2023-10-25 02:17:24 UTC
SUMMARY
***
I have build the heaptrack software from source and get the an error message when I attempt to install and I can't seem to find heaptrack in the build directory.



***


STEPS TO REPRODUCE
1. git clone https://github.com/KDE/heaptrack.git
2. cd heaptrack
3. cmake -S . -B out --install-prefix /scratch/software && cmake --build out && cmake --install out

OBSERVED RESULT

CMake Error at out/src/track/cmake_install.cmake:46 (file):
  file INSTALL cannot find
  "/scratch/software/src/heaptrack/out/bin/heaptrack": No such file or
  directory.
Call Stack (most recent call first):
  out/src/cmake_install.cmake:52 (include)
  out/cmake_install.cmake:47 (include)



EXPECTED RESULT

No error. An executable named heaptrack somewhere in the build directory.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux bullet-cl 5.15.0-76-generic #83~20.04.1-Ubuntu SMP Wed Jun 21 20:23:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
(available in About System)
Qt Version: 5

ADDITIONAL INFORMATION
Comment 1 fanzhuyifan 2023-10-25 02:33:55 UTC
Closing this since this isn't the place to request help with dev setups; see https://community.kde.org/Get_Involved/Issue_Reporting#Step_1:_Make_sure_it's_a_valid_bug_or_feature_request. 
You are welcome to ask for help with individual failures in the #kde-devel matrix room.