Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: hangover-wine 9.20.1: wine-mono installation failed #1309

Open
hansm629 opened this issue Nov 10, 2024 · 5 comments
Open

[Bug]: hangover-wine 9.20.1: wine-mono installation failed #1309

hansm629 opened this issue Nov 10, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@hansm629
Copy link

hansm629 commented Nov 10, 2024

Problem description

Screenshot_2024-11-11_00-03-10

In the new hangover-wine 9.20.1, I successfully installed Notepad++ 32-bit,
but the wine-mono installation keeps failing.

Is there something I might be missing?
@licy183 @IntinteDAO

What steps will reproduce the bug?

~$ wineboot
00e0:err:nsi:poll_netlink bind failed, errno 13.
0054:err:dnsapi:DllMain No libresolv support, expect problems
~$ wineboot -u
00e4:err:nsi:poll_netlink bind failed, errno 13.
0054:err:dnsapi:DllMain No libresolv support, expect problems
0130:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
0150:err:environ:init_peb starting L"C:\\windows\\syswow64\\rundll32.exe" in experimental wow64 mode
starting Box64 based box64cpu.dll
0158:err:environ:init_peb starting L"C:\\windows\\syswow64\\iexplore.exe" in experimental wow64 mode
starting Box64 based box64cpu.dll
~$ wine msiexec /i '/data/data/com.termux/files/home/Downloads/wine-mono-9.3.0-x86.msi' 
00e4:err:nsi:poll_netlink bind failed, errno 13.
0054:err:dnsapi:DllMain No libresolv support, expect problems
011c:fixme:file:NtLockFile I/O completion on lock not implemented yet
011c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0124:fixme:file:NtLockFile I/O completion on lock not implemented yet
0124:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
012c:err:environ:init_peb starting L"C:\\windows\\mono\\mono-2.0\\support\\removeuserinstalls-x86.exe" in experimental wow64 mode
012c:err:module:alloc_module rtl_rb_tree_put failed.
012c:err:module:alloc_module rtl_rb_tree_put failed.
starting Box64 based box64cpu.dll
0134:err:environ:init_peb starting L"C:\\windows\\mono\\mono-2.0\\support\\installinf-x86.exe" in experimental wow64 mode
0134:err:module:alloc_module rtl_rb_tree_put failed.
0134:err:module:alloc_module rtl_rb_tree_put failed.
starting Box64 based box64cpu.dll
0124:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0124:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
011c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
011c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)

What is the expected behavior?

No response

System information

termux-info:

Termux Variables:
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP__AM_SOCKET_SERVER_ENABLED=true
TERMUX_APP__APK_PATH=/data/app/~~p1oPAinlL1zHyWTG6-mJQg==/com.termux-Ab-kRe0QmvX1uRj2OJV7Gw==/base.apk
TERMUX_APP__APK_RELEASE=GITHUB
TERMUX_APP__FILES_DIR=/data/user/0/com.termux/files
TERMUX_APP__IS_DEBUGGABLE_BUILD=true
TERMUX_APP__IS_INSTALLED_ON_EXTERNAL_STORAGE=false
TERMUX_APP__PACKAGE_MANAGER=apt
TERMUX_APP__PACKAGE_NAME=com.termux
TERMUX_APP__PACKAGE_VARIANT=apt-android-7
TERMUX_APP__PID=12594
TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c127,c257,c512,c768
TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete
TERMUX_APP__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c127,c257,c512,c768
TERMUX_APP__TARGET_SDK=28
TERMUX_APP__UID=10383
TERMUX_APP__USER_ID=0
TERMUX_APP__VERSION_CODE=118
TERMUX_APP__VERSION_NAME=0.118.0+e59e5c1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0+e59e5c1
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages.termux.dev/apt/termux-main stable main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous tur-multilib
# x11-repo (sources.list.d/x11.list)
deb https://packages.termux.dev/apt/termux-x11 x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.44.3
Android version:
14
Kernel build information:
Linux localhost 6.1.75-android14-11 #1 SMP PREEMPT Wed Oct  2 04:19:04 UTC 2024 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-S926N
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.widget versionCode:13
com.termux.x11 versionCode:14
com.termux.api versionCode:51
@hansm629 hansm629 added bug Something isn't working untriaged labels Nov 10, 2024
@licy183 licy183 removed the untriaged label Nov 11, 2024
@IntinteDAO
Copy link
Contributor

Well, I am not an expert. It seems to me that the problem is the experimental implementation of 64-bit.
It seems to me that the bug is not in us, but in Wine.

Initially it looks like Mono is installing however, not all data is saved in the registers? Generally, in Wine Uninstaller, Mono appears to me, however, when I try to run the .Net application, it pops up information that Wine Mono is not installed.

@AndreRH
Do you have any ideas?

@AndreRH
Copy link

AndreRH commented Nov 18, 2024

I'll have a look. Which .net app did you use for testing?

@IntinteDAO
Copy link
Contributor

IntinteDAO commented Nov 19, 2024

I'll have a look. Which .net app did you use for testing?

I write a simple Hello World code

using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
}
}

It works using Wine on Debian (and normal Mono) but not in Hangover

Here you have a source code and compiled version.
test.tar.gz

Wine on Debian:

002c:fixme:winediag:loader_init wine-staging 9.21 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0084:fixme:wineusb:add_usb_device Interface 1 has 6 alternate settings; using the first one.
0144:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
Hello, World!

Hangover Uninstaller list (It looks like Wine Mono is installed, however ...):
{5DACEE33-557D-5050-9177-001BF970BBBA}|||Wine Mono Runtime
{10E3DC99-FA95-5F76-9A98-1BBCBBF59A8D}|||Wine Mono Windows Support

Hangover on Termux (without X11, just using SSH - but should work):
0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0050:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0050:err:systray:initialize_systray Could not create tray window
00e8:err:nsi:poll_netlink bind failed, errno 13.
005c:err:dnsapi:DllMain No libresolv support, expect problems
0024:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed

@AndreRH
Copy link

AndreRH commented Nov 24, 2024

It's complicated. I can make mono be autoinstalled in hangover and better detected, but that won't help with your .net app, which says is "x86". It will be detected as .net only and treated as a aarch64 binary. But it would need to be treated as a arm64ec binary to be able to load a x86_64 mono library.

@IntinteDAO
Copy link
Contributor

I would perhaps stay on topic for the time being and keep an eye on whether Wine Mono for ARM will be developed, since .Net applications are independent of processor architecture.

https://gitlab.winehq.org/wine/wine/-/wikis/ARM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants