Bug 1177838 - mingw32-wine-gecko library doesn't work without mingw32-winpthreads
Summary: mingw32-wine-gecko library doesn't work without mingw32-winpthreads
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-wine-gecko
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Bierfert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-30 19:19 UTC by Jonas Jonsson
Modified: 2015-01-17 05:51 UTC (History)
4 users (show)

Fixed In Version: mingw-wine-gecko-2.34-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-17 05:51:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 1116777 0 None None None Never

Description Jonas Jonsson 2014-12-30 19:19:59 UTC
Description of problem:
Trying to run winecfg and later on iexplore.exe complains about missing libwinpthread-1.dll which is part of mingw32-winpthreads.

Version-Release number of selected component (if applicable):
$ rpm -qa wine-* mingw*-wine-gecko
wine-ms-sans-serif-fonts-1.7.33-1.fc21.noarch
wine-core-1.7.33-1.fc21.i686
wine-capi-1.7.33-1.fc21.x86_64
wine-wingdings-fonts-1.7.33-1.fc21.noarch
wine-common-1.7.33-1.fc21.noarch
wine-desktop-1.7.33-1.fc21.x86_64
wine-arial-fonts-1.7.33-1.fc21.noarch
wine-openal-1.7.33-1.fc21.x86_64
wine-filesystem-1.7.33-1.fc21.noarch
wine-systemd-1.7.33-1.fc21.noarch
mingw32-wine-gecko-2.34-1.fc21.noarch
wine-system-fonts-1.7.33-1.fc21.noarch
wine-alsa-1.7.33-1.fc21.x86_64
wine-openal-1.7.33-1.fc21.i686
wine-symbol-fonts-1.7.33-1.fc21.noarch
wine-pulseaudio-1.7.33-1.fc21.i686
wine-marlett-fonts-1.7.33-1.fc21.noarch
wine-ldap-1.7.33-1.fc21.x86_64
wine-small-fonts-1.7.33-1.fc21.noarch
wine-wow-1.7.33-1.fc21.x86_64
wine-fixedsys-fonts-1.7.33-1.fc21.noarch
wine-pulseaudio-1.7.33-1.fc21.x86_64
wine-twain-1.7.33-1.fc21.i686
wine-mono-4.5.4-1.fc21.noarch
wine-core-1.7.33-1.fc21.x86_64
wine-capi-1.7.33-1.fc21.i686
wine-cms-1.7.33-1.fc21.i686
wine-twain-1.7.33-1.fc21.x86_64
wine-courier-fonts-1.7.33-1.fc21.noarch
mingw64-wine-gecko-2.34-1.fc21.noarch
wine-tahoma-fonts-1.7.33-1.fc21.noarch
wine-fonts-1.7.33-1.fc21.noarch
wine-ldap-1.7.33-1.fc21.i686
wine-cms-1.7.33-1.fc21.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. sudo yum install wine
2. rm -rf .wine
3. winecfg
4. wine "./.wine/drive_c/windows/system32/iexplore.exe"

Actual results:
Non working iexplore.exe and other applications using gecko.

$ wine "./.wine/drive_c/windows/system32/iexplore.exe"
fixme:winediag:start_process Wine Staging is a testing version containing experimental patches.
fixme:winediag:start_process Please report bugs at http://bugs.wine-staging.com (instead of winehq.org).
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:ole:CoResumeClassObjects stub
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
fixme:secur32:schannel_get_cipher_algid unknown algorithm 93
fixme:secur32:schannel_get_mac_algid unknown algorithm 200
fixme:secur32:schannel_get_kx_algid unknown algorithm 12
fixme:secur32:schannel_get_cipher_block_size Unknown cipher 0x5d, returning 1
fixme:secur32:schannel_get_cipher_algid unknown algorithm 93
fixme:secur32:schannel_get_mac_algid unknown algorithm 200
fixme:secur32:schannel_get_kx_algid unknown algorithm 12
fixme:wininet:create_cache_entry INTERNET_FLAG_NEED_FILE is not supported correctly
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozglue.dll") not found
err:module:import_dll Library mozglue.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\xul.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozglue.dll") not found
err:module:import_dll Library mozglue.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozjs.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozjs.dll") not found
err:module:import_dll Library mozjs.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\xul.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozglue.dll") not found
err:module:import_dll Library mozglue.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\gkmedias.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozalloc.dll") not found
err:module:import_dll Library mozalloc.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\gkmedias.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\gkmedias.dll") not found
err:module:import_dll Library gkmedias.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\xul.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozalloc.dll") not found
err:module:import_dll Library mozalloc.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\xul.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\xul.dll") not found
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozglue.dll") not found
err:module:import_dll Library mozglue.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\xul.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozglue.dll") not found
err:module:import_dll Library mozglue.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozjs.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozjs.dll") not found
err:module:import_dll Library mozjs.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\xul.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozglue.dll") not found
err:module:import_dll Library mozglue.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\gkmedias.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozalloc.dll") not found
err:module:import_dll Library mozalloc.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\gkmedias.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\gkmedias.dll") not found
err:module:import_dll Library gkmedias.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\xul.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\mozalloc.dll") not found
err:module:import_dll Library mozalloc.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\xul.dll") not found
err:module:import_dll Library libwinpthread-1.dll (which is needed by L"C:\\windows\\syswow64\\gecko\\2.34\\wine_gecko\\xul.dll") not found
Could not load wine-gecko. HTML rendering will be disabled.
err:mshtml:HTMLDocument_Create Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
fixme:ole:CoCreateInstance no instance created for interface {00000000-0000-0000-c000-000000000046} of class {25336920-03f9-11cf-8fd0-00aa00686f13}, hres is 0x80040111
fixme:ieframe:handle_navigation_error Navigate to error page

Expected results:
Working iexplore.exe

Additional info:
This is possible to workaround with 
 cp /usr/i686-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll ./.wine/drive_c/windows/syswow64/gecko/2.34/wine_gecko/

Comment 1 Erik van Pienbroek 2014-12-31 10:02:57 UTC
@Andreas: Yesterday evening Michael Cronenworth and I had a brief discussion about this. This is expected behaviour on Fedora 21+ and is caused by mingw-gcc which needs winpthreads for c++11 std::thread support. For wine-gecko I can understand that such an additional runtime dependency is unexpected. One possible solution to this would be to make wine-gecko link statically against winpthreads instead of a shared winpthreads library. We were about to continue the discussion with Jacek Caban, one of the wine-gecko developers, but he wasn't online at that time.

Comment 2 Fedora Update System 2015-01-07 13:09:18 UTC
mingw-wine-gecko-2.34-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/mingw-wine-gecko-2.34-2.fc21

Comment 3 Fedora Update System 2015-01-07 23:56:25 UTC
Package mingw-wine-gecko-2.34-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mingw-wine-gecko-2.34-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-0378/mingw-wine-gecko-2.34-2.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-01-17 05:51:14 UTC
mingw-wine-gecko-2.34-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.