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

Bug 880931

Summary: media-libs/libggi-2.2.2-r1 - dga.c: error: incompatible function pointer types assigning to
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/35955
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
media-libs:libggi-2.2.2-r1:20221111-105414.log
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-11 12:06:18 UTC
dga.c:271:6: warning: variable 'err' set but not used
      [-Wunused-but-set-variable]
        int err;
            ^
dga.c:392:25: error: incompatible function pointer types assigning to
      'ggi_modelist_validate' (aka 'int (*)(struct ggi_visual *, long, ggi_mode
      *)') from 'int (ggi_visual *, int, ggi_mode *)' (aka 'int (struct

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20221110-100005

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
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.4
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	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-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 69f0b7550ab587381bffca4687249bd3f505afdf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 11 10:16:50 2022 +0000

    2022-11-11 10:16:50 UTC

emerge -qpvO media-libs/libggi
[ebuild  N    ] media-libs/libggi-2.2.2-r1  USE="X aalib (-3dfx) -debug -fbcon (-svga) (-vis)" CPU_FLAGS_X86="mmx"
Comment 1 Toralf Förster gentoo-dev 2022-11-11 12:06:19 UTC
Created attachment 830981 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-11 12:06:20 UTC
Created attachment 830983 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-11 12:06:22 UTC
Created attachment 830985 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-11 12:06:23 UTC
Created attachment 830987 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-11 12:06:24 UTC
Created attachment 830989 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-11 12:06:25 UTC
Created attachment 830991 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-11 12:06:26 UTC
Created attachment 830993 [details]
media-libs:libggi-2.2.2-r1:20221111-105414.log
Comment 8 Toralf Förster gentoo-dev 2022-11-11 12:06:28 UTC
Created attachment 830995 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-11 12:06:29 UTC
Created attachment 830997 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2024-05-08 10:45:41 UTC
The bug has been closed via the following commit(s):

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

commit e88c6db1a899e68c63eb63fb177677aba929cb8e
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2024-03-27 20:33:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-08 10:42:52 +0000

    media-libs/libggi: Fix incompatible function pointer types
    
    Closes: https://bugs.gentoo.org/880931
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/35955
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/libggi/files/libggi-2.2.2-incompatible-types.patch | 11 +++++++++++
 .../libggi/{libggi-2.2.2-r1.ebuild => libggi-2.2.2-r2.ebuild} |  1 +
 2 files changed, 12 insertions(+)