From: Aleksei Nikiforov <darktemplar@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] wine and arepo in prog mode
Date: Fri, 11 Sep 2020 12:19:12 +0300
Message-ID: <0eb29e0e-83c5-f956-c4d6-927164cdbcca@altlinux.org> (raw)
In-Reply-To: <20200911082607.5948e1a1@tower>
11.09.2020 11:26, Anton V. Boyarshinov пишет:
> В Fri, 11 Sep 2020 11:13:54 +0300
> "Dmitry V. Levin" <ldv@altlinux.org> пишет:
>
>> Насколько я понимаю, wine и i586-wine до сих пор продолжают конфликтовать
>> по файлам (ср. напр. /usr/bin/wineserver), поэтому убирать тэг Conflicts
>> пока ещё рано.
>
> Я ничего об этом не знаю, но, меня терзает сомнение: если на 64-битных
> машинах будет 2 разных wineserver -- будет ли корректно работать
> wine-64? Ему же не просто так нужен wine-32...
Я этот момент перепроверю в плане того, как именно это делается. Одно
могу сказать точно: wine 32битный и 64битный уживаются на одной системе
точно.
Если не ошибаюсь, то одного wineserver, общего для двух архитектур,
должно хватать.
Вот результат перепроверки:
# apt-get install i586-wine i586-libwine-gl
# apt-get install wine libwine-gl
тут удаляется i586-wine, но все его зависимости остаются в системе.
# apt-get install winetricks
$ winetricks -q vcrun2015
------------------------------------------------------
WINE is wine, which is neither on the path nor an executable file
------------------------------------------------------
$ WINE=wine64 winetricks -q vcrun2015
Executing mkdir -p /home/test
...
Executing cd /home/test/.cache/winetricks/vcrun2015
Executing wine64 vc_redist.x86.exe
002c:fixme:winediag:__wine_start_process Wine Staging 5.16 is a testing
version containing experimental patches.
002c:fixme:winediag:__wine_start_process Please mention your exact
version when filing bug reports on winehq.org.
0024:err:module:process_init L"Y:\\vcrun2015\\vc_redist.x86.exe" not
supported on this system
------------------------------------------------------
Важно: команда wine64 vc_redist.x86.exe вернула статус 123. Прерывание.
------------------------------------------------------
Сейчас wine 64битный не в состоянии запустить 32битное приложение
vc_redist.x86.exe.
Теперь для теста поставим обе версии wine, поставив wine поверх
i586-wine (и для теста перетерев все общие файлы).
# apt-get install i586-wine
тут удаляется wine, но все его зависимости остаются в системе.
$ file /usr/bin/wineserver
/usr/bin/wineserver: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 3.2.0, stripped
# rpm -i --nodeps --replacefiles
/mnt/repo/Sisyphus/x86_64/RPMS.classic/wine-5.16.1-alt3.x86_64.rpm
Устанавливаю wine перетирая все конфликтующие файлы из i586-wine.
$ file /usr/bin/wineserver
/usr/bin/wineserver: ELF 64-bit LSB executable, x86-64, version 1
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 3.2.0, stripped
Удаляю старый префикс wine. Можно было бы и другой взять, но для тестов
это не нужно.
$ rm -rf ~/.wine
$ winetricks -q vcrun2015
Executing mkdir -p /home/test
...
успешно завершается
$ winecfg
На вкладке "Библиотеки" можно наблюдать кучу установленных библиотек из
vcrun2015, которых там не было до выполнения "winetricks -q vcrun2015".
Можно удалить префикс ~/.wine (или указать другой через переменную
окружения WINEPREFIX) и убедиться.
Это говорит о том, что 32-битное приложение (инсталлятор vcrun2015 в
данном случае) на установленном таким образом wine работает нормально.
Теперь нужно 64битное приложение ещё. Качаю с сайта blender
https://www.blender.org/download/ portable версию для windows 64bit.
$ unzip blender-2.90.0-windows64.zip
$ cd blender-2.90.0-windows64
$ file blender.exe
blender.exe: PE32+ executable for MS Windows (console) Mono/.Net assembly
У blender файл - похоже 64битный, а вот у установщиков vcrun2015 - 32битные:
$ file ~/.cache/winetricks/vcrun2015/vc_redist.x86.exe
/home/test/.cache/winetricks/vcrun2015/vc_redist.x86.exe: PE32
executable for MS Windows (GUI) Intel 80386 32-bit
$ file ~/.cache/winetricks/vcrun2015/vc_redist.x64.exe
/home/test/.cache/winetricks/vcrun2015/vc_redist.x64.exe: PE32
executable for MS Windows (GUI) Intel 80386 32-bit
$ wine blender.exe
Запустилось, работает. Сохранил информацию о системе. Из файла:
=====================================
= Blender 2.90.0 System Information =
=====================================
Blender:
=====================================
version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash:
0330d1af29c0, type: Release
build date: 2020-08-31, 10:00:13
platform: Windows
binary path: 'Z:\\home\\test\\blender-2.90.0-windows64\\blender.exe'
build cflags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065
/wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996
/wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /nologo
/J /Gd /MP /bigobj -openmp
build cxxflags: /W3 /w34062 /w34115 /w34189 /wd4018 /wd4146 /wd4065
/wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996
/wd4661 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /GR /EHsc
/nologo /J /Gd /MP /EHsc /bigobj /permissive- /Zc:twoPhase- -openmp
/std:c++17
build linkflags: /MACHINE:X64 /SUBSYSTEM:CONSOLE /STACK:2097152
/ignore:4049 /ignore:4217 /ignore:4221
build system: CMake
Python:
=====================================
version: 3.7.7 (default, Jun 13 2020, 11:11:23) [MSC v.1916 64 bit (AMD64)]
Стоит обратить внимание на "[MSC v.1916 64 bit (AMD64)]" из версии
питона и "/MACHINE:X64" из build linkflags у blender.
Для других 64битных и 32битных приложений всё тоже должно работать в
соответствии с https://appdb.winehq.org.
Также можно взять blender не portable, а установщик, и запустить его:
$ wine msiexec /i blender-2.90.0-windows64.msi
next prev parent reply other threads:[~2020-09-11 9:19 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-10 16:16 [devel] RFC: Merge noarch repo with arch repos Vladimir D. Seleznev
2020-09-10 16:22 ` Anton Farygin
2020-09-10 16:46 ` Vladimir D. Seleznev
2020-09-10 17:22 ` Anton Farygin
2020-09-10 19:37 ` Igor Vlasenko
2020-09-10 19:38 ` Igor Vlasenko
2020-09-10 20:05 ` Michael Shigorin
2020-09-10 20:45 ` Igor Vlasenko
2020-09-10 21:23 ` Paul Wolneykien
2020-09-10 21:47 ` Igor Vlasenko
2020-09-10 21:54 ` Vladimir D. Seleznev
2020-09-12 11:33 ` Vitaly Lipatov
2020-09-12 15:18 ` [devel] RFC: Merge noarch repo with arch repos (autoremove) Anton Farygin
2020-09-11 7:26 ` [devel] RFC: Merge noarch repo with arch repos Anton Farygin
2020-09-11 8:12 ` Sergey V Turchin
2020-09-11 8:14 ` Sergey V Turchin
2020-09-11 8:20 ` Anton Farygin
2020-09-11 7:27 ` Aleksei Nikiforov
2020-09-11 8:35 ` Igor Vlasenko
2020-09-11 4:32 ` Alexey V. Vissarionov
2020-09-10 19:32 ` Igor Vlasenko
2020-09-11 7:27 ` Anton Farygin
2020-09-11 6:06 ` Dmitry V. Levin
2020-09-11 7:44 ` [devel] Изменения сборочницы Aleksei Nikiforov
2020-09-11 8:13 ` [devel] wine and arepo in prog mode Dmitry V. Levin
2020-09-11 8:23 ` Aleksei Nikiforov
2020-09-11 9:16 ` Vitaly Lipatov
2020-09-11 10:13 ` Dmitry V. Levin
2020-09-11 11:47 ` Aleksei Nikiforov
2020-09-11 12:01 ` Vitaly Lipatov
2020-09-11 12:36 ` Michael Shigorin
2020-09-11 14:25 ` Vitaly Lipatov
2020-09-13 8:37 ` Vitaly Lipatov
2021-09-17 19:50 ` Vitaly Lipatov
2020-09-11 8:26 ` Anton V. Boyarshinov
2020-09-11 9:18 ` Vitaly Lipatov
2020-09-11 9:19 ` Aleksei Nikiforov [this message]
2020-09-11 14:03 ` Konstantin Lepikhov
2020-09-12 23:33 ` [devel] RFC: Merge noarch repo with arch repos Vladimir D. Seleznev
2020-09-12 22:33 ` Leonid Krivoshein
2020-09-13 13:41 ` Igor Vlasenko
2020-09-13 14:41 ` Andrey Savchenko
2020-09-13 14:55 ` [devel] partial noarch Dmitry V. Levin
2020-09-13 19:50 ` Andrey Savchenko
2020-09-14 2:15 ` Leonid Krivoshein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0eb29e0e-83c5-f956-c4d6-927164cdbcca@altlinux.org \
--to=darktemplar@altlinux.org \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git