Hide Forgot
Created attachment 494008 [details] Mingw packages installed that would be used to build midori Description of problem: Cannot run programs cross compiled with Fedora 15 mingw32 packages. I've tried to cross-compile Midori (http://git.xfce.org/apps/midori/) Actual build process goes without problems but resulting program cannot initialize libraries when running under wine. Version-Release number of selected component (if applicable): mingw32-libsoup-2.32.0-2.fc15 How reproducible: always Steps to Reproduce: 1. Cross-compile midori using mingw packages using following command CC=i686-pc-mingw32-gcc ./configure --prefix=/usr/i686-pc-mingw32/sys-root/mingw/ --enable-addons 2. run resulting binary in wine Actual results: Program does not start. Message is displayed stating that libsoup-2.4-1.dll" failed to initialize Expected results: successfully launch program Additional info: Error message wine midori.exe err:module:attach_process_dlls "libsoup-2.4-1.dll" failed to initialize, aborting err:module:LdrInitializeThunk Main exe initialization for L"Z:\\usr\\i686-pc-mingw32\\sys-root\\mingw\\bin\\midori.exe" failed, status c0000005 After rebuilding libsoup rpm dll in question changes to "libxslt-1.dll" wine midori.exe err:module:attach_process_dlls "libxslt-1.dll" failed to initialize, aborting err:module:LdrInitializeThunk Main exe initialization for L"Z:\\usr\\i686-pc-mingw32\\sys-root\\mingw\\bin\\midori.exe" failed, status c0000005 I did not check other packages.
Looking at the root.log [1], it would appear that both of these packages were built with: mingw32-binutils-2.20.51.0.10-1.fc15 mingw32-runtime-3.15.2-5.fc13 That version of mingw32-runtime only supported pseudo-reloc v1, whereas the mingw32-binutils build defaulted to pseudo-reloc v2. Packages that are broken in such manner would have to be rebuilt with mingw32-binutils-2.21-1.fc15 [2] which should fix the issue with mismatching pseudo-reloc versions. [1] http://kojipkgs.fedoraproject.org/packages/mingw32-libsoup/2.32.0/2.fc15/data/logs/noarch/root.log [2] https://admin.fedoraproject.org/updates/mingw32-filesystem-65-1.fc15,mingw32-binutils-2.21-1.fc15
In addition to mingw32-libsoup and mingw32-libxslt, there are a few more affected packages. I wrote a small program which uses libltdl to dlopen a file specified on its command line and reports back whether the operation succeeded. I then installed all the mingw packages with 'yum install mingw32*' and using the program, iterated over all the dll files. According to the script, the broken packages are: mingw32-boost-1.46.0-0.1.beta1.fc15.noarch mingw32-cppunit-1.12.1-4.fc15.noarch mingw32-dirac-1.0.2-3.fc15.noarch mingw32-gnutls-2.6.4-5.fc15.noarch mingw32-libglademm24-2.6.7-9.fc15.noarch mingw32-libsoup-2.32.0-2.fc15.noarch mingw32-libsq3-20071018-11.fc15.noarch mingw32-libsqlite3x-20071018-11.fc15.noarch mingw32-libvirt-0.8.3-1.fc15.noarch mingw32-libxml++-2.33.1-2.fc15.noarch mingw32-libxslt-1.1.26-2.fc15.noarch mingw32-OpenSceneGraph-2.8.3-2.fc14.noarch mingw32-OpenThreads-2.8.3-2.fc14.noarch mingw32-pcre-8.10-3.fc15.noarch mingw32-plib-1.8.5-2.fc15.noarch mingw32-plotmm-0.1.2-5.fc15.noarch mingw32-pthreads-2.8.0-12.fc15.noarch mingw32-qpid-cpp-0.8-0.6.fc15.noarch mingw32-qt-4.7.1-4.fc15.noarch mingw32-qwt-5.2.1-2.fc15.noarch mingw32-webkitgtk-1.3.6-3.fc15.noarch mingw32-xerces-c-3.0.1-2.fc15.noarch mingw32-zfstream-20041202-8.fc15.noarch I'll handle the rebuilds of these packages.
All of the packages above are now rebuilt, except for mingw32-qpid-cpp which started passing my test when its deps were rebuilt and mingw32-libvirt which fails to rebuild. Looking at mingw32-libvirt's koji page [1], it would appear that it has only ever had one successful build out of 5, and the one single build is broken by this bug. [1] http://koji.fedoraproject.org/koji/packageinfo?packageID=10880
mingw32-pthreads-2.8.0-13.fc15,mingw32-libxslt-1.1.26-3.fc15,mingw32-gnutls-2.6.4-6.fc15,mingw32-cppunit-1.12.1-5.fc15,mingw32-dirac-1.0.2-4.fc15,mingw32-libglademm24-2.6.7-10.fc15,mingw32-boost-1.46.0-0.2.beta1.fc15,mingw32-libsqlite3x-20071018-12.fc15,mingw32-pcre-8.10-4.fc15,mingw32-plib-1.8.5-3.fc15,mingw32-plotmm-0.1.2-6.fc15,mingw32-xerces-c-3.0.1-3.fc15,mingw32-zfstream-20041202-9.fc15,mingw32-libsoup-2.32.0-3.fc15,mingw32-OpenSceneGraph-2.8.3-3.fc15,mingw32-libxml++-2.34.1-1.fc15,mingw32-qt-4.7.1-5.fc15,mingw32-qwt-5.2.1-3.fc15,mingw32-webkitgtk-1.3.6-4.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/mingw32-pthreads-2.8.0-13.fc15,mingw32-libxslt-1.1.26-3.fc15,mingw32-gnutls-2.6.4-6.fc15,mingw32-cppunit-1.12.1-5.fc15,mingw32-dirac-1.0.2-4.fc15,mingw32-libglademm24-2.6.7-10.fc15,mingw32-boost-1.46.0-0.2.beta1.fc15,mingw32-libsqlite3x-20071018-12.fc15,mingw32-pcre-8.10-4.fc15,mingw32-plib-1.8.5-3.fc15,mingw32-plotmm-0.1.2-6.fc15,mingw32-xerces-c-3.0.1-3.fc15,mingw32-zfstream-20041202-9.fc15,mingw32-libsoup-2.32.0-3.fc15,mingw32-OpenSceneGraph-2.8.3-3.fc15,mingw32-libxml++-2.34.1-1.fc15,mingw32-qt-4.7.1-5.fc15,mingw32-qwt-5.2.1-3.fc15,mingw32-webkitgtk-1.3.6-4.fc15
Package mingw32-pthreads-2.8.0-13.fc15, mingw32-libxslt-1.1.26-3.fc15, mingw32-gnutls-2.6.4-6.fc15, mingw32-cppunit-1.12.1-5.fc15, mingw32-dirac-1.0.2-4.fc15, mingw32-libglademm24-2.6.7-10.fc15, mingw32-boost-1.46.0-0.2.beta1.fc15, mingw32-libsqlite3x-20071018-12.fc15, mingw32-pcre-8.10-4.fc15, mingw32-plib-1.8.5-3.fc15, mingw32-plotmm-0.1.2-6.fc15, mingw32-xerces-c-3.0.1-3.fc15, mingw32-zfstream-20041202-9.fc15, mingw32-libsoup-2.32.0-3.fc15, mingw32-OpenSceneGraph-2.8.3-3.fc15, mingw32-libxml++-2.34.1-1.fc15, mingw32-qt-4.7.1-5.fc15, mingw32-qwt-5.2.1-3.fc15, mingw32-webkitgtk-1.3.6-4.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mingw32-pthreads-2.8.0-13.fc15 mingw32-libxslt-1.1.26-3.fc15 mingw32-gnutls-2.6.4-6.fc15 mingw32-cppunit-1.12.1-5.fc15 mingw32-dirac-1.0.2-4.fc15 mingw32-libglademm24-2.6.7-10.fc15 mingw32-boost-1.46.0-0.2.beta1.fc15 mingw32-libsqlite3x-20071018-12.fc15 mingw32-pcre-8.10-4.fc15 mingw32-plib-1.8.5-3.fc15 mingw32-plotmm-0.1.2-6.fc15 mingw32-xerces-c-3.0.1-3.fc15 mingw32-zfstream-20041202-9.fc15 mingw32-libsoup-2.32.0-3.fc15 mingw32-OpenSceneGraph-2.8.3-3.fc15 mingw32-libxml++-2.34.1-1.fc15 mingw32-qt-4.7.1-5.fc15 mingw32-qwt-5.2.1-3.fc15 mingw32-webkitgtk-1.3.6-4.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/mingw32-pthreads-2.8.0-13.fc15,mingw32-libxslt-1.1.26-3.fc15,mingw32-gnutls-2.6.4-6.fc15,mingw32-cppunit-1.12.1-5.fc15,mingw32-dirac-1.0.2-4.fc15,mingw32-libglademm24-2.6.7-10.fc15,mingw32-boost-1.46.0-0.2.beta1.fc15,mingw32-libsqlite3x-20071018-12.fc15,mingw32-pcre-8.10-4.fc15,mingw32-plib-1.8.5-3.fc15,mingw32-plotmm-0.1.2-6.fc15,mingw32-xerces-c-3.0.1-3.fc15,mingw32-zfstream-20041202-9.fc15,mingw32-libsoup-2.32.0-3.fc15,mingw32-OpenSceneGraph-2.8.3-3.fc15,mingw32-libxml++-2.34.1-1.fc15,mingw32-qt-4.7.1-5.fc15,mingw32-qwt-5.2.1-3.fc15,mingw32-webkitgtk-1.3.6-4.fc15 then log in and leave karma (feedback).
mingw32-pthreads-2.8.0-13.fc15, mingw32-libxslt-1.1.26-3.fc15, mingw32-gnutls-2.6.4-6.fc15, mingw32-cppunit-1.12.1-5.fc15, mingw32-dirac-1.0.2-4.fc15, mingw32-libglademm24-2.6.7-10.fc15, mingw32-boost-1.46.0-0.2.beta1.fc15, mingw32-libsqlite3x-20071018-12.fc15, mingw32-pcre-8.10-4.fc15, mingw32-plib-1.8.5-3.fc15, mingw32-plotmm-0.1.2-6.fc15, mingw32-xerces-c-3.0.1-3.fc15, mingw32-zfstream-20041202-9.fc15, mingw32-libsoup-2.32.0-3.fc15, mingw32-OpenSceneGraph-2.8.3-3.fc15, mingw32-libxml++-2.34.1-1.fc15, mingw32-qt-4.7.1-5.fc15, mingw32-qwt-5.2.1-3.fc15, mingw32-webkitgtk-1.3.6-4.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.