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

Bug 880943

Summary: media-libs/libifp-1.0.0.2-r1 - userfile.c: error: incompatible function pointer types passing int
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/40555
Whiteboard: dead upstream
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412, 941869    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
media-libs:libifp-1.0.0.2-r1:20221111-111703.log
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-11 12:27:52 UTC
      integer types where one is of the unique plain 'char' type and the other
      is not [-Wpointer-sign]
        char * b = dev->b2;
               ^   ~~~~~~~
userfile.c:977:49: error: incompatible function pointer types passing 'int
      (const FTSENT *const *, const FTSENT *const *)' (aka 'int (const struct
      _ftsent *const *, const struct _ftsent *const *)') to parameter of type

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

  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/libifp
[ebuild  N    ] media-libs/libifp-1.0.0.2-r1  USE="-doc -examples -static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-11-11 12:27:53 UTC
Created attachment 831087 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-11 12:27:55 UTC
Created attachment 831089 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-11 12:27:56 UTC
Created attachment 831091 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-11 12:27:57 UTC
Created attachment 831093 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-11 12:27:58 UTC
Created attachment 831095 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-11 12:27:59 UTC
Created attachment 831097 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-11 12:28:01 UTC
Created attachment 831099 [details]
media-libs:libifp-1.0.0.2-r1:20221111-111703.log
Comment 8 Toralf Förster gentoo-dev 2022-11-11 12:28:02 UTC
Created attachment 831101 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-11 12:28:03 UTC
Created attachment 831103 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2025-02-14 05:18:29 UTC
The bug has been closed via the following commit(s):

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

commit abbd25fed1fe081b020eb5ddbce67962c569b3af
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-13 13:29:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-14 05:14:05 +0000

    media-libs/libifp: update EAPI 7 -> 8, C23 and musl fixes
    
    Fix missing dependency on musl system by adding conditional DEPEND
    and ldflag
    Fix implicit declarations in configure by fixing configure.ac,
    introducing dependency to pkgconfig in process, as original configure.ac
    uses hardcoded paths, changing variable names following changes in current
    versions of autotools, then eautoreconf fixes remaining problems.
    Finally, fix pointer type mismatch - by making function signature correct
    and by explicitly stripping const qualifier from a pointer passed to iconf
    
    Closes: https://bugs.gentoo.org/713650
    Closes: https://bugs.gentoo.org/880943
    Closes: https://bugs.gentoo.org/899824
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40555
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/libifp/files/libifp-1.0.0.2-c23.patch   | 25 +++++++++
 .../libifp/files/libifp-1.0.0.2-configure.patch    | 50 +++++++++++++++++
 media-libs/libifp/libifp-1.0.0.2-r2.ebuild         | 63 ++++++++++++++++++++++
 3 files changed, 138 insertions(+)