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

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

    <bug>
          <bug_id>41254</bug_id>
          
          <creation_ts>2021-10-31 18:29:05 +0300</creation_ts>
          <short_desc>Не запускаются 32-битные приложения</short_desc>
          <delta_ts>2022-04-02 17:58:16 +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>wine</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=42318</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="Aleksey Borisenkov">grizlik78</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>antohami</cc>
    
    <cc>lav</cc>
    
    <cc>slava</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>204281</commentid>
    <comment_count>0</comment_count>
    <who name="Aleksey Borisenkov">grizlik78</who>
    <bug_when>2021-10-31 18:29:05 +0300</bug_when>
    <thetext>$ rpm -qa | grep wine | sort
i586-wine-staging-6.17.1-alt3.i586
i586-wine-staging-gl-6.17.1-alt3.i586
libkwineffects13-5.22.5-alt2.x86_64
wine-gecko-2.47.2-alt1.noarch
wine-mono-6.3.0-alt1.noarch
wine-staging-6.17.1-alt3.x86_64
wine-staging-common-6.17.1-alt3.noarch
wine-staging-full-6.17.1-alt3.x86_64
wine-staging-gl-6.17.1-alt3.x86_64
wine-staging-programs-6.17.1-alt3.x86_64
winetricks-20210825.2-alt1.noarch

$ wine ~/.wine/drive_c/windows/command/start.exe
it looks like i586-wine is missing, you should install it.
as root, please execute &quot;apt-get install i586-wine&quot;
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.17 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
003c:fixme:service:scmdatabase_autostart_services Auto-start service L&quot;Bonjour Service&quot; failed to start: 2
/usr/bin/wine: failed to read ELF header
Приложение не может быть запущено или нет ассоциированных с типом данного документа приложений.
Вызов ShellExecuteEx провалился: Внутренняя ошибка.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>204282</commentid>
    <comment_count>1</comment_count>
    <who name="Aleksey Borisenkov">grizlik78</who>
    <bug_when>2021-10-31 18:29:27 +0300</bug_when>
    <thetext>Раньше я добивался работы биарч-вайна путём переупаковки i586-wine. При этом делалось 2 вещи:
удалялся /usr/bin/wineserver
удалялся конфликт с wine
После этого пакет ставился и всё работало.
Теперь же всё ставится вместе нормально без перепаковок, но 32-битные приложения не работают.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205066</commentid>
    <comment_count>2</comment_count>
    <who name="Vyacheslav Dikonov">slava</who>
    <bug_when>2021-11-19 11:31:29 +0300</bug_when>
    <thetext>Тоже столкнулся с этим 

при установленных пакетах wine i586-wine wine-gl

$ wine
it looks like wine is missing, you should install it.
as root, please execute &quot;apt-get install wine&quot;
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit

$ win[TAB]
wine            winecfg         wine-preloader  winicontoppm
wine64          wineconsole     wineserver      
wineapploader   winedbg         winetricks      
wineboot        winepath        winicontopam 


Попытка запуска .exe

$ wine winecfg
it looks like wine is missing, you should install it.
as root, please execute &quot;apt-get install wine&quot;
wine: &apos;/home/slava/.wine&apos; is a 32-bit installation, it cannot support 64-bit applications.

64-битный windows мне не нужен! Установлен i586-wine 32bit. Зачем система тянет лишний wine64?

Пока откатился на i586-wine-5.9.1-alt1.i586 и все работает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206044</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2021-12-14 02:00:09 +0300</bug_when>
    <thetext>Видимо я плохо подумал, когда удалял /usr/lib/wine из специальной обработки arepo. Вернул обратно:
291873 EPERM #4 sisyphus rpmrebuild-arepo.git=3.1.13-alt1
жду пропуск и wine должен восстановиться.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207138</commentid>
    <comment_count>4</comment_count>
    <who name="Vyacheslav Dikonov">slava</who>
    <bug_when>2022-01-25 20:32:42 +0300</bug_when>
    <thetext>С текущим обновлением проблема остается!

$ rpm -qa | grep wine | sort
i586-wine-6.22.1-alt1.i586
i586-wine-gl-6.22.1-alt1.i586
wine-6.22.1-alt1.x86_64
wine-common-6.22.1-alt1.noarch
wineexec-1.2-alt1.noarch
wine-gecko-2.47.2-alt1.noarch
wine-gl-6.22.1-alt1.x86_64
wine-mono-7.0.0-alt1.noarch
winetricks-20210825.2-alt1.noarch


$ wine .cmd
it looks like wine is missing, you should install it.
as root, please execute &quot;apt-get install wine&quot;
wine: &apos;/home/slava/.wine&apos; is a 32-bit installation, it cannot support 64-bit applications.

Почему оно талдычит про 64-бита при запуске win32 приложения в 32-битном префиксе?

$ sudo rpm -e wine
ошибка: Неудовлетворенные зависимости:
	wine = 1:6.22.1-alt1:sisyphus+290338.220.5.1 нужен для (установлен) wine-gl-1:6.22.1-alt1.x86_64
	wine = 1:6.22.1-alt1:sisyphus+290338.220.5.1 нужен для (установлен) i586-wine-1:6.22.1-alt1.i586

И удалить wine64 опять нельзя.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207139</commentid>
    <comment_count>5</comment_count>
    <who name="Vyacheslav Dikonov">slava</who>
    <bug_when>2022-01-25 20:34:20 +0300</bug_when>
    <thetext>Естественно, вместо cmd можно подставить любое win32 приложение.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208266</commentid>
    <comment_count>6</comment_count>
    <who name="Vyacheslav Dikonov">slava</who>
    <bug_when>2022-03-03 22:14:26 +0300</bug_when>
    <thetext>Да сделайте уже что-нибудь со сломанным wine!!!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209078</commentid>
    <comment_count>7</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2022-04-01 19:46:27 +0300</bug_when>
    <thetext>В Сизиф пришёл wine 6.23.1-alt2, который собран исправленным rpmrebuild-arepo
и включает в себя все необходимые пакеты.
Устанавливать лучше командой
# epm prescription wine
он поставит правильный набор пакетов для поддержки 32/64 бита.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>209089</commentid>
    <comment_count>8</comment_count>
    <who name="Aleksey Borisenkov">grizlik78</who>
    <bug_when>2022-04-02 17:58:16 +0300</bug_when>
    <thetext>У меня, кажется, всё работает. Спасибо.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>