Created attachment 898105 [details] emerge log `std::unary_function` is used in QtLocation's bundled copy of Boost, which leads to the following error in multiple files: ``` /var/tmp/portage/dev-qt/qtlocation-5.15.14-r1/work/qtlocation-everywhere-src-5.15.14/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/functional/hash/hash.hpp:74:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'? 74 | struct hash_base : std::unary_function<T, std::size_t> {}; | ~~~~~^~~~~~~~~~~~~~ | __unary_function ``` It seems that the following needs to be applied to the bundled copy of Boost: https://github.com/boostorg/functional/commit/281e11b2923249869cce3131a415118bb9e2f1e1
Created attachment 898106 [details] emerge --info
Having the same issue
Created attachment 916781 [details, diff] Patches for old boost code Seems to fix the issues.
After getting issue 895516 , I get: /var/tmp/portage/dev-qt/qtlocation-5.15.16-r1/work/qtlocation-everywhere-src-5.15.16/src/3rdparty/mapbox-gl-native/src/mbgl/layout/symbol_projection.cpp:98:95: error: non-constant-expression cannot be narrowed from type 'value_type' (aka 'double') to 'float' in initializer list [-Wc++11-narrowing-const-reference] 98 | return {{ static_cast<float>(pos[0] / pos[3]), static_cast<float>(pos[1] / pos[3]) }, pos[3] }; Nothing that a static_cast can't solve, after the patch below I can finally emerge this package.
Created attachment 916782 [details, diff] Fixing another issue