GNOME Bugzilla – Bug 324529
Beagle fails to build against mono 1.1.12
Last modified: 2006-01-17 18:24:26 UTC
Please describe the problem: .0/gconf-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gconf-sharp-peditors.dll -r:/usr/lib/mono/gecko-sharp-2.0/gecko-sharp.dll -r:../Util/Util.dll -r:../BeagleClient/Beagle.dll -r:Mono.Posix -r:ICSharpCode.SharpZipLib.dll <dave_largo> ./TarFileObject.cs(60,4): error CS0122: `ICSharpCode.SharpZipLib.Tar.TarHeader.name' is inaccessible due to its protection level I just commented out the tarball code and bypassed this piece. Took it out of Makefile and TreeBuilder to get it going. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 56173 [details] [review] patch to fix CVS head I would commit it but I need to confirm if everybody is seening this bug. I asked Daniel yesterday and he confirmed that he is _not_ seeing this problem (using same mono version as mine).
This is due to an incompatible API change introduced in Mono. They will be shipping an update to fix this problem. I'm going to slightly update Bera's patch for more easy application.
Created attachment 56272 [details] [review] Patch to apply to 0.1.4 or CVS HEAD This one applies against the toplevel source directory
*** Bug 324820 has been marked as a duplicate of this bug. ***
The build still fails with 1.1.12.1 and 1.1.13 with 0.1.4, and unfortunately will continue to do so. I just checked a workaround into beagle so that it now builds properly with 1.1.13 and (I am pretty sure) 1.1.12.1. 1.1.11 and 1.1.12 are probably still broken because they simply don't ship the required version of SharpZipLib.
*** Bug 327019 has been marked as a duplicate of this bug. ***
*** Bug 326949 has been marked as a duplicate of this bug. ***
To clarify: don't apply this patch anymore. Mono 1.1.13 (and probably 1.1.12.1) ship a SharpZipLib which is compatible with the old version of the code.