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

Bug 875722

Summary: games-arcade/spout-1.3-r1 - piece.c: error: call to undeclared function pceAppInit; ISO C99 and
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
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
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
games-arcade:spout-1.3-r1:20221006-063333.log
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-06 20:14:31 UTC
piece.c:265:1: warning: non-void function does not return a value
      [-Wreturn-type]
}
^
piece.c:331:3: error: call to undeclared function 'pceAppInit'; 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_desktop_plasma-j4-20221005-230610

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

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 Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   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 e0653d1b24afc9dba92b755900b3f846ecd60208
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 6 06:18:56 2022 +0000

    2022-10-06 06:18:56 UTC

emerge -qpvO games-arcade/spout
[ebuild  N    ] games-arcade/spout-1.3-r1
Comment 1 Toralf Förster gentoo-dev 2022-10-06 20:14:32 UTC
Created attachment 822307 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-06 20:14:33 UTC
Created attachment 822310 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-06 20:14:34 UTC
Created attachment 822313 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-06 20:14:36 UTC
Created attachment 822316 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-06 20:14:37 UTC
Created attachment 822319 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-06 20:14:38 UTC
Created attachment 822322 [details]
games-arcade:spout-1.3-r1:20221006-063333.log
Comment 7 Toralf Förster gentoo-dev 2022-10-06 20:14:38 UTC
Created attachment 822325 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-06 20:14:39 UTC
Created attachment 822328 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-23 14:27:53 UTC
The bug has been closed via the following commit(s):

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

commit abcc335453aa5061c1c49ce92a08415568a0ec68
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-23 12:23:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-23 14:27:19 +0000

    games-arcade/spout: fix build w/ Clang 16
    
    Closes: https://bugs.gentoo.org/875722
    Signed-off-by: Sam James <sam@gentoo.org>

 ...ut-1.3-Fix-implicit-function-declarations.patch | 30 ++++++++++++++++++++++
 .../{spout-1.3-r1.ebuild => spout-1.3-r2.ebuild}   |  7 +++--
 2 files changed, 35 insertions(+), 2 deletions(-)