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

Bug 874990

Summary: games-arcade/grande-KXL-0.6-r2 - main.c: error: implicit declaration of function time [-Werror=implicit-function-declaration]
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
emerge-history.txt
environment
etc.portage.tar.bz2
games-arcade:grande-KXL-0.6-r2:20221004-012330.log
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-04 16:30:05 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"grande-KXL\" -DVERSION=\"0.6\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"grande-KXL\" -DVERSION=\"0.6\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"grande-KXL\" -DVERSION=\"0.6\" -DHAVE_LIBKXL=1 -DHAVE_LIBKXL=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_
main.c: In function main:
main.c:302:9: error: implicit declaration of function time [-Werror=implicit-function-declaration]
  302 |   srand(time(NULL));
      |         ^~~~

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

  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.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
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)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	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-17 
  [2]   openjdk-bin-8 
  [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 26c589b619fafc9e0a206166e84e2970cf1658b3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 00:47:23 2022 +0000

    2022-10-04 00:47:23 UTC

emerge -qpvO games-arcade/grande-KXL
[ebuild  N    ] games-arcade/grande-KXL-0.6-r2
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:30:06 UTC
Created attachment 819139 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:30:08 UTC
Created attachment 819142 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:30:09 UTC
Created attachment 819145 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:30:10 UTC
Created attachment 819148 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:30:11 UTC
Created attachment 819151 [details]
games-arcade:grande-KXL-0.6-r2:20221004-012330.log
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:30:12 UTC
Created attachment 819154 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-04 16:30:13 UTC
Created attachment 819157 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-04 16:51:27 UTC
*** Bug 874993 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2022-11-21 01:36:06 UTC
The bug has been closed via the following commit(s):

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

commit 05da0fe97b122dc34457bfb3fa4ca6cd24d3fe45
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-21 01:33:07 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-21 01:35:50 +0000

    games-arcade/grande-KXL: fix build w/ upcoming clang16
    
    Closes: https://bugs.gentoo.org/874990
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../grande-KXL/files/grande-KXL-0.6-clang16.patch  | 27 ++++++++++++++++++++++
 ...-KXL-0.6-r2.ebuild => grande-KXL-0.6-r3.ebuild} |  3 ++-
 2 files changed, 29 insertions(+), 1 deletion(-)