Nant 0.85-r3 crach when I try to run it. Nant 0.85-r2 cannot be even compiled! I'm trying mono 1.0.5 now (I don't have fast processor then it'll take some time). Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: % echo "nant" | LANG=en_US LC_ALL=en_US zsh ** (/usr/share/NAnt/bin/NAnt.exe:19590): WARNING **: Missing method .ctor in assembly /usr/share/NAnt/bin/NAnt.exe, type System.Runtime.CompilerServices.RuntimeCompatibilityAttribute ** ERROR **: Can't find custom attr constructor image: /usr/share/NAnt/bin/NAnt.exe mtoken: 0x0a000056 aborting... Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-ck5 i686) ================================================================= System uname: 2.6.14-ck5 i686 Pentium III (Katmai) Gentoo Base System version 1.12.0_pre11 dev-lang/python: 2.3.5, 2.4.2 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -pipe -mmmx -msse -mfpmath=sse -fomit-frame-pointer -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -pipe -mmmx -msse -mfpmath=sse -fomit-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="pl_PL.UTF8" LC_ALL="pl_PL.UTF8" LDFLAGS="-L/home/uzytkownik/Aplikacje/bless/lib " MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/bmg-main/bmg-main" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acl alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cdparanoia crypt cups dbus doc eds emacs emboss encode esd exif expat fam firefox foomaticdb fortran gb gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal idn imlib ipv6 java jpeg junit kerberos lcms libg++ libgda libwww mad mikmod mmx mng mono motif mozilla mp3 mpeg mysql mysqli ncurses nls nptl nptlonly ogg oggvorbis openal opengl pam pcre pdflib perl php png posix python quicktime readline ruby samba sdl simplexml spell sqlite sse ssl svg symlink tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vhosts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LINGUAS
I'm definitely not getting this here on mono-1.1.10: <snip> peter@stu ~ $ nant NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net BUILD FAILED Could not find a '*.build' file in '/home/peter' For more information regarding the cause of the build failure, run the build again in debug mode. Try 'nant -help' for more information peter@stu ~ $ equery l mono [ Searching for package 'mono' in all categories among: ] * installed packages [I--] [ ] dev-lang/mono-1.1.10 (0) </snip> Can you please try re-emerging mono-1.1.10 with CFLAGS="-pipe". It seems unlikely, but this may be causing the problem. Thanks.
Just tried recompiling it without the -pipe , and still have the same problem.
FWIW, I am seeing the exact same problem as the submitter describes. Mono 1.1.10 and nant 0.85-rc3 causes the exact error message mentioned above. Re-emerging as suggested did not improve the situation at all.
I have this problem as well. nant says: ** (/usr/share/NAnt/bin/NAnt.exe:32381): WARNING **: Missing method .ctor in assembly /usr/share/NAnt/bin/NAnt.exe, type System.Runtime.CompilerServices.RuntimeCompatibilityAttribute ** ERROR **: Can't find custom attr constructor image: /usr/share/NAnt/bin/NAnt.exe mtoken: 0x0a000056 aborting... Aborted I'm remerging mono to see if that helps. Remerging nant didn't help. Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 x86_64) ================================================================= System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 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.20 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/boot/grub:/usr/lib/perl5/vendor_perl/5.8.4/Netcomics/etc /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 /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org" MAKEOPTS="-j2" PKGDIR="/var/tmp/safe/portage-pkg" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acl alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts boo bzip2 cairo cdr crypt cups curl dvd eds emboss encode esd ethereal exif expat f77 fam ffmpeg flac foomaticdb fortran gcj gd gdbm gif glitz glut gmp gnome gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 ithreads java jpeg kde kerberos krb4 lcms libedit libwww lzw lzw-tiff mad mhash mikmod mng mono motif mozilla mozsvg mp3 mpeg mysql ncurses network nls nptl ogg opengl pam pcre pdflib perl png postgres python qt quicktime readline samba sasl sdl slang snmp spell sqlite ssl svg tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev usb userlocales v4l2 vhosts vorbis xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I have the exact same problem. I have just completed an emerge -uDNv world. My portage was last synced somewhere late last week, so everything is still pretty new. I'm busy with a revdep-rebuild, but none of the packages has any relation to nant or mono. I have also remerged nant (emerge -C nant && emerge nant) after the world update, but the results are the same. I just copied a working /usr/share/NAnt directory from another installation (0.85_rc3) and it works. That would suggest a compilation/compiler mismatch/error, right? Mine: # emerge --info Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.12.0_pre11 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.16 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.4.3-r4, 1.5.20-r1 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" 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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://qtop ftp://ftp.up.ac.za/mirrors/gentoo.org/gentoo ftp://ftp.is.co.za/linux/distributions/gentoo " PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aalib alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cdr crypt cscope cups curl dga divx4linux doc eds emboss encode escreen esd ethereal examples exif expat fam ffmpeg firefox flac foomaticdb fortran freetype ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 guile idn imagemagick imlib ipv6 ithreads java jpeg junit kde lcms libg++ libwww lm_sensors mad mbox mhash mikmod mmx mmxext mng mono motif mozdevelop mp3 mpeg msn mysql ncurses nls nocd nvidia odbc ogg oggvorbis openal opengl oss pam pcre pdflib perl php plotutils png ppds python qt quicktime readline real recode samba sdl slang sockets spell sse ssl svga syslog tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb videos vim-with-x vorbis win32codecs winbind wmf xanim xine xinerama xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY Other computer: # emerge --infoGentoo Base System version 1.12.0_pre10 Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo i686) ================================================================= System uname: 2.6.14-gentoo i686 Intel(R) Pentium(R) M processor 1.86GHz dev-lang/python: 2.3.5, 2.4.2 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-r1 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=pentium3 -pipe -mfpmath=sse" 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.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/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://192.168.0.151/ ftp://ftp.is.co.za/linux/distributions/gentoo ftp://ftp.up.ac.za/mirrors/gentoo.org/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cdr cluster crypt cups curl divx4linux doc dts dvd dvdr dvdread eds emboss encode esd ethereal evo exif exiscan exiscan-acl expat extensions fam ffmpeg flac foomaticdb fortran fping gd gdbm gif glitz glut gmp gnome gnome2 gstreamer gtk gtk2 guile idn ieee1394 imagemagick imap imlib innodb ipv6 jack java jpeg junit kde kdeenablefinal lcms ldap libg++ libwww lm_sensors mad mikmod mmx mmx2 mng mono motif mozilla mp3 mpeg mplayer mysql ncurses network nls numeric odbc offensive ogg oggvorbis opengl oss pam pcre pda pdflib perl php pic png pop povray ppds python qt quicktime readline real recode samba sdl silc spell sqlite sse sse2 ssl svg svga tcltk tcpd tetex tga threads tiff truetype truetype-fonts type1-fonts udev usb v4l vcd vidix vorbis wifi win32codecs wxwindows xine xml xml2 xmms xprint xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I just tried the latest nightly snapshot of today from nant and it worked without problems with the new mono. Looks like the rc3 is incompatible.
I tried the snapshot and it didn't work here, but I'm using gcc unstable, so perhaps it's only a problem with me. Anyone else tried it ?
Same problem here. nant-0.85-rc3 and mono-1.1.10.
Building against mono-2.0 probably cause the problem. Building with sed -i -e "s/-f:NAnt.build/-t:mono-1.0 -f:NAnt.build/" \ and nigtly src works for me.
*** Bug 117619 has been marked as a duplicate of this bug. ***
*** Bug 117527 has been marked as a duplicate of this bug. ***
As of now, this is fixed in the CVS version (I encountered this bug, and used the ebuild from the Zugaina overlay to build CVS, which works perfectly).
Ok, I've just commited 0.83_rc3-r1 which is actually the latest nightly available from nant's SF site. Fixes the issue here, but please feel free to re-open this if folks are still having problems after upgrading to this. Thanks.