Building gstreamer sdk

Sebastian Dröge sebastian at centricular.com
Sun Oct 27 21:03:28 CET 2013


On Sa, 2013-10-26 at 12:49 +0200, Andoni Morales wrote:
> 2013/10/26 Ole Bromose <ob at dansound.dk>
> 
> >  On 10/25/2013 04:43 PM, Andoni Morales wrote:
> >
> >
> >
> >
> > 2013/10/25 Andoni Morales <ylatuya at gmail.com>
> >
> >>
> >>
> >>
> >>  2013/10/25 Ole Bromose <ob at dansound.dk>
> >>
> >>>  On 10/24/2013 12:36 PM, Andoni Morales wrote:
> >>>
> >>> [snip]
> >>>
> >>>>
> >>>> Ole and Sebastian, FWIW, I have just seen the same thing using cerbero
> >>>> 1.2 branch on Precise.
> >>>>
> >>>> I worked around this temporarily by finding where '-prefer-non-pic' was
> >>>> being added to liba52's compiler flags and disabling that.
> >>>>
> >>>> Specifically, I found line 12687 (!) of the configure script in
> >>>> a52dec-0.7.4:
> >>>>
> >>>> LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
> >>>>
> >>>> I commented that out (prepended a #) and the a52 build worked.
> >>>>
> >>>
> >>>  Hi,
> >>>
> >>>  This is should be fixed now in:
> >>>
> >>>
> >>> http://cgit.freedesktop.org/gstreamer-sdk/a52dec/commit/?id=3f2ece3e30b1f59b169c787ff9e078e10a19750a
> >>>
> >>>  To rebuild the recipe:
> >>>
> >>> cerbero cleanone a52dec
> >>> cerbero buildone a52dec
> >>>
> >>>
> >>>  Cheers,
> >>>  Andoni
> >>>
> >>>
> >>>  Hi,
> >>>
> >>> 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:
> >>>
> >>>
> >>> ***** Error running 'package' command:
> >>>  Recipe 'gst-plugins-bad-1.0-static' failed at the build step
> >>> 'post_install'
> >>> Traceback (most recent call last):
> >>>   File "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/build/oven.py",
> >>> line 103, in _cook_recipe
> >>>     stepfunc()
> >>>   File "/home/ole/Stuff/gstreamer/sdk/cerbero/recipes/custom.py", line
> >>> 79, in post_install
> >>>     os.path.join(self.config.prefix, f))
> >>>   File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
> >>>     with open(src, 'rb') as fsrc:
> >>> 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'
> >>>
> >>> Don't know whether this is fatal?
> >>>
> >>
> >>   This was fixed in  master a few days ago:
> >>
> >> commit 191ac6346b8a0017b0111fa82798119f32163c64
> >> Author: Andoni Morales Alastruey <ylatuya at gmail.com>
> >> Date:   Thu Oct 3 15:10:13 2013 +0200
> >>
> >>     gst-plugins-bad: add missing dep in gnutls for HLS
> >>
> >
> >  It's now in the 1.2 branch too.
> >
> >  Cheers,
> >  Andoni
> >
> >>
> >>  Andoni
> >>
> >>
> >>
> >>
> >
> > Hi,
> >
> > 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:
> >
> > dpkg-buildpackage: host architecture amd64
> >  dpkg-source --before-build gstreamer-sdk-gstreamer-1.0-capture-1.2.0
> >  fakeroot debian/rules clean
> > dh_testdir
> > dh_testroot
> > rm -f build-stamp
> > dh_clean
> >  debian/rules build
> > dh_testdir
> > touch build-stamp
> >  fakeroot debian/rules binary
> > dh_testdir
> > dh_testroot
> > dh_prep
> > dh_installdirs
> > dh_installdocs
> > dh_install
> > dh_testdir -a
> > dh_testroot -a
> > dh_strip -a --dbg-package=gstreamer-sdk-gstreamer-1.0-capture-dbg
> > dh_link -a
> > dh_compress -a
> > dh_fixperms -a
> > dh_makeshlibs -a -V
> > dh_installdeb -a
> > dh_shlibdeps -a
> > 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)
> >
> 
> Hi Ole,
> 
> That's the last step. Apparently the dvd plug, in the "capture" group,
> depends on libgstmpegts-1.0, which is in the "codecs" group.
> 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

We should track that in Bugzilla for now so it doesn't get forgotten. I
wouldn't be surprised if there are more similar problems when doing
Linux binaries though. I only build Windows/OSX/Android/iOS with cerbero
currently so the Linux build is rather untested currently.

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131027/5ccc94fe/attachment-0001.pgp>


More information about the gstreamer-devel mailing list