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

Bug 912838

Summary: games-strategy/0ad-0.0.26_alpha-r1 fails to compile: js-config.h:28:4: error: #error "SpiderMonkey was configured with --disable-debug, so DEBUG must be not defined when including this header"
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: CONFIRMED ---    
Severity: normal CC: andrewammerlaan, ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2023-08-22 13:44:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-strategy/0ad-0.0.26_alpha fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-22 13:44:58 UTC
Created attachment 868494 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-08-22 13:44:59 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


91 |                 ::std::error::Error::description(self)
99 |                 Error::IoError(ref e) => e.description(),
FCollada/FUtils/FUError.cpp: In static member function ‘static void FUError::SetCustomErrorString(const char*)’:
    inlined from ‘static void FUError::SetCustomErrorString(const char*)’ at FCollada/FUtils/FUError.cpp:272:22:
warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
../../../libraries/source/spidermonkey/include-unix-release/js-config.h:28:4: error: #error "SpiderMonkey was configured with --disable-debug, so DEBUG must be not defined when including this header"
Comment 3 Ionen Wolkens gentoo-dev 2023-08-22 14:09:14 UTC
Haven't really looked into this but I suspect it's related to the global USE=debug, perhaps when set on python, that ends up causing this -DDEBUG=1 to be added from somewhere.
Comment 4 Agostino Sarubbo gentoo-dev 2023-09-14 06:44:34 UTC
ci has reproduced this issue with version 0.0.26_alpha-r1 - Updating summary.