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

Bug 875473

Summary: games-board/xskat-4.0-r2 - null.c: error: type of f defaults to int [-Werror=implicit-int]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
games-board:xskat-4.0-r2:20221005-152850.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-05 18:14:01 UTC
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int    -c -o ramsch.o ramsch.c
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int    -c -o null.o null.c
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int    -c -o bitmaps.o bitmaps.c
null.c: In function minmaxfb:
null.c:181:5: error: type of f defaults to int [-Werror=implicit-int]
  181 | int minmaxfb(f,fb)
      |     ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221002-192609

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
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.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 11.0.16.1_p1 [openjdk-11]
3)	OpenJDK 17.0.5_p5 [openjdk-17]
4)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
6)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-11 
  [3]   openjdk-17 
  [4]   openjdk-bin-8 
  [5]   openjdk-bin-11 
  [6]   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 1e2fe68e5b5a8af8b1473d98a0239780b223bf84
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 5 14:04:02 2022 +0000

    2022-10-05 14:04:01 UTC

emerge -qpvO games-board/xskat
[ebuild  N    ] games-board/xskat-4.0-r2
Comment 1 Toralf Förster gentoo-dev 2022-10-05 18:14:02 UTC
Created attachment 821335 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 18:14:03 UTC
Created attachment 821338 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-05 18:14:04 UTC
Created attachment 821341 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-05 18:14:05 UTC
Created attachment 821344 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-05 18:14:06 UTC
Created attachment 821347 [details]
games-board:xskat-4.0-r2:20221005-152850.log
Comment 6 Toralf Förster gentoo-dev 2022-10-05 18:14:07 UTC
Created attachment 821350 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-10-11 03:17:42 UTC
The bug has been closed via the following commit(s):

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

commit 515498f4c6b9ff4b042f44ae79a56f80815fa279
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-11 02:41:39 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-11 03:17:15 +0000

    games-board/xskat: fix w/ upcoming clang16 + -std=gnu89
    
    Closes: https://bugs.gentoo.org/875473
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-board/xskat/files/xskat-4.0-clang16.patch | 8 ++++++++
 games-board/xskat/xskat-4.0-r2.ebuild           | 7 ++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)