Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874723 - games-simulation/lincity-1.13.1-r2 - fileutil.c: error: implicit declaration of function HandleError [-Werror=implicit-function-de
Summary: games-simulation/lincity-1.13.1-r2 - fileutil.c: error: implicit declaration ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 18:50 UTC by Toralf Förster
Modified: 2023-03-05 02:29 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.70 KB, text/plain)
2022-10-03 18:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,148.38 KB, text/plain)
2022-10-03 18:51 UTC, Toralf Förster
Details
environment (environment,38.30 KB, text/plain)
2022-10-03 18:51 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.02 KB, application/x-bzip)
2022-10-03 18:51 UTC, Toralf Förster
Details
games-simulation:lincity-1.13.1-r2:20221003-175945.log (games-simulation:lincity-1.13.1-r2:20221003-175945.log,90.21 KB, text/plain)
2022-10-03 18:51 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,11.98 KB, application/x-bzip)
2022-10-03 18:51 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.38 KB, application/x-bzip)
2022-10-03 18:51 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-10-03 18:50:57 UTC
      |         ^~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -Wall -c `test -f 'fileutil.c' || echo './'`fileutil.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -Wall -c `test -f 'shrglobs.c' || echo './'`shrglobs.c
fileutil.c: In function find_libdir:
fileutil.c:349:5: error: implicit declaration of function HandleError [-Werror=implicit-function-declaration]
  349 |     HandleError (_("Error. Can't find LINCITY_HOME"), FATAL);
      |     ^~~~~~~~~~~

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

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

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

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)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
3)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit 857d1a75c8567a091ead8f79c3deae7c5f423df7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 17:02:08 2022 +0000

    2022-10-03 17:02:08 UTC

emerge -qpvO games-simulation/lincity
[ebuild  N    ] games-simulation/lincity-1.13.1-r2
Comment 1 Toralf Förster gentoo-dev 2022-10-03 18:50:58 UTC
Created attachment 818152 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 18:51:00 UTC
Created attachment 818158 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-03 18:51:01 UTC
Created attachment 818161 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-03 18:51:02 UTC
Created attachment 818164 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-03 18:51:04 UTC
Created attachment 818167 [details]
games-simulation:lincity-1.13.1-r2:20221003-175945.log
Comment 6 Toralf Förster gentoo-dev 2022-10-03 18:51:05 UTC
Created attachment 818170 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 18:51:06 UTC
Created attachment 818173 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-10-23 14:27:54 UTC
The bug has been closed via the following commit(s):

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

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

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

 ...otypes-and-implicit-function-declarations.patch | 270 +++++++++++++++++++++
 ...y-1.13.1-r2.ebuild => lincity-1.13.1-r3.ebuild} |   3 +-
 2 files changed, 272 insertions(+), 1 deletion(-)