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