SDK cerbero build fails for libkate recipe for 1.9.1 build!

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

SDK cerbero build fails for libkate recipe for 1.9.1 build!

NikhilAradhye
Hi,

I am trying to build gstreamer-sdk using cerebro for first time.
These are the steps I have followed:
1. git clone git://anongit.freedesktop.org/gstreamer/sdk/cerbero
2. For spcific 1.9.1 build, I did
   git checkout 5f066261a9344e3121a13aaafbbdda3f59b2a105
3. echo "alias cerbero='~/cerbero/cerbero-uninstalled'" >> ~/.bashrc
4. source ~/.bashrc
5. cerbero -c config/cross-android-armv7.cbc wipe
6. cerbero -c config/cross-android-armv7.cbc bootstrap
7. cerbero -c config/cross-android-armv7.cbc package gstreamer-1.0

It was building fine until this recipe, but failed here!!
********************************************************
[(48/89) libkate -> fetch ]
-----> Fetching tarball https://libkate.googlecode.com/files/libkate-0.4.1.tar.gz to /home/nikhil/cerbero_1_9/cerbero/build/sources/local/libkate-0.4.1/libkate-0.4.1.tar.gz
--2016-09-30 08:03:07--  https://libkate.googlecode.com/files/libkate-0.4.1.tar.gz
Resolving libkate.googlecode.com (libkate.googlecode.com)... 74.125.204.82, 2404:6800:4008:c04::52
Connecting to libkate.googlecode.com (libkate.googlecode.com)|74.125.204.82|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-09-30 08:03:08 ERROR 404: Not Found.

Downloading https://libkate.googlecode.com/files/libkate-0.4.1.tar.gz
Running command 'wget https://libkate.googlecode.com/files/libkate-0.4.1.tar.gz -O /home/nikhil/cerbero_1_9/cerbero/build/sources/local/libkate-0.4.1/libkate-0.4.1.tar.gz  --no-check-certificate'

***** Error running 'package' command:
Recipe 'libkate' failed at the build step 'fetch'
**********************************************************

I tried to search for libkate download. It seems it is not available on given URL, but found at https://code.google.com/archive/p/libkate/downloads/libkate-0.4.1.tar.gz
I tried to manually copy tar file at '/home/nikhil/cerbero_1_9/cerbero/build/sources/local/libkate-0.4.1' & build again.
I did the rebuilded the recipe for libkate.
It passed through all the recipies, but probably was unable to generate 'libgstkate.so'. Gave error:
**********************************************************
WARNING: No specific packager available for the distro version android_gingerbread, using generic packager for distro android
-----> Creating package for gstreamer-1.0
***** Error running 'package' command:
The following files required by this package are missing:
 lib/gstreamer-1.0/libgstkate.so
**********************************************************

Please let me know possible solution for the issue.

Regards,
Nikhil Aradhye.

Reply | Threaded
Open this post in threaded view
|

Re: SDK cerbero build fails for libkate recipe for 1.9.1 build!

Sebastian Dröge-3
On Sat, 2016-10-01 at 00:12 -0700, NikhilAradhye wrote:
> Hi,
>
> I am trying to build gstreamer-sdk using cerebro for first time.
> These are the steps I have followed:
> 1. git clone git://anongit.freedesktop.org/gstreamer/sdk/cerbero

It's gstreamer/cerbero, not gstreamer/sdk/cerbero

> 2. For spcific 1.9.1 build, I did
>    git checkout 5f066261a9344e3121a13aaafbbdda3f59b2a105

There is also a 1.9.1 and 1.9.2 tag

> 3. echo "alias cerbero='~/cerbero/cerbero-uninstalled'" >> ~/.bashrc
> 4. source ~/.bashrc
> 5. cerbero -c config/cross-android-armv7.cbc wipe
> 6. cerbero -c config/cross-android-armv7.cbc bootstrap
> 7. cerbero -c config/cross-android-armv7.cbc package gstreamer-1.0
>
> It was building fine until this recipe, but failed here!!
> ********************************************************
> [(48/89) libkate -> fetch ]
> -----> Fetching tarball
> https://libkate.googlecode.com/files/libkate-0.4.1.tar.gz to
> /home/nikhil/cerbero_1_9/cerbero/build/sources/local/libkate-0.4.1/libkate-0.4.1.tar.gz
> --2016-09-30 08:03:07-- 
> https://libkate.googlecode.com/files/libkate-0.4.1.tar.gz
> Resolving libkate.googlecode.com (libkate.googlecode.com)... 74.125.204.82,
> 2404:6800:4008:c04::52
> Connecting to libkate.googlecode.com
> (libkate.googlecode.com)|74.125.204.82|:443... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2016-09-30 08:03:08 ERROR 404: Not Found.
This was fixed with this commit:
https://cgit.freedesktop.org/gstreamer/cerbero/commit/?id=82f0675a05b6f1e01c865c6dae0d0003559126a1

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (949 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: SDK cerbero build fails for libkate recipe for 1.9.1 build!

NikhilAradhye
Hi Sebastian,

Thanks to your response, the build went ahead. Now I tried,
1. git clone git://anongit.freedesktop.org/gstreamer/cerbero
2. For spcific 1.9.2 build, I did
   git checkout 82f0675a05b6f1e01c865c6dae0d0003559126a1
3. echo "alias cerbero='~/cerbero/cerbero-uninstalled'" >> ~/.bashrc
4. source ~/.bashrc
5. cerbero -c config/cross-android-armv7.cbc wipe
6. cerbero -c config/cross-android-armv7.cbc bootstrap
7. cerbero -c config/cross-android-armv7.cbc package gstreamer-1.0

But now it fails to configure gst-validate:

[(88/90) gst-validate -> configure ]
+ configure run disabled
+ check for build tools
./autogen.sh: 62: ./autogen.sh: version_check: not found
./autogen.sh: 64: ./autogen.sh: version_check: not found
./autogen.sh: 67: ./autogen.sh: die_check: not found
+ running autopoint --force...
Copying file ABOUT-NLS
.
.
.
checking for GST_PBUTILS... yes
checking for GST_VIDEO... yes
checking for GIO... yes
checking for GTK... no
checking for GDK... no
checking for CAIRO... yes
checking for JSON_GLIB... configure: error: Package requirements (json-glib-1.0) were not met:

No package 'json-glib-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables JSON_GLIB_CFLAGS
and JSON_GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Running command 'sh ./autogen.sh --noconfigure && ./configure --enable-static --program-transform-name=  --prefix /home/icelero/cerbero_1_9_2/cerbero/build/dist/android_armv7 --libdir /home/icelero/cerbero_1_9_2/cerbero/build/dist/android_armv7/lib  --disable-maintainer-mode  --disable-silent-rules  --disable-introspection  --host=arm-linux-androideabi --disable-maintainer-mode  --disable-silent-rules  --disable-introspection  --host=arm-linux-androideabi'

***** Error running 'package' command:
Recipe 'gst-validate' failed at the build step 'configure'

my package configuration path is:
$ echo $PKG_CONFIG_PATH
/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig

& '/usr/lib/x86_64-linux-gnu/pkgconfig' does contains package config for json.
$ ls /usr/lib/x86_64-linux-gnu/pkgconfig/json-glib-1.0.pc -al
-rw-r--r-- 1 root root 270 Nov 18  2011 /usr/lib/x86_64-linux-gnu/pkgconfig/json-glib-1.0.pc

Please let me know how to solve this.

Regards,
Nikhil Aradhye
Reply | Threaded
Open this post in threaded view
|

Re: SDK cerbero build fails for libkate recipe for 1.9.1 build!

Sebastian Dröge-3
On Sat, 2016-10-01 at 07:45 -0700, NikhilAradhye wrote:

> Hi Sebastian,
>
> Thanks to your response, the build went ahead. Now I tried,
> 1. git clone git://anongit.freedesktop.org/gstreamer/cerbero
> 2. For spcific 1.9.2 build, I did
>    git checkout 82f0675a05b6f1e01c865c6dae0d0003559126a1
> 3. echo "alias cerbero='~/cerbero/cerbero-uninstalled'" >> ~/.bashrc
> 4. source ~/.bashrc
> 5. cerbero -c config/cross-android-armv7.cbc wipe
> 6. cerbero -c config/cross-android-armv7.cbc bootstrap
> 7. cerbero -c config/cross-android-armv7.cbc package gstreamer-1.0
>
> But now it fails to configure gst-validate:
>
> [(88/90) gst-validate -> configure ]
> + configure run disabled
> + check for build tools
> ./autogen.sh: 62: ./autogen.sh: version_check: not found
> ./autogen.sh: 64: ./autogen.sh: version_check: not found
> ./autogen.sh: 67: ./autogen.sh: die_check: not found
> + running autopoint --force...
> Copying file ABOUT-NLS
> .
> .
> .
> checking for GST_PBUTILS... yes
> checking for GST_VIDEO... yes
> checking for GIO... yes
> checking for GTK... no
> checking for GDK... no
> checking for CAIRO... yes
> checking for JSON_GLIB... configure: error: Package requirements
> (json-glib-1.0) were not met:
>
> No package 'json-glib-1.0' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables JSON_GLIB_CFLAGS
> and JSON_GLIB_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> Running command 'sh ./autogen.sh --noconfigure && ./configure
> --enable-static --program-transform-name=  --prefix
> /home/icelero/cerbero_1_9_2/cerbero/build/dist/android_armv7 --libdir
> /home/icelero/cerbero_1_9_2/cerbero/build/dist/android_armv7/lib 
> --disable-maintainer-mode  --disable-silent-rules  --disable-
> introspection 
> --host=arm-linux-androideabi --disable-maintainer-mode 
> --disable-silent-rules  --disable-introspection 
> --host=arm-linux-androideabi'
>
> ***** Error running 'package' command:
> Recipe 'gst-validate' failed at the build step 'configure'
>
> my package configuration path is:
> $ echo $PKG_CONFIG_PATH
> /usr/lib/x86_64-linux-
> gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
>
> & '/usr/lib/x86_64-linux-gnu/pkgconfig' does contains package config
> for json.
> $ ls /usr/lib/x86_64-linux-gnu/pkgconfig/json-glib-1.0.pc -al
> -rw-r--r-- 1 root root 270 Nov 18  2011
> /usr/lib/x86_64-linux-gnu/pkgconfig/json-glib-1.0.pc
>
> Please let me know how to solve this.
You would need json-glib as built be cerbero. Not sure where this comes
from, it shouldn't have been a problem with 1.9.2 but later and there
it was fixed with
  https://cgit.freedesktop.org/gstreamer/cerbero/commit/?id=e8eaaed3694fbbddc5dd6b9b3ba01128abdee70c
  https://cgit.freedesktop.org/gstreamer/cerbero/commit/?id=9b56843b5ef313b95376b87aaedcbf1529a37639

You probably want to build 1.9.90 at this point, or GIT master.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (949 bytes) Download Attachment