Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945303 - [guru] media-gfx/silicon-0.5.2-r1 fails to compile: warning: onig_sys@69.8.1: regparse.c:588:5: error: initialization of int ()(void) from incompatible pointer type int ()(st_str_end_key , st_str_end_key ) [-Wincompatible-pointer-types]
Summary: [guru] media-gfx/silicon-0.5.2-r1 fails to compile: warning: onig_sys@69.8.1:...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: YOSHIOKA Takuma
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-29 09:18 UTC by Agostino Sarubbo
Modified: 2024-12-02 10:48 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,274.41 KB, text/plain)
2024-11-29 09:18 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-11-29 09:18:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/silicon-0.5.2-r1 fails to compile.
Discovered on: amd64 (internal ref: guru_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-29 09:18:04 UTC
Created attachment 912594 [details]
build.log

build log and emerge --info
Comment 2 Karl-Johan Karlsson 2024-12-01 08:17:50 UTC
This looks like the same problem as bug 943785.

onig_sys includes an ancient snapshot of oniguruma, which isn't compatible with GCC 15 yet.

To make onig_sys use the system library instead of its included snapshot, depend on dev-libs/oniguruma and compile with "export RUSTONIG_SYSTEM_LIBONIG=1".
Comment 3 Larry the Git Cow gentoo-dev 2024-12-02 10:48:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11f24bb6f353c3a1629d58c73b25c15459630faa

commit 11f24bb6f353c3a1629d58c73b25c15459630faa
Author:     YOSHIOKA Takuma <lo48576@hard-wi.red>
AuthorDate: 2024-12-01 10:30:45 +0000
Commit:     YOSHIOKA Takuma <lo48576@hard-wi.red>
CommitDate: 2024-12-01 10:39:21 +0000

    media-gfx/silicon: use system oniguruma instead of bundled one
    
    Closes: https://bugs.gentoo.org/945303
    Signed-off-by: YOSHIOKA Takuma <lo48576@hard-wi.red>

 media-gfx/silicon/silicon-0.5.2-r2.ebuild | 252 ++++++++++++++++++++++++++++++
 1 file changed, 252 insertions(+)