Bug 414354

Summary: heaptrack boost version requirements
Product: [Applications] Heaptrack Reporter: Chris Love <christopherlove68>
Component: generalAssignee: Milian Wolff <mail>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.1.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris Love 2019-11-21 04:46:11 UTC
SUMMARY
I managed to build heaptrack 1.1.0 on RHEL 6.8 (boost 1.41.0) by making one source modification on this line: https://github.com/KDE/heaptrack/blob/1.1/src/analyze/print/heaptrack_print.cpp#L556 by dropping the last argument to the options_description constructor.

I had to skip building the tests due to dependence on boost::filesystem::unique_path which isn't in boost 1.41.0.

heaptrack seems to be functioning fine through limited use so far.

Not sure if you want to revise the minimum boost version required in the README or add conditional code to compile with older boost versions.

Thanks for the great tool; hoping it will be very useful for us.

STEPS TO REPRODUCE
1. Try to build from source against boost version 1.41.0
2. 
3. 

OBSERVED RESULT
Compilation error for heaptrack_print


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: RHEL 6.8
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Milian Wolff 2019-12-02 15:03:55 UTC
could you please provide a patch? then I wouldn't be opposed to increase compatibility.