Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66497 - MonoDevelop builds nemerle files into /usr/lib/monodevelop/bin/ instead of specified directory
Summary: MonoDevelop builds nemerle files into /usr/lib/monodevelop/bin/ instead of sp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-06 01:54 UTC by ted.reed
Modified: 2004-10-10 10:03 UTC (History)
0 users

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


Attachments
Patch to nemerle (nemerle-0.2.1-ncc-fix.diff,1.14 KB, patch)
2004-10-06 18:16 UTC, Peter Johanson (RETIRED)
Details | Diff
Patched ebuild (nemerle-0.2.1-r1.ebuild,877 bytes, text/plain)
2004-10-06 18:17 UTC, Peter Johanson (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ted.reed 2004-10-06 01:54:58 UTC
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"
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-10-06 06:44:11 UTC
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"
Comment 2 ted.reed 2004-10-06 10:49:59 UTC
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.
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2004-10-06 18:16:37 UTC
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.
Comment 4 Peter Johanson (RETIRED) gentoo-dev 2004-10-06 18:17:28 UTC
Created attachment 41251 [details]
Patched ebuild

Here's the -r1 ebuild that applies the patch.
Comment 5 ted.reed 2004-10-10 09:57:47 UTC
The fix WFM.
Comment 6 Peter Johanson (RETIRED) gentoo-dev 2004-10-10 10:03:03 UTC
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.