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