[ 0s] Memory limit set to 82442244KB [ 0s] Using BUILD_ROOT=/var/cache/build/root_2 [ 0s] Using BUILD_ARCH=i586:i486:i386 [ 0s] [ 1s] [ 1s] obsnw03 started "build _service:gbs:deltarpm.spec" at Tue Aug 29 00:32:42 UTC 2017. [ 1s] [ 1s] Building deltarpm for project 'Tizen:4.0:Unified' repository 'emulator' arch 'i586' srcmd5 '6a180bee0c7067d17e0fe993e5d1dd1c' [ 1s] [ 1s] processing recipe /var/cache/build/root_2/.build-srcdir/_service:gbs:deltarpm.spec ... [ 1s] running changelog2spec --target rpm --file /var/cache/build/root_2/.build-srcdir/_service:gbs:deltarpm.spec [ 1s] init_buildsystem --configdir /var/run/obs/worker/2/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_2/.build.rpmlist /var/cache/build/root_2/.build-srcdir/_service:gbs:deltarpm.spec build rpmlint-Factory ... [ 1s] copying qemu [ 1s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 1s] [ 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... [ 2s] [5/35] preinstalling bash... [ 2s] [6/35] preinstalling diffutils... [ 2s] [7/35] preinstalling grep... [ 2s] [8/35] preinstalling libattr... [ 2s] [9/35] preinstalling libbz2... [ 2s] [10/35] preinstalling libcap... [ 2s] [11/35] preinstalling libelf... [ 2s] [12/35] preinstalling libfreebl3... [ 2s] [13/35] preinstalling libgcc... [ 2s] [14/35] preinstalling liblua... [ 2s] [15/35] preinstalling liblzma... [ 2s] [16/35] preinstalling libncurses... [ 2s] [17/35] preinstalling libpopt... [ 2s] [18/35] preinstalling libsmack... [ 2s] [19/35] preinstalling libsqlite... [ 2s] [20/35] preinstalling nspr... [ 2s] [21/35] preinstalling sed... [ 2s] [22/35] preinstalling zlib... [ 2s] [23/35] preinstalling coreutils... [ 2s] [24/35] preinstalling libacl... [ 2s] [25/35] preinstalling libreadline... [ 2s] [26/35] preinstalling smack... [ 2s] [27/35] preinstalling bzip2... [ 2s] [28/35] preinstalling libmagic... [ 2s] [29/35] preinstalling libxml2... [ 2s] [30/35] preinstalling tar... [ 2s] [31/35] preinstalling util-linux... [ 3s] [32/35] preinstalling util-linux-su... [ 3s] [33/35] preinstalling nss... [ 3s] [34/35] preinstalling libsoftokn3... [ 3s] [35/35] preinstalling rpm... [ 3s] [ 3s] running setup postinstall script [ 3s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 3s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 3s] initializing rpm db... [ 3s] reordering...cycle: libsoftokn3 -> nss [ 3s] breaking dependency nss -> libsoftokn3 [ 3s] done [ 3s] [1/101] installing libmagic-data-5.31-2.22 [ 3s] [2/101] installing setup-0.9-2.2 [ 4s] [3/101] installing filesystem-3.1-2.1 [ 4s] [4/101] installing glibc-2.24-2.9 [ 4s] [5/101] installing bash-3.2.57-2.1 [ 4s] [6/101] installing binutils-2.27-2.14 [ 4s] [7/101] installing cpio-2.11-2.1 [ 4s] [8/101] installing diffutils-3.3-2.1 [ 4s] [9/101] installing findutils-4.3.8-2.25 [ 4s] [10/101] installing hostname-3.12-2.1 [ 4s] [11/101] installing libatomic-6.2.1-2.2 [ 5s] [12/101] installing libattr-2.4.47-1.1 [ 5s] [13/101] installing libbz2-1.0.6-2.24 [ 5s] [14/101] installing libcap-2.24-2.26 [ 5s] [15/101] installing libelf-0.153-2.6 [ 5s] [16/101] installing libext2fs-1.43.4-2.1 [ 5s] [17/101] installing libfreebl3-3.23-2.15 [ 5s] [18/101] installing libgcc-6.2.1-2.2 [ 5s] [19/101] installing libgomp-6.2.1-2.2 [ 5s] [20/101] installing libitm-6.2.1-2.2 [ 5s] [21/101] installing libltdl-2.4.2-2.20 [ 5s] [22/101] installing liblua-5.1.4-2.3 [ 5s] [23/101] installing liblzma-5.2.2-2.20 [ 5s] [24/101] installing libpcre-8.39-2.1 [ 5s] [25/101] installing libpopt-1.16-2.3 [ 5s] [26/101] installing libpython-2.7.8-2.3 [ 5s] [27/101] installing libquadmath-6.2.1-2.2 [ 5s] [28/101] installing libsmack-1.3.0-2.25 [ 5s] [29/101] installing libsmartcols-2.30-2.1 [ 5s] [30/101] installing libsqlite-3.18.0-2.3 [ 6s] [31/101] installing libuuid-2.30-2.1 [ 6s] [32/101] installing m4-1.4.17-2.1 [ 6s] [33/101] installing net-tools-2.0_20121208git-2.1 [ 6s] [34/101] installing nspr-4.12-2.3 [ 6s] [35/101] installing patch-2.7-2.3 [ 6s] [36/101] installing pkg-config-0.28-2.23 [ 6s] [37/101] installing sed-4.1c-2.1 [ 6s] [38/101] installing update-alternatives-1.18.15-2.1 [ 6s] [39/101] installing which-2.20-2.1 [ 6s] [40/101] installing zlib-1.2.11-2.25 [ 6s] [41/101] installing build-compare-2015.04.28-2.6 [ 6s] [42/101] installing terminfo-base-full-5.9-2.15 [ 6s] [43/101] installing coreutils-6.9-2.1 [ 6s] [44/101] installing cpp-6.2.1-2.2 [ 7s] [45/101] installing gawk-3.1.5-2.1 [ 7s] [46/101] installing gcc-c++-6.2.1-2.2 [ 8s] [47/101] installing grep-2.5.2-2.1 [ 8s] [48/101] installing libacl-2.2.52-2.27 [ 8s] [49/101] installing libasm-0.153-2.6 [ 8s] [50/101] installing libblkid-2.30-2.1 [ 8s] [51/101] installing libopenssl-1.0.2k-2.17 [ 9s] [52/101] installing libstdc++-6.2.1-2.2 [ 9s] [53/101] installing make-4.0-2.3 [ 9s] [54/101] installing nss-certs-3.23-2.15 [ 9s] [55/101] installing popt-devel-1.16-2.3 [ 9s] [56/101] installing smack-1.3.0-2.25 [ 9s] [57/101] installing xz-devel-5.2.2-2.20 [ 9s] [58/101] installing bzip2-1.0.6-2.24 [ 9s] [59/101] installing libgfortran-6.2.1-2.2 [ 9s] [60/101] installing libmagic-5.31-2.22 [ 9s] [61/101] installing libxml2-2.9.4-2.16 [ 9s] [62/101] installing xz-5.2.2-2.20 [ 9s] [63/101] installing libdw-0.153-2.6 [ 9s] [64/101] installing libstdc++-devel-6.2.1-2.2 [ 10s] [65/101] installing file-5.31-2.22 [ 10s] [66/101] installing libncurses-5.9-2.15 [ 10s] [67/101] installing libncurses6-5.9-2.15 [ 10s] [68/101] installing linux-glibc-devel-3.10-2.25 [ 10s] [69/101] installing tar-1.17-2.1 [ 10s] [70/101] installing db4-4.8.30.NC-2.21 [ 10s] [71/101] installing glibc-locale-2.24-2.9 [ 10s] [72/101] installing gzip-1.3.12-2.26 [ 11s] [73/101] installing libcc1-6.2.1-2.2 [ 11s] [74/101] installing libcilkrts-6.2.1-2.2 [ 11s] [75/101] installing libfdisk-2.30-2.1 [ 11s] [76/101] installing libmount-2.30-2.1 [ 11s] [77/101] installing libubsan-6.2.1-2.2 [ 11s] [78/101] installing pam-1.1.6-2.1 [ 11s] [79/101] installing tzdata-2017b-2.1 [ 11s] [80/101] installing elfutils-0.153-2.6 [ 11s] [81/101] installing glibc-devel-2.24-2.9 [ 11s] [82/101] installing less-466-2.1 [ 11s] [83/101] installing libreadline-5.2-2.21 [ 11s] [84/101] installing procps-ng-3.3.9-2.1 [ 11s] [85/101] installing perl-5.20.0-2.5 [ 13s] [86/101] installing gcc-6.2.1-2.2 [ 14s] [87/101] installing build-mkbaselibs-20120927-2.1 [ 14s] [88/101] installing autoconf-2.69-2.27 [ 14s] [89/101] installing bzip2-devel-1.0.6-2.24 [ 14s] [90/101] installing python-2.7.8-2.3 [ 15s] [91/101] installing util-linux-2.30-2.1 [ 15s] [92/101] installing util-linux-su-2.30-2.1 [ 15s] [93/101] installing automake-1.14.1-2.20 [ 15s] [94/101] installing build-20120927-2.1 [ 15s] [95/101] installing python-devel-2.7.8-2.3 [ 16s] [96/101] installing libtool-2.4.2-2.20 [ 16s] [97/101] installing nss-3.23-2.15 [ 16s] [98/101] installing libsoftokn3-3.23-2.15 [ 16s] [99/101] installing rpm-4.11.0.1-2.12 [ 17s] [100/101] installing rpm-devel-4.11.0.1-2.12 [ 17s] [101/101] installing rpm-build-4.11.0.1-2.12 [ 17s] removing nis flags from /var/cache/build/root_2/etc/nsswitch.conf... [ 17s] now finalizing build dir... [ 17s] build target is i686-tizen-linux [ 17s] ----------------------------------------------------------------- [ 17s] I have the following modifications for deltarpm.spec: [ 17s] 4c4 [ 17s] < Release: 0 [ 17s] --- [ 17s] > Release: 2.1 [ 17s] ----------------------------------------------------------------- [ 17s] ----- building deltarpm.spec (user abuild) [ 17s] ----------------------------------------------------------------- [ 17s] ----------------------------------------------------------------- [ 17s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=i686-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:4.0:Unified/emulator/6a180bee0c7067d17e0fe993e5d1dd1c-deltarpm' -ba /home/abuild/rpmbuild/SOURCES/deltarpm.spec [ 17s] Building target platforms: i686-tizen-linux [ 17s] Building for target i686-tizen-linux [ 17s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xXNCuA [ 17s] + umask 022 [ 17s] + cd /home/abuild/rpmbuild/BUILD [ 17s] + cd /home/abuild/rpmbuild/BUILD [ 17s] + rm -rf deltarpm-3.5.git [ 17s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/deltarpm-3.5.git.tar.bz2 [ 17s] + /bin/tar -xf - [ 17s] + STATUS=0 [ 17s] + '[' 0 -ne 0 ']' [ 17s] + cd deltarpm-3.5.git [ 17s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 17s] + cp /home/abuild/rpmbuild/SOURCES/deltarpm.manifest . [ 17s] + exit 0 [ 17s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.suiHE0 [ 17s] + umask 022 [ 17s] + cd /home/abuild/rpmbuild/BUILD [ 17s] + cd deltarpm-3.5.git [ 17s] ++ uname -m [ 17s] + [[ i686 == \a\a\r\c\h\6\4 ]] [ 17s] + LANG=C [ 17s] + export LANG [ 17s] + unset DISPLAY [ 17s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 17s] + export CFLAGS [ 17s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -std=gnu++11' [ 17s] + export CXXFLAGS [ 17s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir' [ 17s] + export FFLAGS [ 17s] + LDFLAGS= [ 17s] + export LDFLAGS [ 17s] + LD_AS_NEEDED=1 [ 17s] + export LD_AS_NEEDED [ 17s] + make CC=gcc 'CFLAGS=-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' rpmdumpheader=/usr/lib/rpm/rpmdumpheader -j4 [ 17s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o makedeltarpm.o makedeltarpm.c [ 17s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o writedeltarpm.o writedeltarpm.c [ 17s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o md5.o md5.c [ 17s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o util.o util.c [ 18s] md5.c: In function 'rpmMD5Final': [ 18s] md5.c:164:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] [ 18s] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ [ 18s] ^ [ 18s] makedeltarpm.c: In function 'main': [ 18s] makedeltarpm.c:1152:37: warning: variable 'nlink' set but not used [-Wunused-but-set-variable] [ 18s] unsigned int size, nsize, lsize, nlink, rdev, hsize; [ 18s] ^~~~~ [ 18s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o rpml.o rpml.c [ 18s] rpml.c: In function 'rpmlread': [ 18s] rpml.c:103:16: warning: variable 'buildtime' set but not used [-Wunused-but-set-variable] [ 18s] unsigned int buildtime; [ 18s] ^~~~~~~~~ [ 18s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o rpmhead.o rpmhead.c [ 18s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o cpio.o cpio.c [ 18s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o delta.o delta.c [ 18s] delta.c: In function 'hash_findnext': [ 18s] delta.c:430:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [ 18s] if ((scsc+lastoffset