[ 0s] Using BUILD_ROOT=/srv/build/root_3/.mount [ 0s] Using BUILD_ARCH=i586:i486:i386 [ 0s] Doing kvm build in /srv/build/root_3/root [ 0s] [ 0s] [ 0s] w13 started "build udhcp.spec" at Thu Aug 15 04:28:59 UTC 2013. [ 0s] [ 0s] Building udhcp for project 'Tizen' repository 'standard' arch 'i586' srcmd5 '9331813f4cb94b23bcb7b251f878b80d' [ 0s] [ 0s] processing specfile /srv/build/root_3/.build-srcdir/udhcp.spec ... [ 0s] running changelog2spec --target rpm --file /srv/build/root_3/.build-srcdir/udhcp.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/3/build/configs --cachedir /var/cache/build --prepare --clean --rpmlist /srv/build/root_3/.build.rpmlist /srv/build/root_3/.build-srcdir/udhcp.spec build rpmlint-Factory ... [ 0s] cycle: libsoftokn3 -> nss [ 0s] breaking dependency nss -> libsoftokn3 [ 0s] [1/34] preinstalling libmagic-data... [ 0s] [2/34] preinstalling setup... [ 0s] [3/34] preinstalling filesystem... [ 0s] [4/34] preinstalling glibc... [ 0s] [5/34] preinstalling bash... [ 0s] [6/34] preinstalling diffutils... [ 0s] [7/34] preinstalling grep... [ 0s] [8/34] preinstalling libattr... [ 0s] [9/34] preinstalling libbz2... [ 0s] [10/34] preinstalling libcap... [ 0s] [11/34] preinstalling libelf... [ 0s] [12/34] preinstalling libfreebl3... [ 0s] [13/34] preinstalling liblua... [ 0s] [14/34] preinstalling liblzma... [ 0s] [15/34] preinstalling libncurses... [ 0s] [16/34] preinstalling libpopt... [ 0s] [17/34] preinstalling libsmack... [ 1s] [18/34] preinstalling libsqlite... [ 1s] [19/34] preinstalling nspr... [ 1s] [20/34] preinstalling sed... [ 1s] [21/34] preinstalling tar... [ 1s] [22/34] preinstalling zlib... [ 1s] [23/34] preinstalling libacl... [ 1s] [24/34] preinstalling libgcc47... [ 1s] [25/34] preinstalling libreadline... [ 1s] [26/34] preinstalling smack... [ 1s] [27/34] preinstalling bzip2... [ 1s] [28/34] preinstalling libmagic... [ 1s] [29/34] preinstalling libxml2... [ 1s] [30/34] preinstalling coreutils... [ 1s] [31/34] preinstalling nss... [ 1s] [32/34] preinstalling libsoftokn3... [ 1s] [33/34] preinstalling rpm... [ 1s] [34/34] preinstalling rpm-security-plugin... [ 1s] [ 1s] [1/8] preinstalling libext2fs... [ 1s] [2/8] preinstalling libpcre... [ 1s] [3/8] preinstalling libuuid... [ 1s] [4/8] preinstalling perl... [ 2s] [5/8] preinstalling grep... [ 2s] [6/8] preinstalling libblkid... [ 2s] [7/8] preinstalling libmount... [ 2s] [8/8] preinstalling util-linux... [ 2s] copying packages... [ 2s] reordering...cycle: nss -> libsoftokn3 [ 2s] breaking dependency nss -> libsoftokn3 [ 2s] cycle: coreutils -> pam [ 2s] breaking dependency pam -> coreutils [ 2s] done [ 3s] booting kvm ... [ 3s] linux64 /usr/bin/qemu-kvm -no-reboot -nographic -net none -cpu host -kernel /srv/kernel/vmlinuz -initrd /srv/kernel/initrd -append root=/dev/vda panic=1 quiet no-kvmclock nmi_watchdog=0 rw elevator=noop console=ttyS0 init=/.build/initvm -m 8192 -drive file=/srv/build/root_3/root,if=virtio,cache=unsafe -drive file=/srv/build/root_3/root,if=ide,index=0,cache=unsafe -drive file=/srv/build/root_3/swap,if=virtio,cache=unsafe -smp 4 [ 4s]  [ 4s] Google, Inc. [ 4s] Serial Graphics Adapter 09/05/12 [ 4s] SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (abuild@build24) Wed Sep 5 14:01:11 UTC 2012 [ 4s] 4 0 [ 4s]  SeaBIOS (version 1.6.3-20120905_140109) [ 4s] [ 4s] Booting from ROM... [ 7s] doing fast boot [ 7s] Creating device nodes with udev [ 7s] udevd[142]: failed to execute '/etc/sysconfig/network/scripts/ifup-sysctl' '/etc/sysconfig/network/scripts/ifup-sysctl lo -o hotplug': No such file or directory [ 7s] [ 7s] Waiting for device /dev/vda to appear: ok [ 7s] fsck from util-linux 2.20.1 [ 7s] [/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/vda [ 7s] /dev/vda: clean, 5140/2097152 files, 179153/8388608 blocks [ 7s] fsck succeeded. Mounting root device read-write. [ 7s] Mounting root /dev/vda [ 7s] mount -o rw,noatime,acl,user_xattr -t ext4 /dev/vda /root [ 7s] replacing /etc/mtab with symlink to /proc/self/mounts [ 7s] sh: /sbin/modprobe: No such file or directory [ 7s] /.build/qemu-reg: line 7: interpreter '/usr/bin/qemu-arm64-binfmt' not found, ignoring [ 7s] /.build/qemu-reg: line 8: interpreter '/usr/bin/qemu-arm-binfmt' not found, ignoring [ 7s] /.build/qemu-reg: line 9: interpreter '/usr/bin/qemu-armeb-binfmt' not found, ignoring [ 7s] /.build/qemu-reg: line 10: interpreter '/usr/bin/qemu-ppc-binfmt' not found, ignoring [ 7s] /.build/qemu-reg: line 11: interpreter '/usr/bin/qemu-mips-binfmt' not found, ignoring [ 7s] /.build/qemu-reg: line 12: interpreter '/usr/bin/qemu-mipsel-binfmt' not found, ignoring [ 7s] /.build/qemu-reg: line 18: interpreter '/usr/bin/qemu-sh4-binfmt' not found, ignoring [ 7s] /.build/qemu-reg: line 19: interpreter '/usr/bin/qemu-sh4eb-binfmt' not found, ignoring [ 7s] 2nd stage started in virtual machine [ 7s] machine type: x86_64 [ 7s] switching personality to 8... [ 7s] 2nd stage started in virtual machine [ 7s] machine type: i686 [ 7s] [ 1.715288] EXT4-fs (vda): Cannot change data mode on remount [ 7s] mount: / not mounted or bad option [ 7s] In some cases useful info is found in syslog - try [ 7s] dmesg | tail or so [ 7s] swapon /dev/vdb [ 7s] swapon: /dev/vdb: found swap signature: version 1, page-size 4, same byte order [ 7s] swapon: /dev/vdb: pagesize=4096, swapsize=2147483648, devsize=2147483648 [ 7s] *********************************** [ 7s] VM_TYPE: kvm script: /.build/build [ 7s] VM_IMAGE: , VM_SWAP: /dev/vdb [ 7s] mount: none is already mounted or /proc busy [ 7s] mount: none is already mounted or /dev/pts busy [ 7s] logging output to //.build.log... [ 7s] processing specfile /.build-srcdir/udhcp.spec ... [ 7s] init_buildsystem --configdir /.build/configs --cachedir /var/cache/build /.build-srcdir/udhcp.spec build rpmlint-Factory ... [ 8s] running setup postinstall script [ 8s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 8s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 8s] initializing rpm db... [ 8s] [1/95] installing libmagic-data-5.11-2.10 [ 8s] [2/95] installing setup-0.9-3.10 [ 8s] [3/95] installing terminfo-base-5.9-2.9 [ 8s] [4/95] installing filesystem-3.1-5.1 [ 8s] error: Failed to set SMACK64 _ for /proc: Operation not supported [ 8s] [5/95] installing glibc-2.17-4.4 [ 8s] [6/95] installing bash-4.2-3.8 [ 8s] [7/95] installing cpio-2.11-4.8 [ 8s] [8/95] installing diffutils-3.2-2.9 [ 8s] [9/95] installing findutils-4.5.10-2.10 [ 8s] [10/95] installing hostname-3.12-2.8 [ 8s] [11/95] installing libattr-2.4.46-2.12 [ 8s] [12/95] installing libbz2-1.0.6-2.28 [ 8s] [13/95] installing libcap-2.22-2.28 [ 8s] [14/95] installing libelf-0.155-2.5 [ 9s] [15/95] installing libext2fs-1.42.6-2.12 [ 9s] [16/95] installing libfreebl3-3.13.6-2.41 [ 9s] [17/95] installing libgdbm-1.10-2.12 [ 9s] [18/95] installing libgmp-5.0.5-2.9 [ 9s] [19/95] installing libltdl-2.4.2-2.2 [ 9s] [20/95] installing liblua-5.1.4-2.12 [ 9s] [21/95] installing liblzma-5.0.3-2.10 [ 9s] [22/95] installing libpcre-8.31-2.10 [ 9s] [23/95] installing libpopt-1.16-2.10 [ 9s] [24/95] installing libsmack-1.0-4.15 [ 9s] [25/95] installing libsqlite-3.7.14-2.10 [ 9s] [26/95] installing libuuid-2.22.2-2.16 [ 9s] [27/95] installing m4-1.4.16-2.10 [ 9s] [28/95] installing net-tools-2.0_20121208git-2.13 [ 9s] [29/95] installing nspr-4.9.2-2.18 [ 9s] [30/95] installing patch-2.7-1.6 [ 9s] [31/95] installing pkg-config-0.28-2.10 [ 9s] [32/95] installing sed-4.2.1-2.11 [ 9s] [33/95] installing tar-1.26-2.10 [ 9s] [34/95] installing update-alternatives-1.16.3-2.4 [ 9s] [35/95] installing which-2.20-5.10 [ 10s] [36/95] installing zlib-1.2.7-2.10 [ 10s] [37/95] installing libncurses-5.9-2.9 [ 10s] [38/95] installing build-compare-2012.01.26-2.17 [ 10s] [39/95] installing gawk-4.0.1-2.12 [ 10s] [40/95] installing grep-2.14-3.11 [ 10s] [41/95] installing less-451-6.11 [ 10s] [42/95] installing libacl-2.2.51-3.10 [ 10s] [43/95] installing libasm-0.155-2.5 [ 10s] [44/95] installing libblkid-2.22.2-2.16 [ 10s] [45/95] installing libgcc47-4.7.2-2.23 [ 10s] [46/95] installing libgomp47-4.7.2-2.23 [ 10s] [47/95] installing libmpfr-3.1.1-2.9 [ 10s] [48/95] installing libreadline-5.2-2.10 [ 10s] [49/95] installing make-3.82-3.12 [ 10s] [50/95] installing nss-certs-3.13.6-2.41 [ 10s] [51/95] installing smack-1.0-4.15 [ 10s] [52/95] installing bzip2-1.0.6-2.28 [ 10s] [53/95] installing libmagic-5.11-2.10 [ 10s] [54/95] installing libxml2-2.8.0-2.9 [ 10s] [55/95] installing xz-5.0.3-2.10 [ 11s] [56/95] installing binutils-2.23.1-4.7 [ 13s] update-alternatives: using /usr/bin/ld.bfd to provide /usr/bin/ld (ld) in auto mode. [ 13s] [57/95] installing libdw-0.155-2.5 [ 13s] [58/95] installing file-5.11-2.10 [ 13s] [59/95] installing libmount-2.22.2-2.16 [ 13s] [60/95] installing libmpc-1.0-2.8 [ 13s] [61/95] installing libstdc++47-4.7.2-2.23 [ 13s] [62/95] installing db4-4.8.30.NC-2.10 [ 13s] [63/95] installing libgmpxx-5.0.5-2.9 [ 13s] [64/95] installing elfutils-0.155-2.5 [ 13s] [65/95] installing libppl-0.11.2-2.15 [ 13s] [66/95] installing perl-5.16.3-2.21 [ 28s] [67/95] installing build-mkbaselibs-20120927-2.8 [ 28s] [68/95] installing autoconf-2.69-2.7 [ 28s] [69/95] installing libppl_c-0.11.2-2.15 [ 29s] [70/95] installing libcloog-0.15.10-2.8 [ 29s] [71/95] installing build-20120927-2.8 [ 29s] [72/95] installing cpp47-4.7.2-2.23 [ 29s] [73/95] installing cpp-4.7-2.2 [ 29s] [74/95] installing pam-1.1.6-4.1 [ 29s] [75/95] installing nss-3.13.6-2.41 [ 29s] [76/95] installing libsoftokn3-3.13.6-2.41 [ 29s] [77/95] installing coreutils-8.21-4.10 [ 30s] [78/95] installing util-linux-2.22.2-2.16 [ 30s] [79/95] installing rpm-4.11.0.1-4.3 [ 30s] [80/95] installing linux-glibc-devel-3.10-1.1 [ 43s] [81/95] installing glibc-locale-2.17-4.4 [ 45s] [82/95] installing gzip-1.5-2.10 [ 45s] [83/95] installing automake-1.12.1-2.7 [ 45s] [84/95] installing tzdata-2012e-2.8 [ 45s] [85/95] installing rpmlint-mini-1.4-3.15 [ 57s] [86/95] installing rpm-security-plugin-4.11.0.1-4.3 [ 57s] warning: /etc/device-sec-policy created as /etc/device-sec-policy.rpmnew [ 57s] [87/95] installing rpmlint-tizen-1.0-8.1 [ 57s] [88/95] installing glibc-devel-2.17-4.4 [ 59s] [89/95] installing libtool-2.4.2-2.2 [ 66s] [90/95] installing libstdc++47-devel-4.7.2-2.23 [ 69s] [91/95] installing gcc47-4.7.2-2.23 [ 69s] [92/95] installing gcc-4.7-2.2 [ 69s] [93/95] installing gcc47-c++-4.7.2-2.23 [ 70s] [94/95] installing gcc-c++-4.7-2.2 [ 70s] [95/95] installing rpm-build-4.11.0.1-4.3 [ 70s] removing nis flags from //etc/nsswitch.conf... [ 70s] now finalizing build dir... [ 70s] build target is i686-tizen-linux [ 70s] ----------------------------------------------------------------- [ 70s] I have the following modifications for udhcp.spec: [ 70s] 24c24 [ 70s] < Release: 2 [ 70s] --- [ 70s] > Release: 3.9 [ 70s] ----------------------------------------------------------------- [ 70s] ----- building udhcp.spec (user abuild) [ 70s] ----------------------------------------------------------------- [ 70s] ----------------------------------------------------------------- [ 70s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=i686-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen/standard/9331813f4cb94b23bcb7b251f878b80d-udhcp' /home/abuild/rpmbuild/SOURCES/udhcp.spec [ 71s] Building target platforms: i686-tizen-linux [ 71s] Building for target i686-tizen-linux [ 71s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.asuLeS [ 71s] + umask 022 [ 71s] + cd /home/abuild/rpmbuild/BUILD [ 71s] + cd /home/abuild/rpmbuild/BUILD [ 71s] + rm -rf udhcp-0.9.8 [ 71s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/udhcp-0.9.8.tar.gz [ 71s] + /bin/tar -xf - [ 71s] + STATUS=0 [ 71s] + '[' 0 -ne 0 ']' [ 71s] + cd udhcp-0.9.8 [ 71s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 71s] + echo 'Patch #0 (oracle-rpmbuild-makefile-changes.patch):' [ 71s] Patch #0 (oracle-rpmbuild-makefile-changes.patch): [ 71s] + /bin/patch -p1 --fuzz=2 [ 71s] + /bin/cat /home/abuild/rpmbuild/SOURCES/oracle-rpmbuild-makefile-changes.patch [ 71s] patching file Makefile [ 71s] + echo 'Patch #1 (udhcp_usermac.patch):' [ 71s] Patch #1 (udhcp_usermac.patch): [ 71s] + /bin/cat /home/abuild/rpmbuild/SOURCES/udhcp_usermac.patch [ 71s] + /bin/patch -p1 --fuzz=2 [ 71s] patching file dhcpc.c [ 71s] patching file dhcpc.h [ 71s] patching file README.udhcpc [ 71s] + echo 'Patch #2 (udhcp-outputpy.patch):' [ 71s] Patch #2 (udhcp-outputpy.patch): [ 71s] + /bin/cat /home/abuild/rpmbuild/SOURCES/udhcp-outputpy.patch [ 71s] + /bin/patch -p1 --fuzz=2 [ 71s] patching file samples/outputpy.udhcp.sh [ 71s] patching file Makefile [ 71s] + echo 'Patch #3 (udhcp-update-scripts.patch):' [ 71s] Patch #3 (udhcp-update-scripts.patch): [ 71s] + /bin/cat /home/abuild/rpmbuild/SOURCES/udhcp-update-scripts.patch [ 71s] + /bin/patch -p1 --fuzz=2 [ 71s] patching file Makefile [ 71s] patching file samples/sample.bound [ 71s] + exit 0 [ 71s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4zaWwZ [ 71s] + umask 022 [ 71s] + cd /home/abuild/rpmbuild/BUILD [ 71s] + cd udhcp-0.9.8 [ 71s] + LANG=C [ 71s] + export LANG [ 71s] + unset DISPLAY [ 71s] + CFLAGS='-O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' [ 71s] + export CFLAGS [ 71s] + CXXFLAGS='-O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' [ 71s] + export CXXFLAGS [ 71s] + FFLAGS='-O2 -g -m32 -march=i686 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir' [ 71s] + export FFLAGS [ 71s] + LD_AS_NEEDED=1 [ 71s] + export LD_AS_NEEDED [ 71s] + cp /home/abuild/rpmbuild/SOURCES/udhcp.manifest . [ 71s] + /bin/make [ 71s] 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 [ 71s] 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 [ 71s] arpping.c: In function 'arpping': [ 71s] arpping.c:70:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 71s] arpping.c:72:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 71s] arpping.c:93:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] [ 71s] 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 [ 71s] files.c: In function 'write_leases': [ 71s] files.c:252:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] [ 71s] 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 [ 71s] 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 [ 71s] serverpacket.c: In function 'add_bootp_options': [ 71s] serverpacket.c:101:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 71s] In file included from /usr/include/string.h:638:0, [ 71s] from serverpacket.c:25: [ 71s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' [ 71s] serverpacket.c:103:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 71s] In file included from /usr/include/string.h:638:0, [ 71s] from serverpacket.c:25: [ 71s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'u_int8_t *' [ 71s] 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 [ 71s] 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 [ 71s] 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 [ 71s] packet.c: In function 'get_packet': [ 71s] packet.c:73:8: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] [ 71s] In file included from packet.c:2:0: [ 71s] /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' [ 71s] 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 [ 71s] gcc dhcpd.o arpping.o files.o leases.o serverpacket.o options.o socket.o packet.o pidfile.o -o udhcpd [ 71s] 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 [ 71s] dhcpc.c: In function 'main': [ 71s] dhcpc.c:259:4: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 71s] In file included from /usr/include/string.h:638:0, [ 71s] from dhcpc.c:34: [ 71s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' [ 71s] dhcpc.c:274:4: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] [ 71s] In file included from /usr/include/string.h:638:0, [ 71s] from dhcpc.c:34: [ 71s] /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' [ 71s] dhcpc.c:422:29: warning: 'lease' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 71s] 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 [ 72s] 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 [ 72s] script.c: In function 'fill_envp': [ 72s] script.c:187:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 72s] In file included from script.c:22:0: [ 72s] /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_int8_t *' [ 72s] script.c:193:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] [ 72s] In file included from script.c:22:0: [ 72s] /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_int8_t *' [ 72s] gcc dhcpc.o clientpacket.o script.o options.o socket.o packet.o pidfile.o -o udhcpc [ 72s] 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 [ 72s] gcc dumpleases.o -o dumpleases [ 72s] strip --remove-section=.note --remove-section=.comment udhcpd udhcpc dumpleases [ 72s] + exit 0 [ 72s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.T5Jnab [ 72s] + umask 022 [ 72s] + cd /home/abuild/rpmbuild/BUILD [ 72s] + cd udhcp-0.9.8 [ 72s] + LANG=C [ 72s] + export LANG [ 72s] + unset DISPLAY [ 72s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386 [ 72s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386 [ 72s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386 install [ 72s] strip --remove-section=.note --remove-section=.comment udhcpd udhcpc dumpleases [ 72s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/sbin [ 72s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/sbin [ 72s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/bin [ 72s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share [ 72s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/udhcpc [ 72s] install udhcpd /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/sbin [ 72s] install dumpleases /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/bin [ 72s] install udhcpc /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/sbin [ 72s] for name in bound deconfig renew script ; do \ [ 72s] install samples/sample.$name \ [ 72s] /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/udhcpc/default.$name ; \ [ 72s] done [ 72s] cat /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/udhcpc/default.script | sed -e s/sample/default/ > \ [ 72s] /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/udhcpc/tmp.defualt.script [ 72s] mv /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/udhcpc/tmp.defualt.script /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/udhcpc/default.script [ 72s] chmod +x /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/udhcpc/default.script [ 72s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/man/man1 [ 72s] install dumpleases.1 /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/man/man1 [ 72s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/man/man5 [ 72s] install udhcpd.conf.5 /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/man/man5 [ 72s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/man/man8 [ 72s] install udhcpc.8 udhcpd.8 /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/man/man8 [ 72s] install samples/outputpy.udhcp.sh /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/udhcpc/outputpy.udhcp.sh [ 72s] chmod +x /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/udhcpc/outputpy.udhcp.sh [ 72s] + rm -f /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/usr/share/info/dir [ 72s] + find /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386 -regex '.*\.la$' [ 72s] + xargs rm -f -- [ 72s] + find /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386 -regex '.*\.a$' [ 72s] + xargs rm -f -- SBINDIR=/home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386//usr/sbin [ 72s] + mv /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386/sbin/udhcpc /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386//usr/bin [ 72s] + mv /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386//usr/sbin/udhcpd /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386//usr/bin [ 72s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/udhcp-0.9.8 [ 72s] WARNING: /usr/bin/dumpleases is already stripped! [ 72s] WARNING: /usr/bin/udhcpc is already stripped! [ 72s] WARNING: /usr/bin/udhcpd is already stripped! [ 72s] + /usr/lib/rpm/brp-compress [ 72s] + /usr/lib/rpm/brp-tizen [ 72s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386 [ 72s] Processing files: udhcp-0.9.8-3.9.i686 [ 72s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 72s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 72s] [ 72s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 72s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 72s] [ 72s] Provides: udhcp = 0.9.8-3.9 udhcp(x86-32) = 0.9.8-3.9 [ 72s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 72s] 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) [ 72s] Processing files: udhcp-debugsource-0.9.8-3.9.i686 [ 72s] Provides: udhcp-debugsource = 0.9.8-3.9 udhcp-debugsource(x86-32) = 0.9.8-3.9 [ 72s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 72s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386 [ 72s] Wrote: /home/abuild/rpmbuild/SRPMS/udhcp-0.9.8-3.9.src.rpm [ 72s] Wrote: /home/abuild/rpmbuild/RPMS/i686/udhcp-0.9.8-3.9.i686.rpm [ 72s] Wrote: /home/abuild/rpmbuild/RPMS/i686/udhcp-debugsource-0.9.8-3.9.i686.rpm [ 72s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0QEHVX [ 72s] + umask 022 [ 72s] + cd /home/abuild/rpmbuild/BUILD [ 72s] + cd udhcp-0.9.8 [ 72s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386 [ 72s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/udhcp-0.9.8-3.9.i386 [ 72s] + exit 0 [ 72s] ... checking for files with abuild user/group [ 72s] [ 72s] RPMLINT report: [ 72s] =============== [ 72s] udhcp.i686: E: spurious-executable-perm (Badness: 50) /usr/share/man/man1/dumpleases.1.gz [ 72s] udhcp.i686: E: spurious-executable-perm (Badness: 50) /usr/share/man/man8/udhcpc.8.gz [ 72s] udhcp.i686: E: spurious-executable-perm (Badness: 50) /usr/share/man/man8/udhcpd.8.gz [ 72s] udhcp.i686: E: spurious-executable-perm (Badness: 50) /usr/share/man/man5/udhcpd.conf.5.gz [ 72s] The file is installed with executable permissions, but was identified as one [ 72s] that probably should not be executable. Verify if the executable bits are [ 72s] desired, and remove if not. NOTE: example scripts should be packaged under [ 72s] %docdir/examples, which will avoid this warning. [ 72s] [ 72s] udhcp.i686: E: non-standard-group (Badness: 200) System/Emulators/PC [ 72s] udhcp.src: E: non-standard-group (Badness: 200) System/Emulators/PC [ 72s] The value of the Group tag in the package is not valid. Valid groups are [ 72s] listed here: https://wiki.tizen.org/wiki/Packaging/Guidelines#Group_Tag [ 72s] [ 72s] 2 packages and 0 specfiles checked; 6 errors, 0 warnings. [ 72s] [ 72s] ... creating baselibs [ 72s] ... comparing built packages with the former built [ 72s] /usr/lib/build/rpm-check.sh [ 72s] compare /.build.oldpackages/udhcp-0.9.8-3.8.src.rpm /home/abuild/rpmbuild/SRPMS/udhcp-0.9.8-3.9.src.rpm [ 73s] compare /.build.oldpackages/udhcp-0.9.8-3.8.i686.rpm /home/abuild/rpmbuild/RPMS/i686/udhcp-0.9.8-3.9.i686.rpm [ 73s] /usr/bin/udhcpd differs in assembler output [ 73s] --- /tmp/tmp.igAaOnKnHI 2013-08-15 04:30:10.909583754 +0000 [ 73s] +++ /tmp/tmp.WwegfNxIbN 2013-08-15 04:30:10.933583754 +0000 [ 73s] @@ -452,11 +452,11 @@ [ 73s] call [ 73s] movl $something,(%esp) [ 73s] call [ 73s] - mov 0x804e6f0,%esi [ 73s] + mov 0x804e6f0,%ebx [ 73s] lea offset(%esp),%edx [ 73s] movl $something,offset(%esp) [ 73s] mov %edx,offset(%esp) [ 73s] - add %eax,%esi [ 73s] + add %eax,%ebx [ 73s] cmpl $something,offset(%esp) [ 73s] jne <__sprintf_chk@plt + ofs> [ 73s] mov 0x804e6d4,%eax [ 73s] @@ -493,24 +493,29 @@ [ 73s] cld [ 73s] rep stos %eax,%es:(%edi) [ 73s] mov offset(%esp),%ecx [ 73s] - mov $something,%ebx [ 73s] + mov $something,%edi [ 73s] mov %ecx,(%esp) [ 73s] call <__fdelt_chk@plt> [ 73s] mov offset(%esp),%cl [ 73s] - mov %ebx,%edx [ 73s] + mov %edi,%edx [ 73s] shl %cl,%edx [ 73s] or %edx,offset(%esp,%eax,4) [ 73s] mov 0x804e6ac,%eax [ 73s] mov %eax,(%esp) [ 73s] call <__fdelt_chk@plt> [ 73s] - mov 0x804e6ac,%ecx [ 73s] - shl %cl,%ebx [ 73s] - or %ebx,offset(%esp,%eax,4) [ 73s] + mov $something,%ecx [ 73s] + mov %eax,%esi [ 73s] + mov 0x804e6ac,%eax [ 73s] + cltd [ 73s] + idiv %ecx [ 73s] + mov %dl,%cl [ 73s] + shl %cl,%edi [ 73s] + or %edi,offset(%esp,%esi,4) [ 73s] cmpl $something,0x804e6f0 [ 73s] je <__sprintf_chk@plt + ofs> [ 73s] movl $something,(%esp) [ 73s] call [ 73s] - mov %esi,%edx [ 73s] + mov %ebx,%edx [ 73s] movl $something,offset(%esp) [ 73s] sub %eax,%edx [ 73s] mov %edx,offset(%esp) [ 73s] @@ -542,13 +547,17 @@ [ 73s] cmpl $something,(%eax) [ 73s] jne <__sprintf_chk@plt + ofs> [ 73s] mov 0x804e6ac,%eax [ 73s] + mov $something,%esi [ 73s] mov %eax,(%esp) [ 73s] call <__fdelt_chk@plt> [ 73s] mov 0x804e6ac,%ecx [ 73s] - mov offset(%esp,%eax,4),%eax [ 73s] - sar %cl,%eax [ 73s] - test $something,%al [ 73s] - je <__sprintf_chk@plt + ofs> [ 73s] + mov %eax,%edi [ 73s] + mov %ecx,%eax [ 73s] + cltd [ 73s] + idiv %esi [ 73s] + mov offset(%esp,%edi,4),%eax [ 73s] + bt %edx,%eax [ 73s] + jae <__sprintf_chk@plt + ofs> [ 73s] lea offset(%esp),%eax [ 73s] movl $something,offset(%esp) [ 73s] mov %eax,offset(%esp) [ 73s] @@ -574,8 +583,8 @@ [ 73s] call <__sprintf_chk@plt + ofs> [ 73s] movl $something,(%esp) [ 73s] call [ 73s] - mov 0x804e6f0,%esi [ 73s] - add %eax,%esi [ 73s] + mov 0x804e6f0,%ebx [ 73s] + add %eax,%ebx [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] movl $something,offset(%esp) [ 73s] movl $something,(%esp) [ 73s] @@ -589,8 +598,8 @@ [ 73s] xor %eax,%eax [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] mov offset(%esp),%ecx [ 73s] - lea offset(%esp),%ebx [ 73s] - mov %ebx,(%esp) [ 73s] + lea offset(%esp),%esi [ 73s] + mov %esi,(%esp) [ 73s] mov %ecx,offset(%esp) [ 73s] call <__sprintf_chk@plt + ofs> [ 73s] test %eax,%eax [ 73s] @@ -605,7 +614,7 @@ [ 73s] call [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] movl $something,offset(%esp) [ 73s] - mov %ebx,(%esp) [ 73s] + mov %esi,(%esp) [ 73s] call <__sprintf_chk@plt + ofs> [ 73s] test %eax,%eax [ 73s] mov %eax,%edi [ 73s] @@ -613,7 +622,7 @@ [ 73s] lea offset(%esp),%eax [ 73s] mov %eax,(%esp) [ 73s] call <__sprintf_chk@plt + ofs> [ 73s] - mov %eax,%ebx [ 73s] + mov %eax,%esi [ 73s] movzbl (%edi),%eax [ 73s] lea -offset(%eax),%edx [ 73s] cmp $something,%dl [ 73s] @@ -651,16 +660,16 @@ [ 73s] mov %edx,offset(%esp) [ 73s] test %eax,%eax [ 73s] je <__sprintf_chk@plt + ofs> [ 73s] - test %ebx,%ebx [ 73s] + test %esi,%esi [ 73s] mov (%eax),%eax [ 73s] jne <__sprintf_chk@plt + ofs> [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] test %edi,%edi [ 73s] je <__sprintf_chk@plt + ofs> [ 73s] - mov offset(%esp),%edx [ 73s] - cmp offset(%ebx),%edx [ 73s] + mov offset(%esp),%ecx [ 73s] + cmp offset(%esi),%ecx [ 73s] jne <__sprintf_chk@plt + ofs> [ 73s] - mov %edx,offset(%esp) [ 73s] + mov %ecx,offset(%esp) [ 73s] lea offset(%esp),%eax [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] cmp offset(%esp),%edx [ 73s] @@ -675,8 +684,8 @@ [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] test %edi,%edi [ 73s] je <__sprintf_chk@plt + ofs> [ 73s] - mov offset(%esp),%edx [ 73s] - mov %edx,(%esp) [ 73s] + mov offset(%esp),%ecx [ 73s] + mov %ecx,(%esp) [ 73s] call <__sprintf_chk@plt + ofs> [ 73s] test %eax,%eax [ 73s] je <__sprintf_chk@plt + ofs> [ 73s] @@ -688,7 +697,7 @@ [ 73s] je <__sprintf_chk@plt + ofs> [ 73s] mov $something,%ecx [ 73s] mov %edx,%edi [ 73s] - mov %ebx,%eax [ 73s] + mov %esi,%eax [ 73s] rep stos %eax,%es:(%edi) [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] mov offset(%esp),%edx [ 73s] @@ -700,21 +709,21 @@ [ 73s] mov %eax,(%esp) [ 73s] call <__sprintf_chk@plt + ofs> [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] - test %ebx,%ebx [ 73s] + test %esi,%esi [ 73s] je <__sprintf_chk@plt + ofs> [ 73s] xor %eax,%eax [ 73s] mov $something,%ecx [ 73s] - mov %ebx,%edi [ 73s] + mov %esi,%edi [ 73s] rep stos %eax,%es:(%edi) [ 73s] movl $something,(%esp) [ 73s] call [ 73s] add 0x804e6f4,%eax [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] - test %ebx,%ebx [ 73s] + test %esi,%esi [ 73s] je <__sprintf_chk@plt + ofs> [ 73s] movl $something,(%esp) [ 73s] call [ 73s] - mov %eax,offset(%ebx) [ 73s] + mov %eax,offset(%esi) [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] lea offset(%esp),%eax [ 73s] mov %eax,(%esp) [ 73s] @@ -733,16 +742,17 @@ [ 73s] mov %eax,offset(%esp) [ 73s] call <__syslog_chk@plt> [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] - test %ebx,%ebx [ 73s] + test %esi,%esi [ 73s] je <__sprintf_chk@plt + ofs> [ 73s] test %edi,%edi [ 73s] - mov offset(%ebx),%edx [ 73s] + mov offset(%esi),%edx [ 73s] lea offset(%esp),%eax [ 73s] jne <__sprintf_chk@plt + ofs> [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] cmp 0x804e6c4,%eax [ 73s] jne <__sprintf_chk@plt + ofs> [ 73s] jmp <__sprintf_chk@plt + ofs> [ 73s] + xchg %ax,%ax [ 73s] nop [ 73s] xor %ebp,%ebp [ 73s] compare /.build.oldpackages/udhcp-debugsource-0.9.8-3.8.i686.rpm /home/abuild/rpmbuild/RPMS/i686/udhcp-debugsource-0.9.8-3.9.i686.rpm [ 73s] comparing /.build.oldpackages/rpmlint.log and /home/abuild/rpmbuild/OTHER/rpmlint.log [ 73s] ... saving built packages [ 73s] /home/abuild/rpmbuild/RPMS/i686/udhcp-0.9.8-3.9.i686.rpm [ 73s] /home/abuild/rpmbuild/RPMS/i686/udhcp-debugsource-0.9.8-3.9.i686.rpm [ 73s] /home/abuild/rpmbuild/SRPMS/udhcp-0.9.8-3.9.src.rpm [ 73s] /home/abuild/rpmbuild/OTHER/rpmlint.log [ 73s] [ 73s] w13 finished "build udhcp.spec" at Thu Aug 15 04:30:11 UTC 2013. [ 73s] [ 76s] [ 70.583098] SysRq : Power Off [ 78s] [ 72.314426] Power down. [ 79s] build: extracting built packages... [ 79s] udhcp-0.9.8-3.9.i686.rpm [ 79s] udhcp-debugsource-0.9.8-3.9.i686.rpm [ 79s] udhcp-0.9.8-3.9.src.rpm [ 79s] rpmlint.log Retried build at Tue Aug 20 17:31:10 2013 returned same result, skipped