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"
Created attachment 500112 [details] emerge-info.txt
Created attachment 500114 [details] dev-python:pygame_sdl2-6.99.12.4:20171025-155843.log
Created attachment 500116 [details] emerge-history.txt
Created attachment 500118 [details] environment
Created attachment 500120 [details] etc.portage.tbz2
Created attachment 500122 [details] temp.tbz2
Upstream's patch https://github.com/renpy/pygame_sdl2/commit/ced6051f4a4559a725804cc58c079e1efea0a573
Alternately, copying the ebuild to version 6.99.14.3 will pick up the new snapshot which includes this fix.
(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!
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(+)