Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871399 - app-i18n/kcc-1.0 - kcc.c: error: call to undeclared function isatty; ISO C99 and later do
Summary: app-i18n/kcc-1.0 - kcc.c: error: call to undeclared function isatty; ISO C99 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 13:21 UTC by Toralf Förster
Modified: 2022-10-11 10:01 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.98 KB, text/plain)
2022-09-18 13:21 UTC, Toralf Förster
Details
app-i18n:kcc-1.0:20220918-121823.log (app-i18n:kcc-1.0:20220918-121823.log,29.64 KB, text/plain)
2022-09-18 13:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,110.09 KB, text/plain)
2022-09-18 13:21 UTC, Toralf Förster
Details
environment (environment,61.27 KB, text/plain)
2022-09-18 13:21 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.85 KB, application/x-bzip)
2022-09-18 13:21 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,18.60 KB, application/x-bzip)
2022-09-18 13:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-18 13:21:01 UTC
      deprecated in all versions of C and is not supported in C2x
      [-Wdeprecated-non-prototype]
        buffalloc(size);        /* allocate hold buf */
                 ^
kcc.c:311:10: error: call to undeclared function 'isatty'; ISO C99 and later do
      not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220917-070004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit e8176b4c385fc022aa4f3bd9744cd6ec4632c400
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 11:16:47 2022 +0000

    2022-09-18 11:16:46 UTC

emerge -qpvO app-i18n/kcc
[ebuild  N    ] app-i18n/kcc-1.0
Comment 1 Toralf Förster gentoo-dev 2022-09-18 13:21:03 UTC
Created attachment 811435 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 13:21:04 UTC
Created attachment 811438 [details]
app-i18n:kcc-1.0:20220918-121823.log
Comment 3 Toralf Förster gentoo-dev 2022-09-18 13:21:05 UTC
Created attachment 811441 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 13:21:07 UTC
Created attachment 811444 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 13:21:08 UTC
Created attachment 811447 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 13:21:09 UTC
Created attachment 811450 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-11 10:01:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ea4b8de3f9e4a8e7432bc702b6d458f434bbb98

commit 3ea4b8de3f9e4a8e7432bc702b6d458f434bbb98
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-11 09:48:00 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-11 10:01:03 +0000

    app-i18n/kcc: EAPI7->8, fix build w/ upcoming clang16
    
    Also fix license, tidy, and pass -std=gnu89 (uses K&R)
    
    Closes: https://bugs.gentoo.org/871399
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-i18n/kcc/files/kcc-1.0-clang16.patch | 19 +++++++++++++++++++
 app-i18n/kcc/kcc-1.0.ebuild              | 18 ++++++++++--------
 2 files changed, 29 insertions(+), 8 deletions(-)