Hello,
Thanks for the help! I don't get any more build errors after modifying
the line. So whats the difference between debug_package and
__debug_package? I couldn't find out the reason by googling. I got few
more build errors but found a way to circumvent it and I was able to
build the whole Tizen 2.2 distribution.
Btw, my gbs version is 0.18.1.
Thank you.
Daniel
On 11/07/2013 11:03 PM, Daniel Juyung Seo wrote:
Btw, what is your gbs version?
$ gbs -V
Daniel Juyung Seo (SeoZ)
On Fri, Nov 8, 2013 at 2:03 PM, Daniel Juyung Seo
<[email protected] <mailto:[email protected]>> wrote:
Hello, can you try to modify spec file like this not removing the
first line?
%define debug_package %{nil}
->
%define __debug_package %{nil}
It works for me with osp uifw repository.
Daniel Juyung Seo (SeoZ)
On Wed, Nov 6, 2013 at 12:24 AM, Daniel Song <[email protected]
<mailto:[email protected]>> wrote:
Hello Qiang and Tizen dev people,
Has anybody fixed this issue or know what I'm doing wrong? Has
anybody done a build on 2.2, 2.1 or 3.0? I tried repo sync and
compile with tizen_2.1 but failed. Has anybody tried compiling
any version of tizen? I heard that Japan company has launched
a Tizen tablet, so there must be a version that can be built.
Thanks.
Daniel
On 10/15/2013 12:02 PM, Daniel Song wrote:
Hello Qiang,
I've commented out debug_package line from every osp specfile
but I'm still having the same problem. I didn't clean build
the whole system since it will take hours, but I don't think
this may be the problem. osp-common-service,
osp-security-service, osp-image didn't even have the
debug_package line in their specfile. I've attached logs for
the failed rpm build.
Thanks.
Daniel
Below is the list of failed packages for arm build
=== the following packages failed to build due to missing
build dependencies (2) ===
libva:
nothing provides pvr-bin-mdfld-devel
libzypp-bindings:
nothing provides swig == 1.3.40
=== the following packages failed to build due to rpmbuild
issue (16) ===
privacy-popup-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/privacy-popup-0.0.1-0/log
osp-security-service-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-security-service-1.2.2.0-1/log
osp-app-controls-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-app-controls-1.2.2.0-2/log
osp-content-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-content-1.2.2.0-0/log
osp-appfw-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-appfw-1.2.2.1-1/log
osp-web-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-web-1.2.2.0-2/log
osp-media-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-media-1.2.2.0-1/log
osp-common-service-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-common-service-1.2.2.0-1/log
osp-face-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-face-1.2.2.0-2/log
osp-nfc-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-nfc-1.2.2.0-2/log
osp-messaging-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-messaging-1.2.2.0-2/log
osp-ime-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-ime-1.2.2.0-1/log
osp-uifw-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-uifw-1.2.2.1-62/log
python-doc-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/python-doc-2.7-12/log
osp-image-core-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-image-core-1.2.2.0-1/log
osp-social-tizen2.2-armv7l:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/osp-social-1.2.2.0-1/log
On 10/15/2013 02:44 AM, Zhang, Qiang Z wrote:
Could you please attach the error log files of that packages?
For osp-* related packages, please check the specfile and
remove line:
%define debug_package %{nil}
For example:
media$ git diff
diff --git a/packaging/osp-media.spec b/packaging/osp-media.spec
index 874b3a3..446e4cc 100755
--- a/packaging/osp-media.spec
+++ b/packaging/osp-media.spec
@@ -1,4 +1,3 @@
-%define debug_package %{nil}
%define __strip /bin/true
Name: osp-media
Then use ‘git commit –a’ to commit locally.
Build again finally.
Thanks
Qiang
*From:*[email protected]
<mailto:[email protected]>
[mailto:[email protected]] *On Behalf Of *Song Daniel
*Sent:* Tuesday, October 15, 2013 5:30 AM
*To:* [email protected] <mailto:[email protected]>
*Subject:* [Dev] Tizen 2.2 Building from Scratch Failed
Hello All,
I am trying to build Tizen 2.2 from the scratch followinghttps://source.tizen.org/documentation/developer-guide/creating-tizen-platform-image-scratch-through-local-build
However, I get tons of build fails like
warning: build failed, Leaving the logs in /home/dwsong/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/python-doc-2.7-12/log
warning: build failed, Leaving the logs in
/home/dwsong/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/python-base-2.7.1-4/log
warning: build failed, Leaving the logs in
/home/dwsong/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/lzop-1.03-1/log
warning: build failed, Leaving the logs in
/home/dwsong/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/xorg-x11-proto-xinerama-1.2.1-2/log
…
and if I go look the log file of the python-doc-2.7-12.log, I get
[ 136s] error: line 13: Unknown tag: Enhances: python=2.7.1
then I have to edit the file /home/dwsong/GBS-ROOT/local/sources/tizen2.2/python-doc-2.7-12/python-doc.spec to delete the line "Enchances: python=2.7.1” to successfully build this python-doc.
I don’t understand why but I still have 20 errors left that I can't fix like
warning: build failed, Leaving the logs in /home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-appfw-1.2.2.1-1/log
and If I look to log file I get
2010 [ 113s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/osp-appfw-1.2.2.1-1.i386
2011 [ 114s] error: Installed (but unpackaged) file(s) found:
2012 [ 114s]
/usr/lib/debug/.build-id/33/73e7fb4864258b953f07e5e710090518da949d
I use ubuntu 12.04 (kernel version 3.8.0-29-generic) and tried both 32 bit and 64 bit version and i586 and armv7 to compile this but all of them failed.
Is there any golden settings to successfully build the tizen 2.2 at one shot?
Thanks.
Daniel
Btw, This is the error I got from the first build.
=== the following packages failed to build because export source files
to build environment failed (1) ===
rpm-python-4.9.1-1
=== the following packages failed to build due to missing build
dependencies (2) ===
libzypp-bindings:
nothing provides swig == 1.3.40
python-magic:
nothing provides file-devel
=== the following packages failed to build due to rpmbuild issue (18)
===
osp-media-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-media-1.2.2.0-1/log
osp-content-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-content-1.2.2.0-0/log
osp-face-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-face-1.2.2.0-2/log
osp-messaging-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-messaging-1.2.2.0-2/log
osp-ime-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-ime-1.2.2.0-1/log
osp-web-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-web-1.2.2.0-2/log
osp-appfw-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-appfw-1.2.2.1-1/log
osp-app-controls-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-app-controls-1.2.2.0-2/log
osp-nfc-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-nfc-1.2.2.0-2/log
osp-social-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-social-1.2.2.0-1/log
libjpeg-turbo-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/libjpeg-turbo-1.2.0-8/log
osp-uifw-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-uifw-1.2.2.1-62/log
osp-common-service-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-common-service-1.2.2.0-1/log
python-doc-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/python-doc-2.7-12/log
nss-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/nss-3.12.9-3/log
osp-security-service-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-security-service-1.2.2.0-1/log
osp-image-core-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/osp-image-core-1.2.2.0-1/log
privacy-popup-tizen2.2-i586:
/home/daniel/GBS-ROOT/local/repos/tizen2.2/i586/logs/fail/privacy-popup-0.0.1-0/log
_______________________________________________
Dev mailing list
[email protected] <mailto:[email protected]>
https://lists.tizen.org/listinfo/dev
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev