Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196633 - dev-lang/mono-1.2.4 compile hangs
Summary: dev-lang/mono-1.2.4 compile hangs
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-21 16:36 UTC by Takeshi Kiriya
Modified: 2007-12-07 14:39 UTC (History)
0 users

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


Attachments
The output of `emerge mono` and `top` command (log.txt,500.64 KB, text/plain)
2007-10-21 16:59 UTC, Takeshi Kiriya
Details
emerge --info output and log of emerge (with debug messages) (log-with-dbgmsg.txt.gz,240.11 KB, application/x-gzip)
2007-10-24 16:43 UTC, Takeshi Kiriya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Takeshi Kiriya 2007-10-21 16:36:57 UTC
When I'm merging dev-lang/mono-1.2.4, the merging job becomes busy (not crashes.)

I watched the output of `top` while the job was running as a background. When the job become busy, the process "mono", which was using most of CPU resources was running.


Reproducible: Always

Steps to Reproduce:
1. Did `emerge mono`
Actual Results:  
The cascade of output during compiling stopped.
I waited a long time but nothing changed; I thought the job became busy.
So I tried:
  a) Deleted my setting of those environment variables from /etc/make.conf:
    CFLAGS, CXXFLAGS, MAKEOPTS, PORTAGE_NICENESS, FEATURES
  b) Set LANG=C
(Note: The output of `emerge --info` in Additional Information is my ordinary settings.)
And I retried but the problem was not solved; Nothing changed.

Expected Results:  
It should be merged.

Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.00GHz
Timestamp of tree: Sun, 21 Oct 2007 06:20:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -w -O3 -fomit-frame-pointer -finline-limit=300000 -funroll-loops -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-pipe -w -O3 -fomit-frame-pointer -finline-limit=300000 -funroll-loops -march=pentium4"
DISTDIR="/var/tmp/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict suidctl unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://ftp.iij.ad.jp/pub/linux/gentoo/ ftp://gg3.net/pub/linux/gentoo/"
MAKEOPTS="-j 1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage"
USE="acl apache2 bash-completion berkdb bzip2 cjk cracklib crypt cups curl curlwrappers emacs expat fortran gcj gd gdbm gmp guile iconv idn imagemagick imap innodb java jikes ldap libedit libwww lm_sensors lua maildir mime mmap mmx mono mysql mysqli ncurses nls nptl ocaml pam pcre perl php png posix python readline ruby samba sasl session sharedext simplexml soap sockets spl sqlite sqlite3 sse sse2 ssl symlink tcl tcpd threads unicode vhosts x86 xml xmlrpc xsl zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1      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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt       mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage    siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware      voodoo"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Takeshi Kiriya 2007-10-21 16:59:23 UTC
Created attachment 134055 [details]
The output of `emerge mono` and `top` command
Comment 2 Takeshi Kiriya 2007-10-21 17:09:32 UTC
Comment on attachment 134055 [details]
The output of `emerge mono` and `top` command

Note: this is the output after deleteing several settings in /etc/make.conf.
I am sorry to forget to add LANG=C in the head of the command line.
According to output, however, I didn't set LANG. So it may be not a big mistake.
Comment 3 Sabeeh Baig 2007-10-21 23:58:37 UTC
Can you install the previous version?
Comment 4 Takeshi Kiriya 2007-10-22 02:35:48 UTC
(In reply to comment #3)
> Can you install the previous version?
failed 1.2.2.1, it seems to be same problem.
Comment 5 Jurek Bartuszek (RETIRED) gentoo-dev 2007-10-24 10:48:31 UTC
Could you please try setting your CFLAGS to "-O2 -pipe -fomit-frame-pointer" and nothing else?
Comment 6 Takeshi Kiriya 2007-10-24 16:40:55 UTC
(In reply to comment #5)
> Could you please try setting your CFLAGS to "-O2 -pipe -fomit-frame-pointer"
> and nothing else?
Does it mean emerge mono only with CFLAGS="-O2 -pipe -fomit-frame-pointer" ?
I tried, but it failed again.
So I decided to attach a log with debug and warning informations.
Comment 7 Takeshi Kiriya 2007-10-24 16:43:33 UTC
Created attachment 134248 [details]
emerge --info output and log of emerge (with debug messages)

This is an `emerge --info` output and log of `emerge mono` that is enabled gcc -Wall and make -d option.
Comment 8 Takeshi Kiriya 2007-12-07 14:39:58 UTC
I found that the problem even appears when I try to install without Portage system in my environment.
Therefore, I close this report and post it to Mono project team.
Thank you for deal with this bug.