Bug 2164901 - Pygame is compilled with incorrect SDL version
Summary: Pygame is compilled with incorrect SDL version
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pygame
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-26 21:59 UTC by Andrej Manduch
Modified: 2023-02-04 01:16 UTC (History)
4 users (show)

Fixed In Version: pygame-2.1.2-7.fc36
Clone Of:
Environment:
Last Closed: 2023-02-04 01:16:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrej Manduch 2023-01-26 21:59:10 UTC
Description of problem:

SDL version against which pygame is compiled doesn't match SDL version of distro.


How reproducible:
Always

Steps to Reproduce:
1. python -c "import pygame; pygame.init()"

Actual results:
crash. with message:
RuntimeError: SDL compiled with version 2.24.0, linked to 2.26.0


Expected results:
pygame.init() would initialize pygame... ?

Additional info:

Python 3.10.9 (main, Dec  7 2022, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
pygame 2.1.2 (SDL 2.26.0, Python 3.10.9)
Hello from the pygame community. https://www.pygame.org/contribute.html
>>> pygame.__version__
'2.1.2'
>>> pygame.init()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: SDL compiled with version 2.24.0, linked to 2.26.0


rpm -qa python3-pygame
python3-pygame-2.1.2-6.fc36.x86_64


$ rpm -qa SDL2
SDL2-2.26.0-1.fc36.x86_64
SDL2-2.26.0-1.fc36.i686


$ cat /etc/fedora-release 
Fedora release 36 (Thirty Six)

Comment 1 Fedora Update System 2023-01-26 22:34:50 UTC
FEDORA-2023-8b0994006c has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8b0994006c

Comment 2 Andrej Manduch 2023-01-26 22:51:25 UTC
I just tested build from
https://bodhi.fedoraproject.org/updates/FEDORA-2023-8b0994006c
https://koji.fedoraproject.org/koji/buildinfo?buildID=2139848

and issue is there no longer present:

$ python -c "import pygame; pygame.init()"
pygame 2.1.2 (SDL 2.26.0, Python 3.10.9)
Hello from the pygame community. https://www.pygame.org/contribute.html
burlak@andrejBackup $

Comment 3 Fedora Update System 2023-01-27 08:48:03 UTC
FEDORA-2023-8b0994006c has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-8b0994006c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8b0994006c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2023-02-04 01:16:36 UTC
FEDORA-2023-8b0994006c has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.