ogbrugge

Results 15 comments of ogbrugge

Your "this" pointer is bogus in the failed state. Can you type in the command "bt" when it fails again?

std::ifstream in(fn); std::string line, item; if (!in.is_open()) { const auto alt_fn = std::string("/usr/share/pcm/") + fn; in.open(alt_fn); if (!in.is_open()) The code looks in the current directory first, fn is only a...

Yes for this there is BUILDROOT, cmake has support for this and the rpm need to mention that it want to use BUILDROOT during building.

[https://stackoverflow.com/questions/8084796/what-actually-is-rpm-build-root](https://stackoverflow.com/questions/8084796/what-actually-is-rpm-build-root) The first answer explains it pretty well what the purpose of the rpm build root is. [cmake also supports DESTDIR](https://cmake.org/cmake/help/latest/envvar/DESTDIR.html) With this you can retarget the installation path during...

I'll let Roman answer this, he knows better how this is programmed and how it may come to such weird discrepancies.