New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32395 (closed defect: duplicate)

Opened 19 months ago

Last modified 19 months ago

gst-plugins-gl 0.10.2 i386 build fail w/ possible solution

Reported by: reid@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign@…, rmstonecipher@…
Port: gst-plugins-gl

Description (last modified by ryandesign@…) (diff)

It was gstglwindow_cocoa.m -> libgstgl_0.10_la-gstglwindow_cocoa.o (x86_64) that was causing problems. Adding this did I think:

if { $build_arch == "i386" } {
        #configure.env-append "GST_CFLAGS=-arch ${build_arch}"
        configure.cflags-append "-arch ${build_arch}"
        configure.cppflags-append "-arch ${build_arch}"
        configure.cxxflags-append "-arch ${build_arch}"
}

Change History

comment:1 Changed 19 months ago by ryandesign@…

  • Status changed from new to closed
  • Cc ryandesign@…, rmstonecipher@… added
  • Resolution set to duplicate
  • Port set to gst-plugins-gl
  • Description modified (diff)

Please use WikiFormatting, fill in the Port field, and Cc the maintainer of that port.

This "solution" seems strange. Why would adding the -arch flag only be needed for i386? Why not for the three other archs we support? MacPorts already adds -arch flags to CFLAGS, CXXFLAGS, LDFLAGS for you, for all archs, and they shouldn't be necessary in CPPFLAGS.

This looks like a duplicate of #27898.

Note: See TracTickets for help on using tickets.