Opened 15 years ago

Closed 14 years ago

#24798 closed defect (fixed)

gst-plugins-good fails to build

Reported by: tconant@… Owned by: rmsfisher@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: brissmyr@…
Port: gst-plugins-good

Description (last modified by mf2k (Frank Schima))

While building gst-plugins-good on Snow Leopard gst-plugins-good fails with:

gstrtspsrc.c:179: error: static declaration of 'gst_rtsp_lower_trans_get_type' follows non-static declaration
/opt/local/include/gstreamer-0.10/gst/rtsp/gstrtsptransport.h:97: error: previous declaration of 'gst_rtsp_lower_trans_get_type' was here

This is building from a complete clean macports installation. I'm confused by this one because this builds fine on my other Snow Leopard machine.

Attached is the full log

Attachments (3)

gst-plugins-good-fail-log.txt (210.2 KB) - added by tconant@… 15 years ago.
Full log of gst-plugins-good failed build
Portfile-gst-plugins-good.diff (373 bytes) - added by tconant@… 15 years ago.
Portfile patch to apply source patch
gst-plugins-good-0.10.21-gst-rtsp-gstrtspsrc.c.diff (324 bytes) - added by tconant@… 15 years ago.
Source Patch.

Download all attachments as: .zip

Change History (13)

Changed 15 years ago by tconant@…

Full log of gst-plugins-good failed build

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to rmsfisher@…
Port: gst-plugins-good added; gst-plugins-goo removed

What version of Xcode are you running?

comment:2 Changed 15 years ago by tconant@…

Current version: 3.2.1

Details:

Version: 3.2 (10M2003)

Location: /Developer Applications: Xcode: 3.2.1 (1613) Interface Builder: 3.2.1 (740) Instruments: 2.0.1 (1096) Dashcode: 3.0 (328) SDKs: Mac OS X: 10.5: (9J61) 10.6: (10M2003) iPhone OS: 2.2.1: (5H11) 3.0: (7A341) 3.1: (7C144) 3.1.2: (7D11) iPhone Simulator: 3.0: (7A341) 3.1: (7C144) 3.1.2: (7D11)

My other machine which is compiling fine is using 3.2.2, I'll update the problem machine to see if it corrects the build failure.

comment:3 Changed 15 years ago by tconant@…

After updating to 3.2.2 the issue still exists.

comment:4 Changed 15 years ago by rmsfisher@…

I am waiting on a resolution to #24764 before upgrading gst-plugins-good.
The speex dependency fails nastily because it requires functions in a 9-month-old release candidate that has not yet been released.
As soon as I can upgrade gst-plugins-good to its most current release version I will dig into troubleshooting this issue.

comment:5 in reply to:  description Changed 15 years ago by brissmyr@…

I'm also experiencing the same problem. Upgraded to Snow Leopard a couple of days ago and removed all my ports and did a full clean according to the guide at macports.org (i.e. removing a bunch of directories). Installed the last Xcode version as well as MacPorts for Snow and I get the same message. I can assist you with more info if you need it

comment:6 Changed 15 years ago by brissmyr@…

Cc: brissmyr@… added

Cc Me!

Changed 15 years ago by tconant@…

Portfile patch to apply source patch

Changed 15 years ago by tconant@…

Source Patch.

comment:7 Changed 15 years ago by tconant@…

Here is a trivial path to get gst-plugins-good to build properly. I'm going to try to figure out from the gstreamer team why that function was defined as static in the gst-plugins-good package and declared (implicitly) as extern in the gst-plugins-base package.

comment:8 Changed 15 years ago by brissmyr@…

Thanks for looking into this. I tried applying the same patch yesterday and it builds and works just fine. Not sure this is a long-term solution though

comment:9 Changed 15 years ago by rmsfisher@…

I am not certain this was caused by using a previous gst-plugins-good release against a current gstreamer release.
I have upgraded the version of gst-plugins-good to its most current in r67547 and would appreciate if y'all would try to reproduce this error using the most current portfile.
If y'all still experience the error please report back and I'll dig into it.

comment:10 Changed 14 years ago by rmsfisher@…

Resolution: fixed
Status: newclosed

This issue seems to be resolved by building current gst-plugins against the current gstreamer backend. I'll trust three weeks without feedback to mean it's working for y'all as well.

Note: See TracTickets for help on using tickets.