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

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

    <bug>
          <bug_id>59750</bug_id>
          
          <creation_ts>2026-07-07 12:35:19 +0300</creation_ts>
          <short_desc>«Libraries for platform gtk cannot be loaded because of incompatible environment» при запуске SWT-приложения</short_desc>
          <delta_ts>2026-07-07 18:44:02 +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>eclipse-swt</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Цой Павел Денисович">tsojpd</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>faux</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>290803</commentid>
    <comment_count>0</comment_count>
    <who name="Цой Павел Денисович">tsojpd</who>
    <bug_when>2026-07-07 12:35:19 +0300</bug_when>
    <thetext>Пакет:
eclipse-swt-4.38-alt1.x86_64

Стенды:
Workstation 11.1 
Workstation K 11.4
Education KDE 11.1
Education XFCE 11.1

Шаги воспроизведения:
1. Создать файл HelloSWT.java
$ cat &gt; HelloSWT.java &lt;&lt; &apos;EOF&apos;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.SWT;

public class HelloSWT {
    public static void main(String[] args) {
        Display display = new Display();
        Shell shell = new Shell(display);
        shell.setText(&quot;Тест SWT + Java 25&quot;);
        shell.setSize(300, 150);
        shell.setLayout(new FillLayout());
        
        Label label = new Label(shell, SWT.CENTER);
        label.setText(&quot;Запустилось успешно!&quot;);
        
        shell.open();
        while (!shell.isDisposed()) {
            if (!display.readAndDispatch()) {
                display.sleep();
            }
        }
        display.dispose();
    }
}
EOF
2. $ java -cp /usr/share/java/swt.jar HelloSWT.java

Ожидаемый результат: Успешный запуск окна с отображением текстового сообщения

Реальный результат: Окно не запускается с ошибкой &quot;Libraries for platform gtk cannot be loaded because of incompatible environment&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>290832</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-07-07 18:44:02 +0300</bug_when>
    <thetext>eclipse-swt-1:4.38-alt2 -&gt; sisyphus:

Tue Jul 07 2026 Arseniy Kostevich &lt;faux@altlinux&gt; 1:4.38-alt2
- Package manifest, resources and native libraries in swt.jar (Closes: #59750).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>