Hi,

I did some investigation, here is the results:
In short, it's because different kernel-headers been chosen by GBS and OBS, 
which might need tools/infrastructure team to look into.

Below goes the details:
1. gst-plugsin-base will check whether VID_TYPE_MPEG_ENCODER is defined in 
<linux/videodev.h> with configure.ac, if YES, libgstvideo4linux will be built, 
if NO, vice versa.
2. <linux/videodev.h> exists only in 2.6.x kernels, it seems been renamed to 
<linux/videodev2.h> in 3.x kernels. 
3. With GBS, kernel-header-2.6.36 (from base repo) is installed in chroot to 
build gst-plugins-base, while with OBS, kernel-header-3.7 (from ivi repo) is 
chosen. Thus GBS will find VID_TYPE_MPEG_ENCODER and build libgstvideo4linux, 
while OBS will not.
4. So far I don't heard any one uses libgstvideo4linux, so it's safe to disable 
it, if that's not true, please call out.

Thanks!
Yin, Yan

> -----Original Message-----
> From: ivi-boun...@lists.tizen.org [mailto:ivi-boun...@lists.tizen.org] On
> Behalf Of Graydon, Tracy
> Sent: Thursday, May 02, 2013 6:35 AM
> To: Lynch, Rusty; j.dee...@samsung.com
> Cc: ivi@lists.tizen.org
> Subject: Re: [IVI] Error while building "gst-plugins-base" on x86
> 
> There is definitely something odd happening here.  I wound up having to
> disable the video4linux in the configure options to get this to build both
> locally and in OBS. OBS seems to not be building the video4linux stuff, even
> when it is (theoretically) enabled. Or more correctly, not explicitly 
> disabled in
> the spec. When local build succeeded, OBS package build would fail. When
> local build failed (on unpackaged file), OBS would succeed.
> 
> Thought this might be due to a build.conf issue, but I tried specifying the
> Tizen:2.0:Base project conf as the one to use, and there was no change in the
> way the local build was working. So I don't believe that to be the issue.
> 
> So....I have no idea exactly what is causing this weirdness, but I made the
> spec change for disabling the video4linux stuff, and it builds both locally 
> and
> in OBS now. I honestly don't know if this is a package issue or a
> tools/environment issue.  I am going to open a bug against the package for
> starters.
> 
> Anyway, this should build successfully with gbs now.
> 
> Deepak, thanks for raising this issue. There is definitely ~something~ going
> on here.
> 
> Tracy
> 
> From: <Graydon>, Tracy Graydon
> <tracy.gray...@intel.com<mailto:tracy.gray...@intel.com>>
> Date: Wednesday, May 1, 2013 12:21 PM
> To: "Lynch, Rusty" <rusty.ly...@intel.com<mailto:rusty.ly...@intel.com>>,
> "j.dee...@samsung.com<mailto:j.dee...@samsung.com>"
> <j.dee...@samsung.com<mailto:j.dee...@samsung.com>>
> Cc: "ivi@lists.tizen.org<mailto:ivi@lists.tizen.org>"
> <ivi@lists.tizen.org<mailto:ivi@lists.tizen.org>>
> Subject: Re: [IVI] Error while building "gst-plugins-base" on x86
> 
> I took a look at this and there is something a little weird going on here. I 
> built
> the 2.0 branch and got the same error, which is, indeed, an unpackaged file.
> The strange thing is that the version in OBS, which is allegedly the same
> version, builds. The commit ID and tag are the same as the one that fails for
> local build.
> 
> I will add the needed line to the spec file. I am also trying to sort out why 
> it
> builds in OBS when it should, theoretically, fail. Something is obviously
> different.
> 
> Deepak, if you add   %{_libdir}/gstreamer-0.10/libgstvideo4linux.so  to your
> spec, that will fix the error.
> 
> -t
> 
> From: Rusty Lynch <rusty.ly...@intel.com<mailto:rusty.ly...@intel.com>>
> Organization: Intel Open Source Technology Center
> Date: Wednesday, May 1, 2013 8:30 AM
> To: "j.dee...@samsung.com<mailto:j.dee...@samsung.com>"
> <j.dee...@samsung.com<mailto:j.dee...@samsung.com>>
> Cc: "ivi@lists.tizen.org<mailto:ivi@lists.tizen.org>"
> <ivi@lists.tizen.org<mailto:ivi@lists.tizen.org>>
> Subject: Re: [IVI] Error while building "gst-plugins-base" on x86
> 
> Well... looks like the spec file isn't accounting for a file.  My first 
> suspicion is
> that you are not building on the "2.0" branch (which would be required to
> create a 2.0 package since you are configured to build against the 2.0
> repositories)
> 
> We have many branches and the default branch might not be the one you
> are looking for.  So... what does 'git branch -a' show?  If it shows you are
> checked out on anything other then the 2.0 branch then:
> $ git branch --track 2.0 origin/2.0
> $ git checkout 2.0
> 
> If there is no "2.0" branch then the repository is not used for the 2.0 build
> and you will need the pure tizen_2.0 version found in
> framework/mulimedia/gst-plugins-base
> 
>     --rusty
> 
> On 05/01/2013 06:31 AM, DEEPAK JAIN wrote:
> 
> Hi,
> 
> I am compiling "profile/ivi/gst-plugins-base" on x86 system using following
> command
> 
> $ gbs build -A i586 gst-plugins-base
> 
> 
> I am building locally.
> 
> My contents of gbs.conf are here:
> 
> ##########################################################
> ########################
> [general]
> #Current profile name which should match a profile section name profile =
> profile.tizen
> 
> [profile.tizen]
> #Common authentication info for whole profile #user =
> #CAUTION: please use the key name "passwd" to reset plaintext password
> #passwd = #obs = obs.tizen #Comma separated list of repositories #repos =
> repo.tizen_latest repos = repo.tizen_main, repo.tizen_base
> 
> [obs.tizen]
> #OBS API URL pointing to a remote OBS.
> url = https://api.tizen.org<https://api.tizen.org/>
> #Optional user and password, set if differ from profile's user and password
> #user = #passwd =
> 
> #Repo section example
> [repo.tizen_latest]
> #Build against repo's URL
> url = http://download.tizen.org/releases/daily/trunk/ivi/latest/
> #Optional user and password, set if differ from profile's user and password
> #user = #passwd =
> 
> #Individual repo is also supported
> [repo.tizen_base]
> url =
> http://download.tizen.org/releases/daily/2.0/ivi/latest/repos/base/ia32/pac
> kages/
> [repo.tizen_main]
> url =
> http://download.tizen.org/releases/daily/2.0/ivi/latest/repos/ivi/ia32/packa
> ges/
> 
> ##########################################################
> ######################
> 
> 
> Everything goes pretty well till the very end when I got following error:
> 
> 
> [   71s] RPM build errors:
> [   71s]     Installed (but unpackaged) file(s) found:
> [   71s]    /usr/lib/gstreamer-0.10/libgstvideo4linux.so
> warning: build failed, Leaving the logs in /home/deepak/GBS-
> ROOT/local/repos/tizen2.0/i586/logs/fail/gst-plugins-base-0.10.36-1/log
> error: *** Error Summary ***
> === the following packages failed to build due to rpmbuild issue ===
> gst-plugins-base-tizen2.0-i586: /home/deepak/GBS-
> ROOT/local/repos/tizen2.0/i586/logs/fail/gst-plugins-base-0.10.36-1/log
> 
> error: <gbs>rpmbuild fails
> 
> 
> 
> 
> 
> Though other packages like gst-plugin-bad, gst-plugin-good, gstreamer have
> been compiled without any errors.
> 
> Can somebody guide me is anything wrong i am doing here.
> 
> Thanks in advance
> 
> With Regards,
> Deepak
> 
> 
> 
> 
> 
> [cid:part5.05030700.04020608@intel.com]
> 
> 
> 
> 
> 
> _______________________________________________
> IVI mailing list
> IVI@lists.tizen.org<mailto:IVI@lists.tizen.org>https://lists.tizen.org/listinfo/i
> vi

_______________________________________________
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi

Reply via email to