Description of problem: Pygame 1.9.X versions have midi support, but it's not available in fedora12 due to lack of build-dependency for portmidi, and thus midi support isn't built. Version-Release number of selected component (if applicable): pygame-1.9.1-1.fc12.i686 How reproducible: Always Steps to Reproduce: 1. python -m pygame.examples.midi --list 2. 3. Actual results: No midi functionality Expected results: python -m pygame.examples.midi --list to return a list of midi interfaces currently available. Additional info: Python error shown: ImportError: No module named pypm Arch bug for it: http://bugs.archlinux.org/task/15847
From pygame-1.9.1release rpmbuild -bb pygame.spec ..... WARNING: "smpeg-config" failed! SDL : found 1.2.13 FONT : found IMAGE : found MIXER : found SMPEG : not found PNG : found JPEG : found SCRAP : found PORTMIDI: not found PORTTIME: not found ....
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
pygame-1.9.1-3.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/pygame-1.9.1-3.fc14
pygame-1.9.1-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
It looks like the problem has come back: Version-Release number of selected component (if applicable): pygame-1.9.1-19.fc23.20150926.x86_64 How reproducible: Always Steps to Reproduce: 1. python -m pygame.examples.midi --list 2. 3. Actual results: Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/lib64/python2.7/site-packages/pygame/examples/midi.py", line 820, in <module> print_device_info() File "/usr/lib64/python2.7/site-packages/pygame/examples/midi.py", line 25, in print_device_info pygame.midi.init() File "/usr/lib64/python2.7/site-packages/pygame/midi.py", line 71, in init import pygame.pypm ImportError: No module named pypm Expected results: python -m pygame.examples.midi --list to return a list of midi interfaces currently available.
It does appear that this bug needs to be reopened (possibly as a new page): I can verify it on Fedora 25, with both python2.7 and python3.5.
Confirming Valentins comment, reopening. If maintainer wants new bug he can close and let us know. Version: pygame-1.9.1-22.fc25.20150926.x86_64 python-portmidi-217-15.fc25.x86_64 >>> midi <module 'pygame.midi' from '/usr/lib64/python2.7/site-packages/pygame/midi.pyc'> >>> dir(midi) ['Input', 'MIDIIN', 'MIDIOUT', 'MidiException', 'Output', '__all__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '__theclasses__', '_check_init', '_init', '_pypm', 'atexit', 'get_count', 'get_default_input_id', 'get_default_output_id', 'get_device_info', 'init', 'midis2events', 'pygame', 'quit', 'time'] >>> midi.init() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/pygame/midi.py", line 71, in init import pygame.pypm ImportError: No module named pypm >>> As you can see the packages are installed. I have rebuilt the packages the spec file finds the portmidi devel that is installed, it however does -not- package up the pypm shared libs, importables. It looks as though from the setup file: pypm src/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG) pypm requires PORTTIME which is not found at compile time. [wmealing@linux pygame-20150926]$ ./configure ./configure Using UNIX configuration... Hunting dependencies... sh: smpeg-config: command not found sh: smpeg-config: command not found sh: smpeg-config: command not found WARNING: "smpeg-config" failed! SDL : found 1.2.15 FONT : found IMAGE : found MIXER : found SMPEG : not found PNG : found JPEG : found SCRAP : found PORTMIDI: found PORTTIME: not found AVFORMAT: not found SWSCALE : not found FREETYPE: found 2.6.5 The spec file eludes to porttime being part of libportmidi, I have the devel packages installed, its still not working. In the current configuation I think the build configuration is not including the modules because it believes porttime is not found. I leave this now up to the package maintainer to determine what the next steps are. Thanks !
pygame-1.9.3-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0b76ab3fe5
pygame-1.9.3-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6d8dac0fcb
pygame-1.9.3-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a91941fa47
pygame-1.9.3-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0b76ab3fe5
pygame-1.9.3-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6d8dac0fcb
pygame-1.9.3-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-a91941fa47
pygame-1.9.3-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
pygame-1.9.3-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
pygame-1.9.3-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.