Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166249 - dev-dotnet/gtk-sharp-2.10.0 ebuild fails - Cannot find type `Cairo.Context'
Summary: dev-dotnet/gtk-sharp-2.10.0 ebuild fails - Cannot find type `Cairo.Context'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-10 21:02 UTC by Stu
Modified: 2008-12-13 16:55 UTC (History)
1 user (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 Stu 2007-02-10 21:02:41 UTC
gtk-sharp 2.10 ebuild fails with this error:

cp ../gtk-sharp.snk .
cp ../AssemblyInfo.cs .
/usr/local/bin/mcs -define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -nowarn:0169,0612,0618 -unsafe -out:gdk-sharp.dll -target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/1.0/Mono.Cairo.dll   generated/*.cs ./EventButton.cs ./EventClient.cs ./EventConfigure.cs ./EventCrossing.cs ./Event.cs ./EventDND.cs ./EventExpose.cs ./EventFocus.cs ./EventGrabBroken.cs ./EventKey.cs ./EventMotion.cs ./EventProperty.cs ./EventProximity.cs ./EventScroll.cs ./EventSelection.cs ./EventSetting.cs ./EventVisibility.cs ./EventWindowState.cs ./Key.cs ./Size.cs ./TextProperty.cs AssemblyInfo.cs
generated/CairoHelper.cs(15) error CS0246: Cannot find type `Cairo.Context'
generated/CairoHelper.cs(22) error CS0246: Cannot find type `Cairo.Context'
generated/CairoHelper.cs(29) error CS0246: Cannot find type `Cairo.Context'
generated/CairoHelper.cs(36) error CS0246: Cannot find type `Cairo.Context'
generated/CairoHelper.cs(43) error CS0246: Cannot find type `Cairo.Context'
generated/CairoHelper.cs(52) error CS0246: Cannot find type `Cairo.Context'
Screen.custom(60) error CS0246: Cannot find type `Cairo.FontOptions'
Compilation failed: 7 error(s), 0 warnings
make[3]: *** [gdk-sharp.dll] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk-sharp-2.10.0/work/gtk-sharp-2.10.0/gdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk-sharp-2.10.0/work/gtk-sharp-2.10.0/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk-sharp-2.10.0/work/gtk-sharp-2.10.0'
make: *** [all] Error 2

!!! ERROR: dev-dotnet/gtk-sharp-2.10.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gtk-sharp-2.10.0.ebuild, line 60:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

Also, I'm curious about the presence of gtk-sharp in emerge world. I've never actually had the ebuild work, and I've always just emerged around it, and not really suffered any issues, except the hassle of having to do:

$> emerge -uD world > world.sh
... edit world.sh so I build everything but gtk-sharp / gdk-sharp....
$> world.sh

There also seem to be a lot of bugs for gtk-sharp ebuilds of every ilk (2.8,2.10, etc) over a long period of time. Why is this in world? why not ~x86 or something? Did I configure something wrong? 

I try to keep things as vanilla as a can (except for the kernel).

To end on a positive note, ebuilds and emerges have kept my system stable longer than rpms or debs ever did. (but those I tried a long long time ago).
And the gentoo community has generally been very helpful.

Thanks!

Reproducible: Always
Comment 1 Stu 2007-02-10 21:03:11 UTC
stubox first# emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.18.1 i686)
=================================================================
System uname: 2.6.18.1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.6
Last Sync: Sat, 10 Feb 2007 05:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.2.3-r5, 2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.19, 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm arts berkdb bidi bitmap-fonts cli cracklib crypt cups dlloader dri dvd dvdread eds elibc_glibc emboss encode esd faad foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber jpeg kde kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ libwww mad matroska midi mikmod motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts trutype type1-fonts udev unicode usb userland_GNU video_cards_radeon vorbis wxwindows xml xorg xv yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Stu 2007-02-10 21:04:11 UTC
/etc/make.conf use flags...

USE="unicode apache2 dvd nls xv bidi trutype wxwindows imlib matroska faad png jabber yahoo cups foomaticdb ppds usb gimpprint mysql gnome kde gtk qt gif dvdread nptlonly"
Comment 3 Priit Laes (IRC: plaes) 2007-10-07 16:18:23 UTC
gtk-sharp-2.10.2 seems to be out...
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2008-12-13 16:55:23 UTC
We'll just assume this is fixed in the 2.12.x series. Reopen if not.