http://bugs.winehq.org/show_bug.cgi?id=31130
Bug #: 31130 Summary: Microsoft C# compiler from .NET Framework 4.x requires kernel32.dll GetLocaleInfoEx Product: Wine Version: 1.5.8 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello,
continuation of bug 31128 The .NET 4.x compiler needs kernel32 GetLocaleInfoEx:
--- snip --- $ wine "c:\windows\Microsoft.NET\Framework\v4.0.30319\MsBuild.exe" CompressionDemo.sln ... CoreCompile: C:\windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701, 1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /highentropyv a+ /reference:C:\windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4. 0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll /reference:C:\windows\Micros oft.NET\Framework\v4.0.30319\mscorlib.dll /reference:C:\windows\Microsoft.Net \assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll /reference:C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExt ensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll /ref erence:C:\windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77 a5c561934e089\System.Data.dll /reference:C:\windows\Microsoft.Net\assembly\GA C_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll /reference:C:\windows \Microsoft.Net\assembly\GAC_MSIL\System.IO.Compression\v4.0_4.0.0.0__b77a5c56 1934e089\System.IO.Compression.dll /reference:C:\windows\Microsoft.Net\assemb ly\GAC_MSIL\System.IO.Compression.FileSystem\v4.0_4.0.0.0__b77a5c561934e089\S ystem.IO.Compression.FileSystem.dll /reference:C:\windows\Microsoft.Net\assem bly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll /refere nce:C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__ b77a5c561934e089\System.Xml.Linq.dll /debug+ /debug:full /filealign:512 /opti mize- /out:obj\Debug\ImprovedCompression.dll /subsystemversion:6.00 /target:l ibrary /utf8output Compression.cs Properties\AssemblyInfo.cs "C:\users\focht\ Temp.NETFramework,Version=v4.5.AssemblyAttributes.cs" fixme:process:SetProcessDEPPolicy (1): stub fixme:heap:HeapSetInformation (nil) 1 (nil) 0 wine: Call from 0x7bc4c092 to unimplemented function KERNEL32.dll.GetLocaleInfoEx, aborting wine: Unimplemented function KERNEL32.dll.GetLocaleInfoEx called at address 0x7bc4c092 (thread 02c4), starting debugger... --- snip ---
Prequisite: 'winetricks -q dotnet40' and .NET Framework 4.5 (RC) install, see appdb
Example project: http://www.codeproject.com/Articles/381661/Creating-Zip-Files-Easily-in-NET-... ("Creating Zip Files Easily in .NET 4.5")
Regards
http://bugs.winehq.org/show_bug.cgi?id=31130
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download URL| |http://go.microsoft.com/?li | |nkid=9810135 Depends on| |31128
http://bugs.winehq.org/show_bug.cgi?id=31130
--- Comment #1 from Austin English austinenglish@gmail.com 2012-07-05 08:43:44 CDT --- Installer fails here (with/without my stub patches applied), I get an error: Blocking Issues:
The .NET Framework 4.5 RC is not supported on this operating system. For more information, see the <A HREF="http://go.microsoft.com/fwlink/?LinkId=242755">Readme file</A>.
winetricks dotnet40 was already run. I don't see anything about this in the appdb..
http://bugs.winehq.org/show_bug.cgi?id=31130
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31130
--- Comment #2 from Anastasius Focht focht@gmx.net 2012-07-05 09:08:44 CDT --- Hello Austin,
--- quote --- Installer fails here (with/without my stub patches applied), I get an error: Blocking Issues:
The .NET Framework 4.5 RC is not supported on this operating system. For more information... ... I don't see anything about this in the appdb.. --- quote ---
--- quote appdb --- Change the Windows version to "Windows 7" using 'winecfg' or 'winetricks': $ bash winetricks win7 --- quote appdb ---
Did you change to WinVer > Winxp (Vista, Win7)? Maybe I should use maximum font size and make everything red ;-)
Regards
http://bugs.winehq.org/show_bug.cgi?id=31130
--- Comment #3 from Austin English austinenglish@gmail.com 2012-07-05 09:40:26 CDT --- (In reply to comment #2)
Hello Austin,
--- quote --- Installer fails here (with/without my stub patches applied), I get an error: Blocking Issues:
The .NET Framework 4.5 RC is not supported on this operating system. For more information... ... I don't see anything about this in the appdb.. --- quote ---
--- quote appdb --- Change the Windows version to "Windows 7" using 'winecfg' or 'winetricks': $ bash winetricks win7 --- quote appdb ---
Did you change to WinVer > Winxp (Vista, Win7)? Maybe I should use maximum font size and make everything red ;-)
I was looking at http://appdb.winehq.org/objectManager.php?sClass=version&iId=26247, which doesn't have that info ;).
http://bugs.winehq.org/show_bug.cgi?id=31130
--- Comment #4 from Anastasius Focht focht@gmx.net 2012-07-05 16:47:11 CDT --- Hello Austin,
the C# compiler is distributed with standard .NET Frameworks (2.0, 3.x, 4.x). This bug is not about .NET Framework SDK (which requires .NET Framework prerequisite).
Regards
http://bugs.winehq.org/show_bug.cgi?id=31130
Bug 31130 depends on bug 31128, which changed state.
Bug 31128 Summary: Microsoft.Build tool from .NET Framework 4.x requires kernel32.dll GetDynamicTimeZoneInformation http://bugs.winehq.org/show_bug.cgi?id=31128
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=31130
--- Comment #5 from Austin English austinenglish@gmail.com 2012-07-10 07:35:08 CDT --- (In reply to comment #4)
Hello Austin,
the C# compiler is distributed with standard .NET Frameworks (2.0, 3.x, 4.x). This bug is not about .NET Framework SDK (which requires .NET Framework prerequisite).
Regards
Got it, thanks: http://source.winehq.org/patches/data/88023
after that, fails on: err:eventlog:ReportEventW L".NET Runtime version 4.0.30319.17626 - There was a failure initializing profiling API attach infrastructure. This process will not allow a profiler to attach. HRESULT: 0x80070001.
it also wants KERNEL32.dll.IsValidLocaleName, though it's not fatal. Sent it anyway: http://source.winehq.org/patches/data/88024
http://bugs.winehq.org/show_bug.cgi?id=31130
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b22de982c0561269a61c90ed5b6 | |d1197662fb7cd Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #6 from Austin English austinenglish@gmail.com 2012-07-10 19:56:30 CDT --- (In reply to comment #5)
(In reply to comment #4)
Hello Austin,
the C# compiler is distributed with standard .NET Frameworks (2.0, 3.x, 4.x). This bug is not about .NET Framework SDK (which requires .NET Framework prerequisite).
Regards
Got it, thanks: http://source.winehq.org/patches/data/88023
http://source.winehq.org/git/wine.git/commitdiff/b22de982c0561269a61c90ed5b6...
after that, fails on: err:eventlog:ReportEventW L".NET Runtime version 4.0.30319.17626 - There was a failure initializing profiling API attach infrastructure. This process will not allow a profiler to attach. HRESULT: 0x80070001.
it also wants KERNEL32.dll.IsValidLocaleName, though it's not fatal. Sent it anyway: http://source.winehq.org/patches/data/88024
AJ asked for tests there, but it's a separate bug anyway. Will add tests when time permits and resend.
http://bugs.winehq.org/show_bug.cgi?id=31130
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2012-07-17 13:51:56 CDT --- Closing bugs fixed in 1.5.9.
https://bugs.winehq.org/show_bug.cgi?id=31130
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://go.microsoft.com/?li |https://web.archive.org/web |nkid=9810135 |/20130713013822/http://down | |load.microsoft.com/download | |/D/0/F/D0F564A3-6734-470B-9 | |772-AC38B3B6D8C2/dotNetFx45 | |_Full_x86_x64.exe