Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635442 - dev-python/pygame_sdl2-6.99.12.4 : gen/pygame_sdl2.mixer.c:2306:46: error: MIX_INIT_MODPLUG undeclared (first use in this function)
Summary: dev-python/pygame_sdl2-6.99.12.4 : gen/pygame_sdl2.mixer.c:2306:46: error: MI...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-10-25 18:11 UTC by Toralf Förster
Modified: 2019-01-10 14:50 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.94 KB, text/plain)
2017-10-25 18:11 UTC, Toralf Förster
Details
dev-python:pygame_sdl2-6.99.12.4:20171025-155843.log (dev-python:pygame_sdl2-6.99.12.4:20171025-155843.log,47.97 KB, text/plain)
2017-10-25 18:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,265.08 KB, text/plain)
2017-10-25 18:11 UTC, Toralf Förster
Details
environment (environment,107.59 KB, text/plain)
2017-10-25 18:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.20 KB, application/x-bzip)
2017-10-25 18:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.35 KB, application/x-bzip)
2017-10-25 18:11 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 2017-10-25 18:11:10 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -fPIC -I. -Isrc -I/usr/include/SDL2 -I/usr/include/python2.7 -c gen/pygame_sdl2.mixer.c -o /var/tmp/portage/dev-python/pygame_sdl2-6.99.12.4/work/pygame_sdl2-2.1.0-for-renpy-6.99.12.4-python2_7/temp.linux-x86_64-2.7/gen/pygame_sdl2.mixer.o -O2 -pipe -march=native -Wall -D_REENTRANT
gen/pygame_sdl2.mixer.c: In function ‘__pyx_pf_11pygame_sdl2_5mixer_2init’:
gen/pygame_sdl2.mixer.c:2306:46: error: ‘MIX_INIT_MODPLUG’ undeclared (first use in this function)
   __pyx_t_3 = __Pyx_PyInt_From_MIX_InitFlags(MIX_INIT_MODPLUG); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 84, __pyx_L1_error)
                                              ^~~~~~~~~~~~~~~~
gen/pygame_sdl2.mixer.c:2306:46: 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: 17.0-desktop_abi32+64_20171018-212144

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

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)
  [4]   pypy3 (fallback)
  [5]   jython2.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 dev-python/pygame_sdl2
[ebuild  N    ] dev-python/pygame_sdl2-6.99.12.4  PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2017-10-25 18:11:13 UTC
Created attachment 500112 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-25 18:11:16 UTC
Created attachment 500114 [details]
dev-python:pygame_sdl2-6.99.12.4:20171025-155843.log
Comment 3 Toralf Förster gentoo-dev 2017-10-25 18:11:20 UTC
Created attachment 500116 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-10-25 18:11:23 UTC
Created attachment 500118 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-10-25 18:11:26 UTC
Created attachment 500120 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-10-25 18:11:30 UTC
Created attachment 500122 [details]
temp.tbz2
Comment 8 A Schenck 2018-07-04 00:00:44 UTC
Alternately, copying the ebuild to version 6.99.14.3 will pick up the new snapshot which includes this fix.
Comment 9 Alex D-Bug 2019-01-09 20:21:52 UTC
(In reply to Aki Taniguchi from comment #7)
> Upstream's patch
> https://github.com/renpy/pygame_sdl2/commit/
> ced6051f4a4559a725804cc58c079e1efea0a573

(In reply to A Schenck from comment #8)
> Alternately, copying the ebuild to version 6.99.14.3 will pick up the new
> snapshot which includes this fix.

Can confirm, both current ebuild+given patch and bumped ebuild builds fine, thanks!
Comment 10 Larry the Git Cow gentoo-dev 2019-01-10 14:50:58 UTC
The bug has been closed via the following commit(s):

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

commit ce9cbff3c8210a0b96dc0b1317e747b6f136914e
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2019-01-10 14:49:44 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2019-01-10 14:50:21 +0000

    dev-python/pygame_sdl2: fix bug 635442
    
    Add support for the latest sdl2-mixer API.
    
    Closes: https://bugs.gentoo.org/635442
    Package-Manager: Portage-2.3.54, Repoman-2.3.12
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 .../files/pygame_sdl2-6.99.12.4-mixer.patch        | 43 +++++++++++++++++++++
 .../pygame_sdl2/pygame_sdl2-6.99.12.4-r1.ebuild    | 44 ++++++++++++++++++++++
 2 files changed, 87 insertions(+)