Summary: | media-video/obs-studio[wayland] fails to compile (lto): work/obs-studio-27.2.4/deps/glad/include/glad/glad_egl.h:306:12: error: type of ‘eglCreateWindowSurface’ does not match original declaration [-Werror=lto-type-mismatch] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kostadin Shishmanov <kostadinshishmanov> |
Component: | Current packages | Assignee: | Chiitoo <chiitoo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, lg3dx6fd, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: |
https://github.com/obsproject/obs-studio/issues/8988 https://bugs.gentoo.org/show_bug.cgi?id=933879 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: |
buildlog
buildlog |
Please test with 29.1.0 if possible, and if this is still on-going, I'll take a look into it. Thanks! Created attachment 861387 [details]
buildlog
Still reproducible on 29.1.0
Did not manage to re-produce yet with USE="-wayland". Thanks again! still reproducible with =media-video/obs-studio-30.0.2 still reproducible with =media-video/obs-studio-30.1.0 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3557fa0afc8d1dd8af01f346aa73dd1ffc267e0a commit 3557fa0afc8d1dd8af01f346aa73dd1ffc267e0a Author: Jimi Huotari <chiitoo@gentoo.org> AuthorDate: 2024-04-01 21:24:39 +0000 Commit: Jimi Huotari <chiitoo@gentoo.org> CommitDate: 2024-04-04 19:42:52 +0000 media-video/obs-studio: add version 30.1.1 Add 'NATIVE_NVENC' (9999 only) CMake switch controlled via USE="nvenc", which was automagically enabled otherwise, leading into configure errors if ffmpeg was not built with nvenc support. Also add USE="X" on the 'media-libs/libglvnd' dependency. Also also use 'filter-lto' to filter LTO issues when USE="wayland" for the time being. Closes: https://bugs.gentoo.org/867250 Closes: https://bugs.gentoo.org/923805 Closes: https://bugs.gentoo.org/927964 Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> media-video/obs-studio/Manifest | 1 + media-video/obs-studio/obs-studio-30.1.1.ebuild | 269 ++++++++++++++++++++++++ media-video/obs-studio/obs-studio-9999.ebuild | 8 +- 3 files changed, 277 insertions(+), 1 deletion(-) |
Created attachment 801736 [details] buildlog media-video/obs-studio-27.2.4 fails to compile with CFLAGS=-flto -Werror=lto-type-mismatch -Werror=odr -Werror-strict-aliasing