Bug 144145 - [JHBuild] Move to upstream OpenWebRTC
Summary: [JHBuild] Move to upstream OpenWebRTC
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-24 05:09 PDT by Philippe Normand
Modified: 2015-04-27 14:21 PDT (History)
5 users (show)

See Also:


Attachments
patch (10.50 KB, patch)
2015-04-24 05:17 PDT, Philippe Normand
cgarcia: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2015-04-24 05:09:28 PDT
.
Comment 1 Philippe Normand 2015-04-24 05:17:30 PDT
Created attachment 251546 [details]
patch
Comment 2 Philippe Normand 2015-04-26 23:48:56 PDT
Committed r183388: <http://trac.webkit.org/changeset/183388>
Comment 3 Martin Robinson 2015-04-27 11:34:03 PDT
This is failing on the bots:

*** Checking out openwebrtc *** [32/33]
git remote set-url origin /home/slave/webkitgtk/jhbuild-mirror/openwebrtc.git
git remote update origin
Fetching origin
git fetch
git checkout 13516c7f79a0c48bb411464f7613d4b426c70f5b
fatal: reference is not a tree: 13516c7f79a0c48bb411464f7613d4b426c70f5b
*** Error during phase checkout of openwebrtc: ########## Error running git checkout
Comment 4 Martin Robinson 2015-04-27 11:35:22 PDT
Locally the checkout works, but fails to build with clang:

  CC       owr_transport_agent.lo
owr_transport_agent.c:2339:14: error: use of undeclared identifier 'GST_RTCP_RTPFB_TYPE_RTCP_SR_REQ'; did
      you mean 'GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ'?
        case GST_RTCP_RTPFB_TYPE_RTCP_SR_REQ:
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ
/home/martin/WebKit-old/WebKitBuild/DependenciesGTK/Root/include/gstreamer-1.0/gst/rtp/gstrtcpbuffer.h:92:3: note: 
      'GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ' declared here
  GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ = 5,
  ^
1 error generated.
Comment 5 Martin Robinson 2015-04-27 11:35:40 PDT
There seem to be multiple issues with this, so I'm just going to revert it. Sorry. :/
Comment 6 Martin Robinson 2015-04-27 11:51:38 PDT
(In reply to comment #4)
> Locally the checkout works, but fails to build with clang:
> 
>   CC       owr_transport_agent.lo
> owr_transport_agent.c:2339:14: error: use of undeclared identifier
> 'GST_RTCP_RTPFB_TYPE_RTCP_SR_REQ'; did
>       you mean 'GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ'?
>         case GST_RTCP_RTPFB_TYPE_RTCP_SR_REQ:
>              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>              GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ
> /home/martin/WebKit-old/WebKitBuild/DependenciesGTK/Root/include/gstreamer-1.
> 0/gst/rtp/gstrtcpbuffer.h:92:3: note: 
>       'GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ' declared here
>   GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ = 5,
>   ^
> 1 error generated.

Zan informed me that this issue is due to a missing patch in gst-plugins-base. We should change the JHBuild version when adding patches to existing modules. I believe this will cause JHBuild to actually apply the patch. Not doing so can cause problems.
Comment 7 Philippe Normand 2015-04-27 14:09:32 PDT
(In reply to comment #3)
> This is failing on the bots:
> 
> *** Checking out openwebrtc *** [32/33]
> git remote set-url origin /home/slave/webkitgtk/jhbuild-mirror/openwebrtc.git
> git remote update origin
> Fetching origin
> git fetch
> git checkout 13516c7f79a0c48bb411464f7613d4b426c70f5b
> fatal: reference is not a tree: 13516c7f79a0c48bb411464f7613d4b426c70f5b
> *** Error during phase checkout of openwebrtc: ########## Error running git
> checkout

On which bot? I lost a fair amount of time today dealing with the "jhbuild mirrors" not  handling this patch very well but I think now the buildbots are almost fine. Many tests failing but unrelated with this patch AFAIK... We need renewed gardening efforts...
Comment 8 Philippe Normand 2015-04-27 14:11:27 PDT
(In reply to comment #6)
> (In reply to comment #4)
> > Locally the checkout works, but fails to build with clang:
> > 
> >   CC       owr_transport_agent.lo
> > owr_transport_agent.c:2339:14: error: use of undeclared identifier
> > 'GST_RTCP_RTPFB_TYPE_RTCP_SR_REQ'; did
> >       you mean 'GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ'?
> >         case GST_RTCP_RTPFB_TYPE_RTCP_SR_REQ:
> >              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >              GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ
> > /home/martin/WebKit-old/WebKitBuild/DependenciesGTK/Root/include/gstreamer-1.
> > 0/gst/rtp/gstrtcpbuffer.h:92:3: note: 
> >       'GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ' declared here
> >   GST_RTCP_RTPFB_TYPE_RCTP_SR_REQ = 5,
> >   ^
> > 1 error generated.
> 
> Zan informed me that this issue is due to a missing patch in
> gst-plugins-base. We should change the JHBuild version when adding patches
> to existing modules. I believe this will cause JHBuild to actually apply the
> patch. Not doing so can cause problems.

I didn't know about this other JHBuild peculiarity. I thought the WebKitBuild/DependenciesGTK was wiped out after each jhbuild.modules update anyway?
Comment 9 Martin Robinson 2015-04-27 14:21:07 PDT
(In reply to comment #7)

> On which bot? I lost a fair amount of time today dealing with the "jhbuild
> mirrors" not  handling this patch very well but I think now the buildbots
> are almost fine. Many tests failing but unrelated with this patch AFAIK...
> We need renewed gardening efforts...

The bots are looking better now. :)

(In reply to comment #8)

> I didn't know about this other JHBuild peculiarity. I thought the WebKitBuild/DependenciesGTK was wiped out after each jhbuild.modules update anyway?

They are, but I think to work around small issues like these. If someone runs jhbuild-wrapper manually though (which I do sometimes), properly versioning can prevent problems.