Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162214 - dev-lang/mono-1.2.2.1 fails to build
Summary: dev-lang/mono-1.2.2.1 fails to build
Status: RESOLVED DUPLICATE of bug 146424
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-15 15:12 UTC by Filippo Sallemi
Modified: 2007-06-22 16:12 UTC (History)
1 user (show)

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


Attachments
Errormessage (h.h,11.80 KB, text/plain)
2007-01-17 15:02 UTC, Thomas Rausch
Details
emerge mono with CFLAGS="-O2 -march=i686 -pipe -g -ggdb" (build.log,558.30 KB, text/plain)
2007-01-21 18:42 UTC, Filippo Sallemi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filippo Sallemi 2007-01-15 15:12:18 UTC
During compilation of mono, emerge say "Compilation succeeded - 10 warning(s)" and this terminate with error message "Native stacktrace" with some HEX code.
I tried to emerge mono with CFLAGS="-02" but the results are the same.

Help me Please...   

Reproducible: Always

Steps to Reproduce:
1.emerge mono
2.emerge -avl mono

Actual Results:  
Compilation succeeded - 10 warning(s)
MONO_PATH="../../class/lib/net_1_1_bootstrap:$MONO_PATH" /var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/runtime/mono-wrapper  ../../class/lib/net_1_1_bootstrap/sn.exe -q -R ../../class/lib/default/Mono.Data.Tds.dll ../../class/mono.snk
Stacktrace:


Native stacktrace:

        /var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mono/mini/mono [0x815fbda]
        /var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mono/mini/mono [0x812a9f8]
        /lib/libpthread.so.0 [0x400d767d]
        [0x4001c440]
        [0x40b9495b]
        [0x40b9437e]
        [0x40b9418e]
        [0x40b91431]
        [0x40b91146]
        [0x40b9110f]
        [0x40b88042]
        [0x40b87f2f]
        [0x40b834bb]
        [0x40b80a4c]
        [0x40a233be]
        [0x40a228bc]
        [0x40a227d4]
        /var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mono/mini/mono(mono_runtime_exec_main+0x9c) [0x80dc4cc]
        /var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mono/mini/mono(mono_runtime_run_main+0x1b3) [0x80dc773]
        /var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mono/mini/mono(mono_main+0xe53) [0x8058d83]
        /var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mono/mini/mono [0x8057a42]
        /lib/libc.so.6(__libc_start_main+0xb0) [0x40158d60]
        /var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mono/mini/mono(dl_iterate_phdr+0x199) [0x8057991]

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

make[8]: *** [../../class/lib/default/Mono.Data.Tds.dll] Abortito
make[8]: *** Deleting file `../../class/lib/default/Mono.Data.Tds.dll'
make[8]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mcs/class/Mono.Data.Tds'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mcs/class/Mono.Data.Tds'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mcs/class'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mcs'
make[4]: *** [profile-do--default--all] Error 2
make[4]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.2.1/work/mono-1.2.2.1'
make: *** [all] Error 2

!!! ERROR: dev-lang/mono-1.2.2.1 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3677:   Called src_compile
  mono-1.2.2.1.ebuild, line 90:   Called die

!!! compile failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-lang/mono-1.2.2.1/temp/build.log'.


Expected Results:  
I'm waiting for working again

Portage 2.1.2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.8
Timestamp of tree: Mon, 15 Jan 2007 13:00:02 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=i686 -pipe"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT"
LC_ALL="it_IT"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aiglx alsa berkdb bitmap-fonts bzip2 cairo cdr cgi cli cracklib crypt cups daap dbus dlloader doc dri eds emboss encode fastcgi ffmpeg flac foomaticdb fortran ftp gd gdbm gif gimp gmail gnome gpm gstreamer gtk gtk2 hal httpd iconv imap imlib ipod iproute2 ipv6 isdnlog jpeg libg++ libwww mad matroska mikmod motif mp3 mpeg mysql nautilus ncurses nls ogg opengl optimisememory oss pam pcre pdf perl php png pop pppd python qt4 quicktime readline reflection samba sdl session spell spl sqlite ssl stream svg svga tcpd theora threads truetype truetype-fonts type1-fonts usb v4l vlm vorbis webdav win32codecs wxwindows x86 xinerama xml xmlrpc xorg xosd xv zip zlib" ALSA_CARDS="emu10k1x" 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" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-01-15 21:03:55 UTC
Do you have a previous mono installation?  If not, can you build with '-g -ggdb' in CFLAGS as well please and then report the failure.
Comment 2 Thomas Rausch 2007-01-17 15:02:45 UTC
Created attachment 107268 [details]
Errormessage

On my AM64X2-System:
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.6
Last Sync: Wed, 17 Jan 2007 10:00:02 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3 -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -msse3 -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/ http://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo/ http://gentoo.intergenia.de ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ "
LANG="de_DE@euro"
LINGUAS="de en_GB"
MAKEOPTS="-j3"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 64bit 7zip X X509 Xaw3d a52 aac aalib acl acpi aim aimextras alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amd amr ao aoss apache apache2 apm arts artswrappersuid asf async atk automount avalon bash-completion bashlogger beagle berkdb bitmap-fonts bl bmpx bzip2 cairo calendar capi caps cdda cddb cdparanoia cdr cdrom cgi chipcard chipcard2 chroot cli contentcache cracklib crosscompile crypt css cups custom-cflags dbx dga directfb divx dlloader dmi dnd dri dts dv dvb dvd dvdr dvdread dvi dxr3 elibc_glibc emul-linux-x86 encode escreen exif ext-iiimf extensions extraengine extrafilters fam fame fat fax faxonly fbdev fbsplash ffmpeg fftw firefox flac flash flatfile font-server fontconfig foomaticdb fortran freetype2 ftp fuse gcc64 gdbm gdl gdm gecko-sdk geldkarte general geos gif gimp gimpprint glade gmedia gnokii gnome gphoto2 gpm grammar gs gstreamer gtk gtk2 gtkhtml gzip hbci high-ints highlight html http iconv icq id3 ieee1394 image imagemagick imap imlib innodb input_devices_evdev input_devices_keyboard input_devices_mouse iodbc ipod ipppd ipsec ipv6 irda irmc isdn isdnlog java java5 javascript jbig jboss jingle jmx jpeg jpeg2k jpgraph jta kde kdepim kdm kerberos kernel_linux kipi lame latex lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap ldapsam libg++ libtommath libwww linguas_de linguas_en_GB lirc lm_sensors logitech-mouse lzo lzw mad math matrox mime mimencode mixer mjpeg mng mod modplug moneyplex mono mozcalendar mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer msn multiuser mysql mysqlfriends mysqli nas ncurses net network nforce2 nfs nis nls nntp nptl nptlonly nsplugin ntfs ntlm ntlm_unsupported_patch ntp nvidia nvram odbc ofx ogg on-the-fly-crypt opengl openssh openssl opensslcrypt osc oscache pam pccts pcre pda pdf perl php player png ppds pppd print ps python qt3 qt4 quicktime quotas rar rdesktop readline reflection reiser4 reiserfs resolvconf rle rsh rtc rtsp samba sametime scanner screen sdl sdl-sound sdlaudio seamonkey serial server session sftp shout slp smarty smp sms sndfile snmp sockets socks5 softfax sound sox speech speedo speex spell spl sse-filters ssl stream suid suidcheck svg svgz sysfs syslog szip taglib tagwriting tcl tcltk tcpd tga theora thesaurus threads threadsonly thumbnail thunderbird tiff tk toolbar transcode truetype truetype-fonts type1 type1-fonts udev unicode unzip usb userland_GNU userlocales v4l v4l2 vcd vdr video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vlm vnc vncviewer voodoo1 voodoo2 voodoo3 voodoo5 vorbis vorbis-psy wifi winbind withsamplescripts wma wmf wmp wordexp wordperfect x11vnc x264 xbase xcomposite xerces-c xext xface xforms xfs xft xim xine xinerama xinetd xlockrc xml xmldoclet xmlreader xmlwriter xorg xosd xpm xprint xscreensaver xsettings xsl xslt xterm xv xvid xvmc xvnc yahoo zeroconf zip zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Filippo Sallemi 2007-01-21 18:42:24 UTC
Created attachment 107698 [details]
emerge mono with CFLAGS="-O2 -march=i686 -pipe -g -ggdb"
Comment 4 Thomas Rausch 2007-04-24 12:41:25 UTC
It's works! :-) See Bug 146424
Comment 5 Jurek Bartuszek (RETIRED) gentoo-dev 2007-06-22 16:12:58 UTC

*** This bug has been marked as a duplicate of bug 146424 ***