Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928263 - [guru] games-arcade/taisei-1.4.1 fails to compile: vec2.h:725:23: error: expected ) before __extension__
Summary: [guru] games-arcade/taisei-1.4.1 fails to compile: vec2.h:725:23: error: expe...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Haelwenn (lanodan) Monnier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-30 18:44 UTC by Agostino Sarubbo
Modified: 2024-03-30 19:31 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,127.56 KB, text/plain)
2024-03-30 18: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 2024-03-30 18:44:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-arcade/taisei-1.4.1 fails to compile.
Discovered on: amd64 (internal ref: guru_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-30 18:44:37 UTC
Created attachment 889067 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-30 18:44:38 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/taisei.p/boss.c.o 
FAILED: src/taisei.p/common_tasks.c.o 
FAILED: src/taisei.p/credits.c.o 
FAILED: src/taisei.p/enemy.c.o 
FAILED: src/taisei.p/enemy_classes.c.o 
Program glslc found: NO
Run-time dependency gamemode found: NO (tried pkgconfig and cmake)
Run-time dependency shaderc found: NO (tried pkgconfig, pkgconfig, pkgconfig and system)
Run-time dependency spirv-cross-c-shared found: NO (tried pkgconfig and cmake)
basis_universal| Library OpenCL found: NO
glad| Program glad found: NO
koishi| Run-time dependency Boost found: NO (tried system)
resources/00-taisei.pkgdir/shader/meson.build:225: WARNING: GLSL validation or translation requested, but glslc was not found
/usr/include/cglm/vec2.h:725:23: error: expected ‘)’ before ‘__extension__’
Comment 3 Oliver Freyermuth 2024-03-30 19:28:43 UTC
This is due to an incompatibility between taisei-1.4.1 and the recently added cglm-0.9.3. 

Hence, build failure will be fixed by:
https://github.com/gentoo/guru/commit/3720a5c2534635d8bf6b2909d2fb31a3dc6d7199
(require <cglm-0.9.3). 

Reported upstream as:
https://github.com/taisei-project/taisei/issues/381

If a simple patch is developed upstream, of course it can be backported.
Comment 4 Larry the Git Cow gentoo-dev 2024-03-30 19:31:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3720a5c2534635d8bf6b2909d2fb31a3dc6d7199

commit 3720a5c2534635d8bf6b2909d2fb31a3dc6d7199
Author:     Oliver Freyermuth <o.freyermuth@googlemail.com>
AuthorDate: 2024-03-30 19:26:06 +0000
Commit:     Oliver Freyermuth <o.freyermuth@googlemail.com>
CommitDate: 2024-03-30 19:26:06 +0000

    games-arcade/taisei: require <dev-libs/cglm-0.9.3
    
    taisei-1.4.1 is not yet compatible with dev-libs/cglm-0.9.3.
    Upstream issue: https://github.com/taisei-project/taisei/issues/381
    
    Closes: https://bugs.gentoo.org/928263
    Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>

 games-arcade/taisei/taisei-1.4.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)