Summary: | x11-libs/vte-0.70.3 fails to compile (MUSL-CLANG-SYSTEM): vtepty.cc:577:16: error: integer value 234881535 is outside the valid range of values [0, 4095] for this enumeration type [-Wenum-constexpr-conversion] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: | build.log.xz |
Description
Agostino Sarubbo
2023-02-22 08:28:11 UTC
Created attachment 853830 [details]
build.log.xz
build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: src/libvte-2.91.so.0.7000.3.p/vtepty.cc.o ../vte-0.70.3/src/vtepty.cc:577:16: error: integer value 234881535 is outside the valid range of values [0, 4095] for this enumeration type [-Wenum-constexpr-conversion] The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffa74c36cc92a3f4728892b8378e594df07028f6 commit ffa74c36cc92a3f4728892b8378e594df07028f6 Author: brahmajit das <brahmajit.xyz@gmail.com> AuthorDate: 2023-04-01 07:56:47 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2023-04-10 12:37:52 +0000 x11-libs/vte: Fix clang 16 build failure with -Wenum-constexpr-conversion GSpawnFlags is enum with max value 1 << 15 which means it fits into a short int, however here we are OR'ing VTE_SPAWN_* as well which have higher values Closes: https://bugs.gentoo.org/895834 Signed-off-by: brahmajit das <brahmajit.xyz@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org> ...value-is-outside-the-valid-range-clang-16.patch | 47 +++++++++ x11-libs/vte/vte-0.70.3-r1.ebuild | 105 +++++++++++++++++++++ 2 files changed, 152 insertions(+) |