Header misses an #include <utility> to make std::move() available. Works with default toolchain, however fails with Clang+libcxx most likely due to some transitive include not being there: /var/tmp/portage/dev-qt/qtlocation-5.15.8/work/qtlocation-everywhere-src-5.15.8/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp:51:31: error: no member named 'move' in namespace 'std' vtable->move(std::move(rhs.storage), storage); Patch attached. Reproducible: Always Steps to Reproduce: 1. Try to build dev-qt/qtlocation with Clang+libcxx 2. 3. Actual Results: Compilation fails due to missing header Expected Results: Package should be buildable with Clang+libcxx This issue was already around with Clang 15. With Clang 16, package fails to build even with the attached patch due to bug 895516. Reporting as a separate issue anyway, since these are two different things.
Created attachment 859265 [details] build.log
Created attachment 859266 [details] emerge --info
Created attachment 859267 [details, diff] fix-missing-include.patch
meh, mapbox-gl-native again. It's gone in Qt 6, thankfully.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0b8ec0eb0812395514c4ff9f48448fe80ba651b commit b0b8ec0eb0812395514c4ff9f48448fe80ba651b Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2023-04-12 07:44:07 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2023-04-12 12:13:46 +0000 dev-qt/qtlocation: Fix build with libcxx Closes: https://bugs.gentoo.org/903575 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ...tlocation-5.15.8-mapboxgl-missing-include.patch | 26 ++++++++++++++++++++++ dev-qt/qtlocation/qtlocation-5.15.8.ebuild | 5 ++++- 2 files changed, 30 insertions(+), 1 deletion(-)