<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/26 Ole Bromose <span dir="ltr"><<a href="mailto:ob@dansound.dk" target="_blank">ob@dansound.dk</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
    <div>On 10/25/2013 04:43 PM, Andoni Morales
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">2013/10/25 Andoni Morales <span dir="ltr"><<a href="mailto:ylatuya@gmail.com" target="_blank">ylatuya@gmail.com</a>></span><br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr"><br>
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">
                    <div>
                      <div>2013/10/25 Ole Bromose <span dir="ltr"><<a href="mailto:ob@dansound.dk" target="_blank">ob@dansound.dk</a>></span><br>
                        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000">
                            <div>
                              <div>On 10/24/2013 12:36 PM, Andoni
                                Morales wrote:<br>
                              </div>
                              <blockquote type="cite">
                                <div dir="ltr">[snip]<br>
                                  <div class="gmail_extra">
                                    <div class="gmail_quote">
                                      <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                        <br>
                                        Ole and Sebastian, FWIW, I have
                                        just seen the same thing using
                                        cerbero 1.2 branch on Precise.<br>
                                        <br>
                                        I worked around this temporarily
                                        by finding where
                                        '-prefer-non-pic' was being
                                        added to liba52's compiler flags
                                        and disabling that.<br>
                                        <br>
                                        Specifically, I found line 12687
                                        (!) of the configure script in
                                        a52dec-0.7.4:<br>
                                        <br>
                                        LIBA52_CFLAGS="$LIBA52_CFLAGS
                                        -prefer-non-pic"<br>
                                        <br>
                                        I commented that out (prepended
                                        a #) and the a52 build worked.<br>
                                      </blockquote>
                                      <div><br>
                                      </div>
                                      <div>Hi,<br>
                                        <br>
                                      </div>
                                      <div>This is should be fixed now
                                        in:<br>
                                        <br>
                                        <a href="http://cgit.freedesktop.org/gstreamer-sdk/a52dec/commit/?id=3f2ece3e30b1f59b169c787ff9e078e10a19750a" target="_blank">http://cgit.freedesktop.org/gstreamer-sdk/a52dec/commit/?id=3f2ece3e30b1f59b169c787ff9e078e10a19750a</a><br>


                                        <br>
                                      </div>
                                      <div>To rebuild the recipe:<br>
                                      </div>
                                      <div><br>
                                        cerbero cleanone a52dec<br>
                                        cerbero buildone a52dec<br>
                                        <br>
                                        <br>
                                      </div>
                                      <div>Cheers,<br>
                                      </div>
                                      <div>Andoni<br>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </blockquote>
                              <br>
                            </div>
                            Hi,<br>
                            <br>
                            After a fresh checkout of the 1.2 branch
                            a52dec did build on my Ubuntu 13.4. As far
                            as I can see all plugins are built. However,
                            I got the following error late in the build
                            process:
                            <div><br>
                              <br>
                              ***** Error running 'package' command:<br>
                            </div>
                            Recipe 'gst-plugins-bad-1.0-static' failed
                            at the build step 'post_install'<br>
                            Traceback (most recent call last):<br>
                              File
                            "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/build/oven.py",
                            line 103, in _cook_recipe<br>
                                stepfunc()<br>
                              File
                            "/home/ole/Stuff/gstreamer/sdk/cerbero/recipes/custom.py",
                            line 79, in post_install<br>
                                os.path.join(self.config.prefix, f))<br>
                              File "/usr/lib/python2.7/shutil.py", line
                            82, in copyfile<br>
                                with open(src, 'rb') as fsrc:<br>
                            IOError: [Errno 2] No such file or
                            directory:
'/home/ole/cerbero/sources/linux_x86_64/gst-plugins-bad-1.0-static-1.2/static-build/opt/gstreamer-sdk/lib/gstreamer-1.0/libgstfragmented.a'<br>
                            <br>
                            Don't know whether this is fatal?<br>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">
                <div class="gmail_extra">
                  <div class="gmail_quote">
                    <div>
                      <div>
                        <div><br>
                        </div>
                      </div>
                    </div>
                    <div>This was fixed in  master a few days ago:<br>
                      <br>
                      commit 191ac6346b8a0017b0111fa82798119f32163c64<br>
                      Author: Andoni Morales Alastruey <<a href="mailto:ylatuya@gmail.com" target="_blank">ylatuya@gmail.com</a>><br>
                      Date:   Thu Oct 3 15:10:13 2013 +0200<br>
                      <br>
                          gst-plugins-bad: add missing dep in gnutls for
                      HLS<span><font color="#888888"><br>
                        </font></span></div>
                  </div>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>It's now in the 1.2 branch too.<br>
            </div>
            <div><br>
            </div>
            <div>Cheers,<br>
            </div>
            <div>Andoni<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">
                <div class="gmail_extra">
                  <div class="gmail_quote">
                    <div><span><font color="#888888"><br>
                        </font></span></div>
                    <span><font color="#888888">
                        <div>Andoni<br>
                        </div>
                      </font></span>
                    <div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div> <br>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br></div></div>
    Hi,<br>
    <br>
    I took once more a fresh checkout of the 1.2 branch late yesterday.
    I checked the build this morning: everything ok except when
    generating the .deb-packages (the last build step?). Here I get the
    following error:<br>
    <br>
    dpkg-buildpackage: host architecture amd64<br>
     dpkg-source --before-build
    gstreamer-sdk-gstreamer-1.0-capture-1.2.0<br>
     fakeroot debian/rules clean<br>
    dh_testdir<br>
    dh_testroot<br>
    rm -f build-stamp<br>
    dh_clean<br>
     debian/rules build<br>
    dh_testdir<br>
    touch build-stamp<br>
     fakeroot debian/rules binary<br>
    dh_testdir<br>
    dh_testroot<br>
    dh_prep<br>
    dh_installdirs<br>
    dh_installdocs<br>
    dh_install<br>
    dh_testdir -a<br>
    dh_testroot -a<br>
    dh_strip -a --dbg-package=gstreamer-sdk-gstreamer-1.0-capture-dbg<br>
    dh_link -a<br>
    dh_compress -a<br>
    dh_fixperms -a<br>
    dh_makeshlibs -a -V<br>
    dh_installdeb -a<br>
    dh_shlibdeps -a<br>
    dpkg-shlibdeps: error: no dependency information found for
    /opt/gstreamer-sdk/lib/libgstmpegts-1.0.so.0 (used by
debian/gstreamer-sdk-gstreamer-1.0-capture/opt/gstreamer-sdk/lib/gstreamer-1.0/libgstdvb.so)<br></div></blockquote><div><br></div><div>Hi Ole,<br><br></div><div>That's the last step. Apparently the dvd plug, in the "capture" group,  depends on libgstmpegts-1.0, which is in the "codecs" group.<br>

</div><div>I have to think a bit more on how to solve it, but you can fix it locally moving the dvb plugin to the "codecs" group in the recipes gst-plugins-bad-1.0.recipe<br><br></div><div>Cheers,<br></div><div>

Andoni<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
    dh_shlibdeps: dpkg-shlibdeps
    -Tdebian/gstreamer-sdk-gstreamer-1.0-capture.substvars
    debian/gstreamer-sdk-gstreamer-1.0-capture/opt/gstreamer-sdk/lib/libgstbasecamerabinsrc-1.0.so.0.200.0
    debian/gstreamer-sdk-gstreamer-1.0-capture/opt/gstreamer-sdk/lib/libgstphotography-1.0.so.0.200.0
    debian/gstreamer-sdk-gstreamer-1.0-capture/opt/gstreamer-sdk/lib/gstreamer-1.0/libgstcamerabin2.so
    debian/gstreamer-sdk-gstreamer-1.0-capture/opt/gstreamer-sdk/lib/gstreamer-1.0/libgstdvb.so
    debian/gstreamer-sdk-gstreamer-1.0-capture/opt/gstreamer-sdk/lib/gstreamer-1.0/libgstvideo4linux2.so
    debian/gstreamer-sdk-gstreamer-1.0-capture/opt/gstreamer-sdk/lib/gstreamer-1.0/libgstximagesrc.so
    returned exit code 2<br>
    make: *** [binary-arch] Error 2<br>
    dpkg-buildpackage: error: fakeroot debian/rules binary gave error
    exit status 2<div class="im"><br>
    Traceback (most recent call last):<br></div>
      File "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/main.py", line
    103, in run_command<br>
        res = commands.run(command, self.config, self.args)<br>
      File
    "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/commands/__init__.py",
    line 78, in run<br>
        return _commands[command].run(config, args)<br>
      File
    "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/commands/package.py",
    line 80, in run<br>
        args.force, args.keep_temp)<br>
      File
    "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/packages/linux.py",
    line 55, in pack<br>
        self.pack_deps(output_dir, tmpdir, force)<br>
      File
    "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/packages/linux.py",
    line 112, in pack_deps<br>
        packager.pack(output_dir, self.devel, force, True, True, tmpdir)<br>
      File
    "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/packages/linux.py",
    line 75, in pack<br>
        paths = self.build(output_dir, tarname, tmpdir, packagedir,
    srcdir)<br>
      File
    "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/packages/debian.py",
    line 276, in build<br>
        shell.call('dpkg-buildpackage -rfakeroot -us -uc -D -b', srcdir)<br>
      File
    "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/utils/shell.py", line
    105, in call<br>
        raise FatalError(_("Error running command: %s") % cmd)<br>
    FatalError: Fatal Error: Error running command: dpkg-buildpackage
    -rfakeroot -us -uc -D -b<div class="im"><br>
    ***** Error running 'package' command:<br></div>
    Fatal Error: Error running command: dpkg-buildpackage -rfakeroot -us
    -uc -D -b<br>
    usage: cerbero-uninstalled [-h] [-c CONFIG]<br>
                               <br>
                              
{add-recipe,tag,genxcconfig,genlibfiles,check,list-packages,build,add-package,genvsprops,shell,run,cleanone,packageinfo,buildone,wipe,debug-packages,package,bootstrap,list,checkpackage,deps,gensdkshell}<br></div></blockquote>

<div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
                               ...<br>
    <br>
    <br>
    Regards<span class="HOEnZb"><font color="#888888"><br>
    Ole<br>
    <br>
  </font></span></div>

<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Andoni Morales Alastruey<br><br>LongoMatch:The Digital Coach<br><a href="http://www.longomatch.ylatuya.es">http://www.longomatch.ylatuya.es</a>
</div></div>