clone 638337 -1 reassign -1 mono severity -1 normal forwarded -1 http://bugzilla.xamarin.com/show_bug.cgi?id=357
Hi there, On Thu, Aug 18, 2011 at 02:09:44PM -0400, Aaron M. Ucko wrote: > Package: gstreamer-sharp > Version: 0.9.2-1 > Severity: serious > Justification: fails to build from source > > Automated builds of gstreamer-sharp have been hitting test suite failures: > > Unhandled Exception: System.Security.SecurityException: No access to the > given key > at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, > System.String basedir) [0x00000] in <filename unknown>:0 > at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, > Boolean createNonExisting) [0x00000] in <filename unknown>:0 > at Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey > rkey, System.String keyname, Boolean writable) [0x00000] in <filename > unknown>:0 > at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean > writable) [0x00000] in <filename unknown>:0 > at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name) [0x00000] in > <filename unknown>:0 > at (wrapper remoting-invoke-with-check) > Microsoft.Win32.RegistryKey:OpenSubKey (string) > at NUnit.Util.SettingsService.ConvertLegacySettings () [0x00000] in > <filename unknown>:0 > at NUnit.Util.SettingsService..ctor () [0x00000] in <filename unknown>:0 > at NUnit.ConsoleRunner.Runner.Main (System.String[] args) [0x00000] in > <filename unknown>:0 > at NUnit.ConsoleRunner.Class1.Main (System.String[] args) [0x00000] in > <filename unknown>:0 > > Could you please take a look? Thanks for this report. This FTBFS is because nunit-console uses Mono's registry API to store user settings. Mono unconditionally stores these settings in ~/.mono/registry/. It doesn't appear to have a facility to override this at all. Thus, if HOME is not writable and an application uses the registry, the build will fail. I'm assigning a clone to mono, and I suggested to hyperair that, until this bug is fixed, we should disable the tests in gstreamer-sharp. I reported two bugs about this. One is that you cannot override SpecialFolders.Personal (it doesn't use $HOME) http://bugzilla.xamarin.com/show_bug.cgi?id=357 and the other is that the registry isn't stored in $XDG_CONFIG_DIR (if it was, we'd be able to set that and wouldn't have this problem) http://bugzilla.xamarin.com/show_bug.cgi?id=358 If either of these bugs get fixed then we should be able to export the appropriate env vars in Debian package builds to get nunit tests working again. Cheers, -- Iain Lane [ i...@orangesquash.org.uk ] Debian Developer [ la...@debian.org ] Ubuntu Developer [ la...@ubuntu.com ] PhD student [ i...@cs.nott.ac.uk ]
signature.asc
Description: Digital signature