[Dev] Tizen 2.2 Building from Scratch Failed

Zhang, Qiang Z qiang.z.zhang at intel.com
Tue Oct 15 07:44:46 GMT 2013


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: dev-bounces at lists.tizen.org [mailto:dev-bounces at lists.tizen.org] On Behalf Of Song Daniel
Sent: Tuesday, October 15, 2013 5:30 AM
To: dev at lists.tizen.org
Subject: [Dev] Tizen 2.2 Building from Scratch Failed


Hello All,



I am trying to build Tizen 2.2 from the scratch following https://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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20131015/b5b3ec55/attachment-0001.html>


More information about the Dev mailing list