<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>56025</bug_id>
          
          <creation_ts>2025-09-17 13:59:52 +0300</creation_ts>
          <short_desc>Некоторые примеры не работают: ImportError: Library &quot;GLU&quot; not found</short_desc>
          <delta_ts>2025-09-17 14:00:04 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python3-module-pyglet</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=56026</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="Fr. Br. George">george</assigned_to>
          <cc>grenka</cc>
    
    <cc>placeholder</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>272629</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-09-17 13:59:52 +0300</bug_when>
    <thetext>Шаги
====

1. # apt-get install -y python3-module-pyglet

2. Склонировать https://git.altlinux.org/gears/p/python3-module-pyglet.git и перейти к ветке, соответствующей проверяемому репозиторию.

3. $ python3 ~/pyglet/examples/text/html_label.py
4. $ python3 ~/pyglet/examples/astraea/astraea.py

Фактический результат
=====================

3. $ python3 ~/pyglet/examples/text/html_label.py

&gt; Traceback (most recent call last):
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/__init__.py&quot;, line 305, in __getattr__
&gt;     return getattr(self._module, name)
&gt;            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
&gt; AttributeError: &apos;NoneType&apos; object has no attribute &apos;Window&apos;
&gt;
&gt; During handling of the above exception, another exception occurred:
&gt;
&gt; Traceback (most recent call last):
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/__init__.py&quot;, line 305, in __getattr__
&gt;     return getattr(self._module, name)
&gt;            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
&gt; AttributeError: &apos;NoneType&apos; object has no attribute &apos;_create_shadow_window&apos;
&gt;
&gt; During handling of the above exception, another exception occurred:
&gt;
&gt; Traceback (most recent call last):
&gt;   File &quot;/home/test/pyglet/examples/text/html_label.py&quot;, line 58, in &lt;module&gt;
&gt;     window = pyglet.window.Window(resizable=True)
&gt;              ^^^^^^^^^^^^^^^^^^^^
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/__init__.py&quot;, line 311, in __getattr__
&gt;     __import__(import_name)
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/window/__init__.py&quot;, line 1919, in &lt;module&gt;
&gt;     gl._create_shadow_window()
&gt;     ^^^^^^^^^^^^^^^^^^^^^^^^
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/__init__.py&quot;, line 311, in __getattr__
&gt;     __import__(import_name)
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/gl/__init__.py&quot;, line 95, in &lt;module&gt;
&gt;     from pyglet.gl.gl import *
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/gl/gl.py&quot;, line 45, in &lt;module&gt;
&gt;     from pyglet.gl.lib import link_GL as _link_function
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/gl/lib.py&quot;, line 149, in &lt;module&gt;
&gt;     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/gl/lib_glx.py&quot;, line 46, in &lt;module&gt;
&gt;     glu_lib = pyglet.lib.load_library(&apos;GLU&apos;)
&gt;               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/lib.py&quot;, line 169, in load_library
&gt;     raise ImportError(&apos;Library &quot;%s&quot; not found.&apos; % names[0])
&gt; ImportError: Library &quot;GLU&quot; not found.


4. $ python3 ~/pyglet/examples/astraea/astraea.py

&gt; Traceback (most recent call last):
&gt;   File &quot;/home/test/pyglet/examples/astraea/astraea.py&quot;, line 49, in &lt;module&gt;
&gt;     from pyglet.gl import *
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/gl/__init__.py&quot;, line 95, in &lt;module&gt;
&gt;     from pyglet.gl.gl import *
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/gl/gl.py&quot;, line 45, in &lt;module&gt;
&gt;     from pyglet.gl.lib import link_GL as _link_function
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/gl/lib.py&quot;, line 149, in &lt;module&gt;
&gt;     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/gl/lib_glx.py&quot;, line 46, in &lt;module&gt;
&gt;     glu_lib = pyglet.lib.load_library(&apos;GLU&apos;)
&gt;               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
&gt;   File &quot;/usr/lib/python3/site-packages/pyglet/lib.py&quot;, line 169, in load_library
&gt;     raise ImportError(&apos;Library &quot;%s&quot; not found.&apos; % names[0])
&gt; ImportError: Library &quot;GLU&quot; not found.


Ожидаемый результат
===================

Успешные запуск и работа примеров.


Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[sisyphus] ALT Workstation 11.1 x86_64
python3-module-pyglet-1.5.30-alt1.noarch</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>