Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912838 - 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"
Summary: games-strategy/0ad-0.0.26_alpha-r1 fails to compile: js-config.h:28:4: error:...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-22 13:44 UTC by Agostino Sarubbo
Modified: 2023-09-14 06:44 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,193.24 KB, application/x-xz)
2023-08-22 13:44 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-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.