Mono-1.1.6 fails to compile and it gave the following error: Creating ../build/deps/basic_mcs.exe.makefrag ... /bin/sh: ../build/deps/basic_mcs.exe.makefrag: No such file or directory make[6]: *** [../build/deps/basic_mcs.exe.makefrag] Error 1 make[6]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/mcs' touch: cannot touch `./class/lib/basic/*': No such file or directory make[5]: *** [do-profile-check] Error 1 make[5]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs' make[4]: *** [profile-do--basic--all] Error 2 make[4]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs' make[3]: *** [profiles-do--all] Error 2 make[3]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs' make[2]: *** [all-local] Error 2 make[2]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/runtime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6' make: *** [all] Error 2 There is not other error prior to the lines above. Mono-1.0.6 compiled cleanly on the same system. Mono-1.1.6 compiled cleanly on another box that I have (AMD Athlon XP 2100+). Reproducible: Always Steps to Reproduce: 1.emerge =dev-lang/mono-1.1.6 <a href="http://bugs.gentoo.org/show_bug.cgi?id=83164">83164 - can't install dev-dotnet/mono-1.1.4</a>: I had the same error when compiling mono-1.1.6 BEFORE mono-1.0.6 was installed. After installing 1.0.6, and then trying 1.1.6, I had the error above.
Can you please add the output of "emerge info" here? Also, this seems like a really odd error, maybe caused by running out of disk space? Thanks.
Here's the output of emerge info: Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 14 2005, 12:57:27)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2, 2.6.8.1-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks keepwork sandbox sfperms" GENTOO_MIRRORS="http://192.168.1.102/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa avi berkdb bitmap-fonts crypt curl emboss encode fam flac font-server foomaticdb fortran gdbm gif gpm imagemagick imlib java jpeg libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline samba sdl slang snmp spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
I tried again today, and upon inspecting the output, here's additional error messages prior the lines that I've originally copied: make[3]: Entering directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs' make profile-do--default--all profile-do--net_2_0--all make[4]: Entering directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs' make PROFILE=basic all make[5]: Entering directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs' make[6]: Entering directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs' /bin/sh: build/deps/basic-profile-check.cs: No such file or directory make[6]: *** [build/deps/basic-profile-check.cs] Error 1 make[6]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs' *** The compiler 'mcs' doesn't appear to be usable. *** Falling back to using pre-compiled binaries. Be warned, this may not work. cp: `../basic': specified destination directory does not exist Try `cp --help' for more information. make[6]: Entering directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/jay' make all-local make[7]: Entering directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/jay' make[7]: Nothing to be done for `all-local'. make[7]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/jay' make[6]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/jay' make[6]: Entering directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/mcs' Creating ../build/deps/basic_mcs.exe.makefrag ... /bin/sh: ../build/deps/basic_mcs.exe.makefrag: No such file or directory make[6]: *** [../build/deps/basic_mcs.exe.makefrag] Error 1 make[6]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/mcs' touch: cannot touch `./class/lib/basic/*': No such file or directory make[5]: *** [do-profile-check] Error 1 make[5]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs' make[4]: *** [profile-do--basic--all] Error 2 make[4]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs' make[3]: *** [profiles-do--all] Error 2 make[3]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs' make[2]: *** [all-local] Error 2 make[2]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/runtime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mono-1.1.6/work/mono-1.1.6' make: *** [all] Error 2
The problem is fixed: All I did was rm'ed ccache directories and portage tmpdir, and reemerge.