Building gstreamer sdk

Andoni Morales ylatuya at gmail.com
Sat Oct 26 12:49:32 CEST 2013


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

Cheers,
Andoni

> 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
> make: *** [binary-arch] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
> status 2
>
> Traceback (most recent call last):
>   File "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/main.py", line 103,
> in run_command
>     res = commands.run(command, self.config, self.args)
>   File
> "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/commands/__init__.py", line
> 78, in run
>     return _commands[command].run(config, args)
>   File
> "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/commands/package.py", line
> 80, in run
>     args.force, args.keep_temp)
>   File "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/packages/linux.py",
> line 55, in pack
>     self.pack_deps(output_dir, tmpdir, force)
>   File "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/packages/linux.py",
> line 112, in pack_deps
>     packager.pack(output_dir, self.devel, force, True, True, tmpdir)
>   File "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/packages/linux.py",
> line 75, in pack
>     paths = self.build(output_dir, tarname, tmpdir, packagedir, srcdir)
>   File "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/packages/debian.py",
> line 276, in build
>     shell.call('dpkg-buildpackage -rfakeroot -us -uc -D -b', srcdir)
>   File "/home/ole/Stuff/gstreamer/sdk/cerbero/cerbero/utils/shell.py",
> line 105, in call
>     raise FatalError(_("Error running command: %s") % cmd)
> FatalError: Fatal Error: Error running command: dpkg-buildpackage
> -rfakeroot -us -uc -D -b
>
> ***** Error running 'package' command:
> Fatal Error: Error running command: dpkg-buildpackage -rfakeroot -us -uc
> -D -b
> usage: cerbero-uninstalled [-h] [-c CONFIG]
>
>
> {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}
>



>                            ...
>
>
> Regards
> Ole
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131026/54c85d01/attachment-0001.html>


More information about the gstreamer-devel mailing list