[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/var/cache/build/root_6 [ 0s] Using BUILD_ARCH=aarch64:aarch64_ilp32:armv8l [ 0s] [ 0s] [ 0s] obsnw13 started "build _service:gbs:bzip2.spec" at Tue Dec 1 10:51:10 UTC 2020. [ 0s] [ 0s] Building bzip2 for project 'Tizen:Base:Tool' repository 'standard' arch 'aarch64' srcmd5 '302ef9bc24e34fb786d8e9da8c3c2686' [ 0s] [ 0s] processing recipe /var/cache/build/root_6/.build-srcdir/_service:gbs:bzip2.spec ... [ 0s] running changelog2spec --target rpm --file /var/cache/build/root_6/.build-srcdir/_service:gbs:bzip2.spec [ 0s] init_buildsystem --configdir /var/run/obs/worker/6/build/configs --cachedir /var/cache/build --clean --rpmlist /var/cache/build/root_6/.build.rpmlist /var/cache/build/root_6/.build-srcdir/_service:gbs:bzip2.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] write: Invalid argument [ 1s] /proc/sys/fs/binfmt_misc/register: write failed [ 1s] /var/run/obs/worker/6/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 libncurses... [ 1s] [3/40] preinstalling setup... [ 1s] [4/40] preinstalling filesystem... [ 1s] [5/40] preinstalling glibc... [ 1s] [6/40] preinstalling bash... [ 1s] [7/40] preinstalling diffutils... [ 1s] [8/40] preinstalling grep... [ 1s] [9/40] preinstalling libattr... [ 1s] [10/40] preinstalling libblkid... [ 1s] [11/40] preinstalling libbz2... [ 1s] [12/40] preinstalling libcap... [ 1s] [13/40] preinstalling libfreebl3... [ 1s] [14/40] preinstalling libgcc... [ 1s] [15/40] preinstalling liblua... [ 1s] [16/40] preinstalling liblzma... [ 1s] [17/40] preinstalling libpopt... [ 1s] [18/40] preinstalling libreadline... [ 1s] [19/40] preinstalling libsmack... [ 1s] [20/40] preinstalling libsqlite... [ 1s] [21/40] preinstalling libuuid... [ 1s] [22/40] preinstalling nspr... [ 1s] [23/40] preinstalling sed... [ 1s] [24/40] preinstalling zlib... [ 1s] [25/40] preinstalling qemu-accel-x86_64-aarch64... [ 6s] [26/40] preinstalling qemu-linux-user-x86_64-cross... [ 7s] [27/40] preinstalling coreutils... [ 7s] [28/40] preinstalling libacl... [ 7s] [29/40] preinstalling libelf... [ 7s] [30/40] preinstalling libmount... [ 7s] [31/40] preinstalling smack... [ 7s] [32/40] preinstalling bzip2... [ 7s] [33/40] preinstalling libmagic... [ 7s] [34/40] preinstalling libxml2... [ 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 [ 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] reordering...cycle: libsoftokn3 -> nss [ 8s] breaking dependency nss -> libsoftokn3 [ 8s] done [ 8s] [1/93] installing libmagic-data-5.39-4.1 [ 8s] [2/93] installing setup-0.9-4.6 [ 8s] [3/93] installing filesystem-3.1-3.1 [ 8s] [4/93] installing glibc-2.30-5.6 [ 8s] [5/93] installing bash-3.2.57-4.2 [ 9s] [6/93] installing cpio-2.11-3.1 [ 9s] [7/93] installing diffutils-3.3-3.1 [ 9s] [8/93] installing findutils-4.3.8-3.59 [ 9s] [9/93] installing gdbm-1.8.3-3.69 [ 9s] [10/93] installing hostname-3.23-3.1 [ 9s] [11/93] installing libatomic-9.2.0-7.3 [ 9s] [12/93] installing libattr-2.4.47-3.66 [ 10s] [13/93] installing libblkid-2.34-6.3 [ 10s] [14/93] installing libbz2-1.0.8-4.14 [ 10s] [15/93] installing libcap-2.24-3.65 [ 10s] [16/93] installing libext2fs-1.43.4-3.1 [ 11s] [17/93] installing libfreebl3-3.34.1-3.44 [ 11s] [18/93] installing libgcc-9.2.0-7.3 [ 11s] [19/93] installing libgomp-9.2.0-7.3 [ 12s] [20/93] installing libitm-9.2.0-7.3 [ 12s] [21/93] installing libltdl-2.4.2-3.38 [ 12s] [22/93] installing liblua-5.1.5-3.70 [ 13s] [23/93] installing liblzma-5.2.4-3.54 [ 13s] [24/93] installing libpcre-8.43-3.12 [ 13s] [25/93] installing libpopt-1.16-3.66 [ 14s] [26/93] installing libsmack-1.3.1-3.63 [ 14s] [27/93] installing libsmartcols-2.34-6.3 [ 14s] [28/93] installing libsqlite-3.31.1-3.53 [ 14s] [29/93] installing libuuid-2.34-6.3 [ 15s] [30/93] installing m4-1.4.17-2.1 [ 15s] [31/93] installing net-tools-2.0_20121208git-4.1 [ 15s] [32/93] installing nspr-4.12-3.64 [ 15s] [33/93] installing patch-2.7-3.59 [ 15s] [34/93] installing pkg-config-0.28-3.56 [ 15s] [35/93] installing sed-4.1c-3.1 [ 15s] [36/93] installing update-alternatives-1.18.15-2.1 [ 15s] [37/93] installing which-2.20-3.1 [ 15s] [38/93] installing zlib-1.2.11-3.59 [ 16s] [39/93] installing build-compare-2015.04.28-3.21 [ 16s] [40/93] installing qemu-linux-user-x86_64-cross-2.7.0.1-1.2.1 [ 17s] [41/93] installing terminfo-base-full-6.2-4.1 [ 17s] [42/93] installing coreutils-6.9-4.11 [ 17s] [43/93] installing cpp-9.2.0-7.3 [ 18s] [44/93] installing gawk-3.1.5-4.1 [ 18s] [45/93] installing gcc-c++-9.2.0-7.3 [ 19s] [46/93] installing grep-2.5.2-3.1 [ 19s] [47/93] installing libacl-2.2.52-3.63 [ 19s] [48/93] installing libelf-0.178-3.13 [ 20s] [49/93] installing libgfortran-9.2.0-7.3 [ 20s] [50/93] installing libmount-2.34-6.3 [ 20s] [51/93] installing libstdc++-9.2.0-7.3 [ 21s] [52/93] installing make-4.0-2.13 [ 21s] [53/93] installing nss-certs-3.34.1-3.44 [ 21s] [54/93] installing smack-1.3.1-3.63 [ 21s] [55/93] installing bzip2-1.0.8-4.14 [ 21s] [56/93] installing libfdisk-2.34-6.3 [ 22s] [57/93] installing libmagic-5.39-4.1 [ 22s] [58/93] installing libxml2-2.9.10-3.52 [ 22s] [59/93] installing perl-5.30.0-2.32 [ 24s] [60/93] installing xz-5.2.4-3.54 [ 24s] [61/93] installing build-mkbaselibs-20120927-3.1 [ 24s] [62/93] installing libstdc++-devel-9.2.0-7.3 [ 25s] [63/93] installing file-5.39-4.1 [ 25s] [64/93] installing linux-glibc-devel-3.10-3.66 [ 25s] [65/93] installing tar-1.17-2.1 [ 25s] [66/93] installing autoconf-2.69-3.36 [ 26s] [67/93] installing binutils-2.33.1-7.6 [ 26s] [68/93] installing glibc-locale-2.30-5.6 [ 26s] [69/93] installing gzip-1.3.12-3.65 [ 26s] [70/93] installing libcc1-9.2.0-7.3 [ 27s] [71/93] installing libubsan-9.2.0-7.3 [ 27s] [72/93] installing pam-1.1.6-3.1 [ 27s] [73/93] installing libncurses6-6.2-4.1 [ 28s] [74/93] installing tzdata-2020a-3.1 [ 28s] [75/93] installing libdw-0.178-3.13 [ 28s] [76/93] installing libncurses-6.2-4.1 [ 28s] [77/93] installing glibc-devel-2.30-5.6 [ 29s] [78/93] installing less-466-3.1 [ 29s] [79/93] installing libreadline-5.2-2.62 [ 29s] [80/93] installing procps-ng-3.3.15-2.1 [ 29s] [81/93] installing automake-1.15.1-3.43 [ 30s] [82/93] installing libasm-0.178-3.13 [ 30s] [83/93] installing build-20120927-3.1 [ 30s] [84/93] installing gcc-9.2.0-7.3 [ 30s] [85/93] installing qemu-accel-x86_64-aarch64-0.4-1.8 [ 36s] [86/93] installing libtool-2.4.2-3.38 [ 36s] [87/93] installing elfutils-0.178-3.13 [ 36s] [88/93] installing util-linux-2.34-6.3 [ 36s] [89/93] installing util-linux-su-2.34-6.3 [ 36s] [90/93] installing nss-3.34.1-3.44 [ 36s] [91/93] installing libsoftokn3-3.34.1-3.44 [ 37s] [92/93] installing rpm-4.11.0.1-3.2 [ 37s] [93/93] installing rpm-build-4.11.0.1-3.2 [ 37s] removing nis flags from /var/cache/build/root_6/etc/nsswitch.conf... [ 37s] now finalizing build dir... [ 38s] Running build time source services... [ 38s] build target is aarch64-tizen-linux [ 38s] ----------------------------------------------------------------- [ 38s] I have the following modifications for bzip2.spec: [ 38s] 4c4 [ 38s] < Release: 0 [ 38s] --- [ 38s] > Release: 4.15 [ 38s] ----------------------------------------------------------------- [ 38s] ----- building bzip2.spec (user abuild) [ 38s] ----------------------------------------------------------------- [ 38s] ----------------------------------------------------------------- [ 38s] + exec rpmbuild --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://build.tizen.org/Tizen:Base:Tool/standard/302ef9bc24e34fb786d8e9da8c3c2686-bzip2' -ba /home/abuild/rpmbuild/SOURCES/bzip2.spec [ 38s] Building target platforms: aarch64-tizen-linux [ 38s] Building for target aarch64-tizen-linux [ 38s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xfodLt [ 38s] + umask 022 [ 38s] + cd /home/abuild/rpmbuild/BUILD [ 38s] + cd /home/abuild/rpmbuild/BUILD [ 38s] + rm -rf bzip2-1.0.8 [ 38s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/bzip2-1.0.8.tar.gz [ 38s] + /bin/tar -xf - [ 38s] + STATUS=0 [ 38s] + '[' 0 -ne 0 ']' [ 38s] + cd bzip2-1.0.8 [ 38s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 38s] + echo 'Patch #0 (0001-Fixed-missed-compilation-flags-and-tests-library-pat.patch):' [ 38s] Patch #0 (0001-Fixed-missed-compilation-flags-and-tests-library-pat.patch): [ 38s] + /bin/cat /home/abuild/rpmbuild/SOURCES/0001-Fixed-missed-compilation-flags-and-tests-library-pat.patch [ 38s] + /bin/patch -p1 --fuzz=2 [ 38s] patching file Makefile [ 38s] patching file Makefile-libbz2_so [ 38s] + cp /home/abuild/rpmbuild/SOURCES/bzip2.pc . [ 38s] + cp /home/abuild/rpmbuild/SOURCES/bzip2.manifest . [ 38s] + /bin/patch -p1 [ 38s] patching file Makefile [ 38s] Hunk #1 succeeded at 72 (offset 1 line). [ 38s] Hunk #2 succeeded at 90 (offset 1 line). [ 38s] patching file Makefile-libbz2_so [ 38s] patching file bzlib.h [ 38s] + exit 0 [ 38s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.C89Djs [ 38s] + umask 022 [ 38s] + cd /home/abuild/rpmbuild/BUILD [ 38s] + cd bzip2-1.0.8 [ 38s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 38s] + ref=/usr/lib/rpm [ 38s] + for s in guess sub [ 38s] ++ find -maxdepth 8 -name config.guess [ 38s] + for s in guess sub [ 38s] ++ find -maxdepth 8 -name config.sub [ 38s] + LANG=C [ 38s] + export LANG [ 38s] + unset DISPLAY [ 38s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 38s] + export CFLAGS [ 38s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 38s] + export CXXFLAGS [ 38s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir' [ 38s] + export FFLAGS [ 38s] + LDFLAGS= [ 38s] + export LDFLAGS [ 38s] + export 'CFLAGS=-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC' [ 38s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC' [ 38s] + export 'LDFLAGS= -pie' [ 38s] + LDFLAGS=' -pie' [ 38s] + make -f Makefile-libbz2_so -j4 [ 38s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c blocksort.c [ 38s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c huffman.c [ 38s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c crctable.c [ 38s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c randtable.c [ 38s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c compress.c [ 38s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c decompress.c [ 38s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzlib.c [ 40s] gcc -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.8 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o [ 40s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -o bzip2-shared bzip2.c libbz2.so.1.0.8 [ 40s] bzip2.c: In function 'applySavedFileAttrToOutputFile': [ 40s] bzip2.c:1073:11: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] [ 40s] 1073 | (void) fchown ( fd, fileMetaInfo.st_uid, fileMetaInfo.st_gid ); [ 40s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 40s] rm -f libbz2.so.1 [ 40s] ln -s libbz2.so.1.0.8 libbz2.so.1 [ 40s] rm -f libbz2.so [ 40s] ln -s libbz2.so.1.0.8 libbz2.so [ 40s] + make -j4 [ 40s] rm -f libbz2.a [ 40s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzip2.c [ 40s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -c bzip2recover.c [ 40s] ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o [ 40s] ranlib libbz2.a [ 40s] bzip2.c: In function 'applySavedFileAttrToOutputFile': [ 40s] bzip2.c:1073:11: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] [ 40s] 1073 | (void) fchown ( fd, fileMetaInfo.st_uid, fileMetaInfo.st_gid ); [ 40s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 40s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -o bzip2recover bzip2recover.o [ 41s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -o bzip2 bzip2.o -L. -lbz2 [ 41s] [ 41s] Doing 6 tests (3 compress, 3 uncompress) ... [ 41s] If there's a problem, things might stop at this point. [ 41s] [ 41s] ./bzip2 -1 < sample1.ref > sample1.rb2 [ 41s] ./bzip2 -2 < sample2.ref > sample2.rb2 [ 41s] ./bzip2 -3 < sample3.ref > sample3.rb2 [ 41s] ./bzip2 -d < sample1.bz2 > sample1.tst [ 41s] ./bzip2 -d < sample2.bz2 > sample2.tst [ 41s] ./bzip2 -ds < sample3.bz2 > sample3.tst [ 41s] cmp sample1.bz2 sample1.rb2 [ 41s] cmp sample2.bz2 sample2.rb2 [ 41s] cmp sample3.bz2 sample3.rb2 [ 41s] cmp sample1.tst sample1.ref [ 41s] cmp sample2.tst sample2.ref [ 41s] cmp sample3.tst sample3.ref [ 41s] [ 41s] If you got this far and the 'cmp's didn't complain, it looks [ 41s] like you're in business. [ 41s] [ 41s] To install in /usr/local/bin, /usr/local/lib, /usr/local/man and [ 41s] /usr/local/include, type [ 41s] [ 41s] make install [ 41s] [ 41s] To install somewhere else, eg, /xxx/yyy/{bin,lib,man,include}, type [ 41s] [ 41s] make install PREFIX=/xxx/yyy [ 41s] [ 41s] If you are (justifiably) paranoid and want to see what 'make install' [ 41s] is going to do, you can first do [ 41s] [ 41s] make -n install or [ 41s] make -n install PREFIX=/xxx/yyy respectively. [ 41s] [ 41s] The -n instructs make to show the commands it would execute, but [ 41s] not actually execute them. [ 41s] [ 41s] Instructions for use are in the preformatted manual page, in the file [ 41s] bzip2.txt. For more detailed documentation, read the full manual. [ 41s] It is available in Postscript form (manual.ps), PDF form (manual.pdf), [ 41s] and HTML form (manual.html). [ 41s] [ 41s] You can also do "bzip2 --help" to see some helpful information. [ 41s] "bzip2 -L" displays the software license. [ 41s] [ 41s] + exit 0 [ 41s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WTiOjs [ 41s] + umask 022 [ 41s] + cd /home/abuild/rpmbuild/BUILD [ 41s] + cd bzip2-1.0.8 [ 41s] + LANG=C [ 41s] + export LANG [ 41s] + unset DISPLAY [ 41s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64 [ 41s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64 [ 41s] + make install PREFIX=/home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr LIBDIR=lib64 [ 41s] if ( test ! -d /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin ) ; then mkdir -p /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin ; fi [ 41s] if ( test ! -d /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/lib64 ) ; then mkdir -p /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/lib64 ; fi [ 41s] if ( test ! -d /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man ) ; then mkdir -p /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man ; fi [ 41s] if ( test ! -d /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man/man1 ) ; then mkdir -p /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man/man1 ; fi [ 41s] if ( test ! -d /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/include ) ; then mkdir -p /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/include ; fi [ 41s] cp -f bzip2 /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzip2 [ 41s] ln -s -f bzip2 bunzip2 [ 41s] cp -Pf bunzip2 /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/ [ 41s] ln -s -f bzip2 bzcat [ 41s] cp -Pf bzcat /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/ [ 41s] cp -f bzip2recover /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzip2recover [ 41s] chmod a+x /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzip2 [ 41s] chmod a+x /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bunzip2 [ 41s] chmod a+x /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzcat [ 41s] chmod a+x /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzip2recover [ 41s] cp -f bzip2.1 /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man/man1 [ 41s] chmod a+r /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man/man1/bzip2.1 [ 41s] cp -f bzlib.h /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/include [ 41s] chmod a+r /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/include/bzlib.h [ 42s] cp -f bzgrep /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzgrep [ 42s] ln -s -f bzgrep bzegrep [ 42s] cp -Pf bzegrep /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/ [ 42s] ln -s -f bzgrep bzfgrep [ 42s] cp -Pf bzfgrep /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/ [ 42s] chmod a+x /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzgrep [ 42s] cp -f bzmore /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzmore [ 42s] ln -s -f bzmore bzless [ 42s] cp -Pf bzless /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/ [ 42s] chmod a+x /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzmore [ 42s] cp -f bzdiff /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzdiff [ 42s] ln -s -f bzdiff bzcmp [ 42s] cp -Pf bzcmp /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/ [ 42s] chmod a+x /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzdiff [ 42s] cp -f bzgrep.1 bzmore.1 bzdiff.1 /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man/man1 [ 42s] chmod a+r /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man/man1/bzgrep.1 [ 42s] chmod a+r /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man/man1/bzmore.1 [ 42s] chmod a+r /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man/man1/bzdiff.1 [ 42s] echo ".so man1/bzgrep.1" > /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man/man1/bzegrep.1 [ 42s] echo ".so man1/bzgrep.1" > /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man/man1/bzfgrep.1 [ 42s] echo ".so man1/bzmore.1" > /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man/man1/bzless.1 [ 42s] echo ".so man1/bzdiff.1" > /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/man/man1/bzcmp.1 [ 42s] + make -f Makefile-libbz2_so install PREFIX=/home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr LIBDIR=lib64 [ 42s] gcc -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.8 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o [ 42s] gcc -fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64 -o bzip2-shared bzip2.c libbz2.so.1.0.8 [ 42s] rm -f libbz2.so.1 [ 42s] ln -s libbz2.so.1.0.8 libbz2.so.1 [ 42s] rm -f libbz2.so [ 42s] ln -s libbz2.so.1.0.8 libbz2.so [ 42s] if ( test ! -d /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/lib64 ) ; then mkdir -p /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/lib64 ; fi [ 42s] cp -f libbz2.so.1.0.8 /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/lib64 [ 42s] cp -Pf libbz2.so.1 /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/lib64 [ 42s] cp -Pf libbz2.so /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/lib64 [ 42s] + rm -f /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/lib64/libbz2.a [ 42s] + install -D -m 644 bzip2.pc /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/lib64/pkgconfig/bzip2.pc [ 42s] + gzip -dc /home/abuild/rpmbuild/SOURCES/bznew.gz [ 42s] + install -D -m 755 bznew /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bznew [ 42s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/share/info [ 42s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/share/doc/packages [ 42s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/share/doc/bzip2 [ 42s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/share/doc/bzip2-1.0.8 [ 42s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/share/gtk-doc [ 42s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/share/doc [ 42s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/share/man [ 42s] + find /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64 -regex '.*/man/man./.*.[0-9]' [ 42s] + xargs rm -f -- [ 42s] + find /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64 -regex '.*/man/../man./.*.[0-9]' [ 42s] + xargs rm -f -- [ 42s] + find /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64 -regex '.*/man/man./.*.[0-9]pm' [ 42s] + xargs rm -f -- [ 42s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/bzip2-1.0.8 [ 43s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzip2 [ 43s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/bin/bzip2recover [ 43s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/lib64/libbz2.so.1.0.8 [ 43s] 444 blocks [ 43s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/bzip2-1.0.8/bzip2-debuginfo.manifest [ 43s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/bzip2-1.0.8/bzip2-debugsource.manifest [ 43s] + /usr/lib/rpm/check-buildroot [ 43s] + /usr/lib/rpm//brp-compress [ 43s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 43s] + /usr/lib/rpm/brp-python-hardlink [ 43s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64 [ 43s] Processing files: bzip2-1.0.8-4.15.aarch64 [ 43s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 43s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 43s] [ 43s] Provides: bzip bzip2 = 1.0.8-4.15 bzip2(aarch-64) = 1.0.8-4.15 [ 43s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 43s] Requires: /bin/sh ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) [ 43s] Obsoletes: bzip [ 43s] Processing files: bzip2-debugsource-1.0.8-4.15.aarch64 [ 43s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 43s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 43s] [ 43s] Provides: bzip2-debugsource = 1.0.8-4.15 bzip2-debugsource(aarch-64) = 1.0.8-4.15 [ 43s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 43s] Processing files: libbz2-1.0.8-4.15.aarch64 [ 43s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 43s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 43s] [ 43s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hb2D2r [ 43s] + umask 022 [ 43s] + cd /home/abuild/rpmbuild/BUILD [ 43s] + cd bzip2-1.0.8 [ 43s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/share/licenses/libbz2 [ 43s] + export LICENSEDIR [ 43s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/share/licenses/libbz2 [ 43s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64/usr/share/licenses/libbz2 [ 43s] + exit 0 [ 43s] Provides: bzip2-libs libbz2 = 1.0.8-4.15 libbz2(aarch-64) = 1.0.8-4.15 libbz2.so.1()(64bit) [ 43s] Requires(interp): /sbin/ldconfig /sbin/ldconfig [ 43s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 43s] Requires(post): /sbin/ldconfig [ 43s] Requires(postun): /sbin/ldconfig [ 43s] Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) [ 43s] Processing files: bzip2-devel-1.0.8-4.15.aarch64 [ 43s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 43s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 43s] [ 44s] Provides: bzip2-devel = 1.0.8-4.15 bzip2-devel(aarch-64) = 1.0.8-4.15 pkgconfig(bzip2) = 1.0.8 [ 44s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 44s] Requires: /usr/bin/pkg-config libbz2.so.1()(64bit) [ 44s] Processing files: bzip2-debuginfo-1.0.8-4.15.aarch64 [ 44s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 44s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 44s] [ 44s] warning: File listed twice: /usr/lib/debug/.build-id [ 44s] Provides: bzip2-debuginfo = 1.0.8-4.15 bzip2-debuginfo(aarch-64) = 1.0.8-4.15 [ 44s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 44s] Processing files: libbz2-debuginfo-1.0.8-4.15.aarch64 [ 44s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 44s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 44s] [ 44s] Provides: libbz2-debuginfo = 1.0.8-4.15 libbz2-debuginfo(aarch-64) = 1.0.8-4.15 [ 44s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 44s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64 [ 44s] warning: Could not canonicalize hostname: obsnw13 [ 44s] Wrote: /home/abuild/rpmbuild/SRPMS/bzip2-1.0.8-4.15.src.rpm [ 44s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/bzip2-1.0.8-4.15.aarch64.rpm [ 44s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/bzip2-debugsource-1.0.8-4.15.aarch64.rpm [ 44s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/libbz2-1.0.8-4.15.aarch64.rpm [ 44s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/bzip2-devel-1.0.8-4.15.aarch64.rpm [ 44s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/bzip2-debuginfo-1.0.8-4.15.aarch64.rpm [ 44s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/libbz2-debuginfo-1.0.8-4.15.aarch64.rpm [ 44s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Vi1DTt [ 44s] + umask 022 [ 44s] + cd /home/abuild/rpmbuild/BUILD [ 44s] + cd bzip2-1.0.8 [ 44s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/bzip2-1.0.8-4.15.aarch64 [ 44s] + exit 0 [ 44s] ... checking for files with abuild user/group [ 44s] ... creating baselibs [ 45s] no targets for arch aarch64, nothing to do [ 45s] [ 45s] obsnw13 finished "build bzip2.spec" at Tue Dec 1 10:51:55 UTC 2020. [ 45s]