[ 0s] Memory limit set to 82442244KB [ 0s] Using BUILD_ROOT=/var/cache/build/root_8 [ 0s] Using BUILD_ARCH=aarch64 [ 0s] [ 0s] [ 0s] obsnw02 started "build _service:gbs:deltarpm.spec" at Sat May 20 00:02:08 UTC 2017. [ 0s] [ 0s] Building deltarpm for project 'Tizen:Unified' repository 'standard' arch 'aarch64' srcmd5 '71e11d8c09e467af26755fbbdd067685' [ 0s] [ 0s] processing recipe /var/cache/build/root_8/.build-srcdir/_service:gbs:deltarpm.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_8/.build-srcdir/_service:gbs:deltarpm.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/8/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_8/.build.rpmlist /var/cache/build/root_8/.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/8/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... [ 1s] [5/40] preinstalling bash... [ 1s] [6/40] preinstalling diffutils... [ 1s] [7/40] preinstalling grep... [ 1s] [8/40] preinstalling libattr... [ 1s] [9/40] preinstalling libbz2... [ 1s] [10/40] preinstalling libcap... [ 1s] [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... [ 6s] [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/100] installing libmagic-data-5.28-4.6 [ 8s] [2/100] installing setup-0.9-3.22 [ 8s] [3/100] installing terminfo-base-5.9-3.33 [ 8s] [4/100] installing filesystem-3.1-3.2 [ 8s] [5/100] installing glibc-2.24-3.19 [ 8s] [6/100] installing bash-3.2.57-4.1 [ 8s] [7/100] installing binutils-2.27-4.27 [ 9s] [8/100] installing cpio-2.11-3.3 [ 9s] [9/100] installing diffutils-3.3-3.1 [ 9s] [10/100] installing findutils-4.3.8-3.36 [ 9s] [11/100] installing hostname-3.12-4.1 [ 9s] [12/100] installing libatomic-6.2.1-6.2 [ 9s] [13/100] installing libattr-2.4.47-3.34 [ 9s] [14/100] installing libbz2-1.0.6-4.34 [ 9s] [15/100] installing libcap-2.24-3.31 [ 9s] [16/100] installing libelf-0.153-3.16 [ 9s] [17/100] installing libext2fs-1.42.13-3.3 [ 9s] [18/100] installing libfreebl3-3.23-3.29 [ 9s] [19/100] installing libgcc-6.2.1-6.2 [ 9s] [20/100] installing libgomp-6.2.1-6.2 [ 9s] [21/100] installing libitm-6.2.1-6.2 [ 9s] [22/100] installing libltdl-2.4.2-4.33 [ 9s] [23/100] installing liblua-5.1.4-3.7 [ 9s] [24/100] installing liblzma-5.2.2-3.33 [ 9s] [25/100] installing libpcre-8.39-3.4 [ 10s] [26/100] installing libpopt-1.16-4.8 [ 10s] [27/100] installing libpython-2.7.8-3.25 [ 10s] [28/100] installing libsmack-1.3.0-3.32 [ 10s] [29/100] installing libsmartcols-2.28-3.1 [ 10s] [30/100] installing libsqlite-3.18.0-5.2 [ 10s] [31/100] installing libuuid-2.28-3.1 [ 10s] [32/100] installing m4-1.4.17-3.1 [ 10s] [33/100] installing net-tools-2.0_20121208git-3.1 [ 10s] [34/100] installing nspr-4.12-3.8 [ 10s] [35/100] installing patch-2.7-3.8 [ 10s] [36/100] installing pkg-config-0.28-4.35 [ 10s] [37/100] installing sed-4.1c-3.1 [ 10s] [38/100] installing update-alternatives-1.18.15-3.1 [ 10s] [39/100] installing which-2.20-6.1 [ 10s] [40/100] installing zlib-1.2.8-3.38 [ 10s] [41/100] installing libncurses-5.9-3.33 [ 11s] [42/100] installing build-compare-2015.04.28-3.25 [ 11s] [43/100] installing qemu-linux-user-x86_64-cross-2.7.0-1.4.1 [ 12s] [44/100] installing coreutils-6.9-3.1 [ 12s] [45/100] installing cpp-6.2.1-6.2 [ 12s] [46/100] installing gawk-3.1.5-3.1 [ 12s] [47/100] installing gcc-c++-6.2.1-6.2 [ 13s] [48/100] installing grep-2.5.2-3.1 [ 13s] [49/100] installing less-466-8.1 [ 13s] [50/100] installing libacl-2.2.52-3.41 [ 13s] [51/100] installing libasm-0.153-3.16 [ 13s] [52/100] installing libblkid-2.28-3.1 [ 13s] [53/100] installing libgfortran-6.2.1-6.2 [ 13s] [54/100] installing libopenssl-1.0.2j-3.32 [ 13s] [55/100] installing libreadline-5.2-3.32 [ 14s] [56/100] installing libstdc++-6.2.1-6.2 [ 14s] [57/100] installing make-4.0-3.7 [ 14s] [58/100] installing nss-certs-3.23-3.29 [ 14s] [59/100] installing popt-devel-1.16-4.8 [ 14s] [60/100] installing procps-ng-3.3.9-3.2 [ 14s] [61/100] installing smack-1.3.0-3.32 [ 14s] [62/100] installing xz-devel-5.2.2-3.33 [ 14s] [63/100] installing bzip2-1.0.6-4.34 [ 14s] [64/100] installing libmagic-5.28-4.6 [ 14s] [65/100] installing libxml2-2.9.4-4.33 [ 14s] [66/100] installing xz-5.2.2-3.33 [ 14s] [67/100] installing libdw-0.153-3.16 [ 14s] [68/100] installing libstdc++-devel-6.2.1-6.2 [ 14s] [69/100] installing file-5.28-4.6 [ 14s] [70/100] installing libmount-2.28-3.1 [ 15s] [71/100] installing linux-glibc-devel-3.10-3.37 [ 15s] [72/100] installing tar-1.17-3.1 [ 15s] [73/100] installing db4-4.8.30.NC-3.38 [ 15s] [74/100] installing glibc-locale-2.24-3.19 [ 15s] [75/100] installing gzip-1.3.12-3.31 [ 15s] [76/100] installing libcc1-6.2.1-6.2 [ 16s] [77/100] installing libfdisk1-2.28-3.1 [ 16s] [78/100] installing libubsan-6.2.1-6.2 [ 16s] [79/100] installing pam-1.1.6-3.2 [ 16s] [80/100] installing tzdata-2016i-4.1 [ 16s] [81/100] installing elfutils-0.153-3.16 [ 16s] [82/100] installing glibc-devel-2.24-3.19 [ 16s] [83/100] installing perl-5.20.0-4.13 [ 17s] [84/100] installing python-2.7.8-3.25 [ 18s] [85/100] installing gcc-6.2.1-6.2 [ 19s] [86/100] installing util-linux-2.28-3.1 [ 19s] [87/100] installing build-mkbaselibs-20120927-3.1 [ 19s] [88/100] installing qemu-accel-x86_64-aarch64-0.4-3.14 [ 23s] warning: %post(qemu-accel-x86_64-aarch64-0.4-3.14.aarch64) scriptlet failed, exit status 1 [ 23s] [89/100] installing autoconf-2.69-3.40 [ 24s] [90/100] installing bzip2-devel-1.0.6-4.34 [ 24s] [91/100] installing util-linux-su-2.28-3.1 [ 24s] [92/100] installing python-devel-2.7.8-3.25 [ 24s] [93/100] installing automake-1.14.1-3.30 [ 24s] [94/100] installing build-20120927-3.1 [ 24s] [95/100] installing libtool-2.4.2-4.33 [ 24s] [96/100] installing nss-3.23-3.29 [ 24s] [97/100] installing libsoftokn3-3.23-3.29 [ 24s] [98/100] installing rpm-4.11.0.1-4.17 [ 25s] [99/100] installing rpm-devel-4.11.0.1-4.17 [ 25s] [100/100] installing rpm-build-4.11.0.1-4.17 [ 25s] removing nis flags from /var/cache/build/root_8/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.2 [ 25s] ----------------------------------------------------------------- [ 25s] ----- building deltarpm.spec (user abuild) [ 25s] ----------------------------------------------------------------- [ 25s] ----------------------------------------------------------------- [ 25s] + 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.mvhwrB [ 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.88iacq [ 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 -std=gnu++11' [ 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] 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] 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 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] delta.c: In function 'hash_findnext': [ 26s] delta.c:430:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [ 26s] if ((scsc+lastoffset