I tried building sys-apps/dbus-0.50-r2 with USE="-doc mono" and USE="doc -mono" and they both work. However, building it with USE="doc mono" ends up with Mono complaining about something when making the docs. Till now it worked fine with those flags.
(In reply to comment #0) > However, building it with USE="doc mono" ends up with Mono > complaining about something when making the docs. Reopen with some error messages and emerge --info output.
Here is the relevant part: make[3]: Entering directory `/var/tmp/portage/dbus-0.50-r2/work/dbus-0.50/mono/doc' /usr/bin/monodoc --assemble --ecma ./en -o dbus-sharp-docs /usr/bin/monodoc --assemble --ecma ./en -o dbus-sharp-docs --assemble is depreciated. Use mdassembler. --assemble is depreciated. Use mdassembler. Unhandled Exception: System.IO.IOException: Sharing violation on path dbus-sharp-docs.zip in <0x00338> System.IO.FileStream:.ctor (System.String name, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) in <0x0001d> System.IO.FileStream:.ctor (System.String name, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) in (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int) in <0x000dd> System.IO.File:Create (System.String path, Int32 buffersize) in <0x0000f> System.IO.File:Create (System.String path) in <0x00041> Monodoc.HelpSource:SetupForOutput () in <0x00078> Monodoc.HelpSource:.ctor (System.String base_filename, Boolean create) in <0x00499> Monodoc.Assembler:Main (System.String[] args) make[3]: *** [dbus-sharp-docs.tree] Error 1 make[3]: *** Waiting for unfinished jobs.... Processing namespace DBus Processing input file Arguments.xml Processing input file Bus.xml Processing input file Connection.xml Processing input file Custom.xml Processing input file DBusException.xml Processing input file ErrorMessage.xml Processing input file InterfaceAttribute.xml Processing input file Message.xml Processing input file MessageType.xml Processing input file MethodAttribute.xml Processing input file MethodCall.xml Processing input file MethodReturn.xml Processing input file Server.xml Processing input file Service.xml Processing input file Signal.xml Processing input file SignalAttribute.xml Processing input file SignalCalledHandler.xml Processing namespace DBus.DBusType Processing input file Array.xml Processing input file Boolean.xml Processing input file Byte.xml Processing input file Custom.xml Processing input file Dict.xml Processing input file Double.xml Processing input file IDBusType.xml Processing input file Int32.xml Processing input file Int64.xml Processing input file Nil.xml Processing input file ObjectPath.xml Processing input file String.xml Processing input file UInt32.xml Processing input file UInt64.xml Have 14 elements in the DBus.DBusType Have 17 elements in the DBus make[3]: Leaving directory `/var/tmp/portage/dbus-0.50-r2/work/dbus-0.50/mono/doc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dbus-0.50-r2/work/dbus-0.50/mono' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dbus-0.50-r2/work/dbus-0.50' make: *** [all] Error 2 !!! ERROR: sys-apps/dbus-0.50-r2 failed. !!! Function src_compile, Line 112, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Here's the output of emerge --info: Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-suspend2-r7 i686) ================================================================= System uname: 2.6.14-suspend2-r7 i686 Intel(R) Pentium(R) M processor 2.13GHz Gentoo Base System version 1.12.0_pre12 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/sound /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_GB.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentopia" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa ao audiofile avi berkdb bzip2 cairo cdr crypt cups dbus doc dvd dvdr eds emboss encode exif expat fam firefox fontconfig foomaticdb fortran gd gdbm gif glut gmp gnome gstreamer gtk gtk2 hal idn imagemagick imlib jpeg lcms libg++ libwww mad mmx mng mono mp3 mpeg nautilus ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl pcre pdflib perl pic png python quicktime readline samba sdl spell sqlite sse sse2 ssl startup-notification tcpd tetex truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wifi xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
I get the same error.
Hey but this bug depends on this but? This is a bug of bugzilla :)
Fixed in dbus-0.60-r2. Please test... it will be coming out of mask soon.