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

Bug 880915

Summary: app-text/cwtext-0.96-r1 - int (int); ISO C99 and later do not support implicit function
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Thomas Beierlein <tomjbe>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-text:cwtext-0.96-r1:20221111-104032.log
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-11 12:04:27 UTC
clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c morse.c
clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c cwpcm.c
clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c pcm.c
morse.c:76:8: error: call to undeclared library function 'isspace' with type
      'int (int)'; ISO C99 and later do not support implicit function
      declarations [-Werror,-Wimplicit-function-declaration]
   if (isspace(ch)) wspace(out);

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

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

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

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

  HEAD of ::gentoo
commit 662bac4a9630c3ecb61f904350df4f63142b75c0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 11 08:46:51 2022 +0000

    2022-11-11 08:46:50 UTC

emerge -qpvO app-text/cwtext
[ebuild  N    ] app-text/cwtext-0.96-r1
Comment 1 Toralf Förster gentoo-dev 2022-11-11 12:04:28 UTC
Created attachment 830849 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-11 12:04:29 UTC
Created attachment 830851 [details]
app-text:cwtext-0.96-r1:20221111-104032.log
Comment 3 Toralf Förster gentoo-dev 2022-11-11 12:04:30 UTC
Created attachment 830853 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-11 12:04:32 UTC
Created attachment 830855 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-11 12:04:33 UTC
Created attachment 830857 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-11 12:04:34 UTC
Created attachment 830859 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-11 12:04:35 UTC
Created attachment 830861 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-11-19 08:52:30 UTC
The bug has been closed via the following commit(s):

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

commit a96daf9a2e6b7eed9584917fa25c00c29997c5bf
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2022-11-19 08:51:36 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2022-11-19 08:52:15 +0000

    app-text/cwtext: Add missing include file
    
    Closes: https://bugs.gentoo.org/880915
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 app-text/cwtext/cwtext-0.96-r1.ebuild                       |  3 ++-
 app-text/cwtext/files/cwtext-0.96-fix-missing-include.patch | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)