[ 0s] Using BUILD_ROOT=/srv/build/root_6/.mount [ 0s] Using BUILD_ARCH=i586:i486:i386 [ 0s] Doing kvm build in /srv/build/root_6/root [ 0s] [ 0s] [ 0s] w23 started "build _service:gbs:udhcp.spec" at Mon Mar 13 05:29:16 UTC 2017. [ 0s] [ 0s] Building udhcp for project 'Tizen:IVI' repository 'emulator' arch 'i586' srcmd5 'c9e58f94e00f13a93eb26b5556615c22' [ 0s] [ 0s] processing specfile /srv/build/root_6/.build-srcdir/_service:gbs:udhcp.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_6/.build-srcdir/_service:gbs:udhcp.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/6/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /srv/build/root_6/.build.rpmlist /srv/build/root_6/.build-srcdir/_service:gbs:udhcp.spec build rpmlint-Factory ... [ 0s] Copying qemu-fix-build-hang.sh [ 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 libgcc... [ 1s] [14/35] preinstalling liblua... [ 1s] [15/35] preinstalling liblzma... [ 1s] [16/35] preinstalling libncurses... [ 1s] [17/35] preinstalling libpopt... [ 1s] [18/35] preinstalling libsmack... [ 2s] [19/35] preinstalling libsqlite... [ 2s] [20/35] preinstalling nspr... [ 2s] [21/35] preinstalling sed... [ 2s] [22/35] preinstalling zlib... [ 2s] [23/35] preinstalling coreutils... [ 2s] [24/35] preinstalling libacl... [ 2s] [25/35] preinstalling libreadline... [ 2s] [26/35] preinstalling smack... [ 2s] [27/35] preinstalling bzip2... [ 2s] [28/35] preinstalling libmagic... [ 2s] [29/35] preinstalling libxml2... [ 2s] [30/35] preinstalling tar... [ 2s] [31/35] preinstalling util-linux... [ 2s] [32/35] preinstalling util-linux-su... [ 2s] [33/35] preinstalling nss... [ 2s] [34/35] preinstalling libsoftokn3... [ 2s] [35/35] preinstalling rpm... [ 2s] [ 2s] [1/10] preinstalling libext2fs... [ 2s] [2/10] preinstalling libpcre... [ 2s] [3/10] preinstalling libsmartcols... [ 2s] [4/10] preinstalling libuuid... [ 3s] [5/10] preinstalling perl... [ 3s] [6/10] preinstalling procps-ng... [ 3s] [7/10] preinstalling grep... [ 3s] [8/10] preinstalling libblkid... [ 3s] [9/10] preinstalling libmount... [ 4s] [10/10] preinstalling util-linux... [ 4s] copying packages... [ 4s] reordering...cycle: libsoftokn3 -> nss [ 4s] breaking dependency nss -> libsoftokn3 [ 4s] done [ 6s] booting kvm ... [ 6s] 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 6000 -drive file=/srv/build/root_6/root,if=virtio,cache=none -drive file=/srv/build/root_6/root,if=ide,index=0,cache=none -drive file=/srv/build/root_6/swap,if=virtio,cache=none -smp 4 [ 9s] doing fast boot [ 9s] Creating device nodes with udev [ 10s] Waiting for device /dev/vda to appear: ok [ 10s] fsck from util-linux 2.21.2 [ 10s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 10s] /dev/vda: clean, 4364/2392064 files, 183240/9568256 blocks [ 10s] fsck succeeded. Mounting root device read-write. [ 10s] Mounting root /dev/vda [ 10s] mount -o rw -t ext4 /dev/vda /root [ 10s] replacing /etc/mtab with symlink to /proc/self/mounts [ 10s] 2nd stage started in virtual machine [ 10s] machine type: x86_64 [ 10s] switching personality to 8... [ 10s] 2nd stage started in virtual machine [ 10s] machine type: i686 [ 10s] swapon: /dev/vdb: found signature [pagesize=4096, signature=swap] [ 10s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 10s] swapon /dev/vdb [ 10s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 10s] mount: none is already mounted or /proc busy [ 10s] mount: none is already mounted or /dev/pts busy [ 10s] logging output to //.build.log... [ 10s] processing specfile /.build-srcdir/_service:gbs:udhcp.spec ... [ 10s] init_buildsystem --configdir /.build/configs --cachedir /var/cache/build /.build-srcdir/_service:gbs:udhcp.spec build rpmlint-Factory ... [ 10s] running setup postinstall script [ 10s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 10s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 10s] initializing rpm db... [ 11s] [1/89] installing libmagic-data-5.28-5.2 [ 11s] [2/89] installing setup-0.9-4.3 [ 11s] [3/89] installing terminfo-base-5.9-2.2 [ 11s] [4/89] installing filesystem-3.2-12.1 [ 11s] [5/89] installing glibc-2.20-13.2 [ 11s] [6/89] installing bash-3.2.57-3.4 [ 11s] [7/89] installing cpio-2.11-3.1 [ 11s] [8/89] installing diffutils-3.3-1.11 [ 11s] [9/89] installing findutils-4.3.8-3.2 [ 11s] [10/89] installing hostname-3.12-1.4 [ 11s] [11/89] installing libatomic-4.9.2-20.7 [ 11s] [12/89] installing libattr-2.4.47-2.2 [ 11s] [13/89] installing libbz2-1.0.6-2.29 [ 11s] [14/89] installing libcap-2.24-1.90 [ 11s] [15/89] installing libelf-0.153-6.9 [ 11s] [16/89] installing libext2fs-1.42.13-2.9 [ 12s] [17/89] installing libfreebl3-3.23-5.19 [ 12s] [18/89] installing libgcc-4.9.2-20.7 [ 12s] [19/89] installing libgomp-4.9.2-20.7 [ 12s] [20/89] installing libitm-4.9.2-20.7 [ 12s] [21/89] installing libltdl-2.4.2-3.6 [ 12s] [22/89] installing liblua-5.1.4-1.21 [ 12s] [23/89] installing liblzma-5.2.2-5.1 [ 12s] [24/89] installing libpcre-8.39-3.2 [ 12s] [25/89] installing libpopt-1.16-2.6 [ 12s] [26/89] installing libsmack-1.3.0-5.2 [ 12s] [27/89] installing libsmartcols-2.28-8.2 [ 13s] [28/89] installing libsqlite-3.8.10.2-1.11 [ 14s] [29/89] installing libuuid-2.28-8.2 [ 14s] [30/89] installing m4-1.4.17-2.2 [ 14s] [31/89] installing net-tools-2.0_20121208git-1.7 [ 14s] [32/89] installing nspr-4.12-5.9 [ 15s] [33/89] installing patch-2.7-1.8 [ 15s] [34/89] installing pkg-config-0.28-1.9 [ 15s] [35/89] installing sed-4.1c-2.7 [ 15s] [36/89] installing update-alternatives-1.18.15-2.1 [ 15s] [37/89] installing which-2.20-1.4 [ 16s] [38/89] installing zlib-1.2.8-2.1 [ 16s] [39/89] installing libncurses-5.9-2.2 [ 16s] [40/89] installing build-compare-2015.04.28-6.11 [ 16s] [41/89] installing coreutils-6.9-8.2 [ 16s] [42/89] installing cpp-4.9.2-20.7 [ 16s] [43/89] installing gawk-3.1.5-2.8 [ 16s] [44/89] installing gcc-c++-4.9.2-20.7 [ 17s] [45/89] installing grep-2.5.2-2.8 [ 17s] [46/89] installing less-466-1.7 [ 17s] [47/89] installing libacl-2.2.52-3.6 [ 17s] [48/89] installing libasm-0.153-6.9 [ 17s] [49/89] installing libblkid-2.28-8.2 [ 17s] [50/89] installing libreadline-5.2-2.6 [ 17s] [51/89] installing libstdc++-4.9.2-20.7 [ 17s] [52/89] installing make-4.0-2.2 [ 17s] [53/89] installing nss-certs-3.23-5.19 [ 18s] [54/89] installing procps-ng-3.3.9-4.1 [ 18s] [55/89] installing smack-1.3.0-5.2 [ 18s] [56/89] installing binutils-2.25-7.8 [ 18s] [57/89] installing bzip2-1.0.6-2.29 [ 18s] [58/89] installing libmagic-5.28-5.2 [ 18s] [59/89] installing libxml2-2.9.4-5.5 [ 18s] [60/89] installing xz-5.2.2-5.1 [ 18s] [61/89] installing libdw-0.153-6.9 [ 18s] [62/89] installing libstdc++-devel-4.9.2-20.7 [ 18s] [63/89] installing file-5.28-5.2 [ 19s] [64/89] installing libmount-2.28-8.2 [ 19s] [65/89] installing linux-glibc-devel-3.10-1.5 [ 19s] [66/89] installing tar-1.17-2.8 [ 19s] [67/89] installing db4-4.8.30.NC-2.2 [ 19s] [68/89] installing glibc-locale-2.20-13.2 [ 19s] [69/89] installing gzip-1.3.12-2.9 [ 19s] [70/89] installing libcilkrts-4.9.2-20.7 [ 19s] [71/89] installing libfdisk1-2.28-8.2 [ 19s] [72/89] installing libubsan-4.9.2-20.7 [ 19s] [73/89] installing pam-1.1.6-4.6 [ 19s] [74/89] installing tzdata-2016f-2.3 [ 20s] [75/89] installing elfutils-0.153-6.9 [ 20s] [76/89] installing glibc-devel-2.20-13.2 [ 20s] [77/89] installing perl-5.20.0-3.82 [ 21s] [78/89] installing gcc-4.9.2-20.7 [ 22s] [79/89] installing util-linux-2.28-8.2 [ 22s] [80/89] installing build-mkbaselibs-20120927-1.4 [ 22s] [81/89] installing autoconf-2.69-1.5 [ 22s] [82/89] installing util-linux-su-2.28-8.2 [ 22s] [83/89] installing automake-1.14.1-1.5 [ 23s] [84/89] installing build-20120927-1.4 [ 23s] [85/89] installing libtool-2.4.2-3.6 [ 23s] [86/89] installing nss-3.23-5.19 [ 23s] [87/89] installing libsoftokn3-3.23-5.19 [ 23s] [88/89] installing rpm-4.11.0.1-13.1 [ 23s] [89/89] installing rpm-build-4.11.0.1-13.1 [ 23s] removing nis flags from //etc/nsswitch.conf... [ 23s] now finalizing build dir... [ 24s] build target is i686-tizen-linux [ 24s] ----------------------------------------------------------------- [ 24s] I have the following modifications for udhcp.spec: [ 24s] 25c25 [ 24s] < Release: 2 [ 24s] --- [ 24s] > Release: 1.6 [ 24s] ----------------------------------------------------------------- [ 24s] ----- building udhcp.spec (user abuild) [ 24s] ----------------------------------------------------------------- [ 24s] ----------------------------------------------------------------- [ 24s] Running qemu build hang workaround... [ 24s] /bin/ps command found [ 24s] QEMU_HANG_FIX_PID=1036 [ 24s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=i686-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:IVI/emulator/c9e58f94e00f13a93eb26b5556615c22-udhcp' /home/abuild/rpmbuild/SOURCES/udhcp.spec [ 24s] Building target platforms: i686-tizen-linux [ 24s] Building for target i686-tizen-linux [ 24s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.J1qqkH [ 24s] + umask 022 [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + rm -rf udhcp-0.9.8 [ 24s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/udhcp-0.9.8.tar.gz [ 24s] + /bin/tar -xf - [ 24s] + STATUS=0 [ 24s] + '[' 0 -ne 0 ']' [ 24s] + cd udhcp-0.9.8 [ 24s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 24s] + echo 'Patch #0 (oracle-rpmbuild-makefile-changes.patch):' [ 24s] Patch #0 (oracle-rpmbuild-makefile-changes.patch): [ 24s] + /bin/cat /home/abuild/rpmbuild/SOURCES/oracle-rpmbuild-makefile-changes.patch [ 24s] + /bin/patch -p1 --fuzz=2 [ 24s] patching file Makefile [ 24s] + echo 'Patch #1 (udhcp_usermac.patch):' [ 24s] Patch #1 (udhcp_usermac.patch): [ 24s] + /bin/patch -p1 --fuzz=2 [ 24s] + /bin/cat /home/abuild/rpmbuild/SOURCES/udhcp_usermac.patch [ 24s] patching file dhcpc.c [ 24s] patching file dhcpc.h [ 24s] patching file README.udhcpc [ 24s] + echo 'Patch #2 (udhcp-outputpy.patch):' [ 24s] Patch #2 (udhcp-outputpy.patch): [ 24s] + /bin/cat /home/abuild/rpmbuild/SOURCES/udhcp-outputpy.patch [ 24s] + /bin/patch -p1 --fuzz=2 [ 24s] patching file samples/outputpy.udhcp.sh [ 24s] patching file Makefile [ 24s] + echo 'Patch #3 (udhcp-update-scripts.patch):' [ 24s] Patch #3 (udhcp-update-scripts.patch): [ 24s] + /bin/cat /home/abuild/rpmbuild/SOURCES/udhcp-update-scripts.patch [ 24s] + /bin/patch -p1 --fuzz=2 [ 24s] patching file Makefile [ 24s] patching file samples/sample.bound [ 24s] + exit 0 [ 24s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bKNL8L [ 24s] + umask 022 [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + cd udhcp-0.9.8 [ 24s] ++ uname -m [ 24s] + [[ i686 == \a\a\r\c\h\6\4 ]] [ 24s] + LANG=C [ 24s] + export LANG [ 24s] + unset DISPLAY [ 24s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 24s] + export CFLAGS [ 24s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 24s] + export CXXFLAGS [ 24s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir' [ 24s] + export FFLAGS [ 24s] + LDFLAGS= [ 24s] + export LDFLAGS [ 24s] + LD_AS_NEEDED=1 [ 24s] + export LD_AS_NEEDED [ 24s] + cp /home/abuild/rpmbuild/SOURCES/udhcp.manifest . [ 24s] + /bin/make [ 24s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer dhcpd.c [ 24s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer arpping.c [ 24s] arpping.c: In function 'arpping': [ 24s] arpping.c:70:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 24s] *((u_int *) arp.sInaddr) = ip; /* source IP address */ [ 24s] ^ [ 24s] arpping.c:72:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 24s] *((u_int *) arp.tInaddr) = yiaddr; /* target IP address */ [ 24s] ^ [ 24s] arpping.c:93:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 24s] *((u_int *) arp.sInaddr) == yiaddr) { [ 24s] ^ [ 24s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer files.c [ 24s] files.c: In function 'write_leases': [ 24s] files.c:252:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] [ 24s] system(buf); [ 24s] ^ [ 24s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer leases.c [ 24s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer serverpacket.c [ 24s] serverpacket.c: In function 'add_bootp_options': [ 24s] serverpacket.c:101:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 24s] strncpy(packet->sname, server_config.sname, sizeof(packet->sname) - 1); [ 24s] ^ [ 24s] In file included from /usr/include/features.h:365:0, [ 24s] from /usr/include/sys/socket.h:22, [ 24s] from serverpacket.c:22: [ 24s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' [ 24s] __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, [ 24s] ^ [ 24s] serverpacket.c:103:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 24s] strncpy(packet->file, server_config.boot_file, sizeof(packet->file) - 1); [ 24s] ^ [ 24s] In file included from /usr/include/features.h:365:0, [ 24s] from /usr/include/sys/socket.h:22, [ 24s] from serverpacket.c:22: [ 24s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' [ 24s] __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, [ 24s] ^ [ 24s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer options.c [ 24s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer socket.c [ 24s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer packet.c [ 24s] packet.c: In function 'get_packet': [ 24s] packet.c:73:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 24s] !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { [ 24s] ^ [ 24s] In file included from packet.c:2:0: [ 24s] /usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 24s] extern int strncmp (const char *__s1, const char *__s2, size_t __n) [ 24s] ^ [ 24s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer pidfile.c [ 24s] gcc dhcpd.o arpping.o files.o leases.o serverpacket.o options.o socket.o packet.o pidfile.o -o udhcpd [ 25s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer dhcpc.c [ 25s] dhcpc.c: In function 'main': [ 25s] dhcpc.c:259:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 25s] strncpy(client_config.clientid + OPT_DATA, optarg, len); [ 25s] ^ [ 25s] In file included from /usr/include/features.h:365:0, [ 25s] from /usr/include/stdio.h:27, [ 25s] from dhcpc.c:22: [ 25s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' [ 25s] __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, [ 25s] ^ [ 25s] dhcpc.c:274:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 25s] strncpy(client_config.hostname + 2, optarg, len); [ 25s] ^ [ 25s] In file included from /usr/include/features.h:365:0, [ 25s] from /usr/include/stdio.h:27, [ 25s] from dhcpc.c:22: [ 25s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' [ 25s] __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, [ 25s] ^ [ 25s] dhcpc.c:422:29: warning: 'lease' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 25s] if ((t2 - t1) <= (lease / 14400 + 1)) { [ 25s] ^ [ 25s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer clientpacket.c [ 25s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer script.c [ 25s] script.c: In function 'fill_envp': [ 25s] script.c:187:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 25s] envp[j] = xmalloc(sizeof("boot_file=") + strlen(packet->file)); [ 25s] ^ [ 25s] In file included from script.c:22:0: [ 25s] /usr/include/string.h:398:15: note: expected 'const char *' but argument is of type 'u_int8_t *' [ 25s] extern size_t strlen (const char *__s) [ 25s] ^ [ 25s] script.c:193:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 25s] envp[j] = xmalloc(sizeof("sname=") + strlen(packet->sname)); [ 25s] ^ [ 25s] In file included from script.c:22:0: [ 25s] /usr/include/string.h:398:15: note: expected 'const char *' but argument is of type 'u_int8_t *' [ 25s] extern size_t strlen (const char *__s) [ 25s] ^ [ 25s] gcc dhcpc.o clientpacket.o script.o options.o socket.o packet.o pidfile.o -o udhcpc [ 25s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer dumpleases.c [ 25s] gcc dumpleases.o -o dumpleases [ 25s] strip --remove-section=.note --remove-section=.comment udhcpd udhcpc dumpleases [ 25s] + exit 0 [ 25s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mm3UaW [ 25s] + umask 022 [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + cd udhcp-0.9.8 [ 25s] + LANG=C [ 25s] + export LANG [ 25s] + unset DISPLAY [ 25s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386 [ 25s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386 [ 25s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386 install [ 25s] strip --remove-section=.note --remove-section=.comment udhcpd udhcpc dumpleases [ 25s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/sbin [ 25s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/sbin [ 25s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/bin [ 25s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share [ 25s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/udhcpc [ 25s] install udhcpd /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/sbin [ 25s] install dumpleases /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/bin [ 25s] install udhcpc /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/sbin [ 25s] for name in bound deconfig renew script ; do \ [ 25s] install samples/sample.$name \ [ 25s] /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/udhcpc/default.$name ; \ [ 25s] done [ 25s] cat /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/udhcpc/default.script | sed -e s/sample/default/ > \ [ 25s] /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/udhcpc/tmp.defualt.script [ 25s] mv /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/udhcpc/tmp.defualt.script /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/udhcpc/default.script [ 25s] chmod +x /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/udhcpc/default.script [ 25s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/man/man1 [ 25s] install dumpleases.1 /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/man/man1 [ 25s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/man/man5 [ 25s] install udhcpd.conf.5 /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/man/man5 [ 25s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/man/man8 [ 25s] install udhcpc.8 udhcpd.8 /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/man/man8 [ 25s] install samples/outputpy.udhcp.sh /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/udhcpc/outputpy.udhcp.sh [ 25s] chmod +x /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/udhcpc/outputpy.udhcp.sh [ 25s] + rm -f /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/usr/share/info/dir [ 25s] + find /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386 -regex '.*\.la$' [ 25s] + xargs rm -f -- [ 25s] + find /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386 -regex '.*\.a$' [ 25s] + xargs rm -f -- SBINDIR=/home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386//usr/sbin [ 25s] + mv /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386/sbin/udhcpc /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386//usr/bin [ 25s] + mv /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386//usr/sbin/udhcpd /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386//usr/bin [ 25s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/udhcp-0.9.8 [ 25s] WARNING: /usr/bin/dumpleases is already stripped! [ 25s] WARNING: /usr/bin/udhcpc is already stripped! [ 25s] WARNING: /usr/bin/udhcpd is already stripped! [ 25s] + /usr/lib/rpm/check-buildroot [ 25s] + /usr/lib/rpm//brp-compress [ 25s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 25s] + /usr/lib/rpm/brp-python-hardlink [ 25s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386 [ 25s] Processing files: udhcp-0.9.8-1.6.i686 [ 25s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 25s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 25s] [ 25s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 25s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 25s] [ 25s] Provides: udhcp = 0.9.8-1.6 udhcp(x86-32) = 0.9.8-1.6 [ 25s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 25s] 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) [ 25s] Processing files: udhcp-debugsource-0.9.8-1.6.i686 [ 25s] Provides: udhcp-debugsource = 0.9.8-1.6 udhcp-debugsource(x86-32) = 0.9.8-1.6 [ 25s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 25s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386 [ 25s] Wrote: /home/abuild/rpmbuild/SRPMS/udhcp-0.9.8-1.6.src.rpm [ 25s] Wrote: /home/abuild/rpmbuild/RPMS/i686/udhcp-0.9.8-1.6.i686.rpm [ 25s] Wrote: /home/abuild/rpmbuild/RPMS/i686/udhcp-debugsource-0.9.8-1.6.i686.rpm [ 25s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iSzwEC [ 25s] + umask 022 [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + cd udhcp-0.9.8 [ 25s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386 [ 25s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.6.i386 [ 25s] + exit 0 [ 25s] ... checking for files with abuild user/group [ 25s] Killing qemu-hang-fix PID=1036 [ 25s] ... creating baselibs [ 25s] ... saving built statistics [ 25s] ... saving built packages [ 25s] /home/abuild/rpmbuild/RPMS/i686/udhcp-0.9.8-1.6.i686.rpm [ 25s] /home/abuild/rpmbuild/RPMS/i686/udhcp-debugsource-0.9.8-1.6.i686.rpm [ 25s] /home/abuild/rpmbuild/SRPMS/udhcp-0.9.8-1.6.src.rpm [ 25s] /home/abuild/rpmbuild/OTHER/_statistics [ 25s] [ 25s] w23 finished "build udhcp.spec" at Mon Mar 13 05:29:41 UTC 2017. [ 25s] [ 29s] [ 20.371871] SysRq : Power Off [ 29s] [ 20.480320] Power down. [ 29s] build: extracting built packages... [ 29s] udhcp-0.9.8-1.6.i686.rpm [ 29s] udhcp-debugsource-0.9.8-1.6.i686.rpm [ 29s] udhcp-0.9.8-1.6.src.rpm [ 29s] _statistics Retried build at Fri Mar 31 17:01:45 2017 returned same result, skipped