[ 0s] Memory limit set to 82442244KB [ 0s] Using BUILD_ROOT=/var/cache/build/root_1 [ 0s] Using BUILD_ARCH=aarch64 [ 0s] [ 0s] [ 0s] obsnw18 started "build _service:gbs:deltarpm.spec" at Sun Apr 23 00:59:22 UTC 2017. [ 0s] [ 0s] Building deltarpm for project 'Tizen:Unified' repository 'standard' arch 'aarch64' srcmd5 '71e11d8c09e467af26755fbbdd067685' [ 0s] [ 0s] processing recipe /var/cache/build/root_1/.build-srcdir/_service:gbs:deltarpm.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_1/.build-srcdir/_service:gbs:deltarpm.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/1/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_1/.build.rpmlist /var/cache/build/root_1/.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] registering binfmt handlers for cross build [ 1s] interpreter for 'aarch64' is -1 [ 1s] write: Invalid argument [ 1s] /proc/sys/fs/binfmt_misc/register: write failed [ 1s] /var/run/obs/worker/1/build/qemu-reg: line 8: write failed. Content: :aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-arm64-binfmt:P [ 1s] [ 1s] /.build/qemu-reg: No such file or directory [ 1s] /.build/qemu-reg: failed. Trying alternate binfmt file [ 1s] /usr/lib/build/qemu-reg: No such file or directory [ 1s] /usr/lib/build/qemu-reg: binfmt registration failed [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/40] preinstalling libmagic-data... [ 1s] [2/40] preinstalling setup... [ 1s] [3/40] preinstalling filesystem... [ 1s] [4/40] preinstalling glibc... [ 2s] [5/40] preinstalling bash... [ 2s] [6/40] preinstalling diffutils... [ 2s] [7/40] preinstalling grep... [ 2s] [8/40] preinstalling libattr... [ 2s] [9/40] preinstalling libbz2... [ 2s] [10/40] preinstalling libcap... [ 2s] [11/40] preinstalling libelf... [ 2s] [12/40] preinstalling libfreebl3... [ 2s] [13/40] preinstalling libgcc... [ 2s] [14/40] preinstalling liblua... [ 2s] [15/40] preinstalling liblzma... [ 2s] [16/40] preinstalling libncurses... [ 2s] [17/40] preinstalling libpopt... [ 2s] [18/40] preinstalling libsmack... [ 2s] [19/40] preinstalling libsqlite... [ 2s] [20/40] preinstalling libuuid... [ 2s] [21/40] preinstalling nspr... [ 2s] [22/40] preinstalling sed... [ 2s] [23/40] preinstalling zlib... [ 2s] [24/40] preinstalling qemu-accel-x86_64-aarch64... [ 6s] [25/40] preinstalling qemu-linux-user-x86_64-cross... [ 7s] [26/40] preinstalling coreutils... [ 7s] [27/40] preinstalling libacl... [ 7s] [28/40] preinstalling libblkid... [ 7s] [29/40] preinstalling libreadline... [ 7s] [30/40] preinstalling smack... [ 7s] [31/40] preinstalling bzip2... [ 7s] [32/40] preinstalling libmagic... [ 7s] [33/40] preinstalling libxml2... [ 7s] [34/40] preinstalling libmount... [ 7s] [35/40] preinstalling tar... [ 7s] [36/40] preinstalling util-linux... [ 7s] [37/40] preinstalling util-linux-su... [ 7s] [38/40] preinstalling nss... [ 7s] [39/40] preinstalling libsoftokn3... [ 7s] [40/40] preinstalling rpm... [ 7s] [ 7s] running qemu-linux-user-x86_64-cross postinstall script [ 7s] running qemu-accel-x86_64-aarch64 postinstall script [ 7s] ln: creating symbolic link `/usr/lib64/gcc/aarch64-tizen-linux-gnu/6.2.1/liblto_plugin.so': No such file or directory [ 7s] running setup postinstall script [ 7s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 7s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 7s] initializing rpm db... [ 8s] reordering...cycle: libsoftokn3 -> nss [ 8s] breaking dependency nss -> libsoftokn3 [ 8s] done [ 8s] [1/99] installing libmagic-data-5.28-3.17 [ 8s] [2/99] installing setup-0.9-3.19 [ 8s] [3/99] installing terminfo-base-5.9-3.18 [ 8s] [4/99] installing filesystem-3.1-3.2 [ 8s] [5/99] installing glibc-2.24-3.8 [ 8s] [6/99] installing bash-3.2.57-4.1 [ 8s] [7/99] installing binutils-2.27-4.13 [ 9s] [8/99] installing cpio-2.11-3.3 [ 9s] [9/99] installing diffutils-3.3-3.1 [ 9s] [10/99] installing findutils-4.3.8-3.21 [ 9s] [11/99] installing hostname-3.12-4.1 [ 9s] [12/99] installing libatomic-6.2.1-3.2 [ 9s] [13/99] installing libattr-2.4.47-3.19 [ 9s] [14/99] installing libbz2-1.0.6-4.19 [ 9s] [15/99] installing libcap-2.24-3.16 [ 9s] [16/99] installing libelf-0.153-3.8 [ 9s] [17/99] installing libext2fs-1.42.13-3.3 [ 9s] [18/99] installing libfreebl3-3.23-3.17 [ 9s] [19/99] installing libgcc-6.2.1-3.2 [ 9s] [20/99] installing libgomp-6.2.1-3.2 [ 9s] [21/99] installing libitm-6.2.1-3.2 [ 9s] [22/99] installing libltdl-2.4.2-4.19 [ 10s] [23/99] installing liblua-5.1.4-3.2 [ 10s] [24/99] installing liblzma-5.2.2-3.18 [ 10s] [25/99] installing libpcre-8.39-3.3 [ 10s] [26/99] installing libpopt-1.16-4.3 [ 10s] [27/99] installing libpython-2.7.8-3.22 [ 10s] [28/99] installing libsmack-1.3.0-3.17 [ 10s] [29/99] installing libsmartcols-2.28-3.1 [ 10s] [30/99] installing libsqlite-3.8.10.2-3.3 [ 10s] [31/99] installing libuuid-2.28-3.1 [ 10s] [32/99] installing m4-1.4.17-3.1 [ 10s] [33/99] installing net-tools-2.0_20121208git-3.1 [ 10s] [34/99] installing nspr-4.12-3.3 [ 10s] [35/99] installing patch-2.7-3.3 [ 10s] [36/99] installing pkg-config-0.28-4.20 [ 10s] [37/99] installing sed-4.1c-3.1 [ 10s] [38/99] installing update-alternatives-1.18.15-3.1 [ 11s] [39/99] installing which-2.20-6.1 [ 11s] [40/99] installing zlib-1.2.8-3.23 [ 11s] [41/99] installing libncurses-5.9-3.18 [ 11s] [42/99] installing build-compare-2015.04.28-3.15 [ 11s] [43/99] installing qemu-linux-user-x86_64-cross-2.7.0-1.4.1 [ 12s] [44/99] installing coreutils-6.9-3.1 [ 12s] [45/99] installing cpp-6.2.1-3.2 [ 13s] [46/99] installing gawk-3.1.5-3.1 [ 13s] [47/99] installing gcc-c++-6.2.1-3.2 [ 13s] [48/99] installing grep-2.5.2-3.1 [ 13s] [49/99] installing less-466-8.1 [ 13s] [50/99] installing libacl-2.2.52-3.26 [ 13s] [51/99] installing libasm-0.153-3.8 [ 13s] [52/99] installing libblkid-2.28-3.1 [ 13s] [53/99] installing libopenssl-1.0.2j-3.17 [ 14s] [54/99] installing libreadline-5.2-3.17 [ 14s] [55/99] installing libstdc++-6.2.1-3.2 [ 14s] [56/99] installing make-4.0-3.2 [ 14s] [57/99] installing nss-certs-3.23-3.17 [ 14s] [58/99] installing popt-devel-1.16-4.3 [ 14s] [59/99] installing procps-ng-3.3.9-3.2 [ 14s] [60/99] installing smack-1.3.0-3.17 [ 14s] [61/99] installing xz-devel-5.2.2-3.18 [ 14s] [62/99] installing bzip2-1.0.6-4.19 [ 14s] [63/99] installing libmagic-5.28-3.17 [ 14s] [64/99] installing libxml2-2.9.4-4.18 [ 14s] [65/99] installing xz-5.2.2-3.18 [ 14s] [66/99] installing libdw-0.153-3.8 [ 14s] [67/99] installing libstdc++-devel-6.2.1-3.2 [ 15s] [68/99] installing file-5.28-3.17 [ 15s] [69/99] installing libmount-2.28-3.1 [ 15s] [70/99] installing linux-glibc-devel-3.10-3.22 [ 15s] [71/99] installing tar-1.17-3.1 [ 15s] [72/99] installing db4-4.8.30.NC-3.23 [ 15s] [73/99] installing glibc-locale-2.24-3.8 [ 15s] [74/99] installing gzip-1.3.12-3.16 [ 15s] [75/99] installing libcc1-6.2.1-3.2 [ 15s] [76/99] installing libfdisk1-2.28-3.1 [ 16s] [77/99] installing libubsan-6.2.1-3.2 [ 16s] [78/99] installing pam-1.1.6-3.2 [ 16s] [79/99] installing tzdata-2016i-4.1 [ 16s] [80/99] installing elfutils-0.153-3.8 [ 16s] [81/99] installing glibc-devel-2.24-3.8 [ 16s] [82/99] installing perl-5.20.0-3.86 [ 17s] [83/99] installing gcc-6.2.1-3.2 [ 18s] [84/99] installing python-2.7.8-3.22 [ 19s] [85/99] installing util-linux-2.28-3.1 [ 19s] [86/99] installing build-mkbaselibs-20120927-3.1 [ 19s] [87/99] installing qemu-accel-x86_64-aarch64-0.4-3.11 [ 23s] warning: %post(qemu-accel-x86_64-aarch64-0.4-3.11.aarch64) scriptlet failed, exit status 1 [ 23s] [88/99] installing autoconf-2.69-3.25 [ 24s] [89/99] installing bzip2-devel-1.0.6-4.19 [ 24s] [90/99] installing util-linux-su-2.28-3.1 [ 24s] [91/99] installing python-devel-2.7.8-3.22 [ 24s] [92/99] installing automake-1.14.1-3.16 [ 24s] [93/99] installing build-20120927-3.1 [ 24s] [94/99] installing libtool-2.4.2-4.19 [ 24s] [95/99] installing nss-3.23-3.17 [ 25s] [96/99] installing libsoftokn3-3.23-3.17 [ 25s] [97/99] installing rpm-4.11.0.1-3.16 [ 25s] [98/99] installing rpm-devel-4.11.0.1-3.16 [ 25s] [99/99] installing rpm-build-4.11.0.1-3.16 [ 25s] removing nis flags from /var/cache/build/root_1/etc/nsswitch.conf... [ 25s] now finalizing build dir... [ 25s] build target is aarch64-tizen-linux [ 25s] ----------------------------------------------------------------- [ 25s] I have the following modifications for deltarpm.spec: [ 25s] 4c4 [ 25s] < Release: 0 [ 25s] --- [ 25s] > Release: 2.1 [ 25s] ----------------------------------------------------------------- [ 25s] ----- building deltarpm.spec (user abuild) [ 25s] ----------------------------------------------------------------- [ 25s] ----------------------------------------------------------------- [ 26s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:Unified/standard/71e11d8c09e467af26755fbbdd067685-deltarpm' -ba /home/abuild/rpmbuild/SOURCES/deltarpm.spec [ 26s] Building target platforms: aarch64-tizen-linux [ 26s] Building for target aarch64-tizen-linux [ 26s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A7eLJN [ 26s] + umask 022 [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + rm -rf deltarpm-3.5.git [ 26s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/deltarpm-3.5.git.tar.bz2 [ 26s] + /bin/tar -xf - [ 26s] + STATUS=0 [ 26s] + '[' 0 -ne 0 ']' [ 26s] + cd deltarpm-3.5.git [ 26s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 26s] + cp /home/abuild/rpmbuild/SOURCES/deltarpm.manifest . [ 26s] + exit 0 [ 26s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WBa82D [ 26s] + umask 022 [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + cd deltarpm-3.5.git [ 26s] ++ uname -m [ 26s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 26s] + ref=/usr/lib/rpm [ 26s] + for s in guess sub [ 26s] ++ find -maxdepth 8 -name config.guess [ 26s] + for s in guess sub [ 26s] ++ find -maxdepth 8 -name config.sub [ 26s] + LANG=C [ 26s] + export LANG [ 26s] + unset DISPLAY [ 26s] + 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 26s] + export CFLAGS [ 26s] + 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 26s] + export CXXFLAGS [ 26s] + 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir' [ 26s] + export FFLAGS [ 26s] + LDFLAGS= [ 26s] + export LDFLAGS [ 26s] + LD_AS_NEEDED=1 [ 26s] + export LD_AS_NEEDED [ 26s] + 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' rpmdumpheader=/usr/lib/rpm/rpmdumpheader -j4 [ 26s] 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o makedeltarpm.o makedeltarpm.c [ 26s] 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o writedeltarpm.o writedeltarpm.c [ 26s] 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o md5.o md5.c [ 26s] 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o util.o util.c [ 26s] md5.c: In function 'rpmMD5Final': [ 26s] 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] [ 26s] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ [ 26s] ^ [ 26s] makedeltarpm.c: In function 'main': [ 26s] makedeltarpm.c:1152:37: warning: variable 'nlink' set but not used [-Wunused-but-set-variable] [ 26s] unsigned int size, nsize, lsize, nlink, rdev, hsize; [ 26s] ^~~~~ [ 26s] 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o rpml.o rpml.c [ 26s] rpml.c: In function 'rpmlread': [ 26s] rpml.c:103:16: warning: variable 'buildtime' set but not used [-Wunused-but-set-variable] [ 26s] unsigned int buildtime; [ 26s] ^~~~~~~~~ [ 26s] 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o rpmhead.o rpmhead.c [ 26s] 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o cpio.o cpio.c [ 26s] 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o delta.o delta.c [ 26s] 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 -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -DDELTARPM_64BIT -DBSDIFF_NO_SUF -DRPMDUMPHEADER=\"/usr/lib/rpm/rpmdumpheader\" -Izlib-1.2.2.f-rsyncable -c -o cfile.o cfile.c [ 26s] delta.c: In function 'hash_findnext': [ 26s] delta.c:430:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [ 26s] if ((scsc+lastoffset