Emerging moonlight fails, see info below. Reproducible: Always Steps to Reproduce: 1. sudo emerge -av moonlight 2. starts to build fine 3. dies... Actual Results: Failed Expected Results: Success During emerge: make[2]: Entering directory `/var/tmp/portage/www-plugins/moonlight-2.3/work/moonlight-2.3/src' ../doltcompile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/freetype2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/alsa -Wall -DUSE_OPT_RGB24=1 -DG_LOG_DOMAIN=\"Moonlight\" -I../plugin -I./asf -fstack-protector-all -march=native -O2 -pipe -MT animation.lo -MD -MP -MF .deps/animation.Tpo -c -o animation.lo animation.cpp In file included from timesource.h:17, from timemanager.h:18, from animation.cpp:23: deployment.h:24:37: error: mono/metadata/appdomain.h: No such file or directory deployment.h:25:36: error: mono/metadata/assembly.h: No such file or directory In file included from timesource.h:17, from timemanager.h:18, from animation.cpp:23: deployment.h:280: error: expected ';' before '(' token deployment.h:330: error: expected ')' before '*' token deployment.h:341: error: ISO C++ forbids declaration of 'MonoDomain' with no type deployment.h:341: error: expected ';' before '*' token deployment.h:375: error: ISO C++ forbids declaration of 'MonoImage' with no type deployment.h:375: error: expected ';' before '*' token deployment.h:376: error: ISO C++ forbids declaration of 'MonoAssembly' with no type deployment.h:376: error: expected ';' before '*' token deployment.h:377: error: ISO C++ forbids declaration of 'MonoClass' with no type deployment.h:377: error: expected ';' before '*' token deployment.h:378: error: ISO C++ forbids declaration of 'MonoMethod' with no type deployment.h:378: error: expected ';' before '*' token deployment.h:381: error: ISO C++ forbids declaration of 'MonoMethod' with no type deployment.h:381: error: expected ';' before '*' token deployment.h:382: error: ISO C++ forbids declaration of 'MonoMethod' with no type deployment.h:382: error: expected ';' before '*' token deployment.h:383: error: ISO C++ forbids declaration of 'MonoMethod' with no type deployment.h:383: error: expected ';' before '*' token deployment.h:384: error: ISO C++ forbids declaration of 'MonoMethod' with no type deployment.h:384: error: expected ';' before '*' token deployment.h:386: error: ISO C++ forbids declaration of 'MonoClass' with no type deployment.h:386: error: expected ';' before '*' token deployment.h:387: error: ISO C++ forbids declaration of 'MonoProperty' with no type deployment.h:387: error: expected ';' before '*' token deployment.h:388: error: ISO C++ forbids declaration of 'MonoProperty' with no type deployment.h:388: error: expected ';' before '*' token deployment.h:390: error: ISO C++ forbids declaration of 'MonoMethod' with no type deployment.h:390: error: expected ';' before '*' token deployment.h:391: error: ISO C++ forbids declaration of 'MonoProperty' with no type deployment.h:391: error: expected ';' before '*' token deployment.h:402: error: ISO C++ forbids declaration of 'MonoDomain' with no type deployment.h:402: error: expected ';' before '*' token make[2]: *** [animation.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/www-plugins/moonlight-2.3/work/moonlight-2.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/www-plugins/moonlight-2.3/work/moonlight-2.3' make: *** [all] Error 2 emake failed * ERROR: www-plugins/moonlight-2.3 failed (compile phase): * emake moonlight failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3685: Called die * The specific snippet of code: * emake -j1 || die "emake moonlight failed" * * If you need support, post the output of 'emerge --info =www-plugins/moonlight-2.3', * the complete build log and the output of 'emerge -pqv =www-plugins/moonlight-2.3'. * The complete build log is located at '/var/tmp/portage/www-plugins/moonlight-2.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-plugins/moonlight-2.3/temp/environment'. * S: '/var/tmp/portage/www-plugins/moonlight-2.3/work/moonlight-2.3' $ emerge --info moonlight Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P7350_@_2.00GHz-with-gentoo-1.12.14 Timestamp of tree: Thu, 10 Mar 2011 08:00:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 3.1.3-r1 dev-util/cmake: 2.8.4 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 apm bash-completion berkdb bzip2 cli cracklib crypt cups cxx dbus dri fortran gdbm gif gpm iconv jp lm_sensors mmx modules mudflap multilib ncurses nls nptl nptlonly nsplugin nspluginwrapper opengl openmp pam pcre perl pmu png pppd python qt3support readline session sse sse2 sse4 ssl ssse3 static-libs sysfs tcpd threads thunar tiff unicode v4l v4l2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
What version of mono are you using ? What does 'pkg-config mono-2 --cflags' return ?
~ $ pkg-config mono-2 --cflags -D_REENTRANT -I/usr/lib64/pkgconfig/../../include/mono-2.0
(In reply to comment #2) > ~ $ pkg-config mono-2 --cflags > -D_REENTRANT -I/usr/lib64/pkgconfig/../../include/mono-2.0 In such case, attach full build log and config.log.
*** This bug has been marked as a duplicate of bug 340375 ***