Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340641 - dev-lang/mono-2.8 fails with Cannot open assembly '../mcs/tools/mdoc/mdoc.exe': No such file or directory.
Summary: dev-lang/mono-2.8 fails with Cannot open assembly '../mcs/tools/mdoc/mdoc.exe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dotnet project
URL: https://bugzilla.novell.com/show_bug....
Whiteboard:
Keywords:
: 340151 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-12 08:12 UTC by Kamen Dokov
Modified: 2010-10-15 20:26 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,1.17 MB, text/plain)
2010-10-12 08:12 UTC, Kamen Dokov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kamen Dokov 2010-10-12 08:12:04 UTC
Compile of dev-lang/mono-2.8 fails with: Cannot open assembly '../mcs/tools/mdoc/mdoc.exe': No such file or directory.

Reproducible: Always

Steps to Reproduce:
1.emerge mono
2.
3.

Actual Results:  
touch deploy/.stamp
cd . && make -f docs.make topdir=../mcs mono-file-formats.tree
make[3]: Entering directory `/var/tmp/portage/dev-lang/mono-2.8/work/mono-2.8/docs'
MDOC    [net_2_0] mono-file-formats.tree
Cannot open assembly '../mcs/tools/mdoc/mdoc.exe': No such file or directory.
make[3]: *** [mono-file-formats.tree] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.8/work/mono-2.8/docs'
make[2]: *** [mono-file-formats.tree] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.8/work/mono-2.8/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.8/work/mono-2.8'
make: *** [all] Error 2
emake failed


Expected Results:  
merging fine without errors

emerge --info =dev-lang/mono-2.8
Portage 2.2_rc92 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-zen2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.35-zen2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.1
Timestamp of tree: Tue, 12 Oct 2010 06:30:22 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.6, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo repo_name-seti
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://mirrors.ludost.net/gentoo/ ftp://mirrors.ludost.net/gentoo/ http://gentoo.telnet.bg/  http://gentoo.osuosl.org http://mirror.gentoo.no/ http://gentoo.ynet.sk/pub http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="bg_BG.UTF-8"                                                                                                                                             
LC_ALL="bg_BG.UTF-8"                                                                                                                                           
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags"                                                                                                       
LINGUAS="en"                                                                                                                                                   
MAKEOPTS="-j3"                                                                                                                                                 
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"                                                                                                                                         
PORTDIR_OVERLAY="/usr/local/portage"                                                                                                                           
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                                                                 
USE="3dnow 3dnowext X acl acpi alsa amd64 bitmap-fonts branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo exceptions fam fortran gcj gdbm gif gpm gtk hal handbook html iconv ipv6 isdnlog jpeg kde4 ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ocamlopt ogg opengl openmp oss pam pcre pdf perl png pppd pulseaudio python qt3support qt4 quicktime readline reflection sdl semantic-desktop session spell spl sse sse2 sse3 ssl ssse3 svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode vorbis xcomposite xml xorg xv zlib" ALSA_CARDS="hda-nvidia hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling status substitute unique_id userdir usertrack version vhost_alias cgid cgi" APACHE2_MPMS="worker" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech clientdebug earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom nmea ntrip oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar timing tnt tripmate tsip ubx" INPUT_DEVICES="keyboard mouse ps2mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php-5.2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


emerge -pqv =dev-lang/mono-2.8
[ebuild  N    ] dev-lang/mono-2.8  USE="minimal -hardened -moonlight -profile4 -xen"
Comment 1 Kamen Dokov 2010-10-12 08:12:45 UTC
Created attachment 250335 [details]
build.log
Comment 2 Alistair Bush (RETIRED) gentoo-dev 2010-10-14 09:52:10 UTC
Well it looks like mono requires profile4 enabled.

I will be removing that use flag.
Comment 3 Kamen Dokov 2010-10-14 17:17:46 UTC
(In reply to comment #2)
> Well it looks like mono requires profile4 enabled.
> 
> I will be removing that use flag.
> 

You are correct: enabling 'profile4' solves my problem, but I'm not sure that mono installation should always require 'profile4' flag !
Comment 4 Pacho Ramos gentoo-dev 2010-10-14 20:19:03 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Well it looks like mono requires profile4 enabled.
> > 
> > I will be removing that use flag.
> > 
> 
> You are correct: enabling 'profile4' solves my problem, but I'm not sure that
> mono installation should always require 'profile4' flag !
> 

I fully agree with enabling it always since mono-2.8 is supposed to use it by default (as reported in its Release Notes: http://www.mono-project.com/Release_Notes_Mono_2.8 )
Comment 5 Alistair Bush (RETIRED) gentoo-dev 2010-10-15 06:24:05 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > Well it looks like mono requires profile4 enabled.
> > > 
> > > I will be removing that use flag.
> > > 
> > 
> > You are correct: enabling 'profile4' solves my problem, but I'm not sure that
> > mono installation should always require 'profile4' flag !
> > 
> 
> I fully agree with enabling it always since mono-2.8 is supposed to use it by
> default (as reported in its Release Notes:
> http://www.mono-project.com/Release_Notes_Mono_2.8 )
> 

From the upstream bug it seems that there are more issues than just this.  So the profile4 use flag is (at least currently) useless.  its another that should be removed.....
Comment 6 Pacho Ramos gentoo-dev 2010-10-15 20:22:40 UTC
*** Bug 340151 has been marked as a duplicate of this bug. ***
Comment 7 Pacho Ramos gentoo-dev 2010-10-15 20:26:06 UTC
+*mono-2.8-r1 (15 Oct 2010)
+
+  15 Oct 2010; Pacho Ramos <pacho@gentoo.org> -mono-2.8.ebuild,
+  +mono-2.8-r1.ebuild:
+  Force building with profile4 support (as it's used by default and
+  disabling it causes problems like reported in bug #340641 by Kamen Dokov
+  and tman) and building without moonlight configure option since it simply
+  strips mono from anything not used by www-plugins/moonlight (that is not
+  suitable for us since we need to support many other mono apps, thanks to
+  Miguel de Icaza for the explanation and Alistair Bush for tracking this
+  upstream and giving me a heads up when needed).
+