Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 537674

Summary: dev-util/monodevelop-database-3.0.2 - error CS0012: The type `Gtk.Window' is defined in an assembly that is not referenced
Product: Gentoo Linux Reporter: cmuelle8 <cmue81>
Component: [OLD] DevelopmentAssignee: dotnet project <dotnet>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: monodevelop-database-3.0.2.ebuild.patch
build log

Description cmuelle8 2015-01-25 21:59:41 UTC
SYMPTOM
./QueryService.cs(52,19): error CS0012: The type `Gtk.Window' is defined in an assembly that is not referenced. Consider adding a reference to assembly `gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f'
/usr/lib64/pkgconfig/../../lib/monodevelop/bin/MonoDevelop.Ide.dll (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 3 warnings
Makefile:551: recipe for target '../build/MonoDevelop.Database.Sql.dll' failed

(see attached build log for context)


CURE
Let MonoDevelop.Database.Sql/Makefile.in patch in src_prepare() to include $(GTK_SHARP_LIBS) in REFS.

(see attached ebuild patch)


It's known that monodevelop-5* is out, but it has not made it to the gentoo main tree yet.  Plus the build in dotnet overlay is considered experimental by its writer.  So lets have a building version in the tree at least, until it is replaced by its 5* successor.
Comment 1 cmuelle8 2015-01-25 22:00:09 UTC
Created attachment 394874 [details, diff]
monodevelop-database-3.0.2.ebuild.patch
Comment 2 cmuelle8 2015-01-25 22:01:58 UTC
Created attachment 394876 [details]
build log