Summary: | dev-qt/qtlocation-5.15.8 fails to compile (MUSL-CLANG-SYSTEM): integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for this enumeration type [-Wenum-constexpr-conversion] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | 18202203719, cyber+gentoo, gentoo.qxrin, kaikaikai, marek.bartosiewicz, parona, scott.wl.furry, stuartmeya |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugreports.qt.io/browse/QTBUG-116652 https://bugreports.qt.io/browse/QTBUG-117517 https://bugs.gentoo.org/show_bug.cgi?id=903576 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
build.log
Patch to fix integer value compile errors |
Description
Agostino Sarubbo
2023-02-20 08:21:27 UTC
Created attachment 853172 [details]
build.log
build log and emerge --info
got the same error at glibc-clang profile. at version 5.15.10 Still fails here (v5.15.11, Clang 16, glibc) Created attachment 875168 [details, diff] Patch to fix integer value compile errors I have found that applying this patch (https://github.com/boostorg/numeric_conversion/commit/50a1eae942effb0a9b90724323ef8f2a67e7984a) to the boost-1.65.1 instance in the checked out mapbox-gl version fixes the issue. I found this being referenced by https://github.com/CauldronDevelopmentLLC/cbang/issues/119 which seemed to have the same error I observe. I’m attaching a patch that can be used in /etc/portage/patches for convenience. *** Bug 913205 has been marked as a duplicate of this bug. *** Problem persists with: dev-qt/qtlocation-5.15.12 sys-devel/llvm-17.0.6 dev-libs/boost-1.84.0-r3 I had previously encountered this issue with LLVM-16 and filed a bug w/ QT. See https://bugreports.qt.io/browse/QTBUG-116652. This seems to be an upstream issue between Qt and Boost. *** Bug 926743 has been marked as a duplicate of this bug. *** |