When trying to build a test nemerle project, compilation fails with the following exception: [Task:File=, Line=-1, Column=-1, Type=Error, Description=internal compiler error: got some unknown exception System.UnauthorizedAccessException: Access to the path "/usr/lib/monodevelop/bin/test.exe" is denied. It looks like it's trying to build in CWD instead of the directory specified in the solution options (/home/treed/Projects/test/build/bin/). I have tested with C#, and this problem does not occur. I also tried building manually with the makefile monodevelop generated, and it succeded. Reproducible: Always Steps to Reproduce: 1. Make new Nemerle Gtk# solution. 2. Try building. Actual Results: Compilation fails, with the above noted exception. Expected Results: Built the program. Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X acl acpi aim alsa apm audiofile avi berkdb bidi bitmap-fonts bonobo bzlib cdparanoia cdr cjk crypt cups curl doc dvd dvdread encode ethereal evo exif faad fam flac flash foomaticdb ftp gdbm gif gimpprint gnome gnomedb gnutls gphoto2 gpm gstreamer gtk2 gtkhtml hal iconv icq imap imlib jabber java jikes joystick jpeg libg++ libgda libwww mad maildir matroska mbox mikmod mime ming mmap mmx mono motif mozilla mpeg ncurses network nls nocd nptl offensive oggvorbis openal opengl oscar pam pda pdflib perl pic png python quicktime readline ruby samba sdl sharedmem slang sockets speex spell ssl svg svga tcpd theora tiff truetype unicode usb videos x86 xml2 xprint xv xvid zlib"
Yeah, I actually noticed this late last week. The problem is ncc is a bit "stupid" with regards to were it saves the originally generated assembly. It puts it in `pwd` and then moves it to it's final destination. Bad ncc, bad. Anyway, I'm working on it, hopefully will get to it soon. If you feel like being adventurous, try checking out the file ncc/cgil.n in the nemerle tarball. Search for ".Save"
I gave it a shot, but I guess I'm not savvy enough to figure it out. I end up getting weird errors that don't seem to be related to what I did.
Created attachment 41250 [details, diff] Patch to nemerle Here's the fix for cgil.n to fix the problems. Ebuild that applies the patch coming next. I've submitted this issue + the patch upstream, as soon as i hear from them if they like the fix, i'll commit this ebuild + patch for people.
Created attachment 41251 [details] Patched ebuild Here's the -r1 ebuild that applies the patch.
The fix WFM.
Okay. The patch was accepted upstream a day or two ago. I've revision bumped nemerle in portage with the fix. Marking FIXED. There's a small monodevelop fix for nemerle i'll be commiting soon too.