Ticket #14800 (new defect)
powerpc mono build fails
| Reported by: | jean-philippe.humbert@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | ppc | Cc: | blb@…, sbplrports@…, de5ton56@…, raphael@…, ryandesign@…, egall@… |
| Port: | mono |
Description (last modified by ryandesign@…) (diff)
I can´t build mono 1.9:
---> Building mono with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-1.9" && make all " returned error 2 Command output: darwin_stop_world.c:259: error: 'ppc_thread_state_t' has no member named '__r6' darwin_stop_world.c:260: error: 'ppc_thread_state_t' has no member named '__r7' darwin_stop_world.c:261: error: 'ppc_thread_state_t' has no member named '__r8' darwin_stop_world.c:262: error: 'ppc_thread_state_t' has no member named '__r9' darwin_stop_world.c:263: error: 'ppc_thread_state_t' has no member named '__r10' darwin_stop_world.c:264: error: 'ppc_thread_state_t' has no member named '__r11' darwin_stop_world.c:265: error: 'ppc_thread_state_t' has no member named '__r12' darwin_stop_world.c:266: error: 'ppc_thread_state_t' has no member named '__r13' darwin_stop_world.c:267: error: 'ppc_thread_state_t' has no member named '__r14' darwin_stop_world.c:268: error: 'ppc_thread_state_t' has no member named '__r15' darwin_stop_world.c:269: error: 'ppc_thread_state_t' has no member named '__r16' darwin_stop_world.c:270: error: 'ppc_thread_state_t' has no member named '__r17' darwin_stop_world.c:271: error: 'ppc_thread_state_t' has no member named '__r18' darwin_stop_world.c:272: error: 'ppc_thread_state_t' has no member named '__r19' darwin_stop_world.c:273: error: 'ppc_thread_state_t' has no member named '__r20' darwin_stop_world.c:274: error: 'ppc_thread_state_t' has no member named '__r21' darwin_stop_world.c:275: error: 'ppc_thread_state_t' has no member named '__r22' darwin_stop_world.c:276: error: 'ppc_thread_state_t' has no member named '__r23' darwin_stop_world.c:277: error: 'ppc_thread_state_t' has no member named '__r24' darwin_stop_world.c:278: error: 'ppc_thread_state_t' has no member named '__r25' darwin_stop_world.c:279: error: 'ppc_thread_state_t' has no member named '__r26' darwin_stop_world.c:280: error: 'ppc_thread_state_t' has no member named '__r27' darwin_stop_world.c:281: error: 'ppc_thread_state_t' has no member named '__r28' darwin_stop_world.c:282: error: 'ppc_thread_state_t' has no member named '__r29' darwin_stop_world.c:283: error: 'ppc_thread_state_t' has no member named '__r30' darwin_stop_world.c:284: error: 'ppc_thread_state_t' has no member named '__r31' make[3]: *** [darwin_stop_world.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
Attachments
Change History
comment:1 Changed 5 years ago by jmr@…
- Owner changed from macports-tickets@… to mww@…
- Milestone set to Port Bugs
comment:3 Changed 4 years ago by blb@…
- Cc blb@… added
mono is currently at 2.4, is this still an issue?
comment:4 Changed 4 years ago by jean-philippe.humbert@…
I have tried again and I have the same Problem With Macports 1.7.1:
sudo port clean --all mono ---> Cleaning mono sudo port install mono ---> Fetching mono ---> Attempting to fetch mono-2.4.tar.bz2 from http://trd.no.distfiles.macports.org/mono ---> Attempting to fetch mono-2.4.tar.bz2 from http://arn.se.distfiles.macports.org/mono ---> Verifying checksum(s) for mono ---> Extracting mono ---> Applying patches to mono ---> Configuring mono ---> Building mono Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.4" && make all " returned error 2 Command output: exceptions-ppc.c: In function 'mono_arch_sigctx_to_monoctx': exceptions-ppc.c:601: error: dereferencing pointer to incomplete type exceptions-ppc.c:602: error: dereferencing pointer to incomplete type exceptions-ppc.c:603: error: dereferencing pointer to incomplete type exceptions-ppc.c:604: error: dereferencing pointer to incomplete type exceptions-ppc.c: In function 'mono_arch_monoctx_to_sigctx': exceptions-ppc.c:612: error: dereferencing pointer to incomplete type exceptions-ppc.c:613: error: dereferencing pointer to incomplete type exceptions-ppc.c:614: error: dereferencing pointer to incomplete type exceptions-ppc.c:615: error: dereferencing pointer to incomplete type exceptions-ppc.c: In function 'mono_arch_ip_from_context': exceptions-ppc.c:622: error: dereferencing pointer to incomplete type exceptions-ppc.c: In function 'mono_arch_handle_altstack_exception': exceptions-ppc.c:641: warning: initialization from incompatible pointer type exceptions-ppc.c:650: error: dereferencing pointer to incomplete type exceptions-ppc.c:670: error: dereferencing pointer to incomplete type exceptions-ppc.c:673: warning: assignment from incompatible pointer type exceptions-ppc.c:674: error: invalid application of 'sizeof' to incomplete type 'os_ucontext' exceptions-ppc.c:680: error: dereferencing pointer to incomplete type exceptions-ppc.c:680: error: dereferencing pointer to incomplete type exceptions-ppc.c:689: error: dereferencing pointer to incomplete type exceptions-ppc.c:691: error: dereferencing pointer to incomplete type exceptions-ppc.c:692: error: dereferencing pointer to incomplete type exceptions-ppc.c:693: error: dereferencing pointer to incomplete type exceptions-ppc.c:694: error: dereferencing pointer to incomplete type make[4]: *** [exceptions-ppc.lo] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
comment:5 Changed 4 years ago by blb@…
10.4 or 10.5? And I'm guessing PowerPC? Can you rerun with debug enabled and attach the output:
sudo port -d install mono 2>&1 | tee ~/Desktop/mono_debug.txt
comment:6 Changed 4 years ago by jean-philippe.humbert@…
I have attached the log file. I have tested on a IMAC G5 with Leopard
comment:7 Changed 4 years ago by markus.falb@…
i also added an attechment. mono 2.4_0 under os-x 10.5 on ppc.
comment:9 Changed 4 years ago by toby@…
- Summary changed from port mono 1.9 does not build to [ppc] port mono 1.9 does not build
comment:10 Changed 4 years ago by toby@…
- Summary changed from [ppc] port mono 1.9 does not build to powerpc mono build fails
comment:14 Changed 3 years ago by vike2000@…
after some private re-investigation of this error and the headers to consider, i went - taking for granted the portfile made use of all patchfiles - to double-check that patch-mono-mini-mini-ppc.h.diff did good changes and when i had seen that it did
i had to do the changes manually - had, considering that i went to check the portfile not until the port compiled successfully with these changes
it turns out the patch-mono-mini-mini-ppc.h.diff was never appended to 'patchfiles'
attaching an updated portfile with patch-mono-mini-mini-ppc.h.diff added after patch-mono-mini-mini-x86.h.diff under the 'platform darwin 9' block as in:
platform darwin 9 {
configure.cflags-append -D_NONSTD_SOURCE
configure.cxxflags-append -D_NONSTD_SOURCE
patchfiles-append \
patch-interp.h.diff \
patch-sys-mman.c.diff \
patch-mono-mini-mini-x86.h.diff \
patch-mono-mini-mini-ppc.h.diff \
patch-libgc-darwin_stop_world.c.diff
}
(since i complied mine with manual changes to the source this portfile could be considered untested)
else just a lot of warnings; among common C inconsistencies (and even more so in the c#sharp compiling) this, that seemed odd to me, but what do i know:
** Warning: System.dll built without parts that depend on: System.Xml.dll
btw i wanted to install this because i couldn't find mdb in mono's precomiled os-x download and calling mono_object_describe in gdb produces:
debug-helpers.c: No such file or directory.
but now i cant find mdb in this port either, gdb /opt/local/bin/mono produces a lot of warnings about not finding files in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.4.2.3/mono/mini and p mono_debug_print_vars produces
Unable to call function "mono_debug_print_vars" at 0x5aed0: no return type information available
*sigh*
pardon my grammar/vocabulary - im a little tired (plus i'm an occasionally quirky swede)
comment:15 Changed 3 years ago by ryandesign@…
- Cc ryandesign@… added
Do you still see the problem with mono 2.6.3?
comment:16 Changed 3 years ago by jean-philippe.humbert@…
Sorry I can´t test it anymore because I only have Intel-Macs now.
comment:18 follow-up: ↓ 19 Changed 20 months ago by ryandesign@…
Is this still a problem with mono @2.10.6?
comment:19 in reply to: ↑ 18 Changed 20 months ago by raphael@…
Replying to ryandesign@…:
Is this still a problem with mono @2.10.6?
Yes, I still have the same problem with mono @2.10.6 on Mac OS X 10.5.8 ppc.


Assigning to maintainer.