[ 0s] Using BUILD_ROOT=/srv/build/root_8/.mount [ 0s] Using BUILD_ARCH=i586:i486:i386 [ 0s] Doing kvm build in /srv/build/root_8/root [ 0s] [ 0s] [ 0s] w23 started "build tel-plugin-vpc.spec" at Wed Apr 23 08:25:14 UTC 2014. [ 0s] [ 0s] Building tel-plugin-vpc for project 'Tizen:Mobile' repository 'emulator' arch 'i586' srcmd5 '58641862892eacaff5ac71d2b3873873' [ 0s] [ 0s] processing specfile /srv/build/root_8/.build-srcdir/tel-plugin-vpc.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_8/.build-srcdir/tel-plugin-vpc.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/8/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /srv/build/root_8/.build.rpmlist /srv/build/root_8/.build-srcdir/tel-plugin-vpc.spec build rpmlint-Factory ... [ 0s] cycle: libsoftokn3 -> nss [ 0s] breaking dependency nss -> libsoftokn3 [ 0s] [1/35] preinstalling libmagic-data... [ 0s] [2/35] preinstalling setup... [ 0s] [3/35] preinstalling filesystem... [ 0s] [4/35] preinstalling glibc... [ 0s] [5/35] preinstalling bash... [ 0s] [6/35] preinstalling diffutils... [ 0s] [7/35] preinstalling grep... [ 0s] [8/35] preinstalling libattr... [ 0s] [9/35] preinstalling libbz2... [ 0s] [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... [ 1s] [26/35] preinstalling smack... [ 1s] [27/35] preinstalling bzip2... [ 1s] [28/35] preinstalling libmagic... [ 1s] [29/35] preinstalling libxml2... [ 1s] [30/35] preinstalling util-linux... [ 1s] [31/35] preinstalling coreutils... [ 1s] [32/35] preinstalling nss... [ 1s] [33/35] preinstalling libsoftokn3... [ 1s] [34/35] preinstalling rpm... [ 1s] [35/35] preinstalling rpm-security-plugin... [ 1s] [ 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... [ 4s] 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 [ 14s] booting kvm ... [ 14s] linux64 /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_8/root,if=virtio,cache=none -drive file=/srv/build/root_8/root,if=ide,index=0,cache=none -drive file=/srv/build/root_8/swap,if=virtio,cache=none -smp 4 [ 16s] [ 0.000000] tsc: Fast TSC calibration failed [ 17s] doing fast boot [ 17s] Creating device nodes with udev [ 20s] Waiting for device /dev/vda to appear: ok [ 20s] fsck from util-linux 2.21.2 [ 20s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 20s] /dev/vda: clean, 5149/2097152 files, 170265/8388608 blocks [ 20s] fsck succeeded. Mounting root device read-write. [ 20s] Mounting root /dev/vda [ 20s] mount -o rw -t ext4 /dev/vda /root [ 21s] replacing /etc/mtab with symlink to /proc/self/mounts [ 21s] 2nd stage started in virtual machine [ 21s] machine type: x86_64 [ 21s] switching personality to 8... [ 21s] 2nd stage started in virtual machine [ 21s] machine type: i686 [ 21s] swapon /dev/vdb [ 21s] swapon: /dev/vdb: found swap signature: version 1, page-size 4, same byte order [ 21s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 21s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 21s] mount: none is already mounted or /proc busy [ 21s] mount: none is already mounted or /dev/pts busy [ 21s] logging output to //.build.log... [ 21s] processing specfile /.build-srcdir/tel-plugin-vpc.spec ... [ 21s] init_buildsystem --configdir /.build/configs --cachedir /var/cache/build /.build-srcdir/tel-plugin-vpc.spec build rpmlint-Factory ... [ 21s] running setup postinstall script [ 21s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 21s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 21s] initializing rpm db... [ 22s] [1/139] installing hwdata-0.260-1.1 [ 22s] [2/139] installing libmagic-data-5.11-3.1 [ 22s] [3/139] installing setup-0.9-5.7 [ 22s] [4/139] installing terminfo-base-5.9-4.1 [ 22s] [5/139] installing filesystem-3.1-5.1 [ 22s] error: Failed to set SMACK64 _ for /proc: Operation not supported [ 22s] [6/139] installing glibc-2.18-3.37 [ 22s] [7/139] installing bash-4.2-2.25 [ 22s] [8/139] installing cpio-2.11-4.22 [ 22s] [9/139] installing diffutils-3.3-1.1 [ 22s] [10/139] installing findutils-4.5.10-2.41 [ 22s] [11/139] installing gawk-4.0.1-2.23 [ 23s] [12/139] installing hostname-3.12-3.25 [ 23s] [13/139] installing libasound-1.0.25-4.1 [ 23s] [14/139] installing libattr-2.4.46-2.40 [ 23s] [15/139] installing libbz2-1.0.6-2.56 [ 23s] [16/139] installing libcap-2.24-1.12 [ 23s] [17/139] installing libcares-1.7.5-2.27 [ 23s] [18/139] installing libdbus-1.6.12-8.1 [ 23s] [19/139] installing libdlog-0.4.1-18.10 [ 23s] [20/139] installing libelf-0.155-2.31 [ 23s] [21/139] installing libelf0-0.8.13-2.27 [ 23s] [22/139] installing libexpat-2.1.0-2.25 [ 23s] [23/139] installing libext2fs-1.42.6-2.26 [ 23s] [24/139] installing libffi-3.0.13-2.26 [ 23s] [25/139] installing libfreebl3-3.15.4-1.18 [ 23s] [26/139] installing libgdbm-1.10-2.75 [ 23s] [27/139] installing libgmp-5.1.3-3.1 [ 23s] [28/139] installing libgpg-error-1.10-2.26 [ 23s] [29/139] installing libltdl-2.4.2-2.25 [ 23s] [30/139] installing liblua-5.1.4-3.41 [ 23s] [31/139] installing liblzma-5.0.3-2.73 [ 23s] [32/139] installing libpcre-8.31-2.25 [ 24s] [33/139] installing libpopt-1.16-2.37 [ 24s] [34/139] installing libpython-2.7.3-2.22 [ 24s] [35/139] installing libsmack-1.0.1-3.3 [ 24s] [36/139] installing libsqlite-3.7.14-2.31 [ 24s] [37/139] installing libuuid-2.24-1.8 [ 24s] [38/139] installing m4-1.4.16-2.24 [ 24s] [39/139] installing net-tools-2.0_20121208git-2.37 [ 24s] [40/139] installing nspr-4.10.2-1.11 [ 24s] [41/139] installing patch-2.7-2.37 [ 24s] [42/139] installing pkg-config-0.28-2.41 [ 24s] [43/139] installing sed-4.2.1-2.25 [ 24s] [44/139] installing tar-1.27-1.1 [ 24s] [45/139] installing update-alternatives-1.16.3-2.25 [ 24s] [46/139] installing which-2.20-5.24 [ 24s] [47/139] installing zlib-1.2.7-2.38 [ 24s] [48/139] installing libncurses-5.9-4.1 [ 24s] [49/139] installing build-compare-2012.01.26-2.38 [ 24s] [50/139] installing vconf-internal-keys-devel-0.0.82-6.1 [ 25s] [51/139] installing grep-2.16-1.1 [ 25s] [52/139] installing less-458-1.1 [ 25s] [53/139] installing libacl-2.2.51-3.40 [ 25s] [54/139] installing libasm-0.155-2.31 [ 25s] [55/139] installing libasound-devel-1.0.25-4.1 [ 25s] [56/139] installing libatomic-4.8.2-1.23 [ 25s] [57/139] installing libblkid-2.24-1.8 [ 25s] [58/139] installing libdlog-devel-0.4.1-18.10 [ 25s] [59/139] installing libgcc_s1-4.8.2-1.23 [ 25s] [60/139] installing libgcrypt-1.5.0-2.25 [ 25s] [61/139] installing libglib-2.36.4-3.1 [ 25s] [62/139] installing libgomp-4.8.2-1.23 [ 25s] [63/139] installing libidn-1.25-2.25 [ 25s] [64/139] installing libmpfr-3.1.1-2.53 [ 25s] [65/139] installing libopenssl-1.0.1f-1.10 [ 25s] [66/139] installing libpcreposix-8.31-2.25 [ 25s] [67/139] installing libreadline-5.2-4.39 [ 25s] [68/139] installing make-3.82-2.39 [ 25s] [69/139] installing nss-certs-3.15.4-1.18 [ 26s] [70/139] installing smack-1.0.1-3.3 [ 26s] [71/139] installing bzip2-1.0.6-2.56 [ 26s] [72/139] installing libkmod-15-1.3 [ 26s] [73/139] installing libmagic-5.11-3.1 [ 26s] [74/139] installing libxml2-2.8.0-3.1 [ 26s] [75/139] installing xz-5.0.3-2.73 [ 26s] [76/139] installing binutils-2.23.1-3.4 [ 28s] update-alternatives: using /usr/bin/ld.bfd to provide /usr/bin/ld (ld) in auto mode. [ 28s] [77/139] installing libdw-0.155-2.31 [ 29s] [78/139] installing file-5.11-3.1 [ 29s] [79/139] installing libgmodule-2.36.4-3.1 [ 29s] [80/139] installing libgthread-2.36.4-3.1 [ 29s] [81/139] installing libitm-4.8.2-1.23 [ 30s] [82/139] installing libmount-2.24-1.8 [ 30s] [83/139] installing libmpc-1.0-2.60 [ 30s] [84/139] installing libstdc++-4.8.2-1.23 [ 31s] [85/139] installing libtcore-3.0.1-2.1 [ 31s] [86/139] installing libgobject-2.36.4-3.1 [ 32s] [87/139] installing libcurl-7.32.0-2.12 [ 33s] [88/139] installing libarchive-3.1.2-3.11 [ 33s] [89/139] installing db4-4.8.30.NC-3.1 [ 34s] [90/139] installing libasan-4.8.2-1.23 [ 35s] [91/139] installing libpcrecpp-8.31-2.25 [ 35s] [92/139] installing cpp48-4.8.2-1.23 [ 36s] [93/139] installing elfutils-0.155-2.31 [ 37s] [94/139] installing cmake-2.8.11.2-2.11 [ 40s] [95/139] installing cpp-4.8-2.47 [ 41s] [96/139] installing perl-5.16.3-2.51 [ 72s] [97/139] installing python-2.7.3-2.22 [ 74s] [98/139] installing build-mkbaselibs-20120927-3.1 [ 74s] [99/139] installing autoconf-2.69-2.58 [ 74s] [100/139] installing python-xml-2.7.3-2.22 [ 75s] [101/139] installing build-20120927-3.1 [ 75s] [102/139] installing pam-1.1.6-4.1 [ 78s] [103/139] installing nss-3.15.4-1.18 [ 78s] [104/139] installing pwdutils-3.2.19-2.10 [ 79s] [105/139] installing libsoftokn3-3.15.4-1.18 [ 79s] [106/139] installing libsystemd-208-6.3 [ 83s] [107/139] installing coreutils-8.21-2.27 [ 93s] [108/139] installing util-linux-2.24-1.8 [ 95s] [109/139] installing rpm-4.11.0.1-8.1 [ 108s] [110/139] installing linux-glibc-devel-3.10-2.72 [ 110s] [111/139] installing gzip-1.6-1.1 [ 110s] [112/139] installing automake-1.12.1-3.1 [ 111s] [113/139] installing tzdata-2012e-2.23 [ 112s] [114/139] installing dbus-1.6.12-8.2 [ 112s] [115/139] installing shared-mime-info-1.0-2.11 [ 112s] [116/139] installing rpmlint-mini-1.4-2.24 [ 113s] [117/139] installing rpm-security-plugin-4.11.0.1-8.1 [ 113s] warning: /etc/device-sec-policy created as /etc/device-sec-policy.rpmnew [ 113s] [118/139] installing rpmlint-tizen-1.0-2.24 [ 114s] [119/139] installing glibc-devel-2.18-3.37 [ 115s] [120/139] installing libtool-2.4.2-2.25 [ 116s] [121/139] installing libgio-2.36.4-3.1 [ 118s] [122/139] installing systemd-208-6.3 [ 121s] [123/139] installing gio-branding-upstream-2.36.4-3.1 [ 122s] [124/139] installing libstdc++48-devel-4.8.2-1.23 [ 125s] [125/139] installing glib2-tools-2.36.4-3.1 [ 126s] [126/139] installing libgudev-208-6.3 [ 126s] [127/139] installing vconf-0.2.45-7.15 [ 126s] Failed to get D-Bus connection: No connection to service manager. [ 126s] warning: %post(vconf-0.2.45-7.15.i686) scriptlet failed, exit status 1 [ 127s] [128/139] installing gcc48-4.8.2-1.23 [ 129s] [129/139] installing libstdc++-devel-4.8-2.47 [ 129s] [130/139] installing gcc-4.8-2.47 [ 129s] [131/139] installing vconf-keys-devel-0.2.45-7.15 [ 130s] [132/139] installing gcc48-c++-4.8.2-1.23 [ 131s] [133/139] installing gcc-c++-4.8-2.47 [ 131s] [134/139] installing pcre-devel-8.31-2.25 [ 131s] [135/139] installing rpm-build-4.11.0.1-8.1 [ 131s] [136/139] installing glib2-devel-2.36.4-3.1 [ 132s] [137/139] installing libgudev-devel-208-6.3 [ 132s] [138/139] installing vconf-devel-0.2.45-7.15 [ 132s] [139/139] installing libtcore-devel-3.0.1-2.1 [ 132s] removing nis flags from //etc/nsswitch.conf... [ 132s] now finalizing build dir... [ 134s] build target is i686-tizen-linux [ 134s] ----------------------------------------------------------------- [ 134s] I have the following modifications for tel-plugin-vpc.spec: [ 134s] 8c8 [ 134s] < Release: 1 [ 134s] --- [ 134s] > Release: 2.7 [ 134s] ----------------------------------------------------------------- [ 134s] ----- building tel-plugin-vpc.spec (user abuild) [ 134s] ----------------------------------------------------------------- [ 134s] ----------------------------------------------------------------- [ 134s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=i686-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:Mobile/emulator/58641862892eacaff5ac71d2b3873873-tel-plugin-vpc' /home/abuild/rpmbuild/SOURCES/tel-plugin-vpc.spec [ 134s] Building target platforms: i686-tizen-linux [ 134s] Building for target i686-tizen-linux [ 134s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SXfExs [ 134s] + umask 022 [ 134s] + cd /home/abuild/rpmbuild/BUILD [ 134s] + cd /home/abuild/rpmbuild/BUILD [ 134s] + rm -rf tel-plugin-vpc-0.1.0 [ 134s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/tel-plugin-vpc-0.1.0.tar.gz [ 134s] + /bin/tar -xf - [ 134s] + STATUS=0 [ 134s] + '[' 0 -ne 0 ']' [ 134s] + cd tel-plugin-vpc-0.1.0 [ 134s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 134s] + exit 0 [ 134s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bQ8FSK [ 134s] + umask 022 [ 134s] + cd /home/abuild/rpmbuild/BUILD [ 134s] + cd tel-plugin-vpc-0.1.0 [ 134s] + LANG=C [ 134s] + export LANG [ 134s] + unset DISPLAY [ 134s] + CFLAGS='-O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' [ 134s] + export CFLAGS [ 134s] + CXXFLAGS='-O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' [ 134s] + export CXXFLAGS [ 134s] + FFLAGS='-O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir' [ 134s] + export FFLAGS [ 134s] + LD_AS_NEEDED=1 [ 134s] + export LD_AS_NEEDED [ 134s] + versionint=1000 [ 134s] + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DVERSION=1000 [ 134s] -- The C compiler identification is GNU 4.8.2 [ 134s] -- Check for working C compiler: /usr/bin/cc [ 134s] -- Check for working C compiler: /usr/bin/cc -- works [ 134s] -- Detecting C compiler ABI info [ 135s] -- Detecting C compiler ABI info - done [ 135s] -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") [ 135s] -- checking for modules 'vconf;glib-2.0;tcore;dlog;alsa' [ 135s] -- found vconf, version 0.2.45 [ 135s] -- found glib-2.0, version 2.36.4 [ 135s] -- found tcore, version 1.0 [ 135s] -- found dlog, version 1.0 [ 135s] -- found alsa, version 1.0.25 [ 135s] -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I/usr/include/vconf -I/usr/include/tcore -I/usr/include/tcore/common -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dlog -I/usr/include/alsa -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wcast-align [ 135s] [ 135s] -- Configuring done [ 135s] -- Generating done [ 135s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0 [ 135s] + make -j4 [ 135s] Scanning dependencies of target vpc-plugin [ 135s] [ 50%] [100%] Building C object CMakeFiles/vpc-plugin.dir/src/desc-vpc.c.o [ 135s] Building C object CMakeFiles/vpc-plugin.dir/src/vpc.c.o [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c: In function 'audio_device_converter': [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:56:7: error: 'CALL_SOUND_PATH_HANDSET' undeclared (first use in this function) [ 135s] case CALL_SOUND_PATH_HANDSET: [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:56:7: note: each undeclared identifier is reported only once for each function it appears in [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:58:7: error: 'CALL_SOUND_PATH_SPEAKER' undeclared (first use in this function) [ 135s] case CALL_SOUND_PATH_SPEAKER: [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:60:7: error: 'CALL_SOUND_PATH_HEADSET' undeclared (first use in this function) [ 135s] case CALL_SOUND_PATH_HEADSET: [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:62:7: error: 'CALL_SOUND_PATH_BLUETOOTH' undeclared (first use in this function) [ 135s] case CALL_SOUND_PATH_BLUETOOTH: [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c: At top level: [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:74:7: error: 'enum tcore_at_command_type' declared inside parameter list [-Werror] [ 135s] TcorePendingResponseCallback callback) [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:74:7: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:73:34: error: parameter 5 ('at_cmd_type') has incomplete type [ 135s] enum tcore_at_command_type at_cmd_type, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c: In function 'prepare_and_send_pending_request': [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:76:2: error: unknown type name 'TcoreATRequest' [ 135s] TcoreATRequest *req; [ 135s] ^ [ 135s] In file included from /usr/include/tcore/tcore.h:30:0, [ 135s] from /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:29: [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:100:7: error: request for member 'cmd' in something not a structure or union [ 135s] req->cmd, req->prefix, strlen(req->cmd)); [ 135s] ^ [ 135s] /usr/include/tcore/log.h:77:156: note: in definition of macro 'dbg' [ 135s] #define dbg(fmt,args...) do { tcore_log(TCORE_LOG_TYPE_RADIO, TCORE_LOG_DEBUG, TCORE_LOG_TAG, "<%s: %s[%d]> " fmt "\n", __MODULE__, __func__, __LINE__, ##args); } while(0) [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:100:17: error: request for member 'prefix' in something not a structure or union [ 135s] req->cmd, req->prefix, strlen(req->cmd)); [ 135s] ^ [ 135s] /usr/include/tcore/log.h:77:156: note: in definition of macro 'dbg' [ 135s] #define dbg(fmt,args...) do { tcore_log(TCORE_LOG_TYPE_RADIO, TCORE_LOG_DEBUG, TCORE_LOG_TAG, "<%s: %s[%d]> " fmt "\n", __MODULE__, __func__, __LINE__, ##args); } while(0) [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:100:37: error: request for member 'cmd' in something not a structure or union [ 135s] req->cmd, req->prefix, strlen(req->cmd)); [ 135s] ^ [ 135s] /usr/include/tcore/log.h:77:156: note: in definition of macro 'dbg' [ 135s] #define dbg(fmt,args...) do { tcore_log(TCORE_LOG_TYPE_RADIO, TCORE_LOG_DEBUG, TCORE_LOG_TAG, "<%s: %s[%d]> " fmt "\n", __MODULE__, __func__, __LINE__, ##args); } while(0) [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c: In function 'on_screen_status_changed': [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:128:5: error: 'TCORE_AT_NO_RESULT' undeclared (first use in this function) [ 135s] TCORE_AT_NO_RESULT, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c: At top level: [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:144:5: error: 'enum tcore_notification_command' declared inside parameter list [-Werror] [ 135s] void *user_data) [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:141:37: error: parameter 3 ('command') has incomplete type [ 135s] enum tcore_notification_command command, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:139:31: error: return type is an incomplete type [ 135s] static enum tcore_hook_return on_hook_call_end(Server *s, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c: In function 'on_hook_call_end': [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:149:3: error: 'return' with a value, in function returning void [-Werror] [ 135s] return TCORE_HOOK_RETURN_CONTINUE; [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:159:4: error: 'TCORE_AT_NO_RESULT' undeclared (first use in this function) [ 135s] TCORE_AT_NO_RESULT, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:177:2: error: 'return' with a value, in function returning void [-Werror] [ 135s] return TCORE_HOOK_RETURN_CONTINUE; [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c: At top level: [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:184:7: error: 'enum tcore_notification_command' declared inside parameter list [-Werror] [ 135s] void *user_data) [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:182:39: error: parameter 3 ('command') has incomplete type [ 135s] enum tcore_notification_command command, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:180:31: error: return type is an incomplete type [ 135s] static enum tcore_hook_return on_hook_set_sound_path(Server *s, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c: In function 'on_hook_set_sound_path': [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:187:47: error: dereferencing pointer to incomplete type [ 135s] int devId = audio_device_converter(sound_path->path); [ 135s] ^ [ 135s] In file included from /usr/include/tcore/tcore.h:30:0, [ 135s] from /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:29: [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:189:51: error: dereferencing pointer to incomplete type [ 135s] dbg("sound_path->path <%d> devId <%d>",sound_path->path, devId); [ 135s] ^ [ 135s] /usr/include/tcore/log.h:77:156: note: in definition of macro 'dbg' [ 135s] #define dbg(fmt,args...) do { tcore_log(TCORE_LOG_TYPE_RADIO, TCORE_LOG_DEBUG, TCORE_LOG_TAG, "<%s: %s[%d]> " fmt "\n", __MODULE__, __func__, __LINE__, ##args); } while(0) [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:193:2: error: 'return' with a value, in function returning void [-Werror] [ 135s] return TCORE_HOOK_RETURN_CONTINUE; [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c: At top level: [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:200:7: error: 'enum tcore_notification_command' declared inside parameter list [-Werror] [ 135s] void *data, void *user_data) [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:198:39: error: parameter 3 ('command') has incomplete type [ 135s] enum tcore_notification_command command, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:196:31: error: return type is an incomplete type [ 135s] static enum tcore_hook_return on_hook_register_notification(Server *s, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c: In function 'on_hook_register_notification': [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:205:3: error: 'return' with a value, in function returning void [-Werror] [ 135s] return TCORE_HOOK_RETURN_CONTINUE; [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:208:3: error: 'return' with a value, in function returning void [-Werror] [ 135s] return TCORE_HOOK_RETURN_CONTINUE; [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:210:40: error: 'TNOTI_CALL_SOUND_PATH' undeclared (first use in this function) [ 135s] tcore_server_add_notification_hook(s, TNOTI_CALL_SOUND_PATH, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:211:7: error: passing argument 3 of 'tcore_server_add_notification_hook' from incompatible pointer type [-Werror] [ 135s] on_hook_set_sound_path, NULL); [ 135s] ^ [ 135s] In file included from /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:30:0: [ 135s] /usr/include/tcore/server.h:64:11: note: expected 'TcoreServerNotificationHook' but argument is of type 'void (*)()' [ 135s] TelReturn tcore_server_add_notification_hook(Server *s, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:213:40: error: 'TNOTI_CALL_STATUS_IDLE' undeclared (first use in this function) [ 135s] tcore_server_add_notification_hook(s, TNOTI_CALL_STATUS_IDLE, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:214:7: error: passing argument 3 of 'tcore_server_add_notification_hook' from incompatible pointer type [-Werror] [ 135s] on_hook_call_end, NULL); [ 135s] ^ [ 135s] In file included from /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:30:0: [ 135s] /usr/include/tcore/server.h:64:11: note: expected 'TcoreServerNotificationHook' but argument is of type 'void (*)()' [ 135s] TelReturn tcore_server_add_notification_hook(Server *s, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:221:2: error: 'return' with a value, in function returning void [-Werror] [ 135s] return TCORE_HOOK_RETURN_CONTINUE; [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c: In function 'on_init': [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:241:40: error: 'TNOTI_MODEM_POWER' undeclared (first use in this function) [ 135s] tcore_server_add_notification_hook(s, TNOTI_MODEM_POWER, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:242:7: error: passing argument 3 of 'tcore_server_add_notification_hook' from incompatible pointer type [-Werror] [ 135s] on_hook_register_notification, NULL); [ 135s] ^ [ 135s] In file included from /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:30:0: [ 135s] /usr/include/tcore/server.h:64:11: note: expected 'TcoreServerNotificationHook' but argument is of type 'void (*)()' [ 135s] TelReturn tcore_server_add_notification_hook(Server *s, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c: In function 'on_unload': [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:258:2: error: passing argument 2 of 'tcore_server_remove_notification_hook' from incompatible pointer type [-Werror] [ 135s] tcore_server_remove_notification_hook(s, on_hook_set_sound_path); [ 135s] ^ [ 135s] In file included from /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:30:0: [ 135s] /usr/include/tcore/server.h:66:11: note: expected 'TcoreServerNotificationHook' but argument is of type 'void (*)()' [ 135s] TelReturn tcore_server_remove_notification_hook(Server *s, [ 135s] ^ [ 135s] /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:259:2: error: passing argument 2 of 'tcore_server_remove_notification_hook' from incompatible pointer type [-Werror] [ 135s] tcore_server_remove_notification_hook(s, on_hook_call_end); [ 135s] ^ [ 135s] In file included from /home/abuild/rpmbuild/BUILD/tel-plugin-vpc-0.1.0/src/desc-vpc.c:30:0: [ 135s] /usr/include/tcore/server.h:66:11: note: expected 'TcoreServerNotificationHook' but argument is of type 'void (*)()' [ 135s] TelReturn tcore_server_remove_notification_hook(Server *s, [ 135s] ^ [ 135s] cc1: all warnings being treated as errors [ 135s] make[2]: *** [CMakeFiles/vpc-plugin.dir/src/desc-vpc.c.o] Error 1 [ 135s] make[2]: *** Waiting for unfinished jobs.... [ 135s] make[1]: *** [CMakeFiles/vpc-plugin.dir/all] Error 2 [ 135s] make: *** [all] Error 2 [ 135s] error: Bad exit status from /var/tmp/rpm-tmp.bQ8FSK (%build) [ 135s] [ 135s] [ 135s] RPM build errors: [ 135s] Bad exit status from /var/tmp/rpm-tmp.bQ8FSK (%build) [ 136s] Powering off. [ 136s] [ 119.529549] Power down.