Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 739238

Summary: games-fps/gzdoom-4.3.3 fails to compile: PoolAlloc.h:307:54: error: 'operator=' is a private member of 'glslang::TPoolAllocator'
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: William Breathitt Gray <vilhelm.gray>
Status: RESOLVED FIXED    
Severity: normal CC: games, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: build.log
1-CMakeError.log
1-CMakeOutput.log

Description Agostino Sarubbo gentoo-dev 2020-08-27 11:15:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-fps/gzdoom-4.3.3 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-27 11:15:19 UTC
Created attachment 657092 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-08-27 11:15:20 UTC
Created attachment 657094 [details]
1-CMakeError.log

1-CMakeError.log
Comment 3 Agostino Sarubbo gentoo-dev 2020-08-27 11:15:22 UTC
Created attachment 657096 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 4 William Breathitt Gray 2020-08-30 14:52:55 UTC
GZDoom currently links to the bundled glslang in the source package. This version of glslang has not been patched to compile with modern versions of Clang.

The upstream for glslang has fixed this issue however: https://github.com/KhronosGroup/glslang/pull/2010

We cherry-pick this fix, but I'm going to try to rework GZDoom to have it dynamically link to the system-provided glslang instead so we don't have issues like this in the future.
Comment 5 William Breathitt Gray 2022-12-02 16:55:55 UTC
GZDoom upstream updated to a more recent version of glslang with the mentioned fix merged. This bug should be resolved now. If you're still hitting this error message, please reopen.