Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929253 - media-libs/libfishsound-1.0.0-r2 - fishsound-info.c: error: passing argument 3 of oggz_set_read_callback from incompatible pointer type [-Wincompatibl
Summary: media-libs/libfishsound-1.0.0-r2 - fishsound-info.c: error: passing argument ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2024-04-13 07:39 UTC by Toralf Förster
Modified: 2025-02-11 01:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,23.54 KB, text/plain)
2024-04-13 07:39 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,121.52 KB, application/x-xz)
2024-04-13 07:39 UTC, Toralf Förster
Details
environment (environment,31.62 KB, text/plain)
2024-04-13 07:39 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,46.00 KB, application/x-xz)
2024-04-13 07:39 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.52 KB, application/x-xz)
2024-04-13 07:39 UTC, Toralf Förster
Details
media-libs:libfishsound-1.0.0-r2:20240412-233650.log (media-libs:libfishsound-1.0.0-r2:20240412-233650.log,20.91 KB, text/plain)
2024-04-13 07:39 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,120.24 KB, application/x-xz)
2024-04-13 07:39 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,9.18 KB, application/x-xz)
2024-04-13 07:39 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-04-13 07:39:20 UTC
too long lines were shrinked:

make[3]: Entering directory '/var/tmp/portage/media-libs/libfishsound-1.0.0-r2/work/libfishsound-1.0.0/src/examples'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../src/libfishsound -I/usr/include/opus       -Wall -pedantic -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused -c fishsound-identify.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../src/libfishsound -I/usr/include/opus       -Wall -pedantic -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused -c fishsound-info.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../src/libfishsound -I/usr/include/opus       -Wall -pedantic -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused -c fishsound-decenc.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../src/libfishsound -I/usr/include/opus       -Wall -pedantic -g -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused -c fishsound-encdec.c
fishsound-info.c: In function main:
fishsound-info.c:117:37: error: passing argument 3 of oggz_set_read_callback from incompatible pointer type [-Wincompatible-pointer-types]
  117 |   oggz_set_read_callback (oggz, -1, read_packet, fsound);
      |                                     ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened_systemd-20240402-155056

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.22_p7 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.402_p06 [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.22.2 linux/amd64

  HEAD of ::gentoo
commit 0218134f9a89b2a734b2c5f55f071034a40cfc46
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 12 19:49:09 2024 +0000

    2024-04-12 19:49:09 UTC

emerge -qpvO media-libs/libfishsound
[ebuild  N    ] media-libs/libfishsound-1.0.0-r2  USE="-flac -speex"
Comment 1 Toralf Förster gentoo-dev 2024-04-13 07:39:21 UTC
Created attachment 890615 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-13 07:39:22 UTC
Created attachment 890616 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-04-13 07:39:23 UTC
Created attachment 890617 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-13 07:39:24 UTC
Created attachment 890618 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-13 07:39:25 UTC
Created attachment 890619 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-13 07:39:26 UTC
Created attachment 890620 [details]
media-libs:libfishsound-1.0.0-r2:20240412-233650.log
Comment 7 Toralf Förster gentoo-dev 2024-04-13 07:39:27 UTC
Created attachment 890621 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-13 07:39:28 UTC
Created attachment 890622 [details]
temp.tar.xz
Comment 9 NHO 2025-01-07 12:37:37 UTC
Build automatically picks up existence of liboggz and fails only in that situation.
Comment 10 NHO 2025-01-07 13:06:09 UTC
Upstream bug https://gitlab.xiph.org/xiph/libfishsound/-/issues/13
Comment 11 NHO 2025-02-09 08:15:49 UTC
Changed my patch to upstream patch.
Comment 12 Larry the Git Cow gentoo-dev 2025-02-10 08:50:03 UTC
The bug has been referenced in the following commit(s):

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

commit d231279354531b63b6851cd06c9467ec4dec6109
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-07 12:58:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 08:45:13 +0000

    media-libs/libfishsound: fix build when liboggz is present
    
    Upstream patch
    
    Bug: https://bugs.gentoo.org/929253
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40025
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/libfishsound-1.0.0-oggz-interop.patch    | 102 +++++++++++++++++++++
 .../libfishsound/libfishsound-1.0.0-r2.ebuild      |   2 +-
 .../libfishsound/libfishsound-1.0.0-r3.ebuild      |  53 +++++++++++
 3 files changed, 156 insertions(+), 1 deletion(-)