Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894422 - dev-scheme/mit-scheme-12.1 fails to compile (MUSL-CLANG-SYSTEM): termcap.c:148:1: error: type specifier missing, defaults to int; ISO C99 and later do not support implicit int [-Wimplicit-int]
Summary: dev-scheme/mit-scheme-12.1 fails to compile (MUSL-CLANG-SYSTEM): termcap.c:14...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-14 16:22 UTC by Agostino Sarubbo
Modified: 2023-02-16 15:53 UTC (History)
0 users

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


Attachments
build.log (build.log,172.61 KB, text/plain)
2023-02-14 16:22 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 2023-02-14 16:22:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-scheme/mit-scheme-12.1 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-14 16:22:31 UTC
Created attachment 851116 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-14 16:22:32 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


termcap.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:179:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:245:18: warning: passing arguments to 'tgetst1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:356:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:371:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:510:21: warning: passing arguments to 'scan_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:589:22: warning: passing arguments to 'gobble_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:594:18: warning: passing arguments to 'name_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:611:23: warning: passing arguments to 'compare_contin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:615:40: warning: passing arguments to 'compare_contin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
termcap.c:148:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Comment 3 Larry the Git Cow gentoo-dev 2023-02-16 15:53:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31d7c231a1cc93ef3bc78a5038bf4e4feb5b86fc

commit 31d7c231a1cc93ef3bc78a5038bf4e4feb5b86fc
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-02-16 15:49:57 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-02-16 15:53:55 +0000

    dev-scheme/mit-scheme: fix implicit
    
    Closes: https://bugs.gentoo.org/894422
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 .../files/mit-scheme-11.2-implicit-int.patch          | 19 +++++++++++++++++++
 dev-scheme/mit-scheme/mit-scheme-11.2.ebuild          |  5 ++++-
 dev-scheme/mit-scheme/mit-scheme-12.1.ebuild          |  5 ++++-
 3 files changed, 27 insertions(+), 2 deletions(-)