Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944852 - sci-libs/tokenizers-0.20.1-r1 fails to compile: warning: onig_sys@69.8.1: st.c:56:43: error: too many arguments to function table->type->hash
Summary: sci-libs/tokenizers-0.20.1-r1 fails to compile: warning: onig_sys@69.8.1: st....
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-25 08:03 UTC by Agostino Sarubbo
Modified: 2024-12-01 08:17 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,251.40 KB, text/plain)
2024-11-25 08:03 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-25 08:03:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/tokenizers-0.20.1-r1 fails to compile.
Discovered on: amd64 (internal ref: gcc15_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#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-25 08:03:23 UTC
Created attachment 911805 [details]
build.log

build log and emerge --info
Comment 2 Karl-Johan Karlsson 2024-12-01 08:17:58 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".