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

MacPorts noreply at macports.org
Wed Oct 7 14:49:08 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@…):

 The root cause of this issue is comming from --build= --host= --target=
 values received in configure.
 Current values make gst-arch.m4 enable 32bits assembly code while the
 compiler is producing 64bits.
 This issue is spread in all gstreamer packages because the macro in
 common/m4/gst-arch.m4 is shared.
 I've been able to build gstreamer core from git by hand with the following
 configure line:

 {{{./configure --prefix=/opt/local --build=x86_64-apple-darwin10.0.0}}}

 It produced the following lines in config.h:
 {{{
 /* Define if the host CPU is an Alpha */
 /* #undef HAVE_CPU_ALPHA */

 /* Define if the host CPU is an ARM */
 /* #undef HAVE_CPU_ARM */

 /* Define if the host CPU is a CRIS */
 /* #undef HAVE_CPU_CRIS */

 /* Define if the host CPU is a CRISv32 */
 /* #undef HAVE_CPU_CRISV32 */

 /* Define if the host CPU is a HPPA */
 /* #undef HAVE_CPU_HPPA */

 /* Define if the host CPU is an x86 */
 /* #undef HAVE_CPU_I386 */

 /* Define if the host CPU is a IA64 */
 /* #undef HAVE_CPU_IA64 */

 /* Define if the host CPU is a M68K */
 /* #undef HAVE_CPU_M68K */

 /* Define if the host CPU is a MIPS */
 /* #undef HAVE_CPU_MIPS */

 /* Define if the host CPU is a PowerPC */
 /* #undef HAVE_CPU_PPC */

 /* Define if the host CPU is a 64 bit PowerPC */
 /* #undef HAVE_CPU_PPC64 */

 /* Define if the host CPU is a S390 */
 /* #undef HAVE_CPU_S390 */

 /* Define if the host CPU is a SPARC */
 /* #undef HAVE_CPU_SPARC */

 /* Define if the host CPU is a x86_64 */
 #define HAVE_CPU_X86_64 1

 }}}

 I'm new in mac world/macports.
 I think that the fix is provide proper build/host/target values to
 ./configure, are current values comming from the portfile ?

 Or are those values global for all macports?

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


More information about the macports-tickets mailing list