[Bug 271857] devel/py-game: rwobject.cpython-39.so: Undefined symbol "lseek64"

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 06 Jun 2023 01:50:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271857

            Bug ID: 271857
           Summary: devel/py-game: rwobject.cpython-39.so: Undefined
                    symbol "lseek64"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: wen@FreeBSD.org
          Reporter: saper@saper.info
          Assignee: wen@FreeBSD.org
             Flags: maintainer-feedback?(wen@FreeBSD.org)
 Attachment #242629 text/plain
         mime type:

Created attachment 242629
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242629&action=edit
patch:  Use lseek64 for GNU libc only

This is FreeBSD 14 running mostly python3.9, py-game 2.4.0:

Tried to run some simple game https://github.com/lukasz1985/SREM and it failed
to start:

> python3.9 main.py                                                       
Traceback (most recent call last):
  File "/big/sw/SREM/main.py", line 1, in <module>
    import pygame
  File "/usr/local/lib/python3.9/site-packages/pygame/__init__.py", line 96, in
<module>
    from pygame.rwobject import encode_string, encode_file_path
ImportError:
/usr/local/lib/python3.9/site-packages/pygame/rwobject.cpython-39.so: Undefined
symbol "lseek64"

The patch attached should fix this.

Reported upstream: https://github.com/pygame/pygame/pull/3898

-- 
You are receiving this mail because:
You are the assignee for the bug.