Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636012 - dev-python/Kivy-1.10.0 : kivy/.../audio_sdl2.c:1742:63: error: MIX_INIT_MODPLUG undeclared (first use in this function)
Summary: dev-python/Kivy-1.10.0 : kivy/.../audio_sdl2.c:1742:63: error: MIX_INIT_MODPL...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sławek Lis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 636010
  Show dependency tree
 
Reported: 2017-10-31 11:05 UTC by Toralf Förster
Modified: 2018-01-23 13:29 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.52 KB, text/plain)
2017-10-31 11:05 UTC, Toralf Förster
Details
dev-python:Kivy-1.10.0:20171031-105145.log (dev-python:Kivy-1.10.0:20171031-105145.log,104.86 KB, text/plain)
2017-10-31 11:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,312.14 KB, text/plain)
2017-10-31 11:05 UTC, Toralf Förster
Details
environment (environment,111.79 KB, text/plain)
2017-10-31 11:05 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.53 KB, application/x-bzip)
2017-10-31 11:05 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.60 KB, application/x-bzip)
2017-10-31 11:06 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-31 11:05:43 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -fPIC -Ikivy/include -I/usr/include/SDL2 -I/usr/local/include/SDL2 -I/usr/include/SDL2 -I/usr/include/SDL2 -I/usr/include/python2.7 -c kivy/core/audio/audio_sdl2.c -o /var/tmp/portage/dev-python/Kivy-1.10.0/work/kivy-1.10.0-python2_7/build/temp.linux-x86_64-2.7/kivy/core/audio/audio_sdl2.o
kivy/core/audio/audio_sdl2.c: In function ‘__pyx_f_4kivy_4core_5audio_10audio_sdl2_mix_init’:
kivy/core/audio/audio_sdl2.c:1742:63: error: ‘MIX_INIT_MODPLUG’ undeclared (first use in this function)
   __pyx_v_want_flags = (__pyx_v_want_flags | ((MIX_INIT_MOD | MIX_INIT_MODPLUG) | MIX_INIT_FLUIDSYNTH));
                                                               ^~~~~~~~~~~~~~~~
kivy/core/audio/audio_sdl2.c:1742:63: 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-no-multilib_libressl-test_20171022-133742

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

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)

java-config:
The following VMs are available for generation-2:


emerge -qpv dev-python/Kivy
[ebuild  N    ] dev-python/Kivy-1.10.0  USE="sdl {test} -cairo -camera -doc -examples -garden -gstreamer -spell" PYTHON_TARGETS="python2_7 python3_4 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2017-10-31 11:05:46 UTC
Created attachment 501294 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-10-31 11:05:49 UTC
Created attachment 501296 [details]
dev-python:Kivy-1.10.0:20171031-105145.log
Comment 3 Toralf Förster gentoo-dev 2017-10-31 11:05:52 UTC
Created attachment 501298 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-10-31 11:05:55 UTC
Created attachment 501300 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-10-31 11:05:58 UTC
Created attachment 501302 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-10-31 11:06:01 UTC
Created attachment 501304 [details]
temp.tbz2
Comment 7 Sławek Lis (RETIRED) gentoo-dev 2017-11-15 07:42:09 UTC
Seems that latest sdl-mixer is not supported by kivy yet
https://github.com/kivy/kivy/issues/5457
Comment 8 Andrés Becerra Sandoval 2017-12-07 22:16:02 UTC
The patch for the commit mentioned by  Sławek Lis:

https://github.com/kivy/kivy/commit/3b85f3e1c292b3f6c3f226490f52a2ab78251730.patch

Allows merging Kivy
Comment 9 Sławek Lis (RETIRED) gentoo-dev 2018-01-03 08:40:05 UTC
Patch applied. Should build fine.
Thank you for your support!