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

Bug 921021

Summary: media-sound/mpfc-1.3.8.1-r5 - player.c: error: passing argument 1 of genp_is_started from incompatible pointer type [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36045
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
media-sound:mpfc-1.3.8.1-r5:20231229-230258.log
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-30 09:20:20 UTC
too long lines were shrinked:

make[2]: Entering directory '/var/tmp/portage/media-sound/mpfc-1.3.8.1-r5/work/mpfc-1.3.8.1/src'
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I.. -I../libmpfcwnd/    -O2 -pipe -march=native -fno-diagnostics-color -c -o main.o main.c
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I.. -I../libmpfcwnd/    -O2 -pipe -march=native -fno-diagnostics-color -c -o player.o player.c
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I.. -I../libmpfcwnd/    -O2 -pipe -march=native -fno-diagnostics-color -c -o plist.o plist.c
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DSYSCONFDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I.. -I../libmpfcwnd/    -O2 -pipe -march=native -fno-diagnostics-color -c -o song.o song.c
player.c: In function player_pmng_dialog_sync:
player.c:2694:58: error: passing argument 1 of genp_is_started from incompatible pointer type [-Wincompatible-pointer-types]
 2694 |                         bool_t started = genp_is_started(p);
      |                                                          ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20231228-120810

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

gcc-config -l:
 [1] 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 Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit de6afde966b43c7b81ae9a057aa7780a903966b3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 29 21:47:02 2023 +0000

    2023-12-29 21:47:01 UTC

emerge -qpvO media-sound/mpfc
[ebuild  N    ] media-sound/mpfc-1.3.8.1-r5  USE="cdda nls oss -alsa -flac -gpm -mad -static-libs -vorbis -wav"
Comment 1 Toralf Förster gentoo-dev 2023-12-30 09:20:21 UTC
Created attachment 880986 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-30 09:20:22 UTC
Created attachment 880987 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-30 09:20:23 UTC
Created attachment 880988 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-30 09:20:24 UTC
Created attachment 880989 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-30 09:20:25 UTC
Created attachment 880990 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-30 09:20:26 UTC
Created attachment 880991 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-30 09:20:27 UTC
Created attachment 880992 [details]
media-sound:mpfc-1.3.8.1-r5:20231229-230258.log
Comment 8 Toralf Förster gentoo-dev 2023-12-30 09:20:29 UTC
Created attachment 880993 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-30 09:20:30 UTC
Created attachment 880994 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-05-08 16:56:24 UTC
The bug has been closed via the following commit(s):

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

commit d96581112c9694ea14771d83b0df107ac12bb20f
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2024-04-01 17:20:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-08 16:56:03 +0000

    media-sound/mpfc: Fix incompatible-pointer-types
    
    Closes: https://bugs.gentoo.org/921021
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/36045
    Signed-off-by: Sam James <sam@gentoo.org>

 .../mpfc-1.3.8.1-c99-incompatible-pointers.patch   | 49 ++++++++++++++++++++++
 media-sound/mpfc/mpfc-1.3.8.1-r5.ebuild            |  1 +
 2 files changed, 50 insertions(+)