Opened 15 years ago

Closed 14 years ago

#23362 closed defect (fixed)

audio/gst-plugins-good@0.10.17 fails with variants +universal

Reported by: Ionic (Mihai Moldovan) Owned by: rmsfisher@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gst-plugins-good

Description (last modified by jmroot (Joshua Root))

Hi,

when using variants +universal set up globally, audio/gst-plugins-good fails to compile due to linking errors.

Relevant information:

Now type 'make' to compile gst-plugins-good.
--->  Building gst-plugins-good
Making all in gst
Making all in videofilter
  CC    gstvideoflip.o
  CC    gstvideobalance.o
  CC    gstgamma.o
  LINK  libgstvideoflip.la
  LINK  libgstvideobalance.la
ld: warning: in /opt/local/lib/libgstvideo-0.10.dylib, file is not of required architecture
Undefined symbols for architecture i386:
  "_gst_video_filter_get_type", referenced from:
      _gst_video_flip_get_type in libgstvideoflip_la-gstvideoflip.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccSylCvz.out (No such file or directory)
make[3]: *** [libgstvideoflip.la] Error 1
make[3]: *** Waiting for unfinished jobs....
ld: warning: in /opt/local/lib/libgstvideo-0.10.dylib, file is not of required architecture
ld: warning: in /opt/local/lib/libgstinterfaces-0.10.dylib, file is not of required architecture
Undefined symbols for architecture i386:
  "_gst_video_filter_get_type", referenced from:
      _gst_video_balance_get_type in libgstvideobalance_la-gstvideobalance.o
      _gst_video_balance_colorbalance_set_value in libgstvideobalance_la-gstvideobalance.o
  "_gst_color_balance_get_type", referenced from:
      _gst_video_balance_get_type in libgstvideobalance_la-gstvideobalance.o
      _gst_video_balance_interface_supported in libgstvideobalance_la-gstvideobalance.o
  "_gst_color_balance_channel_get_type", referenced from:
      _gst_video_balance_init in libgstvideobalance_la-gstvideobalance.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc4n2kTA.out (No such file or directory)
make[3]: *** [libgstvideobalance.la] Error 1
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_gnome_gst-plugins-good/work/gst-plugins-good-0.10.17" && /usr/bin/make -j2 all " returned error 2
Warning: the following items did not execute (for gst-plugins-good): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

This seems to happen due to audio/gst-plugins-base not having any universal variant and thus only compiling for x86_64 on my late-2008 MBP, OS X Snow Leopard.

Best regards,

Mihai Moldovan

Change History (3)

comment:1 Changed 15 years ago by Ionic (Mihai Moldovan)

My bad, it's variants +universal of course.

In spite of this all, is +universal on a global basis a bad thing to enable?

I have seen multiple ports failing, including python25 (which is a known bug, I know.)

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to rmsfisher@…
Port: gst-plugins-good added
Summary: audio/gst-plugins-good@0.10.17 fails with variants +universeaudio/gst-plugins-good@0.10.17 fails with variants +universal

Please remember to fill in the Port field and cc the maintainer.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

Disabled universal variant in all gst-plugins ports in r68833.

Note: See TracTickets for help on using tickets.