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

Bug 909321

Summary: games-engines/frotz-2.53-r1 - sf_frotz.h: error: conflicting types for uint32_t; have long unsigned int
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: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
games-engines:frotz-2.53-r1:20230628-050851.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-06-28 07:02:43 UTC
** Done with Blorb library.
make[1]: Leaving directory '/var/tmp/portage/games-engines/frotz-2.53-r1/work/frotz-2.53/src/blorb'
make -C src/sdl
make[1]: Entering directory '/var/tmp/portage/games-engines/frotz-2.53-r1/work/frotz-2.53/src/sdl'
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -std=c99 -O3  -g -D_POSIX_C_SOURCE=200809L -I/usr/include/libpng16 -I/usr/include/SDL2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/opus -I/usr/include/lash-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -D_REENTRANT -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/freetype2   -fPIC -fpic -o sf_fonts.o -c sf_fonts.c
In file included from sf_fonts.c:22:
sf_frotz.h:17:15: error: conflicting types for uint32_t; have long unsigned int
   17 | #define ulong uint32_t
      |               ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20230623-213140

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.69.0 *
The following VMs are available for generation-2:
1)	OpenJDK 11.0.19_p7 [openjdk-11]
2)	OpenJDK 17.0.7_p7 [openjdk-17]
3)	Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11]
4)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
*)	Eclipse Temurin JRE 17.0.7_p7 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-11 
  [2]   openjdk-17 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17 
  [5]   openjdk-jre-bin-17  system-vm

php cli (if any):
go version go1.20.5 linux/amd64

  HEAD of ::gentoo
commit c6b7e70d1e9650a7568c48ae18cf5e4e8deca219
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 28 01:17:00 2023 +0000

    2023-06-28 01:17:00 UTC

emerge -qpvO games-engines/frotz
[ebuild  N    ] games-engines/frotz-2.53-r1  USE="ncurses sdl sound unicode"
Comment 1 Toralf Förster gentoo-dev 2023-06-28 07:02:44 UTC
Created attachment 864752 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-28 07:02:45 UTC
Created attachment 864753 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-06-28 07:02:47 UTC
Created attachment 864754 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-06-28 07:02:47 UTC
Created attachment 864755 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-06-28 07:02:48 UTC
Created attachment 864756 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-28 07:02:49 UTC
Created attachment 864757 [details]
games-engines:frotz-2.53-r1:20230628-050851.log
Comment 7 Toralf Förster gentoo-dev 2023-06-28 07:02:50 UTC
Created attachment 864758 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2024-04-30 01:28:36 UTC
The bug has been closed via the following commit(s):

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

commit 18d3b71f6c2ac4318be2aa0737d8b6a408466bb4
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2024-04-30 01:25:18 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2024-04-30 01:28:13 +0000

    games-engines/frotz: fix build failure
    
    Invoking long-overdue maintainer timeout. Debian solved this ages ago
    so just use their patch.
    
    Closes: https://bugs.gentoo.org/909321
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 games-engines/frotz/files/frotz-2.53-uint32.patch | 475 ++++++++++++++++++++++
 games-engines/frotz/frotz-2.53-r1.ebuild          |   6 +-
 2 files changed, 480 insertions(+), 1 deletion(-)