After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 503639 - Compilation problem with mono 1.2.6
Compilation problem with mono 1.2.6
Status: RESOLVED FIXED
Product: beagle
Classification: Other
Component: General
0.3.1
Other All
: Normal critical
: ---
Assigned To: Beagle Bugs
Beagle Bugs
Depends on:
Blocks:
 
 
Reported: 2007-12-14 18:16 UTC by Andrea
Modified: 2007-12-20 20:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for compilation on mono 1.2.6 (926 bytes, patch)
2007-12-16 18:11 UTC, Daniel Isenmann
none Details | Review

Description Andrea 2007-12-14 18:16:04 UTC
Please describe the problem:
Beagle 0.3.1 failed to compile with the lastest mono 1.6.0 and gtk-sharp 2.10.2 from Gnome 2.20.2 source.


/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error)
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error)
Compilation failed: 2 error(s), 0 warnings
make[2]: *** [Settings.exe] Error 1
make[2]: Leaving directory `/tmp/tgz/beagle-0.3.1/tools'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tmp/tgz/beagle-0.3.1/tools'
make: *** [install-recursive] Error 1





Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Andrea 2007-12-14 18:32:13 UTC
/Settings.cs(897,32): error CS0121: The call is ambiguous between the following methods or properties: `Gtk.TreeViewColumn.SetCellDataFunc(Gtk.CellRenderer, Gtk.CellLayoutDataFunc)' and `Gtk.TreeViewColumn.SetCellDataFunc(Gtk.CellRenderer, Gtk.TreeCellDataFunc)'
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error)
/usr/lib/mono/gac/gtk-sharp/2.10.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous error)
Compilation failed: 2 error(s), 0 warnings
make[2]: *** [Settings.exe] Error 1
make[2]: Leaving directory `/tmp/tgz/beagle-0.3.1/tools'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tmp/tgz/beagle-0.3.1/tools'
make: *** [install-recursive] Error 1
Comment 2 Joe Shaw 2007-12-14 18:36:29 UTC
Presumably you mean Mono 1.2.6?
Comment 3 Andrea 2007-12-14 19:11:05 UTC
Oh sorry yes the lastest Mono 1.2.6. With the previous Mono 1.2.4, Beagle 0.3.1 compile good and work fine.
Comment 4 Joe Shaw 2007-12-14 19:44:31 UTC
Did you also update your gtk-sharp, or is mono the only thing that's changed between then and now?
Comment 5 Andrea 2007-12-15 06:50:35 UTC
The Gtk-sharp is the same version 2.10.2, but it's recompiled with new mono 1.2.6.

Ps. All the Mono packages for Gnome 2.20.2 are rebuilted with new Mono 1.2.6, with  no problems.
Only Beagle 0.3.* give an error on compilation.
Comment 6 Andrea 2007-12-15 07:29:13 UTC
Ps2. I don't know if it is usefull but i have updated the Gtk+ to the new 2.12.3. Because the Gnome 2.20.2 Gtk+ 2.12.2 cause Epiphany and Gedit crash.
Comment 7 Debajyoti Bera 2007-12-15 13:48:50 UTC
I cant test with 1.2.6 right now, but if you replace all
  SetCellDataFunc (renderer_text, xxx);
with
  SetCellDataFunc (renderer_text, new TreeCellDataFunc (xxx));

does that fix the compilation problem ?
Comment 8 Daniel Isenmann 2007-12-16 18:11:03 UTC
Created attachment 101067 [details] [review]
Patch for compilation on mono 1.2.6
Comment 9 Daniel Isenmann 2007-12-16 18:12:02 UTC
With the changes from Debajyoti Bera beagle compiles and runs fine on mono 1.2.6
Comment 10 Debajyoti Bera 2007-12-20 20:29:41 UTC
Checked in the fix, r4316.