[ 0s] Using BUILD_ROOT=/srv/build/root_5/.mount [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 0s] Doing kvm build in /srv/build/root_5/root [ 0s] [ 0s] [ 0s] w03 started "build _service:gbs:csf-framework.spec" at Wed Oct 15 17:55:02 UTC 2014. [ 0s] [ 0s] Building csf-framework for project 'Tizen:3.0.M14.3:IVI' repository 'atom64' arch 'x86_64' srcmd5 '2a13dd88883fecac4292d0286f6f7fc5' [ 0s] [ 0s] processing specfile /srv/build/root_5/.build-srcdir/_service:gbs:csf-framework.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_5/.build-srcdir/_service:gbs:csf-framework.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/5/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /srv/build/root_5/.build.rpmlist /srv/build/root_5/.build-srcdir/_service:gbs:csf-framework.spec build rpmlint-Factory ... [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/35] preinstalling libmagic-data... [ 1s] [2/35] preinstalling setup... [ 1s] [3/35] preinstalling filesystem... [ 1s] [4/35] preinstalling glibc... [ 1s] [5/35] preinstalling bash... [ 1s] [6/35] preinstalling diffutils... [ 1s] [7/35] preinstalling grep... [ 1s] [8/35] preinstalling libattr... [ 1s] [9/35] preinstalling libbz2... [ 1s] [10/35] preinstalling libcap... [ 1s] [11/35] preinstalling libelf... [ 1s] [12/35] preinstalling libfreebl3... [ 1s] [13/35] preinstalling liblua... [ 1s] [14/35] preinstalling liblzma... [ 1s] [15/35] preinstalling libncurses... [ 1s] [16/35] preinstalling libpopt... [ 1s] [17/35] preinstalling libsmack... [ 1s] [18/35] preinstalling libsqlite... [ 1s] [19/35] preinstalling nspr... [ 1s] [20/35] preinstalling sed... [ 1s] [21/35] preinstalling tar... [ 1s] [22/35] preinstalling zlib... [ 1s] [23/35] preinstalling libacl... [ 1s] [24/35] preinstalling libgcc_s1... [ 2s] [25/35] preinstalling libreadline... [ 2s] [26/35] preinstalling smack... [ 2s] [27/35] preinstalling bzip2... [ 2s] [28/35] preinstalling libmagic... [ 2s] [29/35] preinstalling libxml2... [ 2s] [30/35] preinstalling util-linux... [ 2s] [31/35] preinstalling coreutils... [ 2s] [32/35] preinstalling nss... [ 2s] [33/35] preinstalling libsoftokn3... [ 2s] [34/35] preinstalling rpm... [ 2s] [35/35] preinstalling rpm-security-plugin... [ 2s] [ 2s] [1/8] preinstalling libext2fs... [ 2s] [2/8] preinstalling libpcre... [ 2s] [3/8] preinstalling libuuid... [ 2s] [4/8] preinstalling perl... [ 3s] [5/8] preinstalling grep... [ 3s] [6/8] preinstalling libblkid... [ 3s] [7/8] preinstalling libmount... [ 3s] [8/8] preinstalling util-linux... [ 3s] copying packages... [ 4s] reordering...cycle: gio-branding-upstream -> libgio [ 4s] breaking dependency libgio -> gio-branding-upstream [ 4s] cycle: coreutils -> pam [ 4s] breaking dependency pam -> coreutils [ 4s] cycle: nss -> libsoftokn3 [ 4s] breaking dependency nss -> libsoftokn3 [ 4s] done [ 4s] booting kvm ... [ 4s] /usr/bin/qemu-kvm -no-reboot -nographic -vga none -net none -cpu host -kernel /srv/obsw/vmlinuz -initrd /srv/obsw/initrd -append root=/dev/vda panic=1 quiet no-kvmclock nmi_watchdog=0 rw elevator=noop console=ttyS0 init=/.build/build -m 8192 -drive file=/srv/build/root_5/root,if=virtio,cache=none -drive file=/srv/build/root_5/root,if=ide,index=0,cache=none -drive file=/srv/build/root_5/swap,if=virtio,cache=none -smp 4 [ 7s] doing fast boot [ 7s] Creating device nodes with udev [ 8s] Waiting for device /dev/vda to appear: ok [ 8s] fsck from util-linux 2.21.2 [ 8s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 8s] /dev/vda: clean, 5135/2392064 files, 195269/9568256 blocks [ 8s] fsck succeeded. Mounting root device read-write. [ 8s] Mounting root /dev/vda [ 8s] mount -o rw -t ext4 /dev/vda /root [ 8s] replacing /etc/mtab with symlink to /proc/self/mounts [ 8s] 2nd stage started in virtual machine [ 8s] machine type: x86_64 [ 8s] swapon /dev/vdb [ 8s] swapon: /dev/vdb: found swap signature: version 1, page-size 4, same byte order [ 8s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 8s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 8s] mount: none is already mounted or /proc busy [ 8s] mount: none is already mounted or /dev/pts busy [ 8s] logging output to //.build.log... [ 8s] processing specfile /.build-srcdir/_service:gbs:csf-framework.spec ... [ 8s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build /.build-srcdir/_service:gbs:csf-framework.spec build rpmlint-Factory ... [ 8s] running setup postinstall script [ 8s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 8s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 8s] initializing rpm db... [ 8s] [1/134] installing libmagic-data-5.11-11.1 [ 8s] [2/134] installing setup-0.9-6.1 [ 8s] [3/134] installing terminfo-base-5.9-7.1 [ 8s] [4/134] installing tizen-platform-config-2.0-10.1 [ 8s] [5/134] installing filesystem-3.1-10.1 [ 8s] error: Failed to set SMACK64 _ for /proc: Operation not supported [ 8s] [6/134] installing glibc-2.18-10.3 [ 9s] [7/134] installing bash-4.3.27-7.2 [ 9s] [8/134] installing cpio-2.11-6.1 [ 9s] [9/134] installing diffutils-3.3-6.1 [ 9s] [10/134] installing findutils-4.5.10-8.1 [ 9s] [11/134] installing gawk-4.0.1-6.1 [ 9s] [12/134] installing hostname-3.12-5.1 [ 9s] [13/134] installing libattr-2.4.47-9.1 [ 9s] [14/134] installing libbz2-1.0.6-8.3 [ 9s] [15/134] installing libcap-2.24-7.3 [ 9s] [16/134] installing libdbus-1.6.12-10.1 [ 9s] [17/134] installing libelf-0.155-6.2 [ 9s] [18/134] installing libelf0-0.8.13-5.1 [ 9s] [19/134] installing libexpat-2.1.0-8.1 [ 9s] [20/134] installing libext2fs-1.42.11-8.1 [ 9s] [21/134] installing libffi-3.0.13-5.1 [ 9s] [22/134] installing libfreebl3-3.17.1-8.4 [ 9s] [23/134] installing libgdbm-1.10-8.1 [ 9s] [24/134] installing libgmp-5.1.3-6.1 [ 9s] [25/134] installing libgpg-error-1.13-6.1 [ 9s] [26/134] installing libltdl-2.4.2-7.1 [ 9s] [27/134] installing liblua-5.1.4-6.1 [ 9s] [28/134] installing liblzma-5.0.3-7.3 [ 9s] [29/134] installing libpcre-8.31-5.1 [ 9s] [30/134] installing libpopt-1.16-7.1 [ 9s] [31/134] installing libpython-2.7.8-6.2 [ 10s] [32/134] installing libsmack-1.0.4-8.1 [ 10s] [33/134] installing libsqlite-3.7.14-10.1 [ 10s] [34/134] installing libuuid-2.24-6.1 [ 10s] [35/134] installing m4-1.4.16-5.1 [ 10s] [36/134] installing net-tools-2.0_20121208git-7.1 [ 10s] [37/134] installing nspr-4.10.7-9.1 [ 10s] [38/134] installing patch-2.7-7.1 [ 10s] [39/134] installing pkg-config-0.28-7.1 [ 10s] [40/134] installing sed-4.2.1-5.1 [ 10s] [41/134] installing tar-1.27-5.1 [ 10s] [42/134] installing update-alternatives-1.16.3-6.1 [ 10s] [43/134] installing which-2.20-5.1 [ 10s] [44/134] installing zlib-1.2.7-7.1 [ 10s] [45/134] installing libncurses-5.9-7.1 [ 10s] [46/134] installing libncurses6-5.9-7.1 [ 10s] [47/134] installing libtzplatform-config-2.0-10.1 [ 10s] [48/134] installing build-compare-2012.01.26-6.2 [ 10s] [49/134] installing dbus-devel-1.6.12-10.1 [ 10s] [50/134] installing grep-2.16-5.1 [ 10s] [51/134] installing less-458-5.1 [ 10s] [52/134] installing libacl-2.2.51-9.1 [ 10s] [53/134] installing libasm-0.155-6.2 [ 10s] [54/134] installing libatomic-4.8.2-9.3 [ 10s] [55/134] installing libblkid-2.24-6.1 [ 10s] [56/134] installing libgcc_s1-4.8.2-9.3 [ 10s] [57/134] installing libgcrypt-1.5.0-5.1 [ 10s] [58/134] installing libglib-2.36.4-7.1 [ 10s] [59/134] installing libgomp-4.8.2-9.3 [ 10s] [60/134] installing libmpfr-3.1.1-7.1 [ 11s] [61/134] installing libopenssl-1.0.1h-7.1 [ 11s] [62/134] installing libpcreposix-8.31-5.1 [ 11s] [63/134] installing libreadline-5.2-7.1 [ 11s] [64/134] installing libtzplatform-config-devel-2.0-10.1 [ 11s] [65/134] installing make-3.82-5.1 [ 11s] [66/134] installing nss-certs-3.17.1-8.4 [ 11s] [67/134] installing smack-1.0.4-8.1 [ 11s] [68/134] installing xz-devel-5.0.3-7.3 [ 11s] [69/134] installing bzip2-1.0.6-8.3 [ 11s] [70/134] installing libmagic-5.11-11.1 [ 11s] [71/134] installing libxml2-2.8.0-8.1 [ 11s] [72/134] installing xz-5.0.3-7.3 [ 11s] [73/134] installing ncurses-devel-5.9-7.1 [ 12s] [74/134] installing file-5.11-11.1 [ 12s] [75/134] installing readline-devel-5.2-7.1 [ 12s] [76/134] installing libgmodule-2.36.4-7.1 [ 12s] [77/134] installing libgthread-2.36.4-7.1 [ 12s] [78/134] installing libitm-4.8.2-9.3 [ 12s] [79/134] installing libmount-2.24-6.1 [ 12s] [80/134] installing libmpc-1.0-5.1 [ 12s] [81/134] installing libstdc++-4.8.2-9.3 [ 12s] [82/134] installing libxml2-tools-2.8.0-8.1 [ 12s] [83/134] installing libgobject-2.36.4-7.1 [ 12s] [84/134] installing binutils-2.23.1-8.1 [ 14s] update-alternatives: using /usr/bin/ld.bfd to provide /usr/bin/ld (ld) in auto mode. [ 14s] [85/134] installing libdw-0.155-6.2 [ 14s] [86/134] installing db4-4.8.30.NC-10.1 [ 14s] [87/134] installing libasan-4.8.2-9.3 [ 14s] [88/134] installing libpcrecpp-8.31-5.1 [ 14s] [89/134] installing libtsan-4.8.2-9.3 [ 14s] [90/134] installing cpp48-4.8.2-9.3 [ 15s] [91/134] installing elfutils-0.155-6.2 [ 15s] [92/134] installing cpp-4.8-6.1 [ 15s] [93/134] installing perl-5.16.3-7.3 [ 24s] [94/134] installing python-2.7.8-6.2 [ 25s] [95/134] installing build-mkbaselibs-20120927-8.1 [ 25s] [96/134] installing autoconf-2.69-7.1 [ 25s] [97/134] installing python-xml-2.7.8-6.2 [ 25s] [98/134] installing build-20120927-8.1 [ 26s] [99/134] installing pam-1.1.6-11.1 [ 26s] [100/134] installing nss-3.17.1-8.4 [ 26s] [101/134] installing libsoftokn3-3.17.1-8.4 [ 26s] [102/134] installing coreutils-8.21-8.1 [ 26s] [103/134] installing libsystemd-208-7.1 [ 26s] [104/134] installing util-linux-2.24-6.1 [ 26s] [105/134] installing rpm-4.11.0.1-18.1 [ 27s] [106/134] installing linux-glibc-devel-3.10-6.1 [ 28s] [107/134] installing glibc-locale-2.18-10.3 [ 29s] [108/134] installing gzip-1.6-7.1 [ 29s] [109/134] installing libdlog-0.4.1-10.1 [ 29s] [110/134] installing automake-1.12.1-7.1 [ 29s] [111/134] installing tzdata-2012e-5.1 [ 30s] [112/134] installing shared-mime-info-1.0-5.1 [ 30s] [113/134] installing rpmlint-mini-1.5-6.1 [ 30s] [114/134] installing rpm-security-plugin-4.11.0.1-18.1 [ 30s] warning: /etc/device-sec-policy created as /etc/device-sec-policy.rpmnew [ 30s] [115/134] installing rpmlint-tizen-1.0-5.1 [ 30s] [116/134] installing glibc-devel-2.18-10.3 [ 31s] [117/134] installing libdlog-devel-0.4.1-10.1 [ 31s] [118/134] installing libtool-2.4.2-7.1 [ 32s] [119/134] installing libgio-2.36.4-7.1 [ 32s] [120/134] installing gio-branding-upstream-2.36.4-7.1 [ 32s] [121/134] installing libstdc++48-devel-4.8.2-9.3 [ 34s] [122/134] installing zlib-devel-1.2.7-7.1 [ 34s] [123/134] installing dbus-glib-0.100.2-6.1 [ 34s] [124/134] installing glib2-tools-2.36.4-7.1 [ 35s] [125/134] installing gcc48-4.8.2-9.3 [ 35s] [126/134] installing libstdc++-devel-4.8-6.1 [ 35s] [127/134] installing gcc-4.8-6.1 [ 36s] [128/134] installing gcc48-c++-4.8.2-9.3 [ 36s] [129/134] installing libxml2-devel-2.8.0-8.1 [ 36s] [130/134] installing gcc-c++-4.8-6.1 [ 36s] [131/134] installing pcre-devel-8.31-5.1 [ 36s] [132/134] installing rpm-build-4.11.0.1-18.1 [ 36s] [133/134] installing glib2-devel-2.36.4-7.1 [ 37s] [134/134] installing dbus-glib-devel-0.100.2-6.1 [ 37s] removing nis flags from //etc/nsswitch.conf... [ 37s] now finalizing build dir... [ 39s] ----------------------------------------------------------------- [ 39s] I have the following modifications for csf-framework.spec: [ 39s] 5c5 [ 39s] < Release: 0 [ 39s] --- [ 39s] > Release: 5.1 [ 39s] 110a111 [ 39s] > %changelog [ 39s] ----------------------------------------------------------------- [ 39s] ----- building csf-framework.spec (user abuild) [ 39s] ----------------------------------------------------------------- [ 39s] ----------------------------------------------------------------- [ 39s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:3.0.M14.3:IVI/atom64/2a13dd88883fecac4292d0286f6f7fc5-csf-framework' /home/abuild/rpmbuild/SOURCES/csf-framework.spec [ 39s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LZbHvQ [ 39s] + umask 022 [ 39s] + cd /home/abuild/rpmbuild/BUILD [ 39s] + cd /home/abuild/rpmbuild/BUILD [ 39s] + rm -rf csf-framework-2.0.2 [ 39s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/csf-framework-2.0.2.tar.gz [ 39s] + /bin/tar -xf - [ 39s] + STATUS=0 [ 39s] + '[' 0 -ne 0 ']' [ 39s] + cd csf-framework-2.0.2 [ 39s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 39s] + echo 'Patch #0 (0001-Fixed-the-HTTP-test-code-for-TWP-testing-per-Samsung.patch):' [ 39s] Patch #0 (0001-Fixed-the-HTTP-test-code-for-TWP-testing-per-Samsung.patch): [ 39s] + /bin/cat /home/abuild/rpmbuild/SOURCES/0001-Fixed-the-HTTP-test-code-for-TWP-testing-per-Samsung.patch [ 39s] + /bin/patch -p1 --fuzz=2 [ 39s] patching file framework/Makefile [ 39s] patching file framework/Makefile_TPCSSerDaemon [ 39s] patching file framework/Makefile_TWPSerDaemon [ 39s] patching file framework/Makefile_channel_client [ 39s] patching file framework/Makefile_channel_server [ 39s] + echo 'Patch #1 (0002-Improving-build-dependency-to-libtzplatform-config.patch):' [ 39s] Patch #1 (0002-Improving-build-dependency-to-libtzplatform-config.patch): [ 39s] + /bin/cat /home/abuild/rpmbuild/SOURCES/0002-Improving-build-dependency-to-libtzplatform-config.patch [ 39s] + /bin/patch -p1 --fuzz=2 [ 39s] patching file framework/Makefile [ 39s] patching file framework/Makefile_TPCSSerDaemon [ 39s] patching file framework/Makefile_TWPSerDaemon [ 39s] patching file framework/Makefile_channel_client [ 39s] patching file framework/Makefile_channel_server [ 39s] + cp /home/abuild/rpmbuild/SOURCES/csf-framework.manifest . [ 39s] + cp /home/abuild/rpmbuild/SOURCES/com.tsc.ipc.server.plugin.conf . [ 39s] + cp /home/abuild/rpmbuild/SOURCES/com.tsc.ipc.server.wp.conf . [ 39s] + cp /home/abuild/rpmbuild/SOURCES/tpcsserdaemon.service . [ 39s] + cp /home/abuild/rpmbuild/SOURCES/twpserdaemon.service . [ 39s] + exit 0 [ 39s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nclpOt [ 39s] + umask 022 [ 39s] + cd /home/abuild/rpmbuild/BUILD [ 39s] + cd csf-framework-2.0.2 [ 39s] ++ uname -m [ 39s] + [[ x86_64 == \a\a\r\c\h\6\4 ]] [ 39s] + LANG=C [ 39s] + export LANG [ 39s] + unset DISPLAY [ 39s] + CFLAGS='-O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g' [ 39s] + export CFLAGS [ 39s] + CXXFLAGS='-O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g' [ 39s] + export CXXFLAGS [ 39s] + FFLAGS='-O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g -I%_fmoddir' [ 39s] + export FFLAGS [ 39s] + LD_AS_NEEDED=1 [ 39s] + export LD_AS_NEEDED [ 39s] + cd framework [ 39s] + make -f Makefile all [ 39s] gcc -g -fPIC -I. -I../plugin -DUNIX -DDEBUG -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g -o lib/TCSImpl.o -c ./TCSImpl.c [ 39s] gcc -g -fPIC -I. -I../plugin -DUNIX -DDEBUG -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g -o lib/TWPImpl.o -c ./TWPImpl.c [ 39s] gcc -shared -Wl,-zdefs -o lib/libsecfw.so lib/TCSImpl.o lib/TWPImpl.o -ldl -lpthread -ltzplatform-config-static -ltzplatform-config-2.0 [ 39s] + make -f Makefile_channel_client all [ 39s] gcc -g -fPIC -DUNIX -DDEBUG -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o lib/IpcClient.o -c ./IpcClient.c [ 39s] ./IpcClient.c: In function '_GetMsgIdPrefix': [ 39s] ./IpcClient.c:108:5: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'pthread_t' [-Wformat=] [ 39s] if (snprintf(szIdPrefix, MSGHANDLE_LEN, TSC_MID_PREFIX_FORMAT, getpid(), pthread_self()) >= 0) [ 39s] ^ [ 39s] ./IpcClient.c:108:5: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'pthread_t' [-Wformat=] [ 39s] ./IpcClient.c: In function 'TSCSendMessageN': [ 39s] ./IpcClient.c:128:9: warning: variable 'iErr' set but not used [-Wunused-but-set-variable] [ 39s] int iErr = TSC_ERROR_MODULE_GENERIC; [ 39s] ^ [ 39s] ./IpcClient.c: In function '_IpcHandleAsyncReply': [ 39s] ./IpcClient.c:537:9: warning: variable 'iErr' set but not used [-Wunused-but-set-variable] [ 39s] int iErr = TSC_ERROR_MODULE_GENERIC; [ 39s] ^ [ 39s] gcc -g -fPIC -DUNIX -DDEBUG -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o lib/IpcStructs.o -c ./IpcStructs.c [ 39s] ./IpcStructs.c: In function '_CreateClientCallHandle': [ 39s] ./IpcStructs.c:88:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] [ 39s] if (iRet = _AssignToClientCallHandle(pHandle, szPrefix, serial, pPendingCall)) [ 39s] ^ [ 39s] gcc -shared -Wl,-zdefs -o lib/libscclient.so lib/IpcClient.o lib/IpcStructs.o -ldl -lpthread -ltzplatform-config-static -ltzplatform-config-2.0 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 [ 39s] + make -f Makefile_channel_server all [ 39s] gcc -g -fPIC -DUNIX -DDEBUG -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o lib/IpcServer.o -c ./IpcServer.c [ 39s] ./IpcServer.c: In function 'IterateList': [ 39s] ./IpcServer.c:73:9: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'struct IpcMethodHandle *' [-Wformat=] [ 39s] DEBUG_LOG(".....handle addr: %u, uniqueid:%s, name:%s\n", ph, ph->unique_id, ph->pMethod->szMethod); [ 39s] ^ [ 39s] ./IpcServer.c:74:9: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'struct _IpcMethodHandle *' [-Wformat=] [ 39s] DEBUG_LOG("....pnext:%u\n", ph->pNext); [ 39s] ^ [ 39s] ./IpcServer.c: In function 'IpcServerRemoveMethod': [ 39s] ./IpcServer.c:232:26: warning: unused variable 'pList' [-Wunused-variable] [ 39s] IpcServerMethodList *pList = NULL; [ 39s] ^ [ 39s] ./IpcServer.c: In function '_IpcServerInit': [ 39s] ./IpcServer.c:565:1: warning: label 'free_name' defined but not used [-Wunused-label] [ 39s] free_name: [ 39s] ^ [ 39s] ./IpcServer.c: In function '_IpcServerMsgHandler': [ 39s] ./IpcServer.c:666:21: warning: unused variable 'pConn' [-Wunused-variable] [ 39s] DBusConnection *pConn = pAsync->pConn; [ 39s] ^ [ 39s] ./IpcServer.c: In function '_ParseDBusMessage': [ 39s] ./IpcServer.c:709:5: warning: missing braces around initializer [-Wmissing-braces] [ 39s] DBusBasicValue temp = {0}; [ 39s] ^ [ 39s] ./IpcServer.c:709:5: warning: (near initialization for 'temp.bytes') [-Wmissing-braces] [ 39s] ./IpcServer.c:783:9: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'char **' [-Wformat=] [ 39s] DEBUG_LOG("ADDRESS to clean:%u\n", *argv); [ 39s] ^ [ 39s] ./IpcServer.c:804:13: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'pthread_t' [-Wformat=] [ 39s] DEBUG_LOG("thread:%u, argc:%d, i:%d, Parsemessage :msg:%s\n", pthread_self(),argc, i, [ 39s] ^ [ 39s] ./IpcServer.c: In function '_IpcServerProcessMessage': [ 39s] ./IpcServer.c:860:13: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'pthread_t' [-Wformat=] [ 39s] DEBUG_LOG("unable to copy unique_id:%u\n", pthread_self()); [ 39s] ^ [ 39s] ./IpcServer.c:875:27: warning: assignment from incompatible pointer type [enabled by default] [ 39s] pMtdHandle->pInfo = pAsync->pInfo; [ 39s] ^ [ 39s] ./IpcServer.c:922:5: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'pthread_t' [-Wformat=] [ 39s] DEBUG_LOG(">>>>> after search, mtdHandleId:%s, iFreeFlag:%d, thread:%u, pMtdHandle:%u\n", [ 39s] ^ [ 39s] ./IpcServer.c:922:5: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'struct IpcMethodHandle *' [-Wformat=] [ 39s] ./IpcServer.c:818:9: warning: unused variable 'iSize' [-Wunused-variable] [ 39s] int iSize = TSC_REPLY_MSG_COUNT_AVERAGE; [ 39s] ^ [ 39s] ./IpcServer.c:817:21: warning: unused variable 'iter' [-Wunused-variable] [ 39s] DBusMessageIter iter; [ 39s] ^ [ 39s] ./IpcServer.c: In function '_IpcPopMessage': [ 39s] ./IpcServer.c:974:31: warning: unused variable 'lthread' [-Wunused-variable] [ 39s] pthread_t lthread; [ 39s] ^ [ 39s] ./IpcServer.c: In function 'IpcGetProgressMethod': [ 39s] ./IpcServer.c:1124:13: warning: too many arguments for format [-Wformat-extra-args] [ 39s] DEBUG_LOG("=== found running method to get progress\n", argv[0]); [ 39s] ^ [ 40s] gcc -g -fPIC -DUNIX -DDEBUG -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o lib/IpcServerError.o -c ./IpcServerError.c [ 40s] gcc -g -fPIC -DUNIX -DDEBUG -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o lib/IpcThrdPool.o -c ./IpcThrdPool.c [ 40s] gcc -shared -Wl,-zdefs -o lib/libscserver.so lib/IpcServer.o lib/IpcServerError.o lib/IpcThrdPool.o -ldl -lpthread -ltzplatform-config-static -ltzplatform-config-2.0 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 [ 40s] + make -f Makefile_TPCSSerDaemon all [ 40s] gcc -g -fPIE -DUNIX -DDEBUG -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g -Wall -I. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dlog -o bin/TPCSSerDaemon.o -c ./TPCSSerDaemon.c [ 40s] ./TPCSSerDaemon.c: In function 'SetSuccessReturn': [ 40s] ./TPCSSerDaemon.c:85:1: warning: no return statement in function returning non-void [-Wreturn-type] [ 40s] } [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'SetFailureReturn': [ 40s] ./TPCSSerDaemon.c:105:1: warning: no return statement in function returning non-void [-Wreturn-type] [ 40s] } [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'SearchNodeN': [ 40s] ./TPCSSerDaemon.c:113:5: warning: passing argument 1 of 'xmlXPathNewContext' discards 'const' qualifier from pointer target type [enabled by default] [ 40s] pXPathCtx = xmlXPathNewContext(pXmlDoc); [ 40s] ^ [ 40s] In file included from ./TPCSSerDaemon.c:21:0: [ 40s] /usr/include/libxml2/libxml/xpath.h:497:7: note: expected 'xmlDocPtr' but argument is of type 'const struct xmlDoc *' [ 40s] xmlXPathNewContext (xmlDocPtr doc); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:119:5: warning: passing argument 1 of 'GetNSURI' discards 'const' qualifier from pointer target type [enabled by default] [ 40s] GetNSURI(pXmlDoc, &pns, &puri); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:59:13: note: expected 'struct xmlDoc *' but argument is of type 'const struct xmlDoc *' [ 40s] static void GetNSURI(xmlDoc *pXmlDoc, xmlChar **pns, xmlChar **uri); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:128:5: warning: pointer targets in passing argument 1 of 'xmlXPathEvalExpression' differ in signedness [-Wpointer-sign] [ 40s] *pXPathObj = xmlXPathEvalExpression(xpath, pXPathCtx); [ 40s] ^ [ 40s] In file included from ./TPCSSerDaemon.c:21:0: [ 40s] /usr/include/libxml2/libxml/xpath.h:514:7: note: expected 'const xmlChar *' but argument is of type 'const char *' [ 40s] xmlXPathEvalExpression (const xmlChar *str, [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'InsertNode': [ 40s] ./TPCSSerDaemon.c:176:9: warning: pointer targets in passing argument 1 of 'xmlXPathEvalExpression' differ in signedness [-Wpointer-sign] [ 40s] pXPathObj = xmlXPathEvalExpression(xpathNodeParent, pXPathCtx); [ 40s] ^ [ 40s] In file included from ./TPCSSerDaemon.c:21:0: [ 40s] /usr/include/libxml2/libxml/xpath.h:514:7: note: expected 'const xmlChar *' but argument is of type 'const char *' [ 40s] xmlXPathEvalExpression (const xmlChar *str, [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'RemoveNodeParent': [ 40s] ./TPCSSerDaemon.c:237:13: warning: pointer targets in passing argument 1 of 'xmlXPathEvalExpression' differ in signedness [-Wpointer-sign] [ 40s] pXPathObj = xmlXPathEvalExpression(path, pXPathCtx); [ 40s] ^ [ 40s] In file included from ./TPCSSerDaemon.c:21:0: [ 40s] /usr/include/libxml2/libxml/xpath.h:514:7: note: expected 'const xmlChar *' but argument is of type 'const char *' [ 40s] xmlXPathEvalExpression (const xmlChar *str, [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:251:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 40s] if (strncmp(cur->content, value, strlen(value)) == 0) [ 40s] ^ [ 40s] In file included from ./TPCSSerDaemon.c:7:0: [ 40s] /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] extern size_t strlen (const char *__s) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:251:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 40s] if (strncmp(cur->content, value, strlen(value)) == 0) [ 40s] ^ [ 40s] In file included from ./TPCSSerDaemon.c:7:0: [ 40s] /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] extern size_t strlen (const char *__s) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:251:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] [ 40s] if (strncmp(cur->content, value, strlen(value)) == 0) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:251:21: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] ./TPCSSerDaemon.c:251:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 40s] In file included from ./TPCSSerDaemon.c:7:0: [ 40s] /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] extern size_t strlen (const char *__s) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:251:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] [ 40s] if (strncmp(cur->content, value, strlen(value)) == 0) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:251:21: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] ./TPCSSerDaemon.c:251:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] [ 40s] ./TPCSSerDaemon.c:251:21: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] ./TPCSSerDaemon.c:251:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] [ 40s] ./TPCSSerDaemon.c:251:21: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] ./TPCSSerDaemon.c:251:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 40s] In file included from ./TPCSSerDaemon.c:7:0: [ 40s] /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] extern int strncmp (const char *__s1, const char *__s2, size_t __n) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:246:26: warning: unused variable 'content' [-Wunused-variable] [ 40s] xmlChar *content; [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'PrintXmlDoc': [ 40s] ./TPCSSerDaemon.c:275:5: warning: passing argument 1 of 'xmlDocDumpFormatMemory' discards 'const' qualifier from pointer target type [enabled by default] [ 40s] xmlDocDumpFormatMemory(pDoc, &xmlMem, &xmlSize, NULL); [ 40s] ^ [ 40s] In file included from /usr/include/libxml2/libxml/xmlreader.h:14:0, [ 40s] from ./TPCSSerDaemon.c:17: [ 40s] /usr/include/libxml2/libxml/tree.h:1105:3: note: expected 'xmlDocPtr' but argument is of type 'const struct xmlDoc *' [ 40s] xmlDocDumpFormatMemory (xmlDocPtr cur, [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:275:5: warning: passing argument 4 of 'xmlDocDumpFormatMemory' makes integer from pointer without a cast [enabled by default] [ 40s] xmlDocDumpFormatMemory(pDoc, &xmlMem, &xmlSize, NULL); [ 40s] ^ [ 40s] In file included from /usr/include/libxml2/libxml/xmlreader.h:14:0, [ 40s] from ./TPCSSerDaemon.c:17: [ 40s] /usr/include/libxml2/libxml/tree.h:1105:3: note: expected 'int' but argument is of type 'void *' [ 40s] xmlDocDumpFormatMemory (xmlDocPtr cur, [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'UpdateConfigFile': [ 40s] ./TPCSSerDaemon.c:283:5: warning: implicit declaration of function 'pthread_mutex_lock' [-Wimplicit-function-declaration] [ 40s] pthread_mutex_lock(&((*pData)->configLock)); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:288:9: warning: passing argument 1 of 'WriteXmlToFile' discards 'const' qualifier from pointer target type [enabled by default] [ 40s] result = WriteXmlToFile(*pXmlCp, CONFIG_FILE_NEW_W_PATH); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:61:12: note: expected 'struct xmlDoc *' but argument is of type 'const struct xmlDoc *' [ 40s] static int WriteXmlToFile(xmlDoc *pXmlDoc, const char* filename); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:293:13: warning: passing argument 1 of 'WriteXmlToFile' discards 'const' qualifier from pointer target type [enabled by default] [ 40s] result = WriteXmlToFile(*pXmlCp, CONFIG_FILE_W_PATH); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:61:12: note: expected 'struct xmlDoc *' but argument is of type 'const struct xmlDoc *' [ 40s] static int WriteXmlToFile(xmlDoc *pXmlDoc, const char* filename); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:304:17: warning: passing argument 1 of 'xmlCopyDoc' discards 'const' qualifier from pointer target type [enabled by default] [ 40s] (*pData)->pConfigBuffer = xmlCopyDoc(*pXmlCp, DO_RECURSIVE_COPY); [ 40s] ^ [ 40s] In file included from /usr/include/libxml2/libxml/xmlreader.h:14:0, [ 40s] from ./TPCSSerDaemon.c:17: [ 40s] /usr/include/libxml2/libxml/tree.h:778:3: note: expected 'xmlDocPtr' but argument is of type 'const struct xmlDoc *' [ 40s] xmlCopyDoc (xmlDocPtr doc, [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:308:5: warning: implicit declaration of function 'pthread_mutex_unlock' [-Wimplicit-function-declaration] [ 40s] pthread_mutex_unlock(&((*pData)->configLock)); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'UpdateNode': [ 40s] ./TPCSSerDaemon.c:369:5: warning: pointer targets in passing argument 2 of 'InsertNode' differ in signedness [-Wpointer-sign] [ 40s] result = InsertNode(pDoc, xpathNodeParent, content); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:154:5: note: expected 'const char *' but argument is of type 'const xmlChar *' [ 40s] int InsertNode(xmlDoc **pDoc, const char *xpathNodeParent, const char *content) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:369:5: warning: pointer targets in passing argument 3 of 'InsertNode' differ in signedness [-Wpointer-sign] [ 40s] result = InsertNode(pDoc, xpathNodeParent, content); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:154:5: note: expected 'const char *' but argument is of type 'const xmlChar *' [ 40s] int InsertNode(xmlDoc **pDoc, const char *xpathNodeParent, const char *content) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'ActivePlugin': [ 40s] ./TPCSSerDaemon.c:420:13: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] [ 40s] xmlNodeSetContent(cur, appId); [ 40s] ^ [ 40s] In file included from /usr/include/libxml2/libxml/xmlreader.h:14:0, [ 40s] from ./TPCSSerDaemon.c:17: [ 40s] /usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' but argument is of type 'const char *' [ 40s] xmlNodeSetContent (xmlNodePtr cur, [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'InstallPlugin': [ 40s] ./TPCSSerDaemon.c:620:37: warning: passing argument 2 of 'UpdateConfigFile' from incompatible pointer type [enabled by default] [ 40s] result = UpdateConfigFile(pData, &pXmlCp); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:281:5: note: expected 'const struct xmlDoc **' but argument is of type 'struct xmlDoc **' [ 40s] int UpdateConfigFile(ConfigBuf **pData, const xmlDoc **pXmlCp) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'UninstallPlugin': [ 40s] ./TPCSSerDaemon.c:664:18: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] [ 40s] if (req_argc != 1 | req_argv == NULL) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:682:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 40s] if (strncmp(pNode->children->content, req_argv[0], strlen(req_argv[0])) == 0) [ 40s] ^ [ 40s] In file included from ./TPCSSerDaemon.c:7:0: [ 40s] /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] extern size_t strlen (const char *__s) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:682:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 40s] if (strncmp(pNode->children->content, req_argv[0], strlen(req_argv[0])) == 0) [ 40s] ^ [ 40s] In file included from ./TPCSSerDaemon.c:7:0: [ 40s] /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] extern size_t strlen (const char *__s) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:682:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] [ 40s] if (strncmp(pNode->children->content, req_argv[0], strlen(req_argv[0])) == 0) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:682:5: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] ./TPCSSerDaemon.c:682:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 40s] In file included from ./TPCSSerDaemon.c:7:0: [ 40s] /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] extern size_t strlen (const char *__s) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:682:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] [ 40s] if (strncmp(pNode->children->content, req_argv[0], strlen(req_argv[0])) == 0) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:682:5: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] ./TPCSSerDaemon.c:682:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] [ 40s] ./TPCSSerDaemon.c:682:5: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] ./TPCSSerDaemon.c:682:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] [ 40s] ./TPCSSerDaemon.c:682:5: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] ./TPCSSerDaemon.c:682:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 40s] In file included from ./TPCSSerDaemon.c:7:0: [ 40s] /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'xmlChar *' [ 40s] extern int strncmp (const char *__s1, const char *__s2, size_t __n) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:691:9: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] [ 40s] xmlNodeSetContent(pNode, ACTIVE_NONE); [ 40s] ^ [ 40s] In file included from /usr/include/libxml2/libxml/xmlreader.h:14:0, [ 40s] from ./TPCSSerDaemon.c:17: [ 40s] /usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' but argument is of type 'char *' [ 40s] xmlNodeSetContent (xmlNodePtr cur, [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:692:9: warning: passing argument 2 of 'UpdateConfigFile' from incompatible pointer type [enabled by default] [ 40s] UpdateConfigFile((ConfigBuf**) pData, &pXmlCp); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:281:5: note: expected 'const struct xmlDoc **' but argument is of type 'struct xmlDoc **' [ 40s] int UpdateConfigFile(ConfigBuf **pData, const xmlDoc **pXmlCp) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'SetActivePlugin': [ 40s] ./TPCSSerDaemon.c:735:9: warning: passing argument 2 of 'UpdateConfigFile' from incompatible pointer type [enabled by default] [ 40s] UpdateConfigFile((ConfigBuf**) pData, &pXmlCp); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:281:5: note: expected 'const struct xmlDoc **' but argument is of type 'struct xmlDoc **' [ 40s] int UpdateConfigFile(ConfigBuf **pData, const xmlDoc **pXmlCp) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'InitConfigFile': [ 40s] ./TPCSSerDaemon.c:778:5: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] [ 40s] DEBUG_LOG("Size of xml doc in memory :%d\n", sizeof(CONFIG_DEFAULT_STRING)); [ 40s] ^ [ 40s] In file included from /usr/include/string.h:631:0, [ 40s] from ./TPCSSerDaemon.c:7: [ 40s] ./TPCSSerDaemon.c: In function 'EndsWith': [ 40s] ./TPCSSerDaemon.c:1003:55: warning: argument to 'sizeof' in 'strncmp' call is the same expression as the second source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] [ 40s] result = strncmp(substring, suffix, sizeof(suffix)); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'HasTag': [ 40s] ./TPCSSerDaemon.c:1137:55: warning: argument to 'sizeof' in 'strncmp' call is the same expression as the second source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] [ 40s] if (strncmp(pCategory[i], pTag, sizeof(pTag)) == 0) [ 40s] ^ [ 40s] ./TPCSSerDaemon.c: In function 'main': [ 40s] ./TPCSSerDaemon.c:1204:9: warning: implicit declaration of function 'pthread_mutex_init' [-Wimplicit-function-declaration] [ 40s] ret = pthread_mutex_init(&(pConfigBuf->configLock), NULL); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:1280:17: warning: unknown conversion type character 0x20 in format [-Wformat=] [ 40s] DEBUG_LOG("%%%%%%%%%%%%%%%%%%%%%55 before clean up:%s, dircoutn:%d, pathCount:%d, \n", CONFIG_FILE_W_PATH, dirCount, count); [ 40s] ^ [ 40s] ./TPCSSerDaemon.c:1213:17: warning: unused variable 'pXmlDoc' [-Wunused-variable] [ 40s] xmlDoc *pXmlDoc = NULL; [ 40s] ^ [ 40s] gcc -g -fPIE -DUNIX -DDEBUG -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g -Wall -I. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dlog -o bin/IpcForkDaemon.o -c ./IpcForkDaemon.c [ 40s] gcc -Wl,-zdefs -o bin/TPCSSerDaemon bin/TPCSSerDaemon.o bin/IpcForkDaemon.o -ldl -ltzplatform-config-static -ltzplatform-config-2.0 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -ldlog -lscserver -L./lib -lxml2 [ 40s] + make -f Makefile_TWPSerDaemon all [ 40s] gcc -g -fPIC -I. -I../plugin -DUNIX -DDEBUG -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2 -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone -g -Wall -I. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/dlog -I. -o bin/TWPSerDaemon.o -c ./TWPSerDaemon.c [ 40s] ./TWPSerDaemon.c: In function 'TWPSerGetVersion': [ 40s] ./TWPSerDaemon.c:71:14: warning: comparison between pointer and integer [enabled by default] [ 40s] if (hLib == TWP_INVALID_HANDLE) [ 40s] ^ [ 40s] ./TWPSerDaemon.c: In function 'TWPSerGetURLReputation': [ 40s] ./TWPSerDaemon.c:175:14: warning: comparison between pointer and integer [enabled by default] [ 40s] if (hLib == TWP_INVALID_HANDLE) [ 40s] ^ [ 40s] ./TWPSerDaemon.c: In function 'main': [ 40s] ./TWPSerDaemon.c:286:25: warning: assignment from incompatible pointer type [enabled by default] [ 40s] method_1.method = TWPSerGetURLReputation; [ 40s] ^ [ 40s] ./TWPSerDaemon.c:298:25: warning: assignment from incompatible pointer type [enabled by default] [ 40s] method_2.method = TWPSerGetVersion; [ 40s] ^ [ 40s] gcc -Wl,-zdefs -o bin/TWPSerDaemon bin/TWPSerDaemon.o bin/IpcForkDaemon.o -ldl -lpthread -lsecfw -lscserver -lm -Llib -ltzplatform-config-static -ltzplatform-config-2.0 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -ldlog -lscserver -L./lib [ 40s] + exit 0 [ 40s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.i6Xbac [ 40s] + umask 022 [ 40s] + cd /home/abuild/rpmbuild/BUILD [ 40s] + cd csf-framework-2.0.2 [ 40s] + LANG=C [ 40s] + export LANG [ 40s] + unset DISPLAY [ 40s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64 [ 40s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64 [ 40s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64 [ 40s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/bin/ [ 40s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/lib64/systemd/system [ 40s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64//etc/dbus-1/system.d [ 40s] + install -D framework/lib/libsecfw.so /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/lib64/ [ 40s] + install -D framework/lib/libscclient.so /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/lib64/ [ 40s] + install -D framework/lib/libscserver.so /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/lib64/ [ 40s] + install -D framework/bin/TPCSSerDaemon /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/bin/ [ 40s] + install -D framework/bin/TWPSerDaemon /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/bin/ [ 40s] + install -m0644 /home/abuild/rpmbuild/SOURCES/com.tsc.ipc.server.plugin.conf /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/etc/dbus-1/system.d/ [ 40s] + install -m0644 /home/abuild/rpmbuild/SOURCES/com.tsc.ipc.server.wp.conf /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/etc/dbus-1/system.d/ [ 41s] + install -m0644 /home/abuild/rpmbuild/SOURCES/tpcsserdaemon.service /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/lib64/systemd/system/ [ 41s] + install -m0644 /home/abuild/rpmbuild/SOURCES/twpserdaemon.service /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/lib64/systemd/system/ [ 41s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/csf-framework-2.0.2 [ 41s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/bin/TPCSSerDaemon [ 41s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/bin/TWPSerDaemon [ 41s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/lib64/libscclient.so [ 41s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/lib64/libscserver.so [ 41s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64/usr/lib64/libsecfw.so [ 41s] cpio: glibc-2.18/csu: Cannot stat: No such file or directory [ 41s] cpio: glibc-2.18/csu/elf-init.c: Cannot stat: No such file or directory [ 41s] cpio: glibc-2.18/csu/init.c: Cannot stat: No such file or directory [ 41s] cpio: glibc-2.18/sysdeps/x86_64/crti.S: Cannot stat: No such file or directory [ 41s] cpio: glibc-2.18/sysdeps/x86_64/crtn.S: Cannot stat: No such file or directory [ 41s] cpio: glibc-2.18/sysdeps/x86_64/start.S: Cannot stat: No such file or directory [ 41s] 492 blocks [ 41s] + /usr/lib/rpm/brp-compress [ 41s] + /usr/lib/rpm/brp-tizen [ 41s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64 [ 41s] Processing files: csf-framework-2.0.2-5.1.x86_64 [ 41s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 41s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 41s] [ 41s] Provides: config(csf-framework) = 2.0.2-5.1 csf-framework = 2.0.2-5.1 csf-framework(x86-64) = 2.0.2-5.1 libscclient.so()(64bit) libscserver.so()(64bit) libsecfw.so()(64bit) [ 41s] Requires(interp): /bin/sh /bin/sh /bin/sh [ 41s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 41s] Requires(post): /bin/sh [ 41s] Requires(preun): /bin/sh [ 41s] Requires(postun): /bin/sh [ 41s] Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdbus-1.so.3()(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libdlog.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libscserver.so()(64bit) libsecfw.so()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) [ 41s] Processing files: csf-framework-debugsource-2.0.2-5.1.x86_64 [ 41s] Provides: csf-framework-debugsource = 2.0.2-5.1 csf-framework-debugsource(x86-64) = 2.0.2-5.1 [ 41s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 41s] Processing files: csf-framework-debuginfo-2.0.2-5.1.x86_64 [ 41s] warning: File listed twice: /usr/lib/debug/.build-id [ 41s] warning: File listed twice: /usr/lib/debug/.build-id [ 41s] warning: File listed twice: /usr/lib/debug/.build-id [ 41s] warning: File listed twice: /usr/lib/debug/.build-id [ 41s] Provides: debuginfo(build-id) = 267cc5b258de0deb32f9f282a6340c9062fa6b8f debuginfo(build-id) = 3d9b2d9580b6c71a75b86ed5c2735317e2af880c debuginfo(build-id) = 950c35bb636f08bc1ff02adfdb5da8aecc06305f debuginfo(build-id) = 9a4833accfde6b164a7fa329bdcbc7a7a175a9d8 debuginfo(build-id) = e42007b470a6b4ff8d7a124068ca4fcd1d2d9949 [ 41s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 41s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64 [ 41s] Wrote: /home/abuild/rpmbuild/SRPMS/csf-framework-2.0.2-5.1.src.rpm [ 41s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/csf-framework-2.0.2-5.1.x86_64.rpm [ 41s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/csf-framework-debugsource-2.0.2-5.1.x86_64.rpm [ 41s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/csf-framework-debuginfo-2.0.2-5.1.x86_64.rpm [ 41s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6wq2FU [ 41s] + umask 022 [ 41s] + cd /home/abuild/rpmbuild/BUILD [ 41s] + cd csf-framework-2.0.2 [ 41s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/csf-framework-2.0.2-5.1.x86_64 [ 41s] + exit 0 [ 41s] ... checking for files with abuild user/group [ 41s] [ 41s] RPMLINT report: [ 41s] =============== [ 42s] csf-framework.x86_64: W: no-soname /usr/lib64/libscclient.so [ 42s] csf-framework.x86_64: W: no-soname /usr/lib64/libsecfw.so [ 42s] csf-framework.x86_64: W: no-soname /usr/lib64/libscserver.so [ 42s] 2 packages and 0 specfiles checked; 0 errors, 3 warnings. [ 42s] [ 42s] ... creating baselibs [ 42s] ... comparing built packages with the former built [ 42s] /usr/lib/build/rpm-check.sh [ 42s] compare /.build.oldpackages/csf-framework-2.0.2-4.1.src.rpm /home/abuild/rpmbuild/SRPMS/csf-framework-2.0.2-5.1.src.rpm [ 42s] --- /tmp/tmp.jzc2nY6O1V 2014-10-15 17:55:43.425963117 +0000 [ 42s] +++ /tmp/tmp.OfzOlP3lOw 2014-10-15 17:55:43.433963117 +0000 [ 42s] @@ -1,7 +1,7 @@ [ 42s] csf-framework 2.0.2 (none) [ 42s] Content Security Framework [ 42s] A general purpose content screening and reputation solution. [ 42s] - tizen Tizen:IVI / atom64 obs://build.tizen.org/Tizen:IVI/atom64/6f25a10133d4f96212fc625c040c5d72-csf-framework BSD-3-Clause BSD-3-Clause [ 42s] + tizen Tizen:3.0.M14.3:IVI / atom64 obs://build.tizen.org/Tizen:3.0.M14.3:IVI/atom64/2a13dd88883fecac4292d0286f6f7fc5-csf-framework BSD-3-Clause BSD-3-Clause [ 42s] Security/Libraries http://tizen.org (none) (none) (none) [ 42s] (none) 4.11.0.1 (none) [ 42s] cpio gzip 9 [ 42s] RPM meta information is different [ 42s] ... saving built statistics [ 42s] ... saving built packages [ 42s] /home/abuild/rpmbuild/RPMS/x86_64/csf-framework-2.0.2-5.1.x86_64.rpm [ 42s] /home/abuild/rpmbuild/RPMS/x86_64/csf-framework-debuginfo-2.0.2-5.1.x86_64.rpm [ 42s] /home/abuild/rpmbuild/RPMS/x86_64/csf-framework-debugsource-2.0.2-5.1.x86_64.rpm [ 42s] /home/abuild/rpmbuild/SRPMS/csf-framework-2.0.2-5.1.src.rpm [ 42s] /home/abuild/rpmbuild/OTHER/_statistics [ 42s] /home/abuild/rpmbuild/OTHER/rpmlint.log [ 42s] [ 42s] w03 finished "build csf-framework.spec" at Wed Oct 15 17:55:43 UTC 2014. [ 42s] [ 45s] [ 38.687547] SysRq : Power Off [ 45s] [ 38.796363] Power down. [ 46s] build: extracting built packages... [ 46s] csf-framework-2.0.2-5.1.x86_64.rpm [ 46s] csf-framework-debuginfo-2.0.2-5.1.x86_64.rpm [ 46s] csf-framework-debugsource-2.0.2-5.1.x86_64.rpm [ 46s] csf-framework-2.0.2-5.1.src.rpm [ 46s] _statistics [ 46s] rpmlint.log Retried build at Fri Oct 17 02:15:05 2014 returned same result, skipped Retried build at Sat Oct 18 04:53:07 2014 returned same result, skipped Retried build at Mon Oct 20 03:51:47 2014 returned same result, skipped