Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113712 - nant doesn't work with mono 1.1.0
Summary: nant doesn't work with mono 1.1.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
: 117527 117619 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-27 07:28 UTC by Uzytkownik
Modified: 2006-01-19 09:16 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uzytkownik 2005-11-27 07:28:35 UTC
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
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2005-11-27 13:30:01 UTC
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.
Comment 2 Luis Felipe 2005-11-27 17:36:00 UTC
Just tried recompiling it without the -pipe , and still have the same problem.
Comment 3 Teh Fizzgig 2005-11-30 11:06:52 UTC
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.
Comment 4 Andy Lutomirski 2005-12-02 09:50:39 UTC
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
Comment 5 Walter 2005-12-06 16:58:30 UTC
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
Comment 6 Andreas Simon 2005-12-12 03:36:41 UTC
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.
Comment 7 Luis Felipe 2005-12-15 16:48:48 UTC
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 ? 
Comment 8 Nicolas Laplante 2005-12-24 09:02:12 UTC
Same problem here. nant-0.85-rc3 and mono-1.1.10.
Comment 9 Erik Pettersson 2005-12-25 10:54:15 UTC
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.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-01-03 09:21:06 UTC
*** Bug 117619 has been marked as a duplicate of this bug. ***
Comment 11 Peter Johanson (RETIRED) gentoo-dev 2006-01-03 17:45:02 UTC
*** Bug 117527 has been marked as a duplicate of this bug. ***
Comment 12 Porges 2006-01-16 23:26:48 UTC
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).
Comment 13 Peter Johanson (RETIRED) gentoo-dev 2006-01-19 09:16:50 UTC
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.