5048 | *(s+0) = (*(s+0) << 4) | (data_word >> 28) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5049:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5049 | *(s+1) = (*(s+1) << 4) | (data_word >> 24) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5050:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5050 | *(s+2) = (*(s+2) << 4) | (data_word >> 20) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5051:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5051 | *(s+3) = (*(s+3) << 4) | (data_word >> 16) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5058:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5058 | *(s+0) = (*(s+0) << 4) | (data_word >> 28) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5059:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5059 | *(s+1) = (*(s+1) << 4) | (data_word >> 24) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5060:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5060 | *(s+2) = (*(s+2) << 4) | (data_word >> 20) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5061:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5061 | *(s+3) = (*(s+3) << 4) | (data_word >> 16) & 0xf; | ~~~~~~~~~~~~~~~~~~^~~~~ rice.c:5073:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5073 | *(s+0) = (*(s+0) << 5) | (data_word >> 27) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5074:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5074 | *(s+1) = (*(s+1) << 5) | (data_word >> 22) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5075:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5075 | *(s+2) = (*(s+2) << 5) | (data_word >> 17) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5085:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5085 | *(s+0) = (*(s+0) << 5) | (data_word >> 27) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5086:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5086 | *(s+1) = (*(s+1) << 5) | (data_word >> 22) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5087:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5087 | *(s+2) = (*(s+2) << 5) | (data_word >> 17) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5097:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5097 | *(s+0) = (*(s+0) << 5) | (data_word >> 27) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5098:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5098 | *(s+1) = (*(s+1) << 5) | (data_word >> 22) & 0x1f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5113:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5113 | *(s+0) = (*(s+0) << 6) | (data_word >> 26) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5114:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5114 | *(s+1) = (*(s+1) << 6) | (data_word >> 20) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5124:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5124 | *(s+0) = (*(s+0) << 6) | (data_word >> 26) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5125:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5125 | *(s+1) = (*(s+1) << 6) | (data_word >> 20) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5135:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5135 | *(s+0) = (*(s+0) << 6) | (data_word >> 26) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5136:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5136 | *(s+1) = (*(s+1) << 6) | (data_word >> 20) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5146:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5146 | *(s+0) = (*(s+0) << 6) | (data_word >> 26) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5147:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5147 | *(s+1) = (*(s+1) << 6) | (data_word >> 20) & 0x3f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5162:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5162 | *(s+0) = (*(s+0) << 7) | (data_word >> 25) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5163:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5163 | *(s+1) = (*(s+1) << 7) | (data_word >> 18) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5173:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5173 | *(s+0) = (*(s+0) << 7) | (data_word >> 25) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5174:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5174 | *(s+1) = (*(s+1) << 7) | (data_word >> 18) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5184:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5184 | *(s+0) = (*(s+0) << 7) | (data_word >> 25) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5185:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5185 | *(s+1) = (*(s+1) << 7) | (data_word >> 18) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5195:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5195 | *(s+0) = (*(s+0) << 7) | (data_word >> 25) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5196:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5196 | *(s+1) = (*(s+1) << 7) | (data_word >> 18) & 0x7f; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5211:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5211 | *(s+0) = (*(s+0) << 8) | (data_word >> 24) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5212:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5212 | *(s+1) = (*(s+1) << 8) | (data_word >> 16) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5219:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5219 | *(s+0) = (*(s+0) << 8) | (data_word >> 24) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5220:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5220 | *(s+1) = (*(s+1) << 8) | (data_word >> 16) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5227:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5227 | *(s+0) = (*(s+0) << 8) | (data_word >> 24) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5228:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5228 | *(s+1) = (*(s+1) << 8) | (data_word >> 16) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5235:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5235 | *(s+0) = (*(s+0) << 8) | (data_word >> 24) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5236:80: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5236 | *(s+1) = (*(s+1) << 8) | (data_word >> 16) & 0xff; | ~~~~~~~~~~~~~~~~~~^~~~~~ rice.c:5353:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 5353 | *s++ = zero_count + big_zero_count; | ^~~~~~~~~~ rice.c:5398:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 5398 | *t++ = zero_count + big_zero_count; | ^~~~~~~~~~ rice.c:5404:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 5404 | m = *t++; | ^ rice.c:5464:41: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 5464 | memset(s, 0, (end-s)*sizeof(int)); | ^ rice.c: In function 'szip_uncompress_memory': rice.c:5518:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 5518 | input_byte_data = (unsigned char *) in; | ^ rice.c:5530:44: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long int' may change the sign of the result [-Wsign-conversion] 5530 | interleave_array = (char *) malloc(out_bytes); | ^~~~~~~~~ rice.c: In function 'szip_check_params': rice.c:5800:5: warning: declaration of 'bits_per_pixel' shadows a global declaration [-Wshadow] 5800 | int bits_per_pixel; | ^~~~~~~~~~~~~~ rice.c:126:12: note: shadowed declaration is here 126 | static int bits_per_pixel; | ^~~~~~~~~~~~~~ rice.c:5801:5: warning: declaration of 'pixels_per_block' shadows a global declaration [-Wshadow] 5801 | int pixels_per_block; | ^~~~~~~~~~~~~~~~ rice.c:131:12: note: shadowed declaration is here 131 | static int pixels_per_block; | ^~~~~~~~~~~~~~~~ rice.c:5802:5: warning: declaration of 'pixels_per_scanline' shadows a global declaration [-Wshadow] 5802 | int pixels_per_scanline; | ^~~~~~~~~~~~~~~~~~~ rice.c:132:12: note: shadowed declaration is here 132 | static int pixels_per_scanline; | ^~~~~~~~~~~~~~~~~~~ rice.c:5812:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5812 | *msg = "bits per pixel must be in range 1..24,32,64"; | ^ rice.c:5818:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5818 | *msg = "maximum pixels per block exceeded"; | ^ rice.c:5824:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5824 | *msg = "pixels per block must be even"; | ^ rice.c:5830:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5830 | *msg = "pixels per block > pixels per scanline"; | ^ rice.c:5836:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5836 | *msg = "maximum pixels per scanline exceeded"; | ^ rice.c:5842:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5842 | *msg = "image pixels less than pixels per scanline"; | ^ rice.c: In function 'rice_decode': rice.c:5358:20: warning: 'ext2_bit' may be used uninitialized in this function [-Wmaybe-uninitialized] 5358 | if (ext2_bit) | ^ /bin/bash ../libtool --tag=CC --mode=link /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -O -fomit-frame-pointer -finline-functions -version-info 2:0:0 -o libsz.la -rpath /usr/lib rice.lo sz_api.lo encoding.lo -lm libtool: link: /tmp/instance-1/output-1/host/bin/riscv64-linux-gcc -shared -fPIC -DPIC .libs/rice.o .libs/sz_api.o .libs/encoding.o -lm -Os -g0 -O -Wl,-soname -Wl,libsz.so.2 -o .libs/libsz.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libsz.so.2" && ln -s "libsz.so.2.0.0" "libsz.so.2") libtool: link: (cd ".libs" && rm -f "libsz.so" && ln -s "libsz.so.2.0.0" "libsz.so") libtool: link: ( cd ".libs" && rm -f "libsz.la" && ln -s "../libsz.la" "libsz.la" ) make[3]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1/src' make[2]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1/src' Making all in test make[2]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1/test' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1/test' make[2]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1' make[1]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1' >>> szip 2.1.1 Installing to staging directory PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 DESTDIR=/tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot install -C /tmp/instance-1/output-1/build/szip-2.1.1/ make[1]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1' Making install in src make[2]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1/src' make[3]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1/src' /usr/bin/mkdir -p '/tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib' /bin/bash ../libtool --mode=install /usr/bin/install -c libsz.la '/tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib' /usr/bin/mkdir -p '/tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include' /usr/bin/install -c -m 644 ricehdf.h szip_adpt.h szlib.h '/tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include' libtool: install: /usr/bin/install -c .libs/libsz.so.2.0.0 /tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/libsz.so.2.0.0 libtool: install: (cd /tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib && { ln -s -f libsz.so.2.0.0 libsz.so.2 || { rm -f libsz.so.2 && ln -s libsz.so.2.0.0 libsz.so.2; }; }) libtool: install: (cd /tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib && { ln -s -f libsz.so.2.0.0 libsz.so || { rm -f libsz.so && ln -s libsz.so.2.0.0 libsz.so; }; }) libtool: install: /usr/bin/install -c .libs/libsz.lai /tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/libsz.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[3]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1/src' make[2]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1/src' Making install in test make[2]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1/test' make[3]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1/test' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1/test' make[2]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1/test' make[2]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1' make[3]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1' make[2]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1' make[1]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1' >>> szip 2.1.1 Fixing libtool files for la in $(find /tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /usr/bin/sed -i -e "s:/tmp/instance-1/output-1:@BASE_DIR@:g" \ -e "s:/tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot:@STAGING_DIR@:g" \ -e "s:/tmp/instance-1/output-1/host/opt/ext-toolchain:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:g" \ -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \ -e "s:\(['= ]\)/lib:\\1@STAGING_DIR@/lib:g" \ -e "s:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:/tmp/instance-1/output-1/host/opt/ext-toolchain:g" \ -e "s:@STAGING_DIR@:/tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot:g" \ -e "s:@BASE_DIR@:/tmp/instance-1/output-1:g" \ "${la}.fixed" && \ if cmp -s "${la}" "${la}.fixed"; then \ rm -f "${la}.fixed"; \ else \ mv "${la}.fixed" "${la}"; \ fi || exit 1; \ done >>> szip 2.1.1 Installing to target PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 DESTDIR=/tmp/instance-1/output-1/target install -C /tmp/instance-1/output-1/build/szip-2.1.1/ make[1]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1' Making install in src make[2]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1/src' make[3]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1/src' /usr/bin/mkdir -p '/tmp/instance-1/output-1/target/usr/lib' /usr/bin/mkdir -p '/tmp/instance-1/output-1/target/usr/include' /bin/bash ../libtool --mode=install /usr/bin/install -c libsz.la '/tmp/instance-1/output-1/target/usr/lib' /usr/bin/install -c -m 644 ricehdf.h szip_adpt.h szlib.h '/tmp/instance-1/output-1/target/usr/include' libtool: install: /usr/bin/install -c .libs/libsz.so.2.0.0 /tmp/instance-1/output-1/target/usr/lib/libsz.so.2.0.0 libtool: install: (cd /tmp/instance-1/output-1/target/usr/lib && { ln -s -f libsz.so.2.0.0 libsz.so.2 || { rm -f libsz.so.2 && ln -s libsz.so.2.0.0 libsz.so.2; }; }) libtool: install: (cd /tmp/instance-1/output-1/target/usr/lib && { ln -s -f libsz.so.2.0.0 libsz.so || { rm -f libsz.so && ln -s libsz.so.2.0.0 libsz.so; }; }) libtool: install: /usr/bin/install -c .libs/libsz.lai /tmp/instance-1/output-1/target/usr/lib/libsz.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[3]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1/src' make[2]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1/src' Making install in test make[2]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1/test' make[3]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1/test' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1/test' make[2]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1/test' make[2]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1' make[3]: Entering directory '/tmp/instance-1/output-1/build/szip-2.1.1' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1' make[2]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1' make[1]: Leaving directory '/tmp/instance-1/output-1/build/szip-2.1.1' >>> Finalizing host directory >>> Finalizing target directory mkdir -p /tmp/instance-1/output-1/host/etc/meson sed -e 's%@TARGET_CROSS@%/tmp/instance-1/output-1/host/bin/riscv64-linux-%g' -e 's%@TARGET_ARCH@%riscv64%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_LDFLAGS@%@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1'@PKG_TARGET_CFLAGS@%g" -e 's%@HOST_DIR@%/tmp/instance-1/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot%g' -e 's%@STATIC@%false%g' package/meson//cross-compilation.conf.in > /tmp/instance-1/output-1/host/etc/meson/cross-compilation.conf.in sed -e 's%@PKG_TARGET_CFLAGS@%%g' -e 's%@PKG_TARGET_LDFLAGS@%%g' -e 's%@PKG_TARGET_CXXFLAGS@%%g' /tmp/instance-1/output-1/host/etc/meson/cross-compilation.conf.in > /tmp/instance-1/output-1/host/etc/meson/cross-compilation.conf /usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /tmp/instance-1/output-1/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /tmp/instance-1/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /tmp/instance-1/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/ash$' /tmp/instance-1/output-1/target/etc/shells || echo "/bin/ash" >> /tmp/instance-1/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /tmp/instance-1/output-1/build/busybox-1.33.1/.config; then grep -qsE '^/bin/hush$' /tmp/instance-1/output-1/target/etc/shells || echo "/bin/hush" >> /tmp/instance-1/output-1/target/etc/shells; fi rm -f /tmp/instance-1/output-1/target/usr/share/glib-2.0/schemas/*.xml /tmp/instance-1/output-1/target/usr/share/glib-2.0/schemas/*.dtd /tmp/instance-1/output-1/host/bin/glib-compile-schemas /tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/share/glib-2.0/schemas --targetdir=/tmp/instance-1/output-1/target/usr/share/glib-2.0/schemas No schema files found: doing nothing. mkdir -p /tmp/instance-1/output-1/target/etc echo "buildroot" > /tmp/instance-1/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /tmp/instance-1/output-1/target/etc/hosts mkdir -p /tmp/instance-1/output-1/target/etc echo "Welcome to Buildroot" > /tmp/instance-1/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /tmp/instance-1/output-1/target/etc/shadow rm -f /tmp/instance-1/output-1/target/bin/sh if [ -x /tmp/instance-1/output-1/target/sbin/swapon -a -x /tmp/instance-1/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /tmp/instance-1/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /tmp/instance-1/output-1/target/etc/inittab; fi printf '%s\n' C en_US locale-archive > /tmp/instance-1/output-1/build/locales.nopurge for dir in /tmp/instance-1/output-1/target/usr/share/locale /tmp/instance-1/output-1/target/usr/share/X11/locale /tmp/instance-1/output-1/target/usr/lib/locale; do if [ ! -d $dir ]; then continue; fi; for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /tmp/instance-1/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /tmp/instance-1/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /tmp/instance-1/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /tmp/instance-1/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /tmp/instance-1/output-1/target/usr/include /tmp/instance-1/output-1/target/usr/share/aclocal \ /tmp/instance-1/output-1/target/usr/lib/pkgconfig /tmp/instance-1/output-1/target/usr/share/pkgconfig \ /tmp/instance-1/output-1/target/usr/lib/cmake /tmp/instance-1/output-1/target/usr/share/cmake \ /tmp/instance-1/output-1/target/usr/doc find /tmp/instance-1/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /tmp/instance-1/output-1/target/lib/ /tmp/instance-1/output-1/target/usr/lib/ /tmp/instance-1/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f rm -rf /tmp/instance-1/output-1/target/usr/share/gdb rm -rf /tmp/instance-1/output-1/target/usr/share/bash-completion rm -rf /tmp/instance-1/output-1/target/etc/bash_completion.d rm -rf /tmp/instance-1/output-1/target/usr/share/zsh rm -rf /tmp/instance-1/output-1/target/usr/man /tmp/instance-1/output-1/target/usr/share/man rm -rf /tmp/instance-1/output-1/target/usr/info /tmp/instance-1/output-1/target/usr/share/info rm -rf /tmp/instance-1/output-1/target/usr/doc /tmp/instance-1/output-1/target/usr/share/doc rm -rf /tmp/instance-1/output-1/target/usr/share/gtk-doc rmdir /tmp/instance-1/output-1/target/usr/share 2>/dev/null || true rm -rf /tmp/instance-1/output-1/target/lib/debug /tmp/instance-1/output-1/target/usr/lib/debug find /tmp/instance-1/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /tmp/instance-1/output-1/host/bin/riscv64-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /tmp/instance-1/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /tmp/instance-1/output-1/host/bin/riscv64-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /tmp/instance-1/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /tmp/instance-1/output-1/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /tmp/instance-1/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2021.05-993-g4510c38431"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2021.08-git"; \ echo "PRETTY_NAME=\"Buildroot 2021.08-git\"" \ ) > /tmp/instance-1/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /tmp/instance-1/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/tmp/instance-1/output-1/per-package /tmp/instance-1/buildroot/support/scripts/fix-rpath target touch /tmp/instance-1/output-1/target/usr ln -snf /tmp/instance-1/output-1/host/riscv64-buildroot-linux-gnu/sysroot /tmp/instance-1/output-1/staging make: Leaving directory '/tmp/instance-1/buildroot' make: Entering directory '/tmp/instance-1/buildroot' >>> Buildroot 2021.05-993-g4510c38431 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-skeleton Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-bootlin 2020.08-1 Collecting legal info >>> toolchain Collecting legal info >>> busybox 1.33.1 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> duktape 2.6.0 Collecting legal info LICENSE.txt: OK (sha256: 5b42d02dbd084fd6d7e61d93f52e02b596f25400e54e0f86d5780045e5b754c8) >>> host-e2fsprogs 1.46.2 Collecting legal info NOTICE: OK (sha256: 5da5ef153e559c1d990d4c3eedbedd4442db892d37eae1f35fff069de8ec9020) lib/ss/mit-sipb-copyright.h: OK (sha256: 032989b508f1a72ebee5b3417e55d06d473f9ee203e45ab11864a7e49cdec63d) lib/et/internal.h: OK (sha256: 47182fe6631a32f271a15bbe210751b3825b7199f588879aac7d4804fc8b4b8f) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> host-util-linux 2.36.2 Collecting legal info README.licensing: OK (sha256: 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955) Documentation/licenses/COPYING.BSD-3-Clause: OK (sha256: 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d) Documentation/licenses/COPYING.BSD-4-Clause-UC: OK (sha256: ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8) Documentation/licenses/COPYING.GPL-2.0-or-later: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) Documentation/licenses/COPYING.ISC: OK (sha256: e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63) Documentation/licenses/COPYING.LGPL-2.1-or-later: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-e2tools 0.0.16.4 Collecting legal info COPYING: OK (sha256: 0e79fd282723e1eb3f7381d41233a83ed20cf3e8c83aa53e6847bf7ffe781583) >>> host-autoconf 2.69 Collecting legal info COPYINGv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> expat 2.4.1 Collecting legal info COPYING: OK (sha256: 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec) >>> host-faketime 0.9.9 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> gmp 6.2.1 Collecting legal info COPYING.LESSERv3: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) COPYINGv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> graphicsmagick 1.3.36 Collecting legal info Copyright.txt: OK (sha256: aed5bd8e28cbce601cbe2ca2267b663ccd63152965f2d5caea1311bf0039c325) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> hicolor-icon-theme 0.17 Collecting legal info COPYING: OK (sha256: b0a64377d4ee87b7dbcf418ce4fb33ec3b2d7081b6732890e4af06b8118c4526) >>> initscripts Collecting legal info >>> latencytop 0.5 Collecting legal info latencytop.c: OK (sha256: 34d1db30ab21eaedb2c191b2787632a960090a0c63da9f5b481d84b23b98c438) >>> libglib2 2.68.2 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-gettext Collecting legal info >>> host-gettext-gnu 0.20.1 Collecting legal info COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) gettext-runtime/intl/COPYING.LIB: OK (sha256: 3fe5361f24b7c49ba12911c08f5a33f9cb18871d95d9fb881f5b8a4793e04288) >>> host-libtextstyle 0.20.1 Collecting legal info COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) >>> host-libxml2 2.9.12 Collecting legal info COPYING: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd) >>> host-libglib2 2.68.2 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-libffi 3.4.2 Collecting legal info LICENSE: OK (sha256: a61d06e8f7be57928e71e800eb9273b05cb8868c484108afe41e4305bb320dde) >>> host-meson 0.58.2 Collecting legal info COPYING: OK (sha256: cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30) >>> host-ninja 1.10.2 Collecting legal info COPYING: OK (sha256: eb7e9ab9690124c5c9f42bdc81383d886a3dede26345b6ed15bbad7caf81f7ea) >>> host-cmake 3.16.9 Collecting legal info Copyright.txt: OK (sha256: dc628fb936a5d229296d42083f9a8218aa32204c016919e784404c9ec58776e9) >>> host-python3 3.9.6 Collecting legal info LICENSE: OK (sha256: 599826df92bfdcd2702eac691072498bb096c55af04ee984cf90f70ed77b5a70) >>> host-autoconf-archive 2019.01.06 Collecting legal info COPYING: OK (sha256: e6037104443f9a7829b2aa7c5370d0789a7bda3ca65a0b904cdc0c2e285d9195) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-expat 2.4.1 Collecting legal info COPYING: OK (sha256: 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec) >>> host-python3-setuptools 44.0.0 Collecting legal info LICENSE: OK (sha256: c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a) >>> host-pcre 8.44 Collecting legal info LICENCE: OK (sha256: 0dd9c13864dbb9ee4d77a1557e96be29b2d719fb6584192ee36611aae264c4a3) >>> libffi 3.4.2 Collecting legal info LICENSE: OK (sha256: a61d06e8f7be57928e71e800eb9273b05cb8868c484108afe41e4305bb320dde) >>> pcre 8.44 Collecting legal info LICENCE: OK (sha256: 0dd9c13864dbb9ee4d77a1557e96be29b2d719fb6584192ee36611aae264c4a3) >>> ncurses 6.1 Collecting legal info COPYING: OK (sha256: 4d1fde61868c73776a539366dccf5d5a4857e7fd7299efb1f02e07c2afe9ea87) >>> host-ncurses 6.1 Collecting legal info COPYING: OK (sha256: 4d1fde61868c73776a539366dccf5d5a4857e7fd7299efb1f02e07c2afe9ea87) >>> libaacs 0.11.0 Collecting legal info COPYING: OK (sha256: 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c) >>> host-bison 3.7.6 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> libgcrypt 1.9.3 Collecting legal info COPYING.LIB: OK (sha256: ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532) >>> libgpg-error 1.42 Collecting legal info COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c) COPYING.LIB: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) >>> libcurl 7.78.0 Collecting legal info COPYING: OK (sha256: 6fd1a1c008b5ef4c4741dd188c3f8af6944c14c25afa881eb064f98fb98358e7) >>> libdvdcss 1.4.3 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> libdvdread 6.1.2 Collecting legal info COPYING: OK (sha256: d6cb0e9e560f51085556949a84af12b79a00f10ab8b66c752537faf7cd665572) >>> libmicrohttpd 0.9.73 Collecting legal info COPYING: OK (sha256: 7399547209438c93f9b90297954698773d4846cea44cde5ca982c84c45952a3b) >>> libnpupnp 4.1.4 Collecting legal info COPYING: OK (sha256: c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3) >>> libpcap 1.10.1 Collecting legal info LICENSE: OK (sha256: 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd) >>> libraw1394 2.1.2 Collecting legal info COPYING.LIB: OK (sha256: 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509) >>> libsepol 3.2 Collecting legal info COPYING: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> libupnpp 0.21.0 Collecting legal info COPYING: OK (sha256: 00a89b0d18aacd4114decf79122db87bf35bddaf2bc50e383c9c9f4c263390b2) >>> libxmlrpc r3119 Collecting legal info doc/COPYING: OK (sha256: db7a6d3f187b218c3534010a83424c6bcdef88e6a0b6b1aa3a8762238bd642e6) >>> lzo 2.10 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> lzop 1.03 Collecting legal info COPYING: OK (sha256: 70439f6e2b47057a408d2390ed6663b9875f5a08066a06a060a357ef1df89a8c) >>> mobile-broadband-provider-info 20190618 Collecting legal info COPYING: OK (sha256: 3d510b215a33087b9ceb9592da21575ea1f9f98bd4d983a38e65fe851a552174) >>> host-libxslt 1.1.34 Collecting legal info COPYING: OK (sha256: 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819) >>> mpc 1.2.1 Collecting legal info COPYING.LESSER: OK (sha256: da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768) >>> mpfr 4.1.0 Collecting legal info COPYING.LESSER: OK (sha256: e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118) >>> host-mtools 4.0.26 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-lzip 1.22 Collecting legal info COPYING: OK (sha256: 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef) >>> mysql Collecting legal info >>> oracle-mysql 5.1.73 Collecting legal info README: OK (sha256: cbf0dbf56528a629f4358a1339f981202f1a9a0d9542c092b03f486064ced2db) COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> openlayers 6.5.0 Collecting legal info >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> pdmenu 1.3.6 Collecting legal info doc/COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> slang 2.3.2 Collecting legal info COPYING: OK (sha256: ff05a90962e7773f8bdc47b2a9585130526039102759b524c1dffbd57cfe469b) >>> reaver 1.6.6 Collecting legal info docs/LICENSE: OK (sha256: bb40cfd5e9ca6e8465ea3c236f3f2293e8300af1bfe87e72fabe482ae6cc995a) >>> szip 2.1.1 Collecting legal info COPYING: OK (sha256: 98cc66747133b26563fefc4630ad4c8c7848c722c7b8a60ecd4afbc4c7d7eb01) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-bootlin-2020.08-1: cannot save license (TOOLCHAIN_EXTERNAL_BOOTLIN_LICENSE_FILES not defined) WARNING: openlayers-6.5.0: cannot save license (OPENLAYERS_LICENSE_FILES not defined) Legal info produced in /tmp/instance-1/output-1/legal-info make: Leaving directory '/tmp/instance-1/buildroot'