[Dev] What is a flag to display (or no display) the verbose messages with "gbs build" command?

Geunsik Lim leemgs at gmail.com
Thu Nov 24 08:04:05 GMT 2016


It's strange. When we want to see the verbose messages on the terminal
(e.g. gnome-terminal) while compiling tizen packages with "gbs build"
command,
we always must not use a "--threads" flag in order to display the verbose
messages as well as file output (e.g., log.txt). Is it reasonable?
The below is my screenshot on Ubuntu 16.04 distribution.


* Using "--threads 2+" flag in order to do not display the verbose messages
=========================================================================
__profile=common

__work_space=/work/infra/gbs_fullbuild_common_20161108.1

__local_repository_url="-R ${__work_space}/repos_base_packages/  -R
${__work_space}/repos_base_debug/ -R
${__work_space}/repos_${__profile}_packages/  -R
${__work_space}/repos_${__profile}_debug/"

time gbs build -A armv7l --threads  4  --clean-once --include-all  -B
${__work_space}/GBS-ROOT  ${__local_repository_url}  -D
${__work_space}/scm/meta/build-config/build.conf





* Using "--threads 1" (or w/o the "--threads")  in order to display the
verbose messages
=========================================================================

__profile=common

__work_space=/work/infra/gbs_fullbuild_common_20161108.1

__local_repository_url="-R ${__work_space}/repos_base_packages/  -R
${__work_space}/repos_base_debug/  -R
${__work_space}/repos_${__profile}_packages/  -R
${__work_space}/repos_${__profile}_debug/"

time gbs build -A armv7l --threads  1 --clean-once --include-all  -B
${__work_space}/GBS-ROOT  ${__local_repository_url}  -D
${__work_space}/scm/meta/build-config/build.conf

        . . . Upper Omission . . .
363 [   47s] Building target platforms: armv7l-tizen-linux
364 [   47s] Building for target armv7l-tizen-linux
365 [   47s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tjZYe3
366 [   47s] + umask 022
367 [   47s] + cd /home/abuild/rpmbuild/BUILD
368 [   47s] + cd /home/abuild/rpmbuild/BUILD
369 [   47s] + rm -rf efl-extension-0.1.2
370 [   47s] + /bin/gzip -dc
/home/abuild/rpmbuild/SOURCES/efl-extension-0.1.2.tar.gz
371 [   47s] + /bin/tar -xf -
372 [   47s] + STATUS=0
373 [   47s] + '[' 0 -ne 0 ']'
374 [   47s] + cd efl-extension-0.1.2
375 [   47s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
376 [   47s] + exit 0
377 [   47s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ea3Ubi
378 [   47s] + umask 022
379 [   47s] + cd /home/abuild/rpmbuild/BUILD
380 [   47s] + cd efl-extension-0.1.2
381 [   47s] ++ uname -m

        . . . Below Omission . . .





BRs,
Geunsik Lim.






-- 
http://leemgs.fedorapeople.org
Don't try to avoid pain if you fail.
If you decided to face the challenges in life,
you can gain a lot by giving your best.
Cheolsang Jeong's Book & life
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20161124/75a78bda/attachment.html>


More information about the Dev mailing list