Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537674 - dev-util/monodevelop-database-3.0.2 - error CS0012: The type `Gtk.Window' is defined in an assembly that is not referenced
Summary: dev-util/monodevelop-database-3.0.2 - error CS0012: The type `Gtk.Window' is ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-01-25 21:59 UTC by cmuelle8
Modified: 2016-07-01 14:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
monodevelop-database-3.0.2.ebuild.patch (monodevelop-database-3.0.2.ebuild.patch,435 bytes, patch)
2015-01-25 22:00 UTC, cmuelle8
Details | Diff
build log (1422221332-install-dev-util_monodevelop-database-3.0.2:0::gentoo.out,12.73 KB, text/plain)
2015-01-25 22:01 UTC, cmuelle8
Details

Note You need to log in before you can comment on or make changes to this bug.
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