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 586979 - Banshee does not compile using Mono 1.9.1
Banshee does not compile using Mono 1.9.1
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: general
git master
Other All
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 626444 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-06-25 20:09 UTC by Chow Loong Jin
Modified: 2010-08-09 17:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chow Loong Jin 2009-06-25 20:09:39 UTC
Please describe the problem:
Banshee fails to build using Mono 1.9.1. The build log can be found here:
http://launchpadlibrarian.net/27487230/buildlog_ubuntu-intrepid-amd64.banshee_1.5.0-0ubuntu1~hyper2~intrepid1_FAILEDTOBUILD.txt.gz

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
According to Bertrand, this error is caused by a bug in Mono 1.9.1, fixed in 2.0 and above:
https://bugzilla.novell.com/show_bug.cgi?id=357047
Comment 1 Bertrand Lorentz 2009-06-25 20:14:33 UTC
Confirming, as it was also reported on the mailing list.

The relevant error during compilation is :

Making all in Analyzer
make[4]: Entering directory `/build/buildd/banshee-1.5.0/tests/Analyzer'
  MCS   Analyzer.exe
Analyzer.cs(121,66): error CS0121: The call is ambiguous between the following methods or properties: `System.Linq.Enumerable.Min<Banshee.Tests.TestCase>(System.Collections.Generic.IEnumerable<Banshee.Tests.TestCase>, System.Func<Banshee.Tests.TestCase,double?>)' and `System.Linq.Enumerable.Min<Banshee.Tests.TestCase>(System.Collections.Generic.IEnumerable<Banshee.Tests.TestCase>, System.Func<Banshee.Tests.TestCase,double>)'
/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error)
/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error)
Analyzer.cs(122,66): error CS0121: The call is ambiguous between the following methods or properties: `System.Linq.Enumerable.Max<Banshee.Tests.TestCase>(System.Collections.Generic.IEnumerable<Banshee.Tests.TestCase>, System.Func<Banshee.Tests.TestCase,double?>)' and `System.Linq.Enumerable.Max<Banshee.Tests.TestCase>(System.Collections.Generic.IEnumerable<Banshee.Tests.TestCase>, System.Func<Banshee.Tests.TestCase,double>)'
/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error)
/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error)
Analyzer.cs(123,66): error CS0121: The call is ambiguous between the following methods or properties: `System.Linq.Enumerable.Average<Banshee.Tests.TestCase>(System.Collections.Generic.IEnumerable<Banshee.Tests.TestCase>, System.Func<Banshee.Tests.TestCase,double>)' and `System.Linq.Enumerable.Average<Banshee.Tests.TestCase>(System.Collections.Generic.IEnumerable<Banshee.Tests.TestCase>, System.Func<Banshee.Tests.TestCase,double?>)'
/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error)
/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll (Location of the symbol related to previous error)
Analyzer.cs(128,26): error CS0266: Cannot implicitly convert type `double?' to `double'. An explicit conversion exists (are you missing a cast?)
Compilation failed: 4 error(s), 0 warnings
Comment 2 Gabriel Burt 2009-06-29 22:21:41 UTC
I removed the Analyzer from the build; it's only used at the moment for one-off performance testing anyway.
Comment 3 Bertrand Lorentz 2010-08-09 17:09:52 UTC
*** Bug 626444 has been marked as a duplicate of this bug. ***