Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881121 - media-libs/sdl2-mixer-2.0.4-r3 - /.../music_mpg123.c: error: incompatible function pointer types assigning to int ( )(mpg123_handl
Summary: media-libs/sdl2-mixer-2.0.4-r3 - /.../music_mpg123.c: error: incompatible fun...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL: https://github.com/libsdl-org/SDL_mix...
Whiteboard: fixed in 2.6.2
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-12 17:38 UTC by Toralf Förster
Modified: 2024-10-29 14:05 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.79 KB, text/plain)
2022-11-12 17:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,90.48 KB, text/plain)
2022-11-12 17:38 UTC, Toralf Förster
Details
environment (environment,98.09 KB, text/plain)
2022-11-12 17:38 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,702 bytes, application/x-bzip)
2022-11-12 17:38 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.87 KB, application/x-bzip)
2022-11-12 17:38 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.00 KB, application/x-bzip)
2022-11-12 17:38 UTC, Toralf Förster
Details
media-libs:sdl2-mixer-2.0.4-r3:20221112-111611.log (media-libs:sdl2-mixer-2.0.4-r3:20221112-111611.log,30.69 KB, text/plain)
2022-11-12 17:38 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.71 KB, application/x-bzip)
2022-11-12 17:38 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,1.84 KB, application/x-bzip)
2022-11-12 17:38 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 2022-11-12 17:38:32 UTC
too long lines were shrinked:

/bin/sh ./libtool --mode=compile clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int  -D_GNU_SOURCE=1 -I/usr/include/SDL2 -D_REENTRANT  -DHAVE_SIGNAL_H -DHAVE_SETBUF -fvisibility=hidden -DHAVE_FORK -DMUSIC_CMD -DMUSIC_
libtool: compile:  clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -D_GNU_SOURCE=1 -I/usr/include/SDL2 -D_REENTRANT -DHAVE_SIGNAL_H -DHAVE_SETBUF -fvisibility=hidden -DHAVE_FORK -DMUSIC_CMD -DMUSIC_WAV -DMUSIC_FLAC
/bin/sh ./libtool --mode=compile clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int  -D_GNU_SOURCE=1 -I/usr/include/SDL2 -D_REENTRANT  -DHAVE_SIGNAL_H -DHAVE_SETBUF -fvisibility=hidden -DHAVE_FORK -DMUSIC_CMD -DMUSIC_
/bin/sh ./libtool --mode=compile clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int  -D_GNU_SOURCE=1 -I/usr/include/SDL2 -D_REENTRANT  -DHAVE_SIGNAL_H -DHAVE_SETBUF -fvisibility=hidden -DHAVE_FORK -DMUSIC_CMD -DMUSIC_
/var/tmp/portage/media-libs/sdl2-mixer-2.0.4-r3/work/SDL2_mixer-2.0.4/music_mpg123.c:98:9: error: incompatible function pointer types assigning to 'int (*)(mpg123_handle *, unsigned char *, size_t, size_t *)' (aka 'int (*)(struct mpg123_handle_struct *, unsigned char *, unsigned long, unsigned long 
        FUNCTION_LOADER(mpg123_read, int (*)(mpg123_handle *mh, unsigned char *outmemory, size_t outmemsize, size_t *done ))
        ^               ~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20221111-181859

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
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:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit a258f1f5bfd84ae060ef0daf9a79a1cd92eaaf67
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 12 09:31:51 2022 +0000

    2022-11-12 09:31:50 UTC

emerge -qpvO media-libs/sdl2-mixer
[ebuild  N    ] media-libs/sdl2-mixer-2.0.4-r3  USE="flac mp3 wav -fluidsynth -mad -midi -mikmod -mod -modplug -opus -playtools -static-libs -timidity -tremor -vorbis" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2022-11-12 17:38:33 UTC
Created attachment 831979 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-12 17:38:34 UTC
Created attachment 831981 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-12 17:38:36 UTC
Created attachment 831983 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-12 17:38:36 UTC
Created attachment 831985 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-12 17:38:37 UTC
Created attachment 831987 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-12 17:38:38 UTC
Created attachment 831989 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-12 17:38:39 UTC
Created attachment 831991 [details]
media-libs:sdl2-mixer-2.0.4-r3:20221112-111611.log
Comment 8 Toralf Förster gentoo-dev 2022-11-12 17:38:41 UTC
Created attachment 831993 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-12 17:38:42 UTC
Created attachment 831995 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2023-01-07 08:12:52 UTC
The bug has been closed via the following commit(s):

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

commit 8dde4d6df64a89e196bbfc12dfdfec7cb83ebda9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-07 08:12:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-07 08:12:43 +0000

    media-libs/sdl2-mixer: add 2.6.2
    
    Closes: https://bugs.gentoo.org/881121
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/sdl2-mixer/Manifest                |   1 +
 media-libs/sdl2-mixer/sdl2-mixer-2.6.2.ebuild | 102 ++++++++++++++++++++++++++
 2 files changed, 103 insertions(+)