Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124225 - mono build failures 1.1.8.3, 1.1.12.1 and 1.1.13.2
Summary: mono build failures 1.1.8.3, 1.1.12.1 and 1.1.13.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
: 124840 126677 126781 127004 (view as bug list)
Depends on:
Blocks: mono-reemerge
  Show dependency tree
 
Reported: 2006-02-26 20:54 UTC by Daniel Ostrow (RETIRED)
Modified: 2007-06-22 15:59 UTC (History)
10 users (show)

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


Attachments
screen log from mono-1.1.8.3 build (mono-1.1.8.3.screenlog,469.61 KB, text/plain)
2006-02-26 20:55 UTC, Daniel Ostrow (RETIRED)
Details
screen log from mono-1.1.12.1 build (mono-1.1.12.1.screenlog,509.02 KB, text/plain)
2006-02-26 20:56 UTC, Daniel Ostrow (RETIRED)
Details
tail end of mono-1.1.13.2 build showing failure (mono-1.1.13.2.log,3.44 KB, text/plain)
2006-02-26 20:56 UTC, Daniel Ostrow (RETIRED)
Details
mono 1.1.13.2 log (mono-1.1.13.2,5.15 KB, text/plain)
2006-03-01 08:39 UTC, Carsten Lohrke (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Ostrow (RETIRED) gentoo-dev 2006-02-26 20:54:31 UTC
Building mono on ppc64 under our 32bit userland fails. I havetried gcc-3.4.5, gcc-4.0.2 and gcc-4.1-20060223, the failure is always at the same point for the respective versions. All build tests were run with CFLAGS="-O2" MAKEOPTS="-j1". I have attached the appropriate logs.
Comment 1 Daniel Ostrow (RETIRED) gentoo-dev 2006-02-26 20:55:30 UTC
Created attachment 80811 [details]
screen log from mono-1.1.8.3 build
Comment 2 Daniel Ostrow (RETIRED) gentoo-dev 2006-02-26 20:56:11 UTC
Created attachment 80812 [details]
screen log from mono-1.1.12.1 build
Comment 3 Daniel Ostrow (RETIRED) gentoo-dev 2006-02-26 20:56:46 UTC
Created attachment 80813 [details]
tail end of mono-1.1.13.2 build showing failure
Comment 4 Daniel Ostrow (RETIRED) gentoo-dev 2006-02-26 21:04:33 UTC
For completeness although not indicative of the tests:

Portage 2.1_pre4-r1 (default-linux/ppc/ppc64/2006.0/32bit-userland/970/pmac, gcc-4.1.0-pre20060223, glibc-2.3.6-r3, 2.6.16-rc4 ppc64)
=================================================================
System uname: 2.6.16-rc4 ppc64 PPC970MP, altivec supported
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-Os -mtune=970 -mcpu=970 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mtune=970 -mcpu=970 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs digest distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/xfce4-svn-modX /usr/local/overlays/xgl /home/dostrow/Desktop/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aac aalib ada alsa altivec apm bash-completion berkdb bitmap-fonts ccache cdr cjk clearcase crypt cups dbus dlloader dri dvd dvdr dvdread eds emboss encode epiphany esd ffmpeg firefox foomaticdb fortran galago gcc64 gdbm gif gimp gimpprint gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal haskell ieee1394 imap imlib ipv6 jack jpeg libcaca libg++ libwww live logitech-mouse mad matroska mikmod motif mp3 mpeg musicbrainz mythtv ncurses network nls nptl nptlonly nsplugin offensive ogg oggvorbis opengl oss pam pascal pdf pdflib perforce perl png portaudio ppds python quicktime readline rtc ruby samba sasl scanner sdl sndfile spell ssl subversion svg tcltk tcpd tga theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales visualization vorbis xine xinerama xml xml2 xmms xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nv"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2006-03-01 08:39:59 UTC
Created attachment 81041 [details]
mono 1.1.13.2 log

I'm seeing the same, the stacktrace is a bit more verbbose, though.


Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r2, 2.4.32-gentoo-r2 i686)
=================================================================
System uname: 2.4.32-gentoo-r2 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fforce-addr -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fforce-addr -mfpmath=sse -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache cvs distlocks fixpackages keeptemp keepwork noclean nostrip sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
LDFLAGS=""
LINGUAS="de"
MAKEOPTS="-j2"
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 X aac acl acpi acpi4linux activefilter alsa antlr apache1 apm auctex audiofile avi bash-completion bcel berkdb bitmap-fonts bzip2 cddb cdparanoia cdr chroot clisp cmucl crypt cscope css cups curl devmap dga directfb divx4linux dnd doc dts dv dvb dvd dvdr editor edl eds emacs emboss encode ethereal exif expat ext-png ext-zlib faad fam fbcon ffmpeg firebird flac foomaticdb foreign-package fortran gcj gcl gd ggi gif glut gmp gphoto2 gpm graphviz gstreamer gtk2 hbci idl idn imagemagick imap imlib innodb jack jack-tmpfs javascript jpeg junit kde ladcca lcms ldap lesstif libg++ libwww lirc live lm_sensors log4j ltsp lzo mad maildir matroska mbox md5sum mhash mikmod mmx mng mozilla mp3 mpeg mupad-noscilab musepack nas ncurses network nls oav ofx ogg oggvorbis openal openexr opengl oss pam pcap pcre pdflib perl pg-hier php physfs plotutils png postgres ppds python qt quicktime readline real recode regexp rtc ruby samba sasl scanner sdl skey slang slp snmp sox speex spell sqlite sse ssl subversion svg svga tcpd tetex theora tiff transcode truetype truetype-fonts type1-fonts udev usb vim-with-x vorbis win32codecs wmf xalan xerces xine xml2 xv xvid yaz zeo zeroconf zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL
Comment 6 Thomas Veith 2006-03-01 12:45:04 UTC
having the same problem with dev-lang/mono-1.1.13.2 on amd64

emerge --info:
Portage 2.1_pre5-r1 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.6-r3, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -ffast-math -ftracer -pipe -fomit-frame-pointer -frename-registers"
CHOST="x86_64-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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -ffast-math -ftracer -pipe -fomit-frame-pointer -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://194.117.143.69 ftp://130.59.10.34/mirror/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de en ru"
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="amd64 X a52 aac acl acpi alsa apache2 arts artworkextra atlas audiofile avi bash-completion berkdb bitmap-fonts blas bzip2 cairo caps cddb cdr cg clisp crypt css cups curl dbus devil doc dts dv dvd dvdr dvdread eds emacs emboss encode esd examples exif expat fame fbcon ffmpeg fftw firefox flac flash font-server foomaticdb fortran fpx gcj gd gdbm gif ginac glitz glut gmp gnome gnomedb gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal howl iconv icq idn ieee1394 imagemagick imap imlib ipv6 irc java javascript jbig jpeg jpeg2k kde lapack latex lcms libcaca lj lm_sensors logitech-mouse lua lzo lzw lzw-tiff mad mcal mikmod mjpeg mmap mng motif mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg msn musepack mysql nas ncurses network nfs nls nntp nptl nvidia objc odbc offensive ogg oggvorbis opengl pam pascal pcre pda pdflib perl plotutils png postgres python qhull qt quicktime quotas rdesktop readline rss samba sample sbcl sblive sdl slang smp sndfile snmp speex spell sql sqlite ssl subversion svg tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd visualization vorbis winbind wmf xbase xine xml xml2 xmms xpm xprint xscreensaver xv xvid xvmc zeroconf zlib elibc_glibc kernel_linux linguas_de linguas_en linguas_ru userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
Comment 7 Peter Johanson (RETIRED) gentoo-dev 2006-03-01 13:07:03 UTC
Thomas: Can you please try with minimal CFLAGS, and also post the log of the error for completeness? Thanks.
Comment 8 Peter Johanson (RETIRED) gentoo-dev 2006-03-01 13:08:15 UTC
Carsten: Do you have any previous versions of mono installed? If so, does removing them first change anything?
Comment 9 Peter Johanson (RETIRED) gentoo-dev 2006-03-01 13:08:36 UTC
(bah, misfire on the re-assignment, sorry for the spam)
Comment 10 Michael Baer 2006-03-03 00:46:28 UTC
Exactly the same problem as Carsten (Comment #5) here.


Portage 2.1_pre5-r2 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r3, 2.6.15.4 i686)
=================================================================
System uname: 2.6.15.4 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r6, 2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc /var/www/localhost/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mtune=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks loadpolicy sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ndlug.nd.edu/pub/gentoo/"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/my-ebuilds /usr/local/overlays/java-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 acl acpi alsa apache2 apm arts avi bcmath berkdb bitmap-fonts bzip2 calendar caps cgi cli crypt cups curl dba dga doc dri dvd eds emboss encode flatfile foomaticdb fortran freetype gd gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv imagemagick imap imlib ipv6 java jpeg kde kerberos ldap libg++ libwww mad maildir mhash mikmod mmx motif mp3 mpeg mysql ncurses nls objc offensive ogg oggvorbis opengl oss pam pcre pdflib pear perl png python qt quicktime readline scanner sdl session soap sockets spell sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts usb vhosts vorbis win32codecs xml2 xmms xsl xv xvid zlib elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS
Comment 11 Michael Baer 2006-03-03 05:33:13 UTC
Peter, your tip (Comment #8) did it.

Is there any explanation, why I have to uninstall the old mono to install the new one? IMHO it's really weird.
Comment 12 Carsten Lohrke (RETIRED) gentoo-dev 2006-03-03 06:51:43 UTC
(In reply to comment #8)
> Carsten: Do you have any previous versions of mono installed? If so, does
> removing them first change anything?
> 

Everything, Mono install went fine.
Comment 13 Bernard Cafarelli gentoo-dev 2006-03-03 09:10:55 UTC
Removing old mono prevented the problem from comment #5 to appear here when emerging 1.1.13.2.

Strange thing is, after the build failed (the first time), I switched to the work dir and was able to compile everything with 'make'. So the problem comes fron the sandboxed environment during the emerge?
Comment 14 Carsten Lohrke (RETIRED) gentoo-dev 2006-03-03 12:17:51 UTC
*** Bug 124840 has been marked as a duplicate of this bug. ***
Comment 15 Oliver Dietrich 2006-03-04 04:52:02 UTC
FYI:

emerge --unmerge mono
emerge mono

solved the problem. Not beautiful, but it works. 
Comment 16 Rumen Yotov 2006-03-04 11:04:50 UTC
Hi,
Tried the trick in commment #8 (unmerging then emerge the new version).
Didn't work. Logs are below:
...BEGIN...config.status: creating mono/io-layer/Makefile
config.status: creating mono/mini/Makefile
config.status: creating mono/handles/Makefile
config.status: creating mono/profiler/Makefile
config.status: creating ikvm-native/Makefile
config.status: creating scripts/Makefile
config.status: creating man/Makefile
config.status: creating web/Makefile
config.status: creating docs/Makefile
config.status: creating data/Makefile
config.status: creating data/net_1_1/Makefile
config.status: creating data/net_2_0/Makefile
config.status: creating samples/Makefile
config.status: creating support/Makefile
config.status: creating data/config
config.status: creating tools/Makefile
config.status: creating tools/locale-builder/Makefile
config.status: creating runtime/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing runtime/etc/mono/1.0/machine.config commands
config.status: executing runtime/etc/mono/2.0/machine.config commands
configure: configuring in libgc
configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-preview=yes' '--with-tls=__thread' '--build=i686-pc-linux-gnu' '--cache-file' 'config.cache' 'CFLAGS= -O2 -march=athlon-xp -pipe' 'CXXFLAGS= -O2 -march=athlon-xp -pipe' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' --disable-embed-check --with-libgc-threads=pthreads --cache-file=../config.cache --srcdir=.
configure: loading cache ../config.cache
configure: error: `CPPFLAGS' was not set in the previous run
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ../config.cache' and start over
configure: error: /bin/sh './configure' failed for libgc

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/mono-1.1.13.2/work/mono-1.1.13.2/config.log

!!! ERROR: dev-lang/mono-1.1.13.2 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile
  mono-1.1.13.2.ebuild, line 78:   Called econf 'compile' '--with-preview=yes'

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
...END...
Seems some env CPPFLAGS are changed, but shouldn't they be: CXXFLAGS instead.
Thanks.Rumen
emerge --info:
Gentoo Base System version 1.12.0_pre16
Portage 2801-svn (!/usr/portage/profiles/default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) XP 2200+
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE=""
ALSA_CARDS="ens1371"
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="i686-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="2G"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DCCC_PATH="/usr/lib/distcc/bin"
DISPLAY=":0.0"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/var/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig buildpkg ccache collision-protect confcache distlocks enotice gpg metadata-transfer parallel-fetch sandbox sfperms userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7/html"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://files.gentoo.gr http://mirror.etf.bg.ac.yu/gentoo http://mirror.datapipe.net/gentoo"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="mach"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/info"
KDEDIRS="/usr"
KERNEL="linux"
LADSPA_PATH="/usr/lib/ladspa"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man:/usr/qt/3/doc/man"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.5:/usr/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/var/qmail/bin"
PKGDIR="/var/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_MAILFROM="portage@qrypto.org"
PORTAGE_ELOG_MAILURI="gentoo@mach.qrypto.org localhost"
PORTAGE_ELOG_SYSTEM="save mail"
PORTAGE_GID="250"
PORTAGE_GPG_DIR="/etc/portage/gpg"
PORTAGE_MASTER_PID="1267"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TMPFS="/dev/shm"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_ENOTICE_DIR="/var/enotice/"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10:/usr/lib/gstreamer-0.8:/usr/lib/klibc"
PWD="/root"
PYTHONDOCS="/usr/share/doc/python-docs-2.4.2/html"
PYTHONPATH="/usr/lib/portage/pym"
QMAIL_CONTROLDIR="/var/qmail/control"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
RUBYOPT="-rauto_gem"
SEARCH_DIRS_MASK="/usr/lib/openoffice"
SHELL="/bin/bash"
SHLVL="2"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
TMAKEPATH="/usr/lib/tmake/linux-g++"
USE="x86 3dnow X X509 a52 aac acl acpi alsa apache2 avi bash-completion berkdb bitmap-fonts caps cdb cdr crypt cups curl dvd dvdr eds encode esd evo exif ffmpeg flac foomaticdb freetype gd gif gnutls gstreamer gtk gtk2 gtkhtml hal iconv imap imlib ipv6 ithreads javascript jpeg kdexdeltas lcms libg++ libwww mad maildir matroska mikmod mime mmx motif mp3 mpeg ncurses nls nptl nvidia ogg opengl oss pam pdflib perl png posix ppds prelude python quicktime readline sdl skey speex spell sse ssl svg symlink tcpd theora threads transcode truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xine xml xsl xv xvid zlib elibc_glibc kernel_linux userland_GNU"
USER="root"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN=""
USE_ORDER="env:pkg:conf:defaults"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthpLDBSt"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"
Comment 17 Peter Johanson (RETIRED) gentoo-dev 2006-03-04 11:24:44 UTC
EVERYONE: This is *not* a catch-all bug for every random mono build failure someone experiences. The *only* posts on this bug should be those users with the *exact* error reported by the original person (or *very* close to the exact error message, in this case it's a threading bug in the runtime that may manifest itself slightly differently). Random configure errors, other compiler error messages, etc should go in their *OWN* new bug. Any random errors attached to this bug will get ignored, cause it's impossible to track things with everything smushed together here.

</rant>

(apologies, the above may be harsher than usual from me, cause i'm nursing a mean hangover)
Comment 18 Rumen Yotov 2006-03-06 10:42:22 UTC
Hi,
Solved my problem with mono-1.1.13.2, it compiles w/o errors.
Agree with comment #17 but wanna ask - as my error was during configure phase and different (from that of the reporter) should i open a New Bug?
Did two things to emerge mono successfully:
1.Before mono emerged "dev-libs/libgc-6.6" as in my case the error was during configure of "libgc". See the minimal error log at the end of this post;
2.Emerged "mono" using FEATURES="-confcache" as even with 'libgc' again received a config error.
PS: haven't checked but maybe mono should also DEPEND on "libgc" (not sure).
Thanks. My error log goes below. Rumen
...BEGIN...
configure: configuring in libgc
configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-preview=yes'
'--with-tls=__thread' '--build=i686-pc-linux-gnu' '--cache-file' 'config.cache' 'CFLAGS= -O2 -march=athlon-xp -pipe' 'CXXFLAGS= -O2
-march=athlon-xp -pipe' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' --disable-embed-check
--with-libgc-threads=pthreads --cache-file=../config.cache --srcdir=.
configure: loading cache ../config.cache
configure: error: `CPPFLAGS' was not set in the previous run
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ../config.cache' and start over
configure: error: /bin/sh './configure' failed for libgc

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/mono-1.1.13.2/work/mono-1.1.13.2/config.log

!!! ERROR: dev-lang/mono-1.1.13.2 failed.
Call stack:
  ebuild.sh, line 1944:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile
  mono-1.1.13.2.ebuild, line 78:   Called econf 'compile' '--with-preview=yes'

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
...END...
Comment 19 Peter Johanson (RETIRED) gentoo-dev 2006-03-06 10:55:22 UTC
Rumen: YES. Maybe I'm missing some subtle sarcasm on your part, but YES, OPEN A NEW BUG.
Comment 20 Rumen Yotov 2006-03-08 23:26:54 UTC
Hi,
To comment #19, sorry if you saw any sarcasm in my post, none intended.
This happens from time to time as i'm not a native speaker, so i can't always express myself in the best way.
The BUG # is 125567.
Thanks.Rumen
Comment 21 Carsten Lohrke (RETIRED) gentoo-dev 2006-03-18 10:09:25 UTC
*** Bug 126677 has been marked as a duplicate of this bug. ***
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2006-03-19 04:11:33 UTC
*** Bug 126781 has been marked as a duplicate of this bug. ***
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2006-03-20 13:20:56 UTC
*** Bug 127004 has been marked as a duplicate of this bug. ***
Comment 24 Jurek Bartuszek (RETIRED) gentoo-dev 2006-04-20 05:13:20 UTC
I wonder... this bugs covers two errors occuring when building mono. The first one regards Mono.Security (attachment no 3), the second one - System.Text.EncoderFallbackBuffer (attachment no 4). They are two different bugs. However, bugzilla devs close and resolve bugs describing both errors as duplicates pointing into this bug. I personally get the second error. Mono developers are aware of the bug:

http://lists.ximian.com/pipermail/mono-list/2006-January/030406.html

A workaround is also proposed. However, manual dll copying is pretty anoying and therefore I'm looking forward for a real solution. There is a relatively new bug filed regarding the above error:

http://bugs.gentoo.org/attachment.cgi?id=81041

My suggestion is to post comments concerning EncoderFallbackBuffer bug there.
Comment 25 Pacho Ramos gentoo-dev 2006-07-18 15:05:48 UTC
I always have this problem, but it can be fixed if the old mono version is unmerged before install new one:
1. quickpkg mono
2. emerge -C mono
3. emerge mono

Comment 26 DEMAINE Benoît-Pierre, aka DoubleHP 2006-09-05 11:03:24 UTC
please mark this bug depend of #146424
Comment 27 Pacho Ramos gentoo-dev 2007-04-30 20:03:03 UTC
Please, check if this bug is still valid when you upgrade from mono-1.2.2.1 to mono-1.2.3.1

Good luck!
Comment 28 Jurek Bartuszek (RETIRED) gentoo-dev 2007-05-31 19:38:36 UTC
Run 'emerge --sync', try to remerge mono and let me know if this problem still persists.
Comment 29 Jurek Bartuszek (RETIRED) gentoo-dev 2007-06-22 15:59:01 UTC
Nothing new since july 2006, it seems to be a dup of the infamous mono re-emerging bug anyway. Closing.