[ 0s] Using BUILD_ROOT=/srv/build/root_7/.mount [ 0s] Using BUILD_ARCH=i586:i486:i386 [ 0s] Doing kvm build in /srv/build/root_7/root [ 0s] [ 0s] [ 0s] w16 started "build _service:gbs:udhcp.spec" at Fri Jul 18 04:12:56 UTC 2014. [ 0s] [ 0s] Building udhcp for project 'Tizen:3.0.M14.2:IVI' repository 'emulator' arch 'i586' srcmd5 '49187ccc96d8d856ef6a6aaf11daca0d' [ 0s] [ 0s] processing specfile /srv/build/root_7/.build-srcdir/_service:gbs:udhcp.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_7/.build-srcdir/_service:gbs:udhcp.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:udhcp.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... [ 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... [ 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... [ 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... [ 2s] [5/8] preinstalling grep... [ 3s] [6/8] preinstalling libblkid... [ 3s] [7/8] preinstalling libmount... [ 3s] [8/8] preinstalling util-linux... [ 3s] copying packages... [ 3s] reordering...cycle: nss -> libsoftokn3 [ 5s] breaking dependency nss -> libsoftokn3 [ 5s] cycle: coreutils -> pam [ 5s] breaking dependency pam -> coreutils [ 5s] done [ 11s] booting kvm ... [ 11s] 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_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 [ 15s] doing fast boot [ 15s] 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, 5036/2392064 files, 185197/9568256 blocks [ 20s] fsck succeeded. Mounting root device read-write. [ 20s] Mounting root /dev/vda [ 20s] mount -o rw -t ext4 /dev/vda /root [ 23s] replacing /etc/mtab with symlink to /proc/self/mounts [ 42s] 2nd stage started in virtual machine [ 42s] machine type: x86_64 [ 42s] switching personality to 8... [ 42s] 2nd stage started in virtual machine [ 42s] machine type: i686 [ 47s] swapon /dev/vdb [ 48s] swapon: /dev/vdb: found swap signature: version 1, page-size 4, same byte order [ 48s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 50s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 62s] mount: none is already mounted or /proc busy [ 62s] mount: none is already mounted or /dev/pts busy [ 62s] logging output to //.build.log... [ 64s] processing specfile /.build-srcdir/_service:gbs:udhcp.spec ... [ 64s] init_buildsystem --configdir /.build/configs --cachedir /var/cache/build /.build-srcdir/_service:gbs:udhcp.spec build rpmlint-Factory ... [ 72s] running setup postinstall script [ 72s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 72s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 72s] initializing rpm db... [ 74s] [1/94] installing libmagic-data-5.11-1.2 [ 75s] [2/94] installing setup-0.9-1.1 [ 76s] [3/94] installing terminfo-base-5.9-1.1 [ 77s] [4/94] installing filesystem-3.1-1.1 [ 79s] error: Failed to set SMACK64 _ for /proc: Operation not supported [ 79s] [5/94] installing glibc-2.18-1.5 [ 80s] [6/94] installing bash-4.2-1.1 [ 80s] [7/94] installing cpio-2.11-1.1 [ 80s] [8/94] installing diffutils-3.3-1.1 [ 80s] [9/94] installing findutils-4.5.10-1.1 [ 80s] [10/94] installing gawk-4.0.1-1.1 [ 80s] [11/94] installing hostname-3.12-1.1 [ 80s] [12/94] installing libattr-2.4.46-1.1 [ 80s] [13/94] installing libbz2-1.0.6-1.4 [ 81s] [14/94] installing libcap-2.24-1.2 [ 81s] [15/94] installing libelf-0.155-1.2 [ 81s] [16/94] installing libext2fs-1.42.6-1.1 [ 81s] [17/94] installing libfreebl3-3.15.4-1.8 [ 81s] [18/94] installing libgdbm-1.10-1.1 [ 81s] [19/94] installing libgmp-5.1.3-1.1 [ 81s] [20/94] installing libltdl-2.4.2-1.1 [ 81s] [21/94] installing liblua-5.1.4-1.1 [ 82s] [22/94] installing liblzma-5.0.3-1.2 [ 82s] [23/94] installing libpcre-8.31-1.1 [ 82s] [24/94] installing libpopt-1.16-1.1 [ 82s] [25/94] installing libsmack-1.0.3.1-1.1 [ 82s] [26/94] installing libsqlite-3.7.14-1.1 [ 82s] [27/94] installing libuuid-2.24-4.5 [ 82s] [28/94] installing m4-1.4.16-1.1 [ 82s] [29/94] installing net-tools-2.0_20121208git-1.1 [ 82s] [30/94] installing nspr-4.10.2-1.1 [ 82s] [31/94] installing patch-2.7-1.1 [ 82s] [32/94] installing pkg-config-0.28-1.1 [ 83s] [33/94] installing sed-4.2.1-3.1 [ 83s] [34/94] installing tar-1.27-1.1 [ 83s] [35/94] installing update-alternatives-1.16.3-3.1 [ 83s] [36/94] installing which-2.20-1.1 [ 83s] [37/94] installing zlib-1.2.7-1.1 [ 83s] [38/94] installing libncurses-5.9-1.1 [ 83s] [39/94] installing build-compare-2012.01.26-1.3 [ 83s] [40/94] installing grep-2.16-1.1 [ 84s] [41/94] installing less-458-1.1 [ 85s] [42/94] installing libacl-2.2.51-1.1 [ 85s] [43/94] installing libasm-0.155-1.2 [ 85s] [44/94] installing libatomic-4.8.2-1.10 [ 85s] [45/94] installing libblkid-2.24-4.5 [ 85s] [46/94] installing libgcc_s1-4.8.2-1.10 [ 85s] [47/94] installing libgomp-4.8.2-1.10 [ 86s] [48/94] installing libmpfr-3.1.1-1.1 [ 86s] [49/94] installing libreadline-5.2-1.1 [ 86s] [50/94] installing make-3.82-1.1 [ 86s] [51/94] installing nss-certs-3.15.4-1.8 [ 86s] [52/94] installing smack-1.0.3.1-1.1 [ 86s] [53/94] installing bzip2-1.0.6-1.4 [ 86s] [54/94] installing libmagic-5.11-1.2 [ 86s] [55/94] installing libxml2-2.8.0-1.1 [ 86s] [56/94] installing xz-5.0.3-1.2 [ 87s] [57/94] installing binutils-2.23.1-1.1 [ 89s] update-alternatives: using /usr/bin/ld.bfd to provide /usr/bin/ld (ld) in auto mode. [ 89s] [58/94] installing libdw-0.155-1.2 [ 89s] [59/94] installing file-5.11-1.2 [ 89s] [60/94] installing libitm-4.8.2-1.10 [ 90s] [61/94] installing libmount-2.24-4.5 [ 90s] [62/94] installing libmpc-1.0-1.1 [ 90s] [63/94] installing libstdc++-4.8.2-1.10 [ 91s] [64/94] installing db4-4.8.30.NC-1.1 [ 92s] [65/94] installing libasan-4.8.2-1.10 [ 92s] [66/94] installing cpp48-4.8.2-1.10 [ 94s] [67/94] installing elfutils-0.155-1.2 [ 94s] [68/94] installing cpp-4.8-1.1 [ 94s] [69/94] installing perl-5.16.3-1.2 [ 105s] [70/94] installing build-mkbaselibs-20120927-1.2 [ 105s] [71/94] installing autoconf-2.69-1.1 [ 106s] [72/94] installing build-20120927-1.2 [ 106s] [73/94] installing pam-1.1.6-1.2 [ 107s] [74/94] installing nss-3.15.4-1.8 [ 107s] [75/94] installing libsoftokn3-3.15.4-1.8 [ 108s] [76/94] installing coreutils-8.21-1.1 [ 109s] [77/94] installing util-linux-2.24-4.5 [ 109s] [78/94] installing rpm-4.11.0.1-1.1 [ 109s] [79/94] installing linux-glibc-devel-3.10-1.1 [ 111s] [80/94] installing glibc-locale-2.18-1.5 [ 112s] [81/94] installing gzip-1.6-1.1 [ 112s] [82/94] installing automake-1.12.1-1.1 [ 113s] [83/94] installing tzdata-2012e-3.1 [ 113s] [84/94] installing rpmlint-mini-1.4-1.1 [ 114s] [85/94] installing rpm-security-plugin-4.11.0.1-1.1 [ 114s] warning: /etc/device-sec-policy created as /etc/device-sec-policy.rpmnew [ 114s] [86/94] installing rpmlint-tizen-1.0-3.1 [ 114s] [87/94] installing glibc-devel-2.18-1.5 [ 115s] [88/94] installing libtool-2.4.2-1.1 [ 115s] [89/94] installing libstdc++48-devel-4.8.2-1.10 [ 118s] [90/94] installing gcc48-4.8.2-1.10 [ 119s] [91/94] installing gcc-4.8-1.1 [ 119s] [92/94] installing gcc48-c++-4.8.2-1.10 [ 119s] [93/94] installing gcc-c++-4.8-1.1 [ 119s] [94/94] installing rpm-build-4.11.0.1-1.1 [ 120s] removing nis flags from //etc/nsswitch.conf... [ 120s] now finalizing build dir... [ 120s] build target is i686-tizen-linux [ 120s] ----------------------------------------------------------------- [ 120s] I have the following modifications for udhcp.spec: [ 120s] 25c25 [ 120s] < Release: 2 [ 120s] --- [ 120s] > Release: 1.1 [ 120s] ----------------------------------------------------------------- [ 120s] ----- building udhcp.spec (user abuild) [ 120s] ----------------------------------------------------------------- [ 120s] ----------------------------------------------------------------- [ 120s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=i686-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:3.0.M14.2:IVI/emulator/49187ccc96d8d856ef6a6aaf11daca0d-udhcp' /home/abuild/rpmbuild/SOURCES/udhcp.spec [ 120s] Building target platforms: i686-tizen-linux [ 120s] Building for target i686-tizen-linux [ 120s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9XC0cz [ 120s] + umask 022 [ 120s] + cd /home/abuild/rpmbuild/BUILD [ 120s] + cd /home/abuild/rpmbuild/BUILD [ 120s] + rm -rf udhcp-0.9.8 [ 120s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/udhcp-0.9.8.tar.gz [ 120s] + /bin/tar -xf - [ 120s] + STATUS=0 [ 120s] + '[' 0 -ne 0 ']' [ 120s] + cd udhcp-0.9.8 [ 120s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 120s] + echo 'Patch #0 (oracle-rpmbuild-makefile-changes.patch):' [ 120s] Patch #0 (oracle-rpmbuild-makefile-changes.patch): [ 120s] + /bin/patch -p1 --fuzz=2 [ 120s] + /bin/cat /home/abuild/rpmbuild/SOURCES/oracle-rpmbuild-makefile-changes.patch [ 120s] patching file Makefile [ 120s] + echo 'Patch #1 (udhcp_usermac.patch):' [ 120s] Patch #1 (udhcp_usermac.patch): [ 120s] + /bin/cat /home/abuild/rpmbuild/SOURCES/udhcp_usermac.patch [ 120s] + /bin/patch -p1 --fuzz=2 [ 120s] patching file dhcpc.c [ 120s] patching file dhcpc.h [ 120s] patching file README.udhcpc [ 120s] + echo 'Patch #2 (udhcp-outputpy.patch):' [ 120s] Patch #2 (udhcp-outputpy.patch): [ 120s] + /bin/cat /home/abuild/rpmbuild/SOURCES/udhcp-outputpy.patch [ 120s] + /bin/patch -p1 --fuzz=2 [ 120s] patching file samples/outputpy.udhcp.sh [ 120s] patching file Makefile [ 120s] + echo 'Patch #3 (udhcp-update-scripts.patch):' [ 120s] Patch #3 (udhcp-update-scripts.patch): [ 120s] + /bin/cat /home/abuild/rpmbuild/SOURCES/udhcp-update-scripts.patch [ 120s] + /bin/patch -p1 --fuzz=2 [ 120s] patching file Makefile [ 120s] patching file samples/sample.bound [ 120s] + exit 0 [ 120s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xbcHo8 [ 120s] + umask 022 [ 120s] + cd /home/abuild/rpmbuild/BUILD [ 120s] + cd udhcp-0.9.8 [ 120s] + LANG=C [ 120s] + export LANG [ 120s] + unset DISPLAY [ 120s] + CFLAGS='-O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' [ 120s] + export CFLAGS [ 120s] + CXXFLAGS='-O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' [ 120s] + export CXXFLAGS [ 120s] + FFLAGS='-O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir' [ 120s] + export FFLAGS [ 120s] + LD_AS_NEEDED=1 [ 120s] + export LD_AS_NEEDED [ 120s] + cp /home/abuild/rpmbuild/SOURCES/udhcp.manifest . [ 120s] + /bin/make [ 120s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer dhcpd.c [ 120s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer arpping.c [ 120s] arpping.c: In function 'arpping': [ 120s] arpping.c:70:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 120s] *((u_int *) arp.sInaddr) = ip; /* source IP address */ [ 120s] ^ [ 120s] arpping.c:72:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 120s] *((u_int *) arp.tInaddr) = yiaddr; /* target IP address */ [ 120s] ^ [ 120s] arpping.c:93:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 120s] *((u_int *) arp.sInaddr) == yiaddr) { [ 120s] ^ [ 120s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer files.c [ 120s] files.c: In function 'write_leases': [ 120s] files.c:252:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] [ 120s] system(buf); [ 120s] ^ [ 120s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer leases.c [ 121s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer serverpacket.c [ 121s] serverpacket.c: In function 'add_bootp_options': [ 121s] serverpacket.c:101:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 121s] strncpy(packet->sname, server_config.sname, sizeof(packet->sname) - 1); [ 121s] ^ [ 121s] In file included from /usr/include/features.h:364:0, [ 121s] from /usr/include/sys/socket.h:22, [ 121s] from serverpacket.c:22: [ 121s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' [ 121s] __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, [ 121s] ^ [ 121s] serverpacket.c:103:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 121s] strncpy(packet->file, server_config.boot_file, sizeof(packet->file) - 1); [ 121s] ^ [ 121s] In file included from /usr/include/features.h:364:0, [ 121s] from /usr/include/sys/socket.h:22, [ 121s] from serverpacket.c:22: [ 121s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' [ 121s] __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, [ 121s] ^ [ 121s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer options.c [ 121s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer socket.c [ 121s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer packet.c [ 121s] packet.c: In function 'get_packet': [ 121s] packet.c:73:8: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 121s] !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { [ 121s] ^ [ 121s] In file included from packet.c:2:0: [ 121s] /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 121s] extern int strncmp (const char *__s1, const char *__s2, size_t __n) [ 121s] ^ [ 121s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer pidfile.c [ 121s] gcc dhcpd.o arpping.o files.o leases.o serverpacket.o options.o socket.o packet.o pidfile.o -o udhcpd [ 121s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer dhcpc.c [ 121s] dhcpc.c: In function 'main': [ 121s] dhcpc.c:259:4: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 121s] strncpy(client_config.clientid + OPT_DATA, optarg, len); [ 121s] ^ [ 121s] In file included from /usr/include/features.h:364:0, [ 121s] from /usr/include/stdio.h:27, [ 121s] from dhcpc.c:22: [ 121s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' [ 121s] __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, [ 121s] ^ [ 121s] dhcpc.c:274:4: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 121s] strncpy(client_config.hostname + 2, optarg, len); [ 121s] ^ [ 121s] In file included from /usr/include/features.h:364:0, [ 121s] from /usr/include/stdio.h:27, [ 121s] from dhcpc.c:22: [ 121s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' [ 121s] __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, [ 121s] ^ [ 121s] dhcpc.c:422:29: warning: 'lease' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 121s] if ((t2 - t1) <= (lease / 14400 + 1)) { [ 121s] ^ [ 121s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer clientpacket.c [ 121s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer script.c [ 121s] script.c: In function 'fill_envp': [ 121s] script.c:187:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 121s] envp[j] = xmalloc(sizeof("boot_file=") + strlen(packet->file)); [ 121s] ^ [ 121s] In file included from script.c:22:0: [ 121s] /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_int8_t *' [ 121s] extern size_t strlen (const char *__s) [ 121s] ^ [ 121s] script.c:193:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 121s] envp[j] = xmalloc(sizeof("sname=") + strlen(packet->sname)); [ 121s] ^ [ 121s] In file included from script.c:22:0: [ 121s] /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_int8_t *' [ 121s] extern size_t strlen (const char *__s) [ 121s] ^ [ 121s] gcc dhcpc.o clientpacket.o script.o options.o socket.o packet.o pidfile.o -o udhcpc [ 121s] gcc -c -O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer dumpleases.c [ 121s] gcc dumpleases.o -o dumpleases [ 121s] strip --remove-section=.note --remove-section=.comment udhcpd udhcpc dumpleases [ 121s] + exit 0 [ 121s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Znsa1L [ 121s] + umask 022 [ 121s] + cd /home/abuild/rpmbuild/BUILD [ 121s] + cd udhcp-0.9.8 [ 121s] + LANG=C [ 121s] + export LANG [ 121s] + unset DISPLAY [ 121s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386 [ 121s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386 [ 121s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386 install [ 121s] strip --remove-section=.note --remove-section=.comment udhcpd udhcpc dumpleases [ 121s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/sbin [ 121s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/sbin [ 121s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/bin [ 121s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share [ 121s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/udhcpc [ 121s] install udhcpd /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/sbin [ 121s] install dumpleases /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/bin [ 121s] install udhcpc /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/sbin [ 121s] for name in bound deconfig renew script ; do \ [ 121s] install samples/sample.$name \ [ 121s] /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/udhcpc/default.$name ; \ [ 121s] done [ 121s] cat /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/udhcpc/default.script | sed -e s/sample/default/ > \ [ 121s] /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/udhcpc/tmp.defualt.script [ 121s] mv /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/udhcpc/tmp.defualt.script /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/udhcpc/default.script [ 121s] chmod +x /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/udhcpc/default.script [ 121s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/man/man1 [ 121s] install dumpleases.1 /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/man/man1 [ 121s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/man/man5 [ 121s] install udhcpd.conf.5 /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/man/man5 [ 121s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/man/man8 [ 121s] install udhcpc.8 udhcpd.8 /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/man/man8 [ 121s] install samples/outputpy.udhcp.sh /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/udhcpc/outputpy.udhcp.sh [ 121s] chmod +x /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/udhcpc/outputpy.udhcp.sh [ 121s] + rm -f /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/usr/share/info/dir [ 121s] + xargs rm -f -- [ 121s] + find /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386 -regex '.*\.la$' [ 121s] + find /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386 -regex '.*\.a$' [ 121s] + xargs rm -f -- SBINDIR=/home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386//usr/sbin [ 121s] + mv /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386/sbin/udhcpc /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386//usr/bin [ 121s] + mv /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386//usr/sbin/udhcpd /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386//usr/bin [ 121s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/udhcp-0.9.8 [ 121s] WARNING: /usr/bin/dumpleases is already stripped! [ 121s] WARNING: /usr/bin/udhcpc is already stripped! [ 121s] WARNING: /usr/bin/udhcpd is already stripped! [ 121s] + /usr/lib/rpm/brp-compress [ 121s] + /usr/lib/rpm/brp-tizen [ 121s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386 [ 121s] Processing files: udhcp-0.9.8-1.1.i686 [ 121s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 121s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 121s] [ 121s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 121s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 121s] [ 121s] Provides: udhcp = 0.9.8-1.1 udhcp(x86-32) = 0.9.8-1.1 [ 121s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 121s] Requires: /bin/sh libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) [ 121s] Processing files: udhcp-debugsource-0.9.8-1.1.i686 [ 121s] Provides: udhcp-debugsource = 0.9.8-1.1 udhcp-debugsource(x86-32) = 0.9.8-1.1 [ 121s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 121s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386 [ 121s] Wrote: /home/abuild/rpmbuild/SRPMS/udhcp-0.9.8-1.1.src.rpm [ 121s] Wrote: /home/abuild/rpmbuild/RPMS/i686/udhcp-0.9.8-1.1.i686.rpm [ 121s] Wrote: /home/abuild/rpmbuild/RPMS/i686/udhcp-debugsource-0.9.8-1.1.i686.rpm [ 121s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rabWum [ 121s] + umask 022 [ 121s] + cd /home/abuild/rpmbuild/BUILD [ 121s] + cd udhcp-0.9.8 [ 121s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386 [ 121s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.i386 [ 121s] + exit 0 [ 122s] ... checking for files with abuild user/group [ 122s] [ 122s] RPMLINT report: [ 122s] =============== [ 122s] udhcp.i686: E: spurious-executable-perm (Badness: 50) /usr/share/man/man1/dumpleases.1.gz [ 122s] udhcp.i686: E: spurious-executable-perm (Badness: 50) /usr/share/man/man8/udhcpc.8.gz [ 122s] udhcp.i686: E: spurious-executable-perm (Badness: 50) /usr/share/man/man8/udhcpd.8.gz [ 122s] udhcp.i686: E: spurious-executable-perm (Badness: 50) /usr/share/man/man5/udhcpd.conf.5.gz [ 122s] The file is installed with executable permissions, but was identified as one [ 122s] that probably should not be executable. Verify if the executable bits are [ 122s] desired, and remove if not. NOTE: example scripts should be packaged under [ 122s] %docdir/examples, which will avoid this warning. [ 122s] [ 122s] udhcp.i686: E: non-standard-group (Badness: 200) System/Emulators/PC [ 122s] udhcp.src: E: non-standard-group (Badness: 200) System/Emulators/PC [ 122s] The value of the Group tag in the package is not valid. Valid groups are [ 122s] listed here: https://wiki.tizen.org/wiki/Packaging/Guidelines#Group_Tag [ 122s] [ 122s] 2 packages and 0 specfiles checked; 6 errors, 0 warnings. [ 122s] [ 122s] ... creating baselibs [ 122s] ... saving built statistics [ 122s] ... saving built packages [ 122s] /home/abuild/rpmbuild/RPMS/i686/udhcp-0.9.8-1.1.i686.rpm [ 122s] /home/abuild/rpmbuild/RPMS/i686/udhcp-debugsource-0.9.8-1.1.i686.rpm [ 122s] /home/abuild/rpmbuild/SRPMS/udhcp-0.9.8-1.1.src.rpm [ 122s] /home/abuild/rpmbuild/OTHER/_statistics [ 122s] /home/abuild/rpmbuild/OTHER/rpmlint.log [ 122s] [ 122s] w16 finished "build udhcp.spec" at Fri Jul 18 04:14:57 UTC 2014. [ 122s] [ 124s] /.build/build: line 368: 223 Killed background_monitor_process [ 126s] [ 111.135563] SysRq : Power Off [ 126s] [ 111.244220] Power down. [ 126s] build: extracting built packages... [ 126s] udhcp-0.9.8-1.1.i686.rpm [ 126s] udhcp-debugsource-0.9.8-1.1.i686.rpm [ 126s] udhcp-0.9.8-1.1.src.rpm [ 126s] _statistics [ 126s] rpmlint.log