Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894346 - media-libs/phonon-4.11.1-r2 fails to compile (Clang 16): objectdescription.h:40:35: error: integer value 65536 is outside the valid range of values [0, 7] for this enumeration type [-Wenum-constexpr-conversion]
Summary: media-libs/phonon-4.11.1-r2 fails to compile (Clang 16): objectdescription.h:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/buglist.cgi?comp...
Whiteboard:
Keywords: PATCH
: 902857 903877 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-14 08:53 UTC by Agostino Sarubbo
Modified: 2023-08-20 14:37 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,273.56 KB, text/plain)
2023-02-14 08:53 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-14 08:53:30 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/phonon-4.11.1-r2 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-14 08:53:32 UTC
Created attachment 851060 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-14 08:53:34 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


  Could not find a package configuration file provided by "Qt5Designer" with
FAILED: phonon/experimental/CMakeFiles/phonon4qt5experimental.dir/avcapture.cpp.o 
FAILED: phonon/experimental/CMakeFiles/phonon4qt5experimental.dir/backendcapabilities.cpp.o 
FAILED: phonon/experimental/CMakeFiles/phonon4qt5experimental.dir/factory.cpp.o 
FAILED: phonon/experimental/CMakeFiles/phonon4qt5experimental.dir/mediasource.cpp.o 
FAILED: phonon/experimental/CMakeFiles/phonon4qt5experimental.dir/objectdescription.cpp.o 
FAILED: phonon/experimental/CMakeFiles/phonon4qt5experimental.dir/phonon4qt5experimental_autogen/mocs_compilation.cpp.o 
FAILED: phonon/experimental/CMakeFiles/phonon4qt5experimental.dir/visualization.cpp.o 
/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]
Comment 3 Andreas Sturmlechner gentoo-dev 2023-03-24 08:21:11 UTC
*** Bug 902857 has been marked as a duplicate of this bug. ***
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-05 18:21:15 UTC
*** Bug 903877 has been marked as a duplicate of this bug. ***
Comment 5 Andreas Sturmlechner gentoo-dev 2023-04-22 12:23:11 UTC
Whoever really wants to run musl-clang system and wants this fixed should file it with upstream before this library is finally being abandoned, I am not planning to spend time on it.
Comment 6 David Carlos Manuelda 2023-07-01 14:10:25 UTC
(In reply to Andreas Sturmlechner from comment #5)
> Whoever really wants to run musl-clang system and wants this fixed should
> file it with upstream before this library is finally being abandoned, I am
> not planning to spend time on it.

This is reproducible on a non musl system, in my case a llvm profile (clang16)
Comment 7 David Carlos Manuelda 2023-07-01 14:18:05 UTC
(In reply to David Carlos Manuelda from comment #6)
> (In reply to Andreas Sturmlechner from comment #5)
> > Whoever really wants to run musl-clang system and wants this fixed should
> > file it with upstream before this library is finally being abandoned, I am
> > not planning to spend time on it.
> 
> This is reproducible on a non musl system, in my case a llvm profile
> (clang16)

I suggest to change the title as this seems related to clang16+libc++
Comment 8 Larry the Git Cow gentoo-dev 2023-08-20 14:37:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c17f12094f895eab94115d8556bafe3df64d0c1b

commit c17f12094f895eab94115d8556bafe3df64d0c1b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-08-20 14:10:43 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-08-20 14:36:51 +0000

    media-libs/phonon: Fix build with clang-16
    
    Closes: https://bugs.gentoo.org/894346
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../phonon/files/phonon-4.11.1-clang-16.patch      | 38 ++++++++++++++++++++++
 media-libs/phonon/phonon-4.11.1-r2.ebuild          |  4 ++-
 2 files changed, 41 insertions(+), 1 deletion(-)