Summary: | media-libs/phonon fail to build with clang update to 16.0.0 (objectdescription.h:260:45: error: integer value 65536 is outside the valid range of values [0, 7] for this enumeration type [-Wenum-constexpr-conversion]) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | 464270342 |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
emerge info |
Description
464270342
2023-03-24 02:31:55 UTC
Created attachment 858779 [details]
build log
Created attachment 858781 [details]
emerge info
FAILED: [0mphonon/experimental/CMakeFiles/phonon4qt5experimental.dir/objectdescription.cpp.o /usr/lib/ccache/bin/clang++ -DMAKE_PHONONEXPERIMENTAL_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1_build/phonon/experimental -I/var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1/phonon/experimental -I/var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1_build/phonon/experimental/phonon4qt5experimental_autogen/include -I/var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1/phonon/.. -I/var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1_build/phonon/.. -I/var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1/phonon/../includes -I/var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1_build/phonon/../includes -I/var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1_build/phonon -I/var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1/phonon -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-clang -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -DQT_NO_DEBUG -O3 -mavx2 -march=native -pipe -flto=thin -stdlib=libc++ -fno-operator-names -fno-exceptions -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -fdiagnostics-color=always -std=gnu++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -MD -MT phonon/experimental/CMakeFiles/phonon4qt5experimental.dir/objectdescription.cpp.o -MF phonon/experimental/CMakeFiles/phonon4qt5experimental.dir/objectdescription.cpp.o.d -o phonon/experimental/CMakeFiles/phonon4qt5experimental.dir/objectdescription.cpp.o -c /var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1/phonon/experimental/objectdescription.cpp In file included from /var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1/phonon/experimental/objectdescription.cpp:24: /var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1/phonon/experimental/objectdescription.h:40:35: error: integer value 65536 is outside the valid range of values [0, 7] for this enumeration type [-Wenum-constexpr-conversion] typedef Phonon::ObjectDescription<static_cast<Phonon::ObjectDescriptionType>(Phonon::Experimental::VideoCaptureDeviceType)> VideoCaptureDevice; ^ In file included from /var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1/phonon/experimental/objectdescription.cpp:24: In file included from /var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1/phonon/experimental/objectdescription.h:26: /var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1/phonon/experimental/../objectdescription.h:189:41: error: integer value 65536 is outside the valid range of values [0, 7] for this enumeration type [-Wenum-constexpr-conversion] static inline ObjectDescription<T> fromIndex(int index) { //krazy:exclude=inline ^ /var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1/phonon/experimental/../objectdescription.h:260:45: error: integer value 65536 is outside the valid range of values [0, 7] for this enumeration type [-Wenum-constexpr-conversion] friend class ObjectDescriptionModel<T>; ^ 3 errors generated. [110/117] /usr/lib/ccache/bin *** This bug has been marked as a duplicate of bug 894346 *** |