[MacPorts] #44368: arb @6.0: error: unknown type name 'vm_extmod_statistics_data_t'
#44368: arb @6.0: error: unknown type name 'vm_extmod_statistics_data_t' --------------------------+----------------------------- Reporter: ryandesign@… | Owner: matt.cottrell@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: arb --------------------------+----------------------------- arb 6.0 failed to build on the Lion (10.7) buildslave (with Xcode clang): {{{ In file included from src/globalsosx.cpp:16: /usr/include/mach/task_info.h:252:2: error: unknown type name 'vm_extmod_statistics_data_t' vm_extmod_statistics_data_t extmod_statistics; ^ 1 error generated. }}} -- Ticket URL: <https://trac.macports.org/ticket/44368> MacPorts <http://www.macports.org/> Ports system for OS X
#44368: arb @6.0: error: unknown type name 'vm_extmod_statistics_data_t' ---------------------------+----------------------------- Reporter: ryandesign@… | Owner: matt.cottrell@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: arb | ---------------------------+----------------------------- Comment (by matt.cottrell@…): I do not currently have access to Mac running Lion (10.7), so I cannot work on this now. If I do get such a machine, I'll see what I can do. -- Ticket URL: <https://trac.macports.org/ticket/44368#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44368: arb @6.0: error: unknown type name 'vm_extmod_statistics_data_t' ---------------------------+----------------------------- Reporter: ryandesign@… | Owner: matt.cottrell@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: arb | ---------------------------+----------------------------- Comment (by ryandesign@…): After some Googling I think I found the [https://sourceforge.net/p/fink/mailman/message/31163612/ same problem fixed in another package] by adding this line in the right place: {{{ #include <mach/vm_statistics.h> }}} -- Ticket URL: <https://trac.macports.org/ticket/44368#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44368: arb @6.0: error: unknown type name 'vm_extmod_statistics_data_t' ---------------------------+----------------------------- Reporter: ryandesign@… | Owner: matt.cottrell@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: arb | ---------------------------+----------------------------- Comment (by matt.cottrell@…): I think I've got a patch that will work, but I need help with Portfile syntax. I think it would be something like this to apply the patchfile only to Lion (10.7): {{{ platform darwin 8 { patchfiles patch-ARB-globalsosx.cpp.diff } }}} Is that right? -- Ticket URL: <https://trac.macports.org/ticket/44368#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44368: arb @6.0: error: unknown type name 'vm_extmod_statistics_data_t' ---------------------------+----------------------------- Reporter: ryandesign@… | Owner: matt.cottrell@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: arb | ---------------------------+----------------------------- Comment (by matt.cottrell@…): I would upload the patchfile, but I keep getting a Captch Error, so I'm stuck. Can I please get some help with this Captcha error? Thanks. -- Ticket URL: <https://trac.macports.org/ticket/44368#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44368: arb @6.0: error: unknown type name 'vm_extmod_statistics_data_t' ---------------------------+----------------------------- Reporter: ryandesign@… | Owner: matt.cottrell@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: arb | ---------------------------+----------------------------- Comment (by ryandesign@…): Replying to [comment:3 matt.cottrell@…]:
I think I've got a patch that will work, but I need help with Portfile syntax.
I think it would be something like this to apply the patchfile only to Lion (10.7):
{{{ platform darwin 8 { patchfiles patch-ARB-globalsosx.cpp.diff } }}}
Is that right?
`darwin 8` is Mac OS X 10.4. OS X 10.7 would be `darwin 11`. I'm just surprised you need to apply this patch conditionally on OS X 10.7. I would expect there to be a solution that is safe to apply unconditionally. -- Ticket URL: <https://trac.macports.org/ticket/44368#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44368: arb @6.0: error: unknown type name 'vm_extmod_statistics_data_t' ---------------------------+----------------------------- Reporter: ryandesign@… | Owner: matt.cottrell@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: arb | ---------------------------+----------------------------- Comment (by ryandesign@…): Also, you would want to append to `patchfiles`, not overwrite it. -- Ticket URL: <https://trac.macports.org/ticket/44368#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#44368: arb @6.0: error: unknown type name 'vm_extmod_statistics_data_t' ---------------------------+----------------------------- Reporter: ryandesign@… | Owner: matt.cottrell@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: arb | ---------------------------+----------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Committed in r123099. -- Ticket URL: <https://trac.macports.org/ticket/44368#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts