[ 0s] Using BUILD_ROOT=/srv/build/root_8/.mount [ 0s] Using BUILD_ARCH=armv7l:armv5tel [ 0s] Doing kvm build in /srv/build/root_8/root [ 0s] [ 0s] [ 0s] w14 started "build _service:gbs:udhcp.spec" at Wed Nov 9 09:05:39 UTC 2016. [ 0s] [ 0s] Building udhcp for project 'Tizen:3.0:Common' repository 'arm-wayland' arch 'armv7l' srcmd5 '1f25bb105c17d2cedd720db7a671fa66' [ 0s] [ 0s] processing specfile /srv/build/root_8/.build-srcdir/_service:gbs:udhcp.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_8/.build-srcdir/_service:gbs:udhcp.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/_service:gbs:udhcp.spec build rpmlint-Factory ... [ 0s] registering binfmt handlers for VM [ 0s] /.build/qemu-reg: No such file or directory [ 0s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 0s] write: Invalid argument [ 0s] /proc/sys/fs/binfmt_misc/register: write failed [ 0s] /usr/lib/build/qemu-reg: line 7: write failed. Content: :arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-binfmt:P [ 0s] [ 0s] /usr/lib/build/qemu-reg: binfmt registration failed [ 0s] Copying qemu-fix-build-hang.sh [ 0s] cycle: libsoftokn3 -> nss [ 0s] breaking dependency nss -> libsoftokn3 [ 0s] [1/40] preinstalling libmagic-data... [ 0s] [2/40] preinstalling setup... [ 0s] [3/40] preinstalling filesystem... [ 0s] [4/40] preinstalling glibc... [ 1s] [5/40] preinstalling libgcc... [ 1s] [6/40] preinstalling bash... [ 1s] [7/40] preinstalling diffutils... [ 1s] [8/40] preinstalling grep... [ 1s] [9/40] preinstalling libattr... [ 1s] [10/40] preinstalling libbz2... [ 1s] [11/40] preinstalling libcap... [ 1s] [12/40] preinstalling libelf... [ 1s] [13/40] preinstalling libfreebl3... [ 1s] [14/40] preinstalling liblua... [ 1s] [15/40] preinstalling liblzma... [ 1s] [16/40] preinstalling libncurses... [ 1s] [17/40] preinstalling libpopt... [ 1s] [18/40] preinstalling libsmack... [ 1s] [19/40] preinstalling libsqlite... [ 1s] [20/40] preinstalling libuuid... [ 1s] [21/40] preinstalling nspr... [ 1s] [22/40] preinstalling sed... [ 1s] [23/40] preinstalling zlib... [ 1s] [24/40] preinstalling qemu-accel-armv7l... [ 4s] [25/40] preinstalling qemu-linux-user-cross... [ 5s] [26/40] preinstalling coreutils... [ 5s] [27/40] preinstalling libacl... [ 5s] [28/40] preinstalling libblkid... [ 5s] [29/40] preinstalling libreadline... [ 5s] [30/40] preinstalling smack... [ 5s] [31/40] preinstalling bzip2... [ 5s] [32/40] preinstalling libmagic... [ 5s] [33/40] preinstalling libxml2... [ 5s] [34/40] preinstalling libmount... [ 5s] [35/40] preinstalling tar... [ 5s] [36/40] preinstalling util-linux... [ 5s] [37/40] preinstalling util-linux-su... [ 5s] [38/40] preinstalling nss... [ 5s] [39/40] preinstalling libsoftokn3... [ 5s] [40/40] preinstalling rpm... [ 5s] [ 5s] [1/9] preinstalling libext2fs... [ 5s] [2/9] preinstalling libpcre... [ 5s] [3/9] preinstalling libsmartcols... [ 5s] [4/9] preinstalling libuuid... [ 5s] [5/9] preinstalling perl... [ 6s] [6/9] preinstalling grep... [ 6s] [7/9] preinstalling libblkid... [ 6s] [8/9] preinstalling libmount... [ 6s] [9/9] preinstalling util-linux... [ 6s] copying packages... [ 7s] reordering...cycle: nss -> libsoftokn3 [ 7s] breaking dependency nss -> libsoftokn3 [ 7s] done [ 7s] booting kvm ... [ 7s] /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/initvm.x86_64 -m 6000 -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 [ 10s] doing fast boot [ 10s] Creating device nodes with udev [ 11s] Waiting for device /dev/vda to appear: ok [ 11s] fsck from util-linux 2.21.2 [ 11s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 11s] /dev/vda: clean, 4998/2392064 files, 241559/9568256 blocks [ 11s] fsck succeeded. Mounting root device read-write. [ 11s] Mounting root /dev/vda [ 11s] mount -o rw -t ext4 /dev/vda /root [ 11s] replacing /etc/mtab with symlink to /proc/self/mounts [ 18s] 2nd stage started in virtual machine [ 18s] machine type: armv7l [ 20s] swapon: /dev/vdb: found signature [pagesize=4096, signature=swap] [ 20s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 20s] swapon /dev/vdb [ 20s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 22s] mount: none is already mounted or /proc busy [ 22s] mount: none is already mounted or /dev/pts busy [ 22s] logging output to //.build.log... [ 22s] processing specfile /.build-srcdir/_service:gbs:udhcp.spec ... [ 22s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build /.build-srcdir/_service:gbs:udhcp.spec build rpmlint-Factory ... [ 28s] running qemu-linux-user-cross postinstall script [ 29s] running qemu-accel-armv7l postinstall script [ 29s] ln: creating symbolic link `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.9.2/liblto_plugin.so': No such file or directory [ 29s] running setup postinstall script [ 29s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 29s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 29s] initializing rpm db... [ 40s] [1/91] installing libmagic-data-5.28-1.1 [ 40s] [2/91] installing setup-0.9-1.1 [ 41s] [3/91] installing terminfo-base-5.9-1.1 [ 42s] [4/91] installing filesystem-3.1-1.1 [ 43s] [5/91] installing glibc-2.20-1.1 [ 44s] [6/91] installing libatomic-4.9.2-1.2 [ 44s] [7/91] installing libgcc-4.9.2-1.2 [ 44s] [8/91] installing libgomp-4.9.2-1.2 [ 44s] [9/91] installing bash-3.2.57-1.1 [ 45s] [10/91] installing cpio-2.11-1.1 [ 45s] [11/91] installing diffutils-3.3-1.1 [ 46s] [12/91] installing findutils-4.3.8-1.1 [ 46s] [13/91] installing hostname-3.12-1.1 [ 46s] [14/91] installing libattr-2.4.47-1.1 [ 46s] [15/91] installing libbz2-1.0.6-1.5 [ 47s] [16/91] installing libcap-2.24-1.1 [ 47s] [17/91] installing libelf-0.153-1.5 [ 47s] [18/91] installing libext2fs-1.42.13-1.1 [ 47s] [19/91] installing libfreebl3-3.23-1.5 [ 48s] [20/91] installing libitm-4.9.2-1.2 [ 48s] [21/91] installing libltdl-2.4.2-1.1 [ 48s] [22/91] installing liblua-5.1.4-1.1 [ 49s] [23/91] installing liblzma-5.1.3-1.1 [ 49s] [24/91] installing libpcre-8.39-1.1 [ 50s] [25/91] installing libpopt-1.16-1.1 [ 50s] [26/91] installing libsmack-1.2.0-1.1 [ 50s] [27/91] installing libsmartcols-2.28-1.1 [ 50s] [28/91] installing libsqlite-3.8.10.2-1.1 [ 51s] [29/91] installing libstdc++-4.9.2-1.2 [ 51s] [30/91] installing libuuid-2.28-1.1 [ 52s] [31/91] installing m4-1.4.17-1.1 [ 52s] [32/91] installing net-tools-2.0_20121208git-1.1 [ 53s] [33/91] installing nspr-4.12-1.1 [ 55s] [34/91] installing patch-2.7-1.1 [ 56s] [35/91] installing pkg-config-0.28-1.1 [ 56s] [36/91] installing sed-4.1c-1.1 [ 56s] [37/91] installing update-alternatives-1.16.3-1.1 [ 57s] [38/91] installing which-2.20-1.1 [ 57s] [39/91] installing zlib-1.2.8-1.1 [ 57s] [40/91] installing libncurses-5.9-1.1 [ 57s] [41/91] installing build-compare-2015.04.28-1.4 [ 57s] [42/91] installing libstdc++-devel-4.9.2-1.2 [ 57s] [43/91] installing qemu-linux-user-cross-2.7.0-1.1 [ 60s] [44/91] installing cpp-4.9.2-1.2 [ 61s] [45/91] installing gcc-c++-4.9.2-1.2 [ 63s] [46/91] installing binutils-2.25-1.2 [ 64s] [47/91] installing coreutils-6.9-1.1 [ 64s] [48/91] installing db4-4.8.30.NC-1.1 [ 65s] [49/91] installing gawk-3.1.5-1.1 [ 65s] [50/91] installing grep-2.5.2-1.1 [ 65s] [51/91] installing less-466-1.1 [ 66s] [52/91] installing libacl-2.2.52-1.1 [ 66s] [53/91] installing libasm-0.153-1.5 [ 66s] [54/91] installing libblkid-2.28-1.1 [ 66s] [55/91] installing libreadline-5.2-1.1 [ 67s] [56/91] installing libubsan-4.9.2-1.2 [ 68s] [57/91] installing make-4.0-1.1 [ 68s] [58/91] installing nss-certs-3.23-1.5 [ 68s] [59/91] installing smack-1.2.0-1.1 [ 68s] [60/91] installing bzip2-1.0.6-1.5 [ 68s] [61/91] installing libmagic-5.28-1.1 [ 69s] [62/91] installing libxml2-2.9.4-1.1 [ 69s] [63/91] installing xz-5.1.3-1.1 [ 70s] [64/91] installing libdw-0.153-1.5 [ 70s] [65/91] installing linux-glibc-devel-3.10-1.1 [ 71s] [66/91] installing file-5.28-1.1 [ 74s] [67/91] installing glibc-locale-2.20-1.1 [ 75s] [68/91] installing libmount-2.28-1.1 [ 75s] [69/91] installing tar-1.17-1.1 [ 75s] [70/91] installing gzip-1.3.12-1.1 [ 75s] [71/91] installing libfdisk1-2.28-1.1 [ 76s] [72/91] installing pam-1.1.6-1.1 [ 76s] [73/91] installing perl-5.20.0-1.5 [ 90s] [74/91] installing tzdata-2016f-1.1 [ 91s] [75/91] installing elfutils-0.153-1.5 [ 91s] [76/91] installing gcc-4.9.2-1.2 [ 94s] [77/91] installing build-mkbaselibs-20120927-1.1 [ 96s] [78/91] installing glibc-devel-2.20-1.1 [ 98s] [79/91] installing qemu-accel-armv7l-0.4-1.1 [ 106s] [80/91] installing autoconf-2.69-1.1 [ 107s] [81/91] installing util-linux-2.28-1.1 [ 108s] [82/91] installing automake-1.14.1-1.1 [ 109s] [83/91] installing util-linux-su-2.28-1.1 [ 109s] [84/91] installing build-20120927-1.1 [ 110s] [85/91] installing libtool-2.4.2-1.1 [ 110s] [86/91] installing nss-3.23-1.5 [ 110s] [87/91] installing libsoftokn3-3.23-1.5 [ 111s] [88/91] installing rpm-4.11.0.1-1.1 [ 117s] [89/91] installing rpmlint-mini-1.5-1.1 [ 117s] [90/91] installing rpm-build-4.11.0.1-1.1 [ 118s] [91/91] installing rpmlint-tizen-1.0-1.1 [ 118s] removing nis flags from //etc/nsswitch.conf... [ 118s] now finalizing build dir... [ 119s] qemu: Unsupported syscall: 311 [ 126s] build target is armv7l-tizen-linux [ 126s] ----------------------------------------------------------------- [ 126s] I have the following modifications for udhcp.spec: [ 126s] 25c25 [ 126s] < Release: 2 [ 126s] --- [ 126s] > Release: 1.1 [ 126s] ----------------------------------------------------------------- [ 126s] ----- building udhcp.spec (user abuild) [ 126s] ----------------------------------------------------------------- [ 126s] ----------------------------------------------------------------- [ 126s] Running qemu build hang workaround... [ 126s] /bin/ps command not found [ 126s] qemu: Unsupported syscall: 311 [ 126s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:3.0:Common/arm-wayland/1f25bb105c17d2cedd720db7a671fa66-udhcp' /home/abuild/rpmbuild/SOURCES/udhcp.spec [ 126s] Building target platforms: armv7l-tizen-linux [ 126s] Building for target armv7l-tizen-linux [ 126s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EZAFjI [ 126s] + umask 022 [ 126s] + cd /home/abuild/rpmbuild/BUILD [ 126s] + cd /home/abuild/rpmbuild/BUILD [ 126s] + rm -rf udhcp-0.9.8 [ 126s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/udhcp-0.9.8.tar.gz [ 126s] + /bin/tar -xf - [ 126s] + STATUS=0 [ 126s] + '[' 0 -ne 0 ']' [ 126s] + cd udhcp-0.9.8 [ 126s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 126s] + echo 'Patch #0 (oracle-rpmbuild-makefile-changes.patch):' [ 126s] Patch #0 (oracle-rpmbuild-makefile-changes.patch): [ 126s] + /bin/cat /home/abuild/rpmbuild/SOURCES/oracle-rpmbuild-makefile-changes.patch [ 126s] + /bin/patch -p1 --fuzz=2 [ 126s] patching file Makefile [ 126s] + echo 'Patch #1 (udhcp_usermac.patch):' [ 126s] Patch #1 (udhcp_usermac.patch): [ 126s] + /bin/cat /home/abuild/rpmbuild/SOURCES/udhcp_usermac.patch [ 126s] + /bin/patch -p1 --fuzz=2 [ 126s] patching file dhcpc.c [ 126s] patching file dhcpc.h [ 126s] patching file README.udhcpc [ 126s] + echo 'Patch #2 (udhcp-outputpy.patch):' [ 126s] Patch #2 (udhcp-outputpy.patch): [ 126s] + /bin/cat /home/abuild/rpmbuild/SOURCES/udhcp-outputpy.patch [ 126s] + /bin/patch -p1 --fuzz=2 [ 126s] patching file samples/outputpy.udhcp.sh [ 126s] patching file Makefile [ 126s] + echo 'Patch #3 (udhcp-update-scripts.patch):' [ 126s] Patch #3 (udhcp-update-scripts.patch): [ 126s] + /bin/cat /home/abuild/rpmbuild/SOURCES/udhcp-update-scripts.patch [ 126s] + /bin/patch -p1 --fuzz=2 [ 126s] patching file Makefile [ 126s] patching file samples/sample.bound [ 126s] + exit 0 [ 126s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dlOhMx [ 126s] + umask 022 [ 126s] + cd /home/abuild/rpmbuild/BUILD [ 126s] + cd udhcp-0.9.8 [ 126s] ++ uname -m [ 126s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 126s] + LANG=C [ 126s] + export LANG [ 126s] + unset DISPLAY [ 126s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 126s] + export CFLAGS [ 126s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g' [ 126s] + export CXXFLAGS [ 126s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -I%_fmoddir' [ 126s] + export FFLAGS [ 126s] + LDFLAGS= [ 126s] + export LDFLAGS [ 126s] + LD_AS_NEEDED=1 [ 126s] + export LD_AS_NEEDED [ 126s] + cp /home/abuild/rpmbuild/SOURCES/udhcp.manifest . [ 126s] + /bin/make [ 126s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer dhcpd.c [ 126s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer arpping.c [ 126s] arpping.c: In function 'arpping': [ 126s] arpping.c:70:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 126s] *((u_int *) arp.sInaddr) = ip; /* source IP address */ [ 126s] ^ [ 126s] arpping.c:72:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 126s] *((u_int *) arp.tInaddr) = yiaddr; /* target IP address */ [ 126s] ^ [ 126s] arpping.c:93:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 126s] *((u_int *) arp.sInaddr) == yiaddr) { [ 126s] ^ [ 126s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer files.c [ 126s] files.c: In function 'write_leases': [ 126s] files.c:252:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] [ 126s] system(buf); [ 126s] ^ [ 126s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer leases.c [ 127s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer serverpacket.c [ 127s] serverpacket.c: In function 'add_bootp_options': [ 127s] serverpacket.c:101:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 127s] strncpy(packet->sname, server_config.sname, sizeof(packet->sname) - 1); [ 127s] ^ [ 127s] In file included from /usr/include/features.h:365:0, [ 127s] from /usr/include/sys/socket.h:22, [ 127s] from serverpacket.c:22: [ 127s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' [ 127s] __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, [ 127s] ^ [ 127s] serverpacket.c:103:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 127s] strncpy(packet->file, server_config.boot_file, sizeof(packet->file) - 1); [ 127s] ^ [ 127s] In file included from /usr/include/features.h:365:0, [ 127s] from /usr/include/sys/socket.h:22, [ 127s] from serverpacket.c:22: [ 127s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' [ 127s] __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, [ 127s] ^ [ 127s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer options.c [ 127s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer socket.c [ 127s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer packet.c [ 127s] packet.c: In function 'get_packet': [ 127s] packet.c:73:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 127s] !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { [ 127s] ^ [ 127s] In file included from packet.c:2:0: [ 127s] /usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 127s] extern int strncmp (const char *__s1, const char *__s2, size_t __n) [ 127s] ^ [ 127s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer pidfile.c [ 127s] gcc dhcpd.o arpping.o files.o leases.o serverpacket.o options.o socket.o packet.o pidfile.o -o udhcpd [ 127s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer dhcpc.c [ 127s] dhcpc.c: In function 'main': [ 127s] dhcpc.c:259:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 127s] strncpy(client_config.clientid + OPT_DATA, optarg, len); [ 127s] ^ [ 127s] In file included from /usr/include/features.h:365:0, [ 127s] from /usr/include/stdio.h:27, [ 127s] from dhcpc.c:22: [ 127s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' [ 127s] __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, [ 127s] ^ [ 127s] dhcpc.c:274:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 127s] strncpy(client_config.hostname + 2, optarg, len); [ 127s] ^ [ 127s] In file included from /usr/include/features.h:365:0, [ 127s] from /usr/include/stdio.h:27, [ 127s] from dhcpc.c:22: [ 127s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' [ 127s] __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, [ 127s] ^ [ 127s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer clientpacket.c [ 128s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer script.c [ 128s] script.c: In function 'fill_envp': [ 128s] script.c:187:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 128s] envp[j] = xmalloc(sizeof("boot_file=") + strlen(packet->file)); [ 128s] ^ [ 128s] In file included from script.c:22:0: [ 128s] /usr/include/string.h:398:15: note: expected 'const char *' but argument is of type 'u_int8_t *' [ 128s] extern size_t strlen (const char *__s) [ 128s] ^ [ 128s] script.c:193:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 128s] envp[j] = xmalloc(sizeof("sname=") + strlen(packet->sname)); [ 128s] ^ [ 128s] In file included from script.c:22:0: [ 128s] /usr/include/string.h:398:15: note: expected 'const char *' but argument is of type 'u_int8_t *' [ 128s] extern size_t strlen (const char *__s) [ 128s] ^ [ 128s] gcc dhcpc.o clientpacket.o script.o options.o socket.o packet.o pidfile.o -o udhcpc [ 128s] gcc -c -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -g -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer dumpleases.c [ 128s] gcc dumpleases.o -o dumpleases [ 128s] strip --remove-section=.note --remove-section=.comment udhcpd udhcpc dumpleases [ 128s] + exit 0 [ 128s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Uc1Ktr [ 128s] + umask 022 [ 128s] + cd /home/abuild/rpmbuild/BUILD [ 128s] + cd udhcp-0.9.8 [ 128s] + LANG=C [ 128s] + export LANG [ 128s] + unset DISPLAY [ 128s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm [ 128s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm [ 128s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm install [ 128s] strip --remove-section=.note --remove-section=.comment udhcpd udhcpc dumpleases [ 128s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/sbin [ 128s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/sbin [ 128s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/bin [ 128s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share [ 128s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/udhcpc [ 128s] install udhcpd /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/sbin [ 128s] install dumpleases /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/bin [ 128s] install udhcpc /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/sbin [ 128s] for name in bound deconfig renew script ; do \ [ 128s] install samples/sample.$name \ [ 128s] /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/udhcpc/default.$name ; \ [ 128s] done [ 128s] cat /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/udhcpc/default.script | sed -e s/sample/default/ > \ [ 128s] /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/udhcpc/tmp.defualt.script [ 128s] mv /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/udhcpc/tmp.defualt.script /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/udhcpc/default.script [ 128s] chmod +x /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/udhcpc/default.script [ 128s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/man/man1 [ 128s] install dumpleases.1 /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/man/man1 [ 128s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/man/man5 [ 128s] install udhcpd.conf.5 /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/man/man5 [ 128s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/man/man8 [ 128s] install udhcpc.8 udhcpd.8 /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/man/man8 [ 128s] install samples/outputpy.udhcp.sh /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/udhcpc/outputpy.udhcp.sh [ 128s] chmod +x /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/udhcpc/outputpy.udhcp.sh [ 128s] + rm -f /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/usr/share/info/dir [ 128s] + find /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm -regex '.*\.la$' [ 128s] + xargs rm -f -- [ 128s] + find /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm -regex '.*\.a$' [ 128s] + xargs rm -f -- SBINDIR=/home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm//usr/sbin [ 128s] + mv /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm/sbin/udhcpc /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm//usr/bin [ 128s] + mv /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm//usr/sbin/udhcpd /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm//usr/bin [ 128s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/udhcp-0.9.8 [ 128s] WARNING: /usr/bin/dumpleases is already stripped! [ 128s] WARNING: /usr/bin/udhcpc is already stripped! [ 128s] WARNING: /usr/bin/udhcpd is already stripped! [ 128s] + /usr/lib/rpm/check-buildroot [ 129s] + /usr/lib/rpm//brp-compress [ 129s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 129s] + /usr/lib/rpm/brp-python-hardlink [ 129s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm [ 129s] Processing files: udhcp-0.9.8-1.1.armv7l [ 129s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 129s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 129s] [ 129s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 129s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 129s] [ 129s] Provides: udhcp = 0.9.8-1.1 udhcp(armv7l-32) = 0.9.8-1.1 [ 129s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 129s] Requires: /bin/sh ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) [ 129s] Processing files: udhcp-debugsource-0.9.8-1.1.armv7l [ 129s] Provides: udhcp-debugsource = 0.9.8-1.1 udhcp-debugsource(armv7l-32) = 0.9.8-1.1 [ 129s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 129s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm [ 129s] warning: Could not canonicalize hostname: w14 [ 129s] Wrote: /home/abuild/rpmbuild/SRPMS/udhcp-0.9.8-1.1.src.rpm [ 129s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/udhcp-0.9.8-1.1.armv7l.rpm [ 129s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/udhcp-debugsource-0.9.8-1.1.armv7l.rpm [ 129s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WNiDVd [ 129s] + umask 022 [ 129s] + cd /home/abuild/rpmbuild/BUILD [ 129s] + cd udhcp-0.9.8 [ 129s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm [ 129s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-1.1.arm [ 129s] + exit 0 [ 129s] ... checking for files with abuild user/group [ 129s] [ 129s] RPMLINT report: [ 129s] =============== [ 129s] qemu: Unsupported syscall: 311 [ 130s] udhcp.armv7l: E: spurious-executable-perm (Badness: 50) /usr/share/man/man1/dumpleases.1.gz [ 130s] udhcp.armv7l: E: spurious-executable-perm (Badness: 50) /usr/share/man/man8/udhcpc.8.gz [ 130s] udhcp.armv7l: E: spurious-executable-perm (Badness: 50) /usr/share/man/man8/udhcpd.8.gz [ 130s] udhcp.armv7l: E: spurious-executable-perm (Badness: 50) /usr/share/man/man5/udhcpd.conf.5.gz [ 130s] The file is installed with executable permissions, but was identified as one [ 130s] that probably should not be executable. Verify if the executable bits are [ 130s] desired, and remove if not. NOTE: example scripts should be packaged under [ 130s] %docdir/examples, which will avoid this warning. [ 130s] [ 130s] udhcp.armv7l: E: non-standard-group (Badness: 200) System/Emulators/PC [ 130s] udhcp.src: E: non-standard-group (Badness: 200) System/Emulators/PC [ 130s] The value of the Group tag in the package is not valid. Valid groups are [ 130s] listed here: https://wiki.tizen.org/wiki/Packaging/Guidelines#Group_Tag [ 130s] [ 130s] udhcp.src: W: invalid-url Source0: udhcp-0.9.8.tar.gz [ 130s] The value should be a valid, public HTTP, HTTPS, or FTP URL. [ 130s] [ 130s] 2 packages and 0 specfiles checked; 6 errors, 1 warnings. [ 130s] [ 130s] ... creating baselibs [ 130s] qemu: Unsupported syscall: 311 [ 131s] ... saving built statistics [ 131s] ... saving built packages [ 131s] /home/abuild/rpmbuild/RPMS/armv7l/udhcp-0.9.8-1.1.armv7l.rpm [ 131s] /home/abuild/rpmbuild/RPMS/armv7l/udhcp-debugsource-0.9.8-1.1.armv7l.rpm [ 131s] /home/abuild/rpmbuild/SRPMS/udhcp-0.9.8-1.1.src.rpm [ 131s] /home/abuild/rpmbuild/OTHER/_statistics [ 131s] /home/abuild/rpmbuild/OTHER/rpmlint.log [ 131s] [ 131s] w14 finished "build udhcp.spec" at Wed Nov 9 09:07:49 UTC 2016. [ 131s] [ 132s] /.build/build: line 368: 212 Killed background_monitor_process [ 134s] [ 124.798124] SysRq : Power Off [ 134s] [ 125.008240] Power down. [ 134s] build: extracting built packages... [ 135s] udhcp-0.9.8-1.1.armv7l.rpm [ 135s] udhcp-debugsource-0.9.8-1.1.armv7l.rpm [ 135s] udhcp-0.9.8-1.1.src.rpm [ 135s] _statistics [ 135s] rpmlint.log Retried build at Fri Dec 9 08:45:10 2016 returned same result, skipped