Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948107 - dev-build/kbuild-0.1.9998.3660 fails to compile: regexec.c:370:1: error: conflicting types for re_search_2_stub; have int(struct re_pattern_buffer , const char , int, const char , int, int, int, struct re_registers , int, int)
Summary: dev-build/kbuild-0.1.9998.3660 fails to compile: regexec.c:370:1: error: conf...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2025-01-14 18:16 UTC by Agostino Sarubbo
Modified: 2025-03-01 10:01 UTC (History)
0 users

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


Attachments
build.log (build.log,349.66 KB, text/plain)
2025-01-14 18:16 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 2025-01-14 18:16:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-build/kbuild-0.1.9998.3660 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)
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 2025-01-14 18:16:52 UTC
Created attachment 916540 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2025-03-01 10:01:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e087164a8b12d812d02dfd99eb32452ad2a20d9

commit 6e087164a8b12d812d02dfd99eb32452ad2a20d9
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2025-03-01 09:51:39 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2025-03-01 10:01:33 +0000

    dev-build/kbuild: add missing attributes to clang patch
    
    When converting K&R -> ANSI I missed a few attributes resultimg in
    compile errors on x86.
    
    Closes: https://bugs.gentoo.org/948107
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 dev-build/kbuild/Manifest                       |  1 +
 dev-build/kbuild/kbuild-0.1.9998.3660-r1.ebuild | 75 +++++++++++++++++++++++++
 2 files changed, 76 insertions(+)