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

Bug 921020

Summary: games-emulation/generator-0.35_p4-r1 - generator.c: error: assignment to struct gzFile_s from incompatible pointer type gzFile {aka struct gzFile_s }
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: CONFIRMED ---    
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.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
games-emulation:generator-0.35_p4-r1:20231230-062544.log
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-30 09:20:05 UTC
      |              ^~~~~~~~~~~~
In file included from generator.c:3:
../hdr/generator.h:307:19: note: previous declaration of gen_musiclog with type t_musiclog
  307 | extern t_musiclog gen_musiclog;
      |                   ^~~~~~~~~~~~
generator.c: In function loadimage_zlib:
generator.c:256:12: error: assignment to struct gzFile_s ** from incompatible pointer type gzFile {aka struct gzFile_s *} [-Wincompatible-pointer-types]
  256 |   if ((gzf = gzdopen(fd, "rb")) == NULL) {
      |            ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231215-225005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 5da94239da0b348d171e695d788032281a8374fd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 30 05:16:54 2023 +0000

    2023-12-30 05:16:53 UTC

emerge -qpvO games-emulation/generator
[ebuild  N    ] games-emulation/generator-0.35_p4-r1  USE="sdlaudio"
Comment 1 Toralf Förster gentoo-dev 2023-12-30 09:20:06 UTC
Created attachment 880977 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-30 09:20:07 UTC
Created attachment 880978 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-30 09:20:08 UTC
Created attachment 880979 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-30 09:20:09 UTC
Created attachment 880980 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-30 09:20:10 UTC
Created attachment 880981 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-30 09:20:11 UTC
Created attachment 880982 [details]
games-emulation:generator-0.35_p4-r1:20231230-062544.log
Comment 7 Toralf Förster gentoo-dev 2023-12-30 09:20:12 UTC
Created attachment 880983 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-30 09:20:14 UTC
Created attachment 880984 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-30 09:20:15 UTC
Created attachment 880985 [details]
temp.tar.xz