Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636014 - media-libs/sdl2-mixer-2.0.2 : /.../music_smpeg.c:141:28: error: mp3 undeclared (first use in this function)
Summary: media-libs/sdl2-mixer-2.0.2 : /.../music_smpeg.c:141:28: error: mp3 undeclare...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-31 11:06 UTC by Toralf Förster
Modified: 2018-09-01 14:25 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.88 KB, text/plain)
2017-10-31 11:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,129.79 KB, text/plain)
2017-10-31 11:06 UTC, Toralf Förster
Details
environment (environment,69.82 KB, text/plain)
2017-10-31 11:06 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.17 KB, application/x-bzip)
2017-10-31 11:06 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.17 KB, application/x-bzip)
2017-10-31 11:06 UTC, Toralf Förster
Details
media-libs:sdl2-mixer-2.0.2:20171031-105422.log (media-libs:sdl2-mixer-2.0.2:20171031-105422.log,33.94 KB, text/plain)
2017-10-31 11:06 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.27 KB, application/x-bzip)
2017-10-31 11:06 UTC, Toralf Förster
Details
Fix for sdl2-mixer with smpeg support (smpeg_fix.patch,698 bytes, patch)
2017-12-07 04:39 UTC, Adam Stylinski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-10-31 11:06:07 UTC
/var/tmp/portage/media-libs/sdl2-mixer-2.0.2/work/SDL2_mixer-2.0.2/music_smpeg.c: In function ‘SMPEG_CreateFromRW’:
/var/tmp/portage/media-libs/sdl2-mixer-2.0.2/work/SDL2_mixer-2.0.2/music_smpeg.c:141:28: error: ‘mp3’ undeclared (first use in this function)
     smpeg.SMPEG_actualSpec(mp3, &music_spec);
                            ^~~
/var/tmp/portage/media-libs/sdl2-mixer-2.0.2/work/SDL2_mixer-2.0.2/music_smpeg.c:141:28: note: each undeclared identifier is reported only once for each function it appears in

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma_20171028-091642

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv media-libs/sdl2-mixer
[ebuild  N    ] media-libs/sdl2-mixer-2.0.2  USE="flac mad mp3 smpeg vorbis wav -fluidsynth -midi -mikmod -mod -modplug -playtools -static-libs -timidity -tremor" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2017-10-31 11:06:10 UTC
Created attachment 501306 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-31 11:06:13 UTC
Created attachment 501308 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-10-31 11:06:16 UTC
Created attachment 501310 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-10-31 11:06:19 UTC
Created attachment 501312 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-10-31 11:06:23 UTC
Created attachment 501314 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-10-31 11:06:26 UTC
Created attachment 501316 [details]
media-libs:sdl2-mixer-2.0.2:20171031-105422.log
Comment 7 Toralf Förster gentoo-dev 2017-10-31 11:06:28 UTC
Created attachment 501318 [details]
temp.tbz2
Comment 8 Adam Stylinski 2017-12-07 04:39:47 UTC
Created attachment 508618 [details, diff]
Fix for sdl2-mixer with smpeg support

I'm a little surprise that this code actually made its way into the release tarball - the fixes are to it are pretty simple but this clearly wasn't compiling when they rolled it out.
Comment 9 Lord_Evil 2018-06-14 13:09:52 UTC
(In reply to Adam Stylinski from comment #8)
> Created attachment 508618 [details, diff] [details, diff]
> Fix for sdl2-mixer with smpeg support
> 
> I'm a little surprise that this code actually made its way into the release
> tarball - the fixes are to it are pretty simple but this clearly wasn't
> compiling when they rolled it out.

Thank you!
Comment 10 Larry the Git Cow gentoo-dev 2018-09-01 14:25:40 UTC
The bug has been closed via the following commit(s):

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

commit 94c9568fe73d41a3edac521bea8bad10d3adb026
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2018-09-01 14:13:40 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2018-09-01 14:13:50 +0000

    media-libs/sdl2-mixer: Patch to fix 2.0.2 smpeg build issue
    
    Closes: https://bugs.gentoo.org/636014
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 .../sdl2-mixer/files/sdl2-mixer-2.0.2-smpeg.patch   | 21 +++++++++++++++++++++
 media-libs/sdl2-mixer/sdl2-mixer-2.0.2.ebuild       |  4 ++++
 2 files changed, 25 insertions(+)