Bug 414354 - heaptrack boost version requirements
Summary: heaptrack boost version requirements
Status: RESOLVED WORKSFORME
Alias: None
Product: Heaptrack
Classification: Applications
Component: general (other bugs)
Version First Reported In: 1.1.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Milian Wolff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-21 04:46 UTC by Chris Love
Modified: 2020-11-04 20:04 UTC (History)
0 users

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


Attachments

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