Description of problem: The NSISdl.dll which is supplied with mingw32-nsis-2.46-2.fc15.x86_64 cannot be loaded by installers which call NSISdl::download. I have this in my NSIS build script: !define JRE_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=52247" StrCpy $0 "$TEMP\jre_installer.exe" NSISdl::download /TIMEOUT=30000 ${JRE_URL} $0 Pop $R0 ; Get the return value StrCmp $R0 "success" +3 MessageBox MB_OK "Java download failed: $R0" Quit When I build with Fedora's NSIS and run the resulting installer on Windows, I get this as the message above the progress bar: "Could not load: C:\DOCUME~1\Joel\LOCALS~1\Temp\nsv3.tmp\NSISdl.dll" When I build with a copy of NSIS 2.46 that I built myself, my download works properly. Version-Release number of selected component (if applicable): mingw32-nsis-2.46-2.fc15.x86_64 How reproducible: Always. Steps to Reproduce: 1. makensis -NOCD dist/windows/nsis/installer.nsi 2. Run resulting installer in Windows. Actual results: Download from installer fails. Expected results: Download from installer succeeds. Additional info: We have a very complex installer script; I've included only the relevant part. If you need the whole thing, please let me know.
Looks like this is linked against the shared libstdc++-6.dll instead of the static libstdc++.a. (Apparently, the default changed in the MinGW g++.) NSIS plugins may not depend on any additional DLLs, we have to link them statically.
AFAICT, this also affects Fedora 14, since the 2.46-1.fc14 update from August 11 which was actually built on Fedora 14. It's incredible that nobody found out before. See also the closed bug #553971, which was about a similar issue with libgcc.
(To be clear: The F14 update which first broke this was from August 11, 2010, i.e. more than a year ago.)
Patch submitted upstream: https://sourceforge.net/tracker/?func=detail&aid=3406350&group_id=22049&atid=373087
mingw32-nsis-2.46-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/mingw32-nsis-2.46-3.fc16
mingw32-nsis-2.46-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/mingw32-nsis-2.46-3.fc15
mingw32-nsis-2.46-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/mingw32-nsis-2.46-3.fc14
Package mingw32-nsis-2.46-3.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-nsis-2.46-3.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/mingw32-nsis-2.46-3.fc15 then log in and leave karma (feedback).
mingw32-nsis-2.46-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
mingw32-nsis-2.46-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
mingw32-nsis-2.46-3.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.