Bug 2164901

Summary: Pygame is compilled with incorrect SDL version
Product: [Fedora] Fedora Reporter: Andrej Manduch <amanduch>
Component: pygameAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: amanduch, gwync, jkaluza, jskarvad
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pygame-2.1.2-7.fc36 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-04 01:16:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.