Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382291 - dev-lang/mono-2.10.4: gmcs: Command not found.
Summary: dev-lang/mono-2.10.4: gmcs: Command not found.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 16:17 UTC by mori rámar
Modified: 2011-09-10 11:42 UTC (History)
0 users

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


Attachments
Full build.log of mono-2.10.4 (failed) (dev-lang:mono-2.10.4:20110908-122522.log,677.46 KB, text/plain)
2011-09-08 16:18 UTC, mori rámar
Details
Full build.log of dev-lang:mono-2.10.2-r1 (success) (dev-lang:mono-2.10.4:20110908-122522.log.xz,26.57 KB, application/x-xz)
2011-09-08 16:23 UTC, mori rámar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mori rámar 2011-09-08 16:17:09 UTC
I have a new installed system and because of docky, I have to install Mono-related packages. And then dev-lang/mono-2.10.4 failed to build.

(This problem is solved here by install the stable branch of dev-lang/mono.)

Part of build.log:
Making all in runtime
make[2]: Entering directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/runtime'
d=`cd ../support && pwd`; \
sed 's,target="libMonoPosixHelper[^"]*",target="'$d/libMonoPosixHelper.la'",' ../data/config > etc/mono/configt
if test -z ""; then :; else \
  sed 's,<configuration>,& <dllmap dll="gdiplus.dll" target="" />,' etc/mono/configt > etc/mono/configtt; \
  mv -f etc/mono/configtt etc/mono/configt; fi
mv -f etc/mono/configt etc/mono/config
/bin/sh ../mkinstalldirs _tmpinst/bin
mkdir -p -- _tmpinst/bin
cp mono-wrapper _tmpinst/bin/mono
echo '#! /bin/sh' > _tmpinst/bin/ilasm ; \
r=`pwd`; m=`cd /var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs && pwd`; \
echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/ilasm/ilasm.exe"'" "$@"' >> _tmpinst/bin/ilasm ; \
chmod +x _tmpinst/bin/ilasm
echo '#! /bin/sh' > _tmpinst/bin/gmcs ; \
r=`pwd`; m=`cd /var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs && pwd`; \
echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/class/lib/net_2_0/gmcs.exe"'" "$@"' >> _tmpinst/bin/gmcs ; \
chmod +x _tmpinst/bin/gmcs
echo '#! /bin/sh' > _tmpinst/bin/dmcs ; \
r=`pwd`; m=`cd /var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs && pwd`; \
echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/class/lib/net_4_0/dmcs.exe"'" "$@"' >> _tmpinst/bin/dmcs ; \
chmod +x _tmpinst/bin/dmcs
echo '#! /bin/sh' > _tmpinst/bin/al2 ; \
r=`pwd`; m=`cd /var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs && pwd`; \
echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/class/lib/net_2_0/al.exe"'" "$@"' >> _tmpinst/bin/al2 ; \
chmod +x _tmpinst/bin/al2
echo '#! /bin/sh' > _tmpinst/bin/al ; \
r=`pwd`; m=`cd /var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs && pwd`; \
echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/class/lib/net_4_0/al.exe"'" "$@"' >> _tmpinst/bin/al ; \
chmod +x _tmpinst/bin/al
if test -w /var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs; then :; else chmod -R +w /var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs; fi
cd /var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs && make NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5  net_4_0  ' CC='x86_64-pc-linux-gnu-gcc' all-profiles
make[3]: Entering directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make profile-do--net_2_0--all profile-do--net_3_5--all profile-do--net_4_0--all
make[4]: Entering directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make PROFILE=basic all
make[5]: Entering directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
/bin/sh .//mkinstalldirs build/deps
mkdir -p -- build/deps
touch build/deps/.stamp
make[6]: Entering directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make[6]: gmcs: Command not found
make[6]: *** [build/deps/basic-profile-check.exe] Error 127
make[6]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make[6]: Entering directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
*** The compiler 'gmcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
make[7]: Entering directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make[8]: Entering directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make[8]: *** [build/deps/basic-profile-check.exe] Segmentation fault
make[8]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make[8]: Entering directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
*** The contents of your 'monolite' directory may be out-of-date
*** You may want to try 'make get-monolite-latest'
make[8]: *** [do-profile-check-monolite] Error 1
make[8]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make[7]: *** [do-profile-check] Error 2
make[7]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make[6]: *** [do-profile-check-monolite] Error 2
make[6]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make[5]: *** [do-profile-check] Error 2
make[5]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4'
make: *** [all] Error 2
emake failed
 * ERROR: dev-lang/mono-2.10.4 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3743:  Called go-mono_src_compile
 *   environment, line 2555:  Called die
 * The specific snippet of code:
 *       emake "$@" || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/mono-2.10.4',
 * the complete build log and the output of 'emerge -pqv =dev-lang/mono-2.10.4'.
 * The complete build log is located at '/var/log/portage/dev-lang:mono-2.10.4:20110908-122522.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/mono-2.10.4/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/mono-2.10.4/work/mono-2.10.4'

Reproducible: Didn't try




emerge --info:
Portage 2.1.10.11 (hardened/linux/amd64/desktop, gcc-4.5.3, glibc-2.13-r4, 2.6.39-hardened-r12 x86_64)
=================================================================
System uname: Linux-2.6.39-hardened-r12-x86_64-AMD_Athlon-tm-_II_Neo_K345_Dual-Core_Processor-with-gentoo-2.0.3
Timestamp of tree: Thu, 08 Sep 2011 04:00:01 +0000
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo sunrise science gentoo-zh desktop-effects sebasmagri local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.163.com/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_TW zh"
MAKEOPTS="-j2"
PKGDIR="/var/cache/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="/var/lib/ebuilds/portage"
PORTDIR_OVERLAY="/var/lib/ebuilds/sunrise /var/lib/ebuilds/science /var/lib/ebuilds/gentoo-zh /var/lib/ebuilds/desktop-effects /var/lib/ebuilds/sebasmagri /var/lib/ebuilds/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac gconf gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk hardened hddtemp iconv ipv6 jpeg jpeg2k justify lame lcms ldap libnotify lm_sensors mad mms mmx mmxext mng modules mp3 mp4 mpeg msn mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pango pax_kernel pcre pdf perl png policykit ppds pppd pulseaudio python readline samba sdl session spell sqlite sse sse2 ssl startup-notification svg sysfs system-sqlite taglib tcpd threads tiff truetype udev unicode upnp urandom usb v4l2 vaapi vim-syntax vorbis webkit wifi x264 xcb xcomposite xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="crypt crypt-gpg plymouth 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_TW zh" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 mori rámar 2011-09-08 16:18:06 UTC
Created attachment 285869 [details]
Full build.log of mono-2.10.4 (failed)
Comment 2 mori rámar 2011-09-08 16:23:30 UTC
Created attachment 285871 [details]
Full build.log of dev-lang:mono-2.10.2-r1 (success)
Comment 3 Pacho Ramos gentoo-dev 2011-09-09 15:41:22 UTC
Don't you have /usr/bin/gmcs on your system?
Comment 4 mori rámar 2011-09-10 05:13:48 UTC
(In reply to comment #3)
> Don't you have /usr/bin/gmcs on your system?

When I was installing dev-lang/mono-2.10.4, I did not have any mono-related files at the moment. So I guess I don't...
Comment 5 Pacho Ramos gentoo-dev 2011-09-10 11:42:05 UTC
+*mono-2.10.5 (10 Sep 2011)
+
+  10 Sep 2011; Pacho Ramos <pacho@gentoo.org> -mono-2.10.1-r2.ebuild,
+  -mono-2.10.2.ebuild, -mono-2.10.4.ebuild, +mono-2.10.5.ebuild:
+  Version bump (also fixes bug 382291 by mori rámar), drop old and broken
+  versions.
+