[MacPorts] #20980: gst-plugins-good @0.10.15 doesn't build on Snow Leopard

MacPorts noreply at macports.org
Thu Oct 8 15:24:07 PDT 2009


#20980: gst-plugins-good @0.10.15 doesn't build on Snow Leopard
-------------------------------+--------------------------------------------
 Reporter:  arolsen@…          |       Owner:  rmsfisher@…           
     Type:  defect             |      Status:  new                   
 Priority:  Normal             |   Milestone:                        
Component:  ports              |     Version:  1.8.0                 
 Keywords:  snowleopard        |        Port:  gst-plugins-good      
-------------------------------+--------------------------------------------

Comment(by jeptorra@…):

 I've added the following lines to the end of the Portfile and fixes the 64
 bits arch detection in snow leopard.
 Not sure if this can cause any side effect, I'm unable to test on other
 scenarios.

 Build of 32 bits tree in snow leopard failed due some perl related bugs.

 {{{
 platform darwin i386 {
         configure.args-append --build=${build_arch}-apple-
 darwin${os.major}
 }
 }}}

 I've been trying build with the portfiles that are in trunk using a local
 portfile repository, unfortunelly I've got the following errors:

 {{{
 Making all in osxaudio
   CC    gstosxringbuffer.o
   CC    gstosxaudioelement.o
 gstosxringbuffer.c: In function 'gst_osx_ring_buffer_create_audio_unit':
 gstosxringbuffer.c:151: error: 'ComponentDescription' undeclared (first
 use in this function)
 gstosxringbuffer.c:151: error: (Each undeclared identifier is reported
 only once
 gstosxringbuffer.c:151: error: for each function it appears in.)
 gstosxringbuffer.c:151: error: expected ';' before 'desc'
 gstosxringbuffer.c:152: error: 'Component' undeclared (first use in this
 function)
 gstosxringbuffer.c:152: error: expected ';' before 'comp'
 gstosxringbuffer.c:153: warning: ISO C90 forbids mixed declarations and
 code
 gstosxringbuffer.c:166: error: 'desc' undeclared (first use in this
 function)
 gstosxringbuffer.c:172: error: 'comp' undeclared (first use in this
 function)
 gstosxringbuffer.c:172: warning: implicit declaration of function
 'FindNextComponent'
 gstosxringbuffer.c:178: warning: implicit declaration of function
 'OpenAComponent'
 gstosxringbuffer.c:192: warning: implicit declaration of function
 'CloseComponent'
 gstosxringbuffer.c:193: warning: format '%lx' expects type 'long unsigned
 int', but argument 8 has type 'OSStatus'
 gstosxringbuffer.c:204: warning: format '%lx' expects type 'long unsigned
 int', but argument 8 has type 'OSStatus'
 gstosxringbuffer.c:216: warning: format '%lx' expects type 'long unsigned
 int', but argument 8 has type 'OSStatus'
 gstosxringbuffer.c: In function 'gst_osx_ring_buffer_open_device':
 gstosxringbuffer.c:253: warning: format '%lx' expects type 'long unsigned
 int', but argument 8 has type 'OSStatus'
 gstosxringbuffer.c: In function 'gst_osx_ring_buffer_acquire':
 gstosxringbuffer.c:402: warning: format '%lx' expects type 'long unsigned
 int', but argument 8 has type 'OSStatus'
 gstosxringbuffer.c:410: warning: format '%lx' expects type 'long unsigned
 int', but argument 8 has type 'OSStatus'
 gstosxringbuffer.c:427: warning: format '%lx' expects type 'long unsigned
 int', but argument 8 has type 'OSStatus'
 gstosxringbuffer.c: In function 'gst_osx_ring_buffer_start':
 gstosxringbuffer.c:548: warning: format '%lu' expects type 'long unsigned
 int', but argument 9 has type 'AudioDeviceID'
 gstosxringbuffer.c: In function 'gst_osx_ring_buffer_pause':
 gstosxringbuffer.c:593: warning: format '%lu' expects type 'long unsigned
 int', but argument 9 has type 'AudioDeviceID'
 gstosxringbuffer.c: In function 'gst_osx_ring_buffer_stop':
 gstosxringbuffer.c:614: warning: format '%lu' expects type 'long unsigned
 int', but argument 9 has type 'AudioDeviceID'
 make[3]: *** [libgstosxaudio_la-gstosxringbuffer.lo] Error 1
 make[3]: *** Waiting for unfinished jobs....
   CC    gstosxaudiosink.o
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20980#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list