Rice University logo
 
Top blue bar image
Just another weblog
 

Archive for the ‘Weekly Update’ Category


2013 November Week 2 Weekly Report

December 3rd, 2013 by dws5

We were able to manually compile one srpm package. Its a small package in the OSP level which is osp application environment configuration service. The package is located at $tizen_src/framework/osp/env-config. It only has one source code file “osp-env-config.c”. Tizen uses gbs build system which automatically prepares the required include files and libraries so that the certain package can be built successfully. So if we build the osp-env-config with gbs build system it will appropriately prepare the include files and libraries in the build directory. Then we can manually compile the env-config.c file using simple clang command which is

clang -emit-llvm I$buildhome/usr/include/vconf -I$buildhome/usr/include/dlog -o CMakeFiles/osp-env-config.dir/src/osp-env-config.c.o -c $buildhome/home/abuild/rpmbuild/BUILD/osp-env-config-1.2.2.1/src/osp-env-config.c

This command includes clog and vconf header file and emits llvm bit code which can now be used with our llvm tizen tool.

2013 November Week 1 Weekly Report

November 10th, 2013 by dws5

We were finally able to build the whole Tizen 2.2 package. Some one at the Tizen mailing list helped us fix the osp related build errors.

https://lists.tizen.org/pipermail/dev/2013-November/000812.html

The following osp related libraries were fixed.

osp-security-service-tizen2.2-armv7l
osp-app-controls-tizen2.2-armv7l
osp-content-tizen2.2-armv7l
osp-appfw-tizen2.2-armv7l
osp-web-tizen2.2-armv7l
osp-media-tizen2.2-armv7l
osp-common-service-tizen2.2-armv7l
osp-face-tizen2.2-armv7l
osp-nfc-tizen2.2-armv7l
osp-messaging-tizen2.2-armv7l
osp-ime-tizen2.2-armv7l
osp-uifw-tizen2.2-armv7l
osp-image-core-tizen2.2-armv7l
osp-social-tizen2.2-armv7l

1. libva

Libva package was throwing errors saying that the package requires “pvr-bin-mdfld-devel”. However, this package was x86 specific and shouldn’t have been included in the building script for the ARM package. We added a line at the package spec file indicating that this is x86 specific.

In /tizen/framework/multimedia/libva/packaging/libva.spec we added

ExclusiveArch:  %{ix86}

2. libzypp-bindings

Libzypp-bindings was throwing errors that it requires swig == 1.3.40. We edited the spec file so that it requires “swig”, not “swig == 1.3.40” and it complied flawlessly.

 

2013 October Week 4 Weekly Report

November 10th, 2013 by dws5

We were still figuring out to fix build errors. 

1. privacy-popup

This package was throwing errors because it could not find the privacy-popup.xml file. We edited and commented out the line that requested the privacy-popup.xml.

In {TIZEN_SRC}/framework/security/privacy-popup/packaging/privacy-popup.spec at line 53

/usr/share/packages/privacy-popup.xml

to

#/usr/share/packages/privacy-popup.xml

2. python-doc-tizen2.2
This package was throwing errors because the spec file had unknown tag “Enhances: python=2.7.1″. Removed the unknown tag line.

 

2013 October Week 3 Weekly Report

October 23rd, 2013 by dws5

There are total of 18 build failures and of those 18 failures, two of them failed due to missing build dependencies.

1. libva needs pvr-bin-mdfld-devel.
2. libzypp-bindings needs swig.

16 of them fail becuase of rpmbuild issue.

1. privacy-popup-tizen2.2-armv7l: privacy-popup.xml is missing during cmake.
2. python-doc-tizen2.2-armv7l: python-doc.spec has unknown tag “Enhances: python=2.7.1”.
3. osp-common-service-tizen2.2-armv7l: FMsg_MessagingMessageTypes.h, FMsg_Types.h, FSys_RuntimeInfo.h, FSys_DeviceManager.h, and FSys_PowerManager.h missing during build.
4. osp-security-service-tizen2.2-armv7l: /usr/include/chromium/base/tuple.h:886:3: error: cannot convert ‘Tizen::Io::_IpcBuffer*’ to ‘Tizen::Base::ByteBuffer*’ in argument passing
5. osp-messaging-tizen2.2-armv7l: /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:64:1: error: ‘MessagingMsgStart’ was not declared in this scope

other osp libraries does not manifest their errors.

2013 October Week 2 Weekly Report

October 15th, 2013 by dws5

Daniel and Minhong are having same rpm build problem. Reported the issue to Tizen people

 

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