Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293037 - dev-libs/gmime-2.4.11 fails to compile/configure using mono USE flag
Summary: dev-libs/gmime-2.4.11 fails to compile/configure using mono USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-13 14:47 UTC by Albert W. Hopkins
Modified: 2009-11-13 21:53 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2009-11-13 14:47:23 UTC
Problem:
gmime fails to emerge with the following in build.log:

[...]
checking for gacutil... /usr/bin/gacutil
checking for GTK_SHARP... yes
checking for gapi2-codegen... no
configure: error: You need to install gtk-sharp2-gapi

Description:
gmime with the mono USE flag has a DEPENDancy on dev-dotnet/gtk-sharp-gapi, but it is not specified in the ebuild.

Workaround:
emerge -1 dev-dotnet/gtk-sharp-gapi, then continue with gmime.

Proposed Resolution:
Add dev-dotnet/gtk-sharp-gapi as a dependency when the mono USE flag is used, e.g.:

--- /usr/portage/dev-libs/gmime/gmime-2.4.11.ebuild     2009-11-12 18:04:17.000000000 -0500
+++ gmime-2.4.11.ebuild 2009-11-13 09:45:56.353505211 -0500
@@ -18,6 +18,7 @@
        sys-libs/zlib"
 DEPEND="${RDEPEND}
        dev-util/pkgconfig
+       mono? ( =dev-dotnet/gtk-sharp-gapi-2* )
        doc? (
                >=dev-util/gtk-doc-1.0
                app-text/docbook-sgml-utils )"
Comment 1 Romain Perier (RETIRED) gentoo-dev 2009-11-13 21:53:04 UTC
+ 13 Nov 2009; Romain Perier <mrpouet@gentoo.org>
+  gmime-2.4.11.ebuild:
+  Add missing dev-dotnet/gtk-sharp-gapi dep in DEPEND with mono USE-flag,
+  fix bug #293037. thanks to Albert W. Hopkins.

Fixed in the main tree without a bump, thanks for reporting ;)