[MacPorts] #24876: VLC doesn't compile on 10.6

MacPorts noreply at macports.org
Sat May 15 02:14:45 PDT 2010


#24876: VLC doesn't compile on 10.6
--------------------------+-------------------------------------------------
 Reporter:  eulix@…       |       Owner:  mnick@…           
     Type:  defect        |      Status:  new               
 Priority:  Normal        |   Milestone:                    
Component:  ports         |     Version:  1.8.2             
 Keywords:  VLC 10.6      |        Port:  VLC               
--------------------------+-------------------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * priority:  High => Normal
  * owner:  macports-tickets@… => mnick@…


Old description:

> VLC didn't compile and I found Ticket #21487 which described the problem
> exactly, but when I checked the portfile I found that the patch of this
> ticket was already part of the portfile. Now I reversed the portfile to
> the state before the pach, but now I got a different compiling error:
>
> libtool: compile:  /Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 -mmacosx-
> version-min=10.6 -DHAVE_CONFIG_H -I. -I../.. -I../../include
> -I../../include -I/opt/local/include -DSYS_DARWIN -I/opt/local/include
> -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT
> -D_THREAD_SAFE -DHAVE_RELEASE -D__LIBVLC__ -D__PLUGIN__
> -DMODULE_NAME=qtcapture -DMODULE_NAME_IS_qtcapture
> -DMODULE_STRING=\"qtcapture\" -O4 -ffast-math -funroll-loops -fno-omit-
> frame-pointer -O2 -arch x86_64 -D_INTL_REDIRECT_MACROS -std=gnu99
> -DMACOSX_DEPLOYMENT_TARGET=10.6 -MT libqtcapture_plugin_la-qtcapture.lo
> -MD -MP -MF .deps/libqtcapture_plugin_la-qtcapture.Tpo -c qtcapture.m
> -fno-common -DPIC -o .libs/libqtcapture_plugin_la-qtcapture.o
> qtcapture.m: In function 'qtchroma_to_fourcc':
> qtcapture.m:174: error: 'k422YpCbCr8CodecType' undeclared (first use in
> this function)
> qtcapture.m:174: error: (Each undeclared identifier is reported only once
> qtcapture.m:174: error: for each function it appears in.)
> qtcapture.m:175: error: 'kComponentVideoCodecType' undeclared (first use
> in this function)
> qtcapture.m:176: error: 'kComponentVideoUnsigned' undeclared (first use
> in this function)
> qtcapture.m: In function 'Open':
> qtcapture.m:227: warning: format not a string literal and no format
> arguments
> qtcapture.m:263: warning: format not a string literal and no format
> arguments
> qtcapture.m:264: warning: format not a string literal and no format
> arguments
> make[5]: *** [libqtcapture_plugin_la-qtcapture.lo] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/work/vlc-1.0.6"
> && /usr/bin/make all " returned error 2
> DEBUG: Backtrace: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/work/vlc-1.0.6"
> && /usr/bin/make all " returned error 2
>     while executing
> "command_exec build"
>     (procedure "portbuild::build_main" line 9)
>     invoked from within
> "$procedure $targetname"
> Warning: the following items did not execute (for VLC):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Error: Status 1 encountered during processing.

New description:

 VLC didn't compile and I found Ticket #21487 which described the problem
 exactly, but when I checked the portfile I found that the patch of this
 ticket was already part of the portfile. Now I reversed the portfile to
 the state before the pach, but now I got a different compiling error:

 {{{
 libtool: compile:  /Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 -mmacosx-
 version-min=10.6 -DHAVE_CONFIG_H -I. -I../.. -I../../include
 -I../../include -I/opt/local/include -DSYS_DARWIN -I/opt/local/include
 -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT
 -D_THREAD_SAFE -DHAVE_RELEASE -D__LIBVLC__ -D__PLUGIN__
 -DMODULE_NAME=qtcapture -DMODULE_NAME_IS_qtcapture
 -DMODULE_STRING=\"qtcapture\" -O4 -ffast-math -funroll-loops -fno-omit-
 frame-pointer -O2 -arch x86_64 -D_INTL_REDIRECT_MACROS -std=gnu99
 -DMACOSX_DEPLOYMENT_TARGET=10.6 -MT libqtcapture_plugin_la-qtcapture.lo
 -MD -MP -MF .deps/libqtcapture_plugin_la-qtcapture.Tpo -c qtcapture.m
 -fno-common -DPIC -o .libs/libqtcapture_plugin_la-qtcapture.o
 qtcapture.m: In function 'qtchroma_to_fourcc':
 qtcapture.m:174: error: 'k422YpCbCr8CodecType' undeclared (first use in
 this function)
 qtcapture.m:174: error: (Each undeclared identifier is reported only once
 qtcapture.m:174: error: for each function it appears in.)
 qtcapture.m:175: error: 'kComponentVideoCodecType' undeclared (first use
 in this function)
 qtcapture.m:176: error: 'kComponentVideoUnsigned' undeclared (first use in
 this function)
 qtcapture.m: In function 'Open':
 qtcapture.m:227: warning: format not a string literal and no format
 arguments
 qtcapture.m:263: warning: format not a string literal and no format
 arguments
 qtcapture.m:264: warning: format not a string literal and no format
 arguments
 make[5]: *** [libqtcapture_plugin_la-qtcapture.lo] Error 1
 make[4]: *** [all-recursive] Error 1
 make[3]: *** [all] Error 2
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/work/vlc-1.0.6"
 && /usr/bin/make all " returned error 2
 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/work/vlc-1.0.6"
 && /usr/bin/make all " returned error 2
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for VLC):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 }}}

--

Comment:

 High priority is for use by the MacPorts team only.

 Please remember to preview and use WikiFormatting.

 Please Cc port maintainers.

 The error you're showing above is also described exactly by
 [comment:ticket:21487:6 ticket 21487], and was fixed by applying the
 patches in that ticket.

 Let's step back. Please "`sudo port selfupdate`" so you get the latest
 version of the port again, and show us what error you get when installing.

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


More information about the macports-tickets mailing list