Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83164 - Can't install dev-dotnet/mono-1.1.4
Summary: Can't install dev-dotnet/mono-1.1.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 02:36 UTC by Roel Mathys
Modified: 2005-09-20 18:12 UTC (History)
2 users (show)

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


Attachments
Build log (5164-mono-1.1.4.log,438.08 KB, text/plain)
2005-03-08 19:12 UTC, Roel Brook
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roel Mathys 2005-02-24 02:36:09 UTC
I freshly installed gentoo on my notebook.

Installing dev-dotnet/mono-1.1.4 failed complaining that mcs was not found.
I had no previous installations of mono.

Work-a-round:
Installing dev-dotnet/mono-1.0.6 went ok. 
After this installing 1.1.4 worked as well.
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2005-02-24 07:56:15 UTC
Thanks for the report. Been a while since any of us actually had to install one of the mono versions without already having some mono installed. I'll try to reproduce later this week.
Comment 2 William Swartzendruber 2005-02-24 11:43:20 UTC
The author of the bug stated in the Gentoo Forums that he first had to install Mono 1.0.6 before installing Mono 1.1.4.
Comment 3 Anthony Gorecki 2005-03-02 00:59:13 UTC
I've encountered this problem as well. Hopefully installing 1.0.6 first as suggested will allow the compilation to complete.
Comment 4 Roel Brook 2005-03-08 19:12:25 UTC
Created attachment 52984 [details]
Build log

It dies on my machine too. This error seems to be the thing causing it:

mcs   -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug /target:exe
/out:mcs.exe cs-parser.cs  @mcs.exe.sources
make[7]: mcs: Commando niet gevonden <-- (command not found)

When emerging mono 1.0.6, it downloads a file called mcs-1.0.6.tar.gz. It does
not download this when emerging 1.1.4
Comment 5 Peter Johanson (RETIRED) gentoo-dev 2005-04-17 07:01:35 UTC
Ok, this is bizarre, because the ebuild definitely adds a directory to one's path that includes a custom "mcs" which should work.

Can you try to add a line printing out the PATH variable somewhere in the src_compile function in the ebuild to make sure we're at least sane going into the compilation process? Thanks.
Comment 6 Peter Johanson (RETIRED) gentoo-dev 2005-05-03 13:14:59 UTC
Can you all post the output of "emerge info" here? In particular, were you using userpriv and usersandbox FEATURES for portage? Thanks.
Comment 7 Roel Brook 2005-05-03 15:25:04 UTC
Here's mine:

Portage 2.0.51.21 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-rc1-love1 i686)
=================================================================
System uname: 2.6.12-rc1-love1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.11
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.3
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.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var /var/qmail/alias /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="nl_NL@euro"
LC_ALL="nl_NL@euro"
LINGUAS="nl"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib alsa apache2 apm arts audiofile avi bash-completion bitmap-fonts bonobo bzlib calender cdparanoia cdr chipcard chroot crypt cups curl dba divx4linux dvd dvdr dvdread eds emboss encode esd fam festival filepro flac fontserver foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick imlib insecure-drivers java jpeg jpeg2k junit kde ldap libg++ libwww live mad mikmod mime mmx mmxext mono motif mozdevelop mozilla moznomail moznoxft mp3 mpeg mplayer msn mysql ncurses network nls nptl nvidia odbc offensive ogg oggvorbis ooo-kde opengl pam pdflib perl php pic png postgres python qmail qt quicktime readline real rplay samba scanner sdk sdl session sftplogging slang softmmu speex spell sqlite sse ssl startup-notification stroke svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb userlocales v4l vorbis wmf xine xinerama xml xml2 xmms xprint xscreensaver xv xvid zlib video_cards_nvidia linguas_nl userland_GNU kernel_linux libc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS

no userpriv... What does it do? I'll add it if it's necessery
Comment 8 Peter Johanson (RETIRED) gentoo-dev 2005-05-08 17:09:09 UTC
Roel, can you please try with more minimal USE flags and report if it changes anything? Thanks.
Comment 9 Peter Johanson (RETIRED) gentoo-dev 2005-05-08 17:18:25 UTC
Ok, can everyone also please try with mono-1.1.7, and also everyone who hasn't posted their emerge info, please do so. Thanks.
Comment 10 Peter Johanson (RETIRED) gentoo-dev 2005-05-08 17:30:04 UTC
I also see that at least one person here is using love-sources. Are you also using reiser4?
Comment 11 Roel Brook 2005-05-09 09:09:33 UTC
I am using reiser4.

This bug is a bit of a pain to reproduce, but here it goes:

emerge -C mono
....
Medusa# mcs
zsh: command not found: mcs

emerging mono 1.1.7 directly works fine now. The mcs command can now be found during the "make" stage. Bug seems to have already been solved somewhere between 1.1.4 and 1.1.7.

might have been caused by some kind of missing profile in the makefile:


make[2]: Entering directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/runtime'
if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
d=`pwd`; cd ../mcs && make RUNTIME=$d/mono-wrapper PROFILES='default net_2_0' all-profiles
make[3]: Entering directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/mcs'
make profile-do--default--all profile-do--net_2_0--all
make[4]: Entering directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/mcs'
make PROFILE=basic all
make[5]: Entering directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/mcs'
make[6]: Entering directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/mcs'
make[6]: mcs: Commando niet gevonden
make[6]: *** [build/deps/basic-profile-check.exe] Fout 127
make[6]: Leaving directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/mcs'
*** The compiler 'mcs' doesn't appear to be usable.
Comment 12 Peter Johanson (RETIRED) gentoo-dev 2005-05-09 09:31:00 UTC
OK! Marking this tentatively FIXED, based on 1.1.7 no longer exhibiting this problem (and my inability to reproduce with 1.1.7 here after unmerging mono). If anyone else on the bug still has this problem with 1.1.7, please feel free to re-open. Thanks!
Comment 13 Georgi Chulkov 2005-09-20 18:12:05 UTC
I'm having the same mcs problem with mono-1.1.9.


make[3]: Entering directory `/var/tmp/portage/mono-1.1.9/work/mono-1.1.9/mcs'
make profile-do--default--all profile-do--net_2_0--all
make[4]: Entering directory `/var/tmp/portage/mono-1.1.9/work/mono-1.1.9/mcs'
make PROFILE=basic all
make[5]: Entering directory `/var/tmp/portage/mono-1.1.9/work/mono-1.1.9/mcs'
*** The compiler 'mcs' doesn't appear to be usable.
/bin/sh: dc: command not found
*** The contents of your 'monolite' directory are out-of-date
*** You may want to try 'make get-monolite-latest'
*** The source has version 40, but monolite has version
make[5]: *** [do-profile-check] Error 1
make[5]: Leaving directory `/var/tmp/portage/mono-1.1.9/work/mono-1.1.9/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/var/tmp/portage/mono-1.1.9/work/mono-1.1.9/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/var/tmp/portage/mono-1.1.9/work/mono-1.1.9/mcs'
make[2]: *** [all-local] Error 1
make[2]: Leaving directory `/var/tmp/portage/mono-1.1.9/work/mono-1.1.9/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mono-1.1.9/work/mono-1.1.9'
make: *** [all] Error 2

!!! ERROR: dev-lang/mono-1.1.9 failed.
!!! Function src_compile, Line 77, Exitcode 2
!!! MONO compilation failure
!!! If you need support, post the topmost build error, NOT this status message.


Note that mono-1.1.8.3 works. After emerging that, 1.1.9 compiles just fine (as
described above). Unfortunately, I don't have the authority to reopen the bug.

emerge info:


Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-morph7 i686)
=================================================================
System uname: 2.6.12-morph7 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -ftracer
-fomit-frame-pointer -ffast-math -momit-leaf-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -ftracer
-fomit-frame-pointer -ffast-math -momit-leaf-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.iu-bremen.de/gentoo/mirror/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa apache2 arts atlas audiofile avi bash-completion
bindist bitmap-fonts bzlib calendar cdparanoia cdr cpdflib crypt ctype cups
dedicated dga dio directfb divx4linux doc dv dvd dvdr dvdread encode exif fbcon
ffmpeg firefox flac flash fortran ftp gd ggi gif glut gphoto2 gtk gtk2 gtkhtml
hal howl iconv icq ieee1394 imagemagick imap imlib ithreads java javascript
jikes jpeg junit kde kdeenablefinal lame libcaca libwww live mad matroska mcal
ming mmx mmx2 mono mp3 mpeg mpi msn mysql ncurses nis nocd nptl nptlonly
nsplugin nvidia offensive ogg oggvorbis openal opengl pam pcmcia pdflib perl php
pic pie plotutils png portaudio posix ppds prelude python qt quicktime readline
real samba scanner sdl session sharedext simplexml slang sndfile sockets spell
spl sse sse2 ssl subversion svg svga symlink tcltk tcpd tetex theora threads
tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb
userlocales v4l vcd video videos vidix-voodoo3 vorbis vorbix wifi win32codecs
wmf wxwindows x86 xine xml xml2 xsl xv xvid zlib video_cards_nvidia userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS