[IVI] Error while building "gst-plugins-base" on x86

2013-05-01 Thread DEEPAK JAIN
Title: Samsung Enterprise Portal mySingle


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 nameprofile = "">[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_latestrepos = repo.tizen_main, repo.tizen_base[obs.tizen]#OBS API URL pointing to a remote OBS.url = "">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 URLurl = "">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/packages/[repo.tizen_main]url = "">http://download.tizen.org/releases/daily/2.0/ivi/latest/repos/ivi/ia32/packages/
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.sowarning: build failed, Leaving the logs in /home/deepak/GBS-ROOT/local/repos/tizen2.0/i586/logs/fail/gst-plugins-base-0.10.36-1/logerror: *** 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/logerror: rpmbuild failsThough 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 advanceWith Regards,Deepak






 




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


Re: [IVI] Error while building "gst-plugins-base" on x86

2013-05-01 Thread Clark, Joel
The information in the log would be helpful: Leaving the logs in 
/home/deepak/GBS-ROOT/local/repos/tizen2.0/i586/logs/fail/gst-plugins-base-0.10.36-1/log

regards
Joel


From: ivi-boun...@lists.tizen.org [mailto:ivi-boun...@lists.tizen.org] On 
Behalf Of DEEPAK JAIN
Sent: Wednesday, May 01, 2013 6:31 AM
To: ivi@lists.tizen.org
Subject: [IVI] Error while building "gst-plugins-base" on x86


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
#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/packages/
[repo.tizen_main]
url = 
http://download.tizen.org/releases/daily/2.0/ivi/latest/repos/ivi/ia32/packages/



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: 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:image001.gif@01CE4638.BDBF5930]

[http://ext.samsung.net/mailcheck/SeenTimeChecker?do=8108a668510cd15ad2c961d53793ececa6b39a6904a29a05752d288641f008090cdfd767c1cfe7c619079cc4e776e43ddb9fa33e82cbe4a391424e62fcf6cf878f9a26ce15a0]
<>___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: [IVI] Error while building "gst-plugins-base" on x86

2013-05-01 Thread Rusty Lynch
Title: Samsung Enterprise Portal mySingle

  
  
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]
#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
#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/packages/
[repo.tizen_main]
url = "">http://download.tizen.org/releases/daily/2.0/ivi/latest/repos/ivi/ia32/packages/




  
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: 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
 

Re: [IVI] Error while building "gst-plugins-base" on x86

2013-05-01 Thread Graydon, Tracy
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 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>>
Cc: "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
#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/packages/
[repo.tizen_main]
url = 
http://download.tizen.org/releases/daily/2.0/ivi/latest/repos/ivi/ia32/packages/




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: 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.orghttps://lists.tizen.org/listinfo/ivi

<>___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: [IVI] Error while building "gst-plugins-base" on x86

2013-05-01 Thread Graydon, Tracy
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: , Tracy Graydon 
mailto:tracy.gray...@intel.com>>
Date: Wednesday, May 1, 2013 12:21 PM
To: "Lynch, Rusty" mailto:rusty.ly...@intel.com>>, 
"j.dee...@samsung.com" 
mailto:j.dee...@samsung.com>>
Cc: "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 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>>
Cc: "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
#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/packages/
[repo.tizen_main]
url = 
http://download.tizen.org/releases/daily/2.0/ivi/latest/repos/ivi/ia32/packages/




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: 

Re: [IVI] Error while building "gst-plugins-base" on x86

2013-05-01 Thread Yin, Yan
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 
 with configure.ac, if YES, libgstvideo4linux will be built, 
if NO, vice versa.
2.  exists only in 2.6.x kernels, it seems been renamed to 
 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.
> 
> SoI 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: , Tracy Graydon
> mailto:tracy.gray...@intel.com>>
> Date: Wednesday, May 1, 2013 12:21 PM
> To: "Lynch, Rusty" mailto:rusty.ly...@intel.com>>,
> "j.dee...@samsung.com"
> mailto:j.dee...@samsung.com>>
> Cc: "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 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>>
> Cc: "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 prof

Re: [IVI] Error while building "gst-plugins-base" on x86

2013-05-01 Thread Yu, Yucai
YinYan,
Does camera need libgstvideo4linux?

Qiang,
Could your team take a look at tool problem? If user has specified repo 
correctly, why a lower version header package is used?

Thanks,
Yucai

-Original Message-
From: ivi-boun...@lists.tizen.org [mailto:ivi-boun...@lists.tizen.org] On 
Behalf Of Yin, Yan
Sent: Thursday, May 02, 2013 10:21 AM
To: Graydon, Tracy; Lynch, Rusty; j.dee...@samsung.com
Cc: ivi@lists.tizen.org
Subject: Re: [IVI] Error while building "gst-plugins-base" on x86

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 
 with configure.ac, if YES, libgstvideo4linux will be built, 
if NO, vice versa.
2.  exists only in 2.6.x kernels, it seems been renamed to 
 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.
> 
> SoI 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: , Tracy Graydon
> mailto:tracy.gray...@intel.com>>
> Date: Wednesday, May 1, 2013 12:21 PM
> To: "Lynch, Rusty" 
> mailto:rusty.ly...@intel.com>>,
> "j.dee...@samsung.com"
> mailto:j.dee...@samsung.com>>
> Cc: "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 
> 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>>
> Cc: "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
> 
> 

Re: [IVI] Error while building "gst-plugins-base" on x86

2013-05-01 Thread Yin, Yan
Hi,

> -Original Message-
> From: Yu, Yucai
> Sent: Thursday, May 02, 2013 10:30 AM
> To: Yin, Yan; Graydon, Tracy; Lynch, Rusty; j.dee...@samsung.com; Zhang,
> Qiang Z
> Cc: ivi@lists.tizen.org
> Subject: RE: [IVI] Error while building "gst-plugins-base" on x86
> 
> YinYan,
> Does camera need libgstvideo4linux?
[Yan] video4linux2 should be the current one been used.

> 
> Qiang,
> Could your team take a look at tool problem? If user has specified repo
> correctly, why a lower version header package is used?
> 
> Thanks,
> Yucai
> 
> -Original Message-
> From: ivi-boun...@lists.tizen.org [mailto:ivi-boun...@lists.tizen.org] On
> Behalf Of Yin, Yan
> Sent: Thursday, May 02, 2013 10:21 AM
> To: Graydon, Tracy; Lynch, Rusty; j.dee...@samsung.com
> Cc: ivi@lists.tizen.org
> Subject: Re: [IVI] Error while building "gst-plugins-base" on x86
> 
> 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  with configure.ac, if YES, libgstvideo4linux will be 
> built,
> if NO, vice versa.
> 2.  exists only in 2.6.x kernels, it seems been renamed to
>  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.
> >
> > SoI 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: , Tracy Graydon
> > mailto:tracy.gray...@intel.com>>
> > Date: Wednesday, May 1, 2013 12:21 PM
> > To: "Lynch, Rusty"
> > mailto:rusty.ly...@intel.com>>,
> > "j.dee...@samsung.com"
> > mailto:j.dee...@samsung.com>>
> > Cc: "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
> > 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>>
> > Cc: "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
> > con

Re: [IVI] Error while building "gst-plugins-base" on x86

2013-05-01 Thread Yu, Yucai
OK, thanks Yan's clarification!

Best Regards,
Yucai


-Original Message-
From: Yin, Yan 
Sent: Thursday, May 02, 2013 10:35 AM
To: Yu, Yucai; Graydon, Tracy; Lynch, Rusty; j.dee...@samsung.com; Zhang, Qiang 
Z
Cc: ivi@lists.tizen.org
Subject: RE: [IVI] Error while building "gst-plugins-base" on x86

Hi,

> -Original Message-
> From: Yu, Yucai
> Sent: Thursday, May 02, 2013 10:30 AM
> To: Yin, Yan; Graydon, Tracy; Lynch, Rusty; j.dee...@samsung.com; 
> Zhang, Qiang Z
> Cc: ivi@lists.tizen.org
> Subject: RE: [IVI] Error while building "gst-plugins-base" on x86
> 
> YinYan,
> Does camera need libgstvideo4linux?
[Yan] video4linux2 should be the current one been used.

> 
> Qiang,
> Could your team take a look at tool problem? If user has specified 
> repo correctly, why a lower version header package is used?
> 
> Thanks,
> Yucai
> 
> -Original Message-
> From: ivi-boun...@lists.tizen.org [mailto:ivi-boun...@lists.tizen.org] 
> On Behalf Of Yin, Yan
> Sent: Thursday, May 02, 2013 10:21 AM
> To: Graydon, Tracy; Lynch, Rusty; j.dee...@samsung.com
> Cc: ivi@lists.tizen.org
> Subject: Re: [IVI] Error while building "gst-plugins-base" on x86
> 
> 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  with configure.ac, if YES, 
> libgstvideo4linux will be built, if NO, vice versa.
> 2.  exists only in 2.6.x kernels, it seems been 
> renamed to  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.
> >
> > SoI 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: , Tracy Graydon
> > mailto:tracy.gray...@intel.com>>
> > Date: Wednesday, May 1, 2013 12:21 PM
> > To: "Lynch, Rusty"
> > mailto:rusty.ly...@intel.com>>,
> > "j.dee...@samsung.com"
> > mailto:j.dee...@samsung.com>>
> > Cc: "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
> > 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>>
> > Cc: "ivi@lists.tizen.org

Re: [IVI] Error while building "gst-plugins-base" on x86

2013-05-01 Thread Yu, Yucai
Hi Qiang,

Why OBS has no this issue(i686:i586:i486:i386:noarch...)? And if GBS uses 
different policy from OBS, how can I build package the same way as OBS when 
local build?

Thanks,
Yucai


-Original Message-
From: Zhang, Qiang Z 
Sent: Thursday, May 02, 2013 11:49 AM
To: Yu, Yucai; Yin, Yan; Graydon, Tracy; Lynch, Rusty; j.dee...@samsung.com
Cc: ivi@lists.tizen.org
Subject: RE: [IVI] Error while building "gst-plugins-base" on x86



> -Original Message-
> From: Yu, Yucai
> Sent: Thursday, May 02, 2013 10:30 AM
> To: Yin, Yan; Graydon, Tracy; Lynch, Rusty; j.dee...@samsung.com; 
> Zhang, Qiang Z
> Cc: ivi@lists.tizen.org
> Subject: RE: [IVI] Error while building "gst-plugins-base" on x86
> 
> YinYan,
> Does camera need libgstvideo4linux?
> 
> Qiang,
> Could your team take a look at tool problem? If user has specified 
> repo correctly, why a lower version header package is used?
[Qiang] I have just checked the repo, actually the follow gbs.conf should work 
and select kernel-header from ivi repo first:

[general]
profile = profile.tizen

[profile.tizen]
# put ivi repo first before base repo
repos= repo.tizen_main, repo.tizen_base

[repo.tizen_base]
url = 
http://download.tizen.org/releases/daily/2.0/ivi/latest/repos/base/ia32/packages/

[repo.tizen_main]
url = 
http://download.tizen.org/releases/daily/2.0/ivi/latest/repos/ivi/ia32/packages/


BUT, I found the arch for kernel-header are different in base and main, in base 
it's i586 but in ivi it's noarch.
GBS will also consider arch if multiple packages found, and with the following 
order:
i686:i586:i486:i386:noarch

So even noarch version in ivi repo have higher version, gbs will also take i586 
version from base repo.

So, the issue is clear now, fix the arch and use above gbs conf.

Thanks
Qiang


> 
> Thanks,
> Yucai
> 
> -Original Message-
> From: ivi-boun...@lists.tizen.org [mailto:ivi-boun...@lists.tizen.org] 
> On Behalf Of Yin, Yan
> Sent: Thursday, May 02, 2013 10:21 AM
> To: Graydon, Tracy; Lynch, Rusty; j.dee...@samsung.com
> Cc: ivi@lists.tizen.org
> Subject: Re: [IVI] Error while building "gst-plugins-base" on x86
> 
> 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  with configure.ac, if YES, 
> libgstvideo4linux will be built, if NO, vice versa.
> 2.  exists only in 2.6.x kernels, it seems been 
> renamed to  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.
> >
> > SoI 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: , Tracy Graydon
> > mailto:tracy.gray...@intel.com>>
> > Date: Wednesday, May 1, 2013 12:21 PM
> > To: "Lynch, Rusty"
> > mailto:rusty.ly...@intel.com>>,
> > "j.dee...@samsung.com"
> > mailto:j.dee...@samsung.com>>
> > Cc: "ivi@lists.tizen.org"
> > mailto:ivi@lists.tizen.org>>
> > Subject: Re: [IVI] Error while building "gst-plugins-b

Re: [IVI] Error while building "gst-plugins-base" on x86

2013-05-01 Thread DEEPAK JAIN
<<< text/html;	charset="windows-1252": Unrecognized >>>
<<201305021059874_BEI0XT4N.gif>>___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi