Opened 15 years ago

Closed 14 years ago

#24371 closed update (fixed)

update mono port

Reported by: brennan@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: mono

Description

Please update the mono port from MacPorts version 2.4.2.3 to version 2.6.3

http://www.go-mono.com/mono-downloads/download.html

Attachments (4)

mono-2.6.3.diff (923 bytes) - added by ryandesign (Ryan Carsten Schmidt) 15 years ago.
naïve update to 2.6.3
Portfile (2.9 KB) - added by brennan@… 15 years ago.
new portfile to help build mono 2.6.3
patch-configure.diff (270 bytes) - added by brennan@… 15 years ago.
patch-libgc-darwin_stop_world.c.diff (608 bytes) - added by brennan@… 15 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mww@… removed
Milestone: MacPorts 1.8.3
Owner: changed from macports-tickets@… to mww@…

Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: mono-2.6.3.diff added

naïve update to 2.6.3

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Attached is a naïve update to 2.6.3 which installs for me on Snow Leopard. I don't know if it works, though, and I don't know if anything in the darwin 9 section is still accurate or needs to be updated or deleted.

comment:3 Changed 15 years ago by mww@…

Resolution: fixed
Status: newclosed

I don't have a 32bit installation and mono does not work on x64, so I cannot check if this works -- for 64 bit your patch works as well* as the previous version, so I commited it! (r66159)

*) not at all ;)

Changed 15 years ago by brennan@…

Attachment: Portfile added

new portfile to help build mono 2.6.3

Changed 15 years ago by brennan@…

Attachment: patch-configure.diff added

Changed 15 years ago by brennan@…

comment:4 Changed 15 years ago by brennan@…

Resolution: fixed
Status: closedreopened

Hi, I'm using OSX 10.5.8 on an intel core duo imac.

My first try with building the simple update didn't work due to patchfile errors. I've fixed the Portfile and patchfiles, and it gets past the patching stage, but it still won't build due to errors in darwin_stop_world.c (see below). I googled and found some people compiling mono 2.6 with fink are having a similar problem. I'm going to file a ticket with mono project, but in the mean time, port should probably be reverted, at least for intel users. Please keep the attachments as a reference in the event mono source is fixed.

  • Portfile
  • patch-configure.diff
  • patch-libgc-darwin_stop_world.c.diff

Here's the first of several similar errors:

darwin_stop_world.c: In function 'GC_push_all_stacks':
darwin_stop_world.c:117: error: 'i386_thread_state_t' has no member named '__esp'

...

make[3]: *** [darwin_stop_world.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/pthread_support.Tpo .deps/pthread_support.Plo
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

comment:5 Changed 15 years ago by brennan@…

here's a link to the thread on fink-users for anyone who may need as a reference on the error: http://www.mail-archive.com/fink-users@lists.sourceforge.net/msg32024.html

comment:6 Changed 15 years ago by brennan@…

here's a link to the mono project ticket I submitted concerning build errors. https://bugzilla.novell.com/show_bug.cgi?id=594544

comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

The fink-users thread doesn't seem relevant, and the upstream bug report was closed as invalid. However, some build fixes were committed to the mono port in r67372, r67373 and r67374, and I updated the port to 2.6.4 in r67634. Do you still see the problem now after a selfupdate?

comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed

Closing due to lack of further information.

Note: See TracTickets for help on using tickets.