New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24371 (closed update: fixed)

Opened 3 years ago

Last modified 3 years ago

update mono port

Reported by: brennan@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign@…
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

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

Change History

comment:1 Changed 3 years ago by ryandesign@…

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

Changed 3 years ago by ryandesign@…

naïve update to 2.6.3

comment:2 Changed 3 years ago by ryandesign@…

  • 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 3 years ago by mww@…

  • Status changed from new to closed
  • Resolution set to fixed

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 3 years ago by brennan@…

new portfile to help build mono 2.6.3

Changed 3 years ago by brennan@…

Changed 3 years ago by brennan@…

comment:4 Changed 3 years ago by brennan@…

  • Status changed from closed to reopened
  • Resolution fixed deleted

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 3 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 3 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 3 years ago by ryandesign@…

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 3 years ago by ryandesign@…

  • Status changed from reopened to closed
  • Resolution set to fixed

Closing due to lack of further information.

Note: See TracTickets for help on using tickets.