localhost anton # ACCEPT_KEYWORDS="~x86" USE="-cups" emerge monodevelop Calculating dependencies ...done! >>> emerge (1 of 5) dev-dotnet/gtksourceview-sharp-0.5 to / >>> md5 src_uri ;-) gtksourceview-sharp-0.5.tar.gz >>> Unpacking source... >>> Unpacking gtksourceview-sharp-0.5.tar.gz to /var/tmp/portage/gtksourceview-sharp-0.5/work >>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for i686-pc-linux-gnu-g77... no checking for i686-pc-linux-gnu-f77... no checking for i686-pc-linux-gnu-xlf... no checking for i686-pc-linux-gnu-frt... no checking for i686-pc-linux-gnu-pgf77... no checking for i686-pc-linux-gnu-fort77... no checking for i686-pc-linux-gnu-fl32... no checking for i686-pc-linux-gnu-af77... no checking for i686-pc-linux-gnu-f90... no checking for i686-pc-linux-gnu-xlf90... no checking for i686-pc-linux-gnu-pgf90... no checking for i686-pc-linux-gnu-epcf90... no checking for i686-pc-linux-gnu-f95... no checking for i686-pc-linux-gnu-fort... no checking for i686-pc-linux-gnu-xlf95... no checking for i686-pc-linux-gnu-ifc... no checking for i686-pc-linux-gnu-efc... no checking for i686-pc-linux-gnu-pgf95... no checking for i686-pc-linux-gnu-lf95... no checking for i686-pc-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... no checking for ar... ar checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking dependency style of g++... none checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /bin/install -c checking for pkg-config... /usr/bin/pkg-config checking for mono... /usr/bin/mono checking for mono >= 0.96... yes checking MONO_CFLAGS... -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking MONO_LIBS... -Wl,--export-dynamic -pthread -lmono -lpthread -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 checking for mono... yes checking MONO_DEPENDENCY_CFLAGS... -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking MONO_DEPENDENCY_LIBS... -Wl,--export-dynamic -pthread -lmono -lpthread -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 checking for mono... /usr/bin/mono checking for mcs... /usr/bin/mcs checking for gacutil... /usr/bin/gacutil checking for gtk-sharp >= 0.93... yes checking GTK_SHARP_CFLAGS... checking GTK_SHARP_LIBS... -r:/usr/lib/mono/gtk-sharp/glib-sharp.dll -r:/usr/lib/mono/gtk-sharp/pango-sharp.dll -r:/usr/lib/mono/gtk-sharp/atk-sharp.dll -r:/usr/lib/mono/gtk-sharp/gdk-sharp.dll -r:/usr/lib/mono/gtk-sharp/gtk-sharp.dll checking for gtksourceview-1.0 >= 1.0.0... yes checking GTKSOURCEVIEW_CFLAGS... -I/usr/include/gtksourceview-1.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomeprint-2.2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libart-2.0 checking GTKSOURCEVIEW_LIBS... -Wl,--export-dynamic -lgtksourceview-1.0 -lgtk-x11-2.0 -lgnomeprint-2-2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lart_lgpl_2 -lxml2 -lpthread -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for gapi-fixup... /usr/bin/gapi-fixup checking for gapi-codegen... /usr/bin/gapi-codegen checking for monodoc >= 0.16... Package monodoc was not found in the pkg-config search path. Perhaps you should add the directory containing `monodoc.pc' to the PKG_CONFIG_PATH environment variable No package 'monodoc' found configure: creating ./config.status config.status: creating makefile config.status: creating gtksourceview/AssemblyInfo.cs config.status: creating gtksourceview/gtksourceview-sharp.dll.config config.status: creating gtksourceview/makefile config.status: creating gtksourceview-sharp.pc config.status: creating doc/Makefile config.status: executing depfiles commands Making all in gtksourceview make[1]: Entering directory `/var/tmp/portage/gtksourceview-sharp-0.5/work/gtksourceview-sharp-0.5/gtksourceview' cp ./gtksourceview-api.raw gtksourceview-api.xml chmod u+w gtksourceview-api.xml /usr/bin/gapi-fixup --api=gtksourceview-api.xml --metadata=./Gtk.metadata /usr/bin/gapi-codegen --include /usr/share/gapi/atk-api.xml /usr/share/gapi/gdk-api.xml /usr/share/gapi/gdk-symbols.xml /usr/share/gapi/gnome-api.xml /usr/share/gapi/gtk-api.xml /usr/share/gapi/gtk-symbols.xml /usr/share/gapi/pango-api.xml --generate gtksourceview-api.xml \ --outdir=generated --customdir=. --assembly-name=gtksourceview-sharp && touch generated-stamp Unhandled Exception: System.IO.FileNotFoundException: Could not find file "/usr/share/gapi/gnome-api.xml". in <0x00338> System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool) in <0x00020> System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) in <0x00081> (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) in <0x0002f> System.IO.File:OpenRead (string) in <0x00048> GtkSharp.Generation.Parser:Load (string) in <0x0004c> GtkSharp.Generation.Parser:Parse (string) in <0x00320> GtkSharp.Generation.CodeGenerator:Main (string[]) make[1]: *** [generated-stamp] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtksourceview-sharp-0.5/work/gtksourceview-sharp-0.5/gtksourceview' make: *** [all-recursive] Error 1 !!! ERROR: dev-dotnet/gtksourceview-sharp-0.5 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! make failed Reproducible: Always Steps to Reproduce: Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r6) ================================================================= System uname: 2.6.7-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp.du.se/pub/os/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 arts avi cdr crypt cups encode esd gdbm gif gphoto2 gpm gtk gtk2 imlib java jpeg kde libg++ libwww linguas_ru mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml xml2 xmms xv zlib"
As you can see there's no any gnome-api.xml qpkg -l gtk-sharp /usr /usr/bin /usr/bin/gconfsharp-schemagen /usr/bin/gapi_pp.pl /usr/bin/gapi_codegen.exe /usr/bin/gconfsharp-schemagen.exe /usr/bin/gapi2xml.pl /usr/bin/gapi-fixup /usr/bin/gapi_format_xml /usr/bin/gapi.pl /usr/bin/gapi-fixup.exe /usr/bin/gapi-parser /usr/bin/gapi-codegen /usr/lib /usr/lib/mono /usr/lib/mono/gac /usr/lib/mono/gac/art-sharp /usr/lib/mono/gac/art-sharp/1.0.0.0__35e10195dab3c99f /usr/lib/mono/gac/art-sharp/1.0.0.0__35e10195dab3c99f/art-sharp.dll /usr/lib/mono/gac/art-sharp/1.0.0.0__35e10195dab3c99f/art-sharp.dll.config /usr/lib/mono/gac/pango-sharp /usr/lib/mono/gac/pango-sharp/1.0.0.0__35e10195dab3c99f /usr/lib/mono/gac/pango-sharp/1.0.0.0__35e10195dab3c99f/pango-sharp.dll.config /usr/lib/mono/gac/pango-sharp/1.0.0.0__35e10195dab3c99f/pango-sharp.dll /usr/lib/mono/gac/glib-sharp /usr/lib/mono/gac/glib-sharp/1.0.0.0__35e10195dab3c99f /usr/lib/mono/gac/glib-sharp/1.0.0.0__35e10195dab3c99f/glib-sharp.dll /usr/lib/mono/gac/glib-sharp/1.0.0.0__35e10195dab3c99f/glib-sharp.dll.config /usr/lib/mono/gac/gtk-sharp /usr/lib/mono/gac/gtk-sharp/1.0.0.0__35e10195dab3c99f /usr/lib/mono/gac/gtk-sharp/1.0.0.0__35e10195dab3c99f/gtk-sharp.dll /usr/lib/mono/gac/gtk-sharp/1.0.0.0__35e10195dab3c99f/gtk-sharp.dll.config /usr/lib/mono/gac/gdk-sharp /usr/lib/mono/gac/gdk-sharp/1.0.0.0__35e10195dab3c99f /usr/lib/mono/gac/gdk-sharp/1.0.0.0__35e10195dab3c99f/gdk-sharp.dll.config /usr/lib/mono/gac/gdk-sharp/1.0.0.0__35e10195dab3c99f/gdk-sharp.dll /usr/lib/mono/gac/glade-sharp /usr/lib/mono/gac/glade-sharp/1.0.0.0__35e10195dab3c99f /usr/lib/mono/gac/glade-sharp/1.0.0.0__35e10195dab3c99f/glade-sharp.dll.config /usr/lib/mono/gac/glade-sharp/1.0.0.0__35e10195dab3c99f/glade-sharp.dll /usr/lib/mono/gac/atk-sharp /usr/lib/mono/gac/atk-sharp/1.0.0.0__35e10195dab3c99f /usr/lib/mono/gac/atk-sharp/1.0.0.0__35e10195dab3c99f/atk-sharp.dll.config /usr/lib/mono/gac/atk-sharp/1.0.0.0__35e10195dab3c99f/atk-sharp.dll /usr/lib/mono/gtk-sharp /usr/lib/mono/gtk-sharp/art-sharp.dll -> /usr/lib/mono/gac/art-sharp/1.0.0.0__35e10195dab3c99f/art-sharp.dll 1088784930 /usr/lib/mono/gtk-sharp/gtk-sharp.dll -> /usr/lib/mono/gac/gtk-sharp/1.0.0.0__35e10195dab3c99f/gtk-sharp.dll 1088784930 /usr/lib/mono/gtk-sharp/glib-sharp.dll -> /usr/lib/mono/gac/glib-sharp/1.0.0.0__35e10195dab3c99f/glib-sharp.dll 1088784930 /usr/lib/mono/gtk-sharp/atk-sharp.dll -> /usr/lib/mono/gac/atk-sharp/1.0.0.0__35e10195dab3c99f/atk-sharp.dll 1088784930 /usr/lib/mono/gtk-sharp/pango-sharp.dll -> /usr/lib/mono/gac/pango-sharp/1.0.0.0__35e10195dab3c99f/pango-sharp.dll 1088784930 /usr/lib/mono/gtk-sharp/glade-sharp.dll -> /usr/lib/mono/gac/glade-sharp/1.0.0.0__35e10195dab3c99f/glade-sharp.dll 1088784930 /usr/lib/mono/gtk-sharp/gdk-sharp.dll -> /usr/lib/mono/gac/gdk-sharp/1.0.0.0__35e10195dab3c99f/gdk-sharp.dll 1088784930 /usr/lib/libpangosharpglue.la /usr/lib/libpangosharpglue.so /usr/lib/libglibsharpglue.a /usr/lib/pkgconfig /usr/lib/pkgconfig/glade-sharp.pc /usr/lib/pkgconfig/gapi.pc /usr/lib/pkgconfig/gtk-sharp.pc /usr/lib/pkgconfig/art-sharp.pc /usr/lib/libpangosharpglue.a /usr/lib/libgtksharpglue.la /usr/lib/libgtksharpglue.so /usr/lib/libgladesharpglue.a /usr/lib/libglibsharpglue.la /usr/lib/libglibsharpglue.so /usr/lib/libgtksharpglue.a /usr/lib/libgdksharpglue.a /usr/lib/libgdksharpglue.la /usr/lib/libgdksharpglue.so /usr/lib/libgladesharpglue.la /usr/lib/libgladesharpglue.so /usr/share /usr/share/doc /usr/share/doc/gtk-sharp-1.0 /usr/share/doc/gtk-sharp-1.0/README.gz /usr/share/doc/gtk-sharp-1.0/README.generator.gz /usr/share/doc/gtk-sharp-1.0/ChangeLog.gz /usr/share/gapi /usr/share/gapi/art-api.xml /usr/share/gapi/art-symbols.xml /usr/share/gapi/atk-api.xml /usr/share/gapi/gtk-symbols.xml /usr/share/gapi/gdk-api.xml /usr/share/gapi/pango-api.xml /usr/share/gapi/gtk-api.xml /usr/share/gapi/glade-api.xml /usr/share/gapi/gdk-symbols.xml
For now, please add "gnome" to your USE variables and re-emerge gtk-sharp. As portage can not do DEPEND based on a package being compiled with a needed USE flag, I will soon be adding a gtk-sharp-1.0-r1 that makes most of the USE flag options *not* behind USE flags, but hard deps instead. This sucks, i know, but most of these depends are needed for the most common applications (monodevelop/monodoc/etc) to work anyway. If anybody has a better idea to solve this dependancy problem, speak up now.
Okay, i've just added a check in the ebuild for gnome-sharp being built, and if it's isn't available, dies with an informative message. This is the best we can do until portage supports USE based dependencies. Marking LATER for when this ability is in portage.