Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902857 - 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])
Summary: media-libs/phonon fail to build with clang update to 16.0.0 (objectdescriptio...
Status: RESOLVED DUPLICATE of bug 894346
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-24 02:31 UTC by 464270342
Modified: 2023-03-24 08:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (phonon-buil-log,223.61 KB, text/plain)
2023-03-24 02:32 UTC, 464270342
Details
emerge info (emerge-info,7.90 KB, text/plain)
2023-03-24 02:32 UTC, 464270342
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 464270342 2023-03-24 02:31:55 UTC
phonon fail to build with clang 16

/var/tmp/portage/media-libs/phonon-4.11.1-r2/work/phonon-4.11.1_build/phonon/experimental/phonon4qt5experimental_autogen/EWIEGA46WW/../../../../../phonon-4.11.1/phonon/experimental/visualization.h:45:27: error: integer value 4294967294 is outside the valid range of values [0, 7] for this enumeration type [-Wenum-constexpr-conversion]

Reproducible: Always
Comment 1 464270342 2023-03-24 02:32:24 UTC
Created attachment 858779 [details]
build log
Comment 2 464270342 2023-03-24 02:32:34 UTC
Created attachment 858781 [details]
emerge info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-24 02:34:04 UTC
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
Comment 4 Andreas Sturmlechner gentoo-dev 2023-03-24 08:21:11 UTC

*** This bug has been marked as a duplicate of bug 894346 ***