Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 894546

Summary: app-misc/dvorak7min-1.6.1-r1 fails to compile (MUSL-CLANG-SYSTEM): dvorak7min.c:234:11: error: call to undeclared library function index with type char (const char , int); ISO C99 and later do not support implicit function declarations [-Wimplicit-functi
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/32160
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-15 09:41:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-misc/dvorak7min-1.6.1-r1 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-15 09:41:58 UTC
Created attachment 851208 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-08-19 12:51:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6373daa40e8a7bbd5a6325b90ca23bce70db99c9

commit 6373daa40e8a7bbd5a6325b90ca23bce70db99c9
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-08-03 19:32:37 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-08-19 12:51:08 +0000

    app-misc/dvorak7min: Fix call to undeclared library function index
    
    Closes: https://bugs.gentoo.org/894546
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32160
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-misc/dvorak7min/dvorak7min-1.6.1-r2.ebuild     | 38 ++++++++++++++++++++++
 .../files/dvorak7min-1.6.1-clang16-build-fix.patch | 29 +++++++++++++++++
 2 files changed, 67 insertions(+)