lsx_Calloc(c->dftBuf, p->dftLen_ws); ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) ^~~~~~~~~~ vad.c:126:5: note: in expansion of macro 'lsx_Calloc' lsx_Calloc(c->spectrum, p->dftLen_ws); ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) ^~~~~~~~~~ vad.c:127:5: note: in expansion of macro 'lsx_Calloc' lsx_Calloc(c->noiseSpectrum, p->dftLen_ws); ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) ^~~~~~~~~~ vad.c:128:5: note: in expansion of macro 'lsx_Calloc' lsx_Calloc(c->measures, p->measuresLen); ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) ^~~~~~~~~~ vad.c:131:3: note: in expansion of macro 'lsx_Calloc' lsx_Calloc(p->spectrumWindow, p->measureLen_ws); ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) ~~~~^~~~~ xmalloc.h:28:30: note: in expansion of macro 'lsx_calloc' #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v))) ^~~~~~~~~~ vad.c:141:3: note: in expansion of macro 'lsx_Calloc' lsx_Calloc(p->cepstrumWindow, p->spectrumEnd - p->spectrumStart); ^~~~~~~~~~ CC libsox_la-s1-fmt.lo CC libsox_la-s2-fmt.lo CC libsox_la-s3-fmt.lo CC libsox_la-s4-fmt.lo CC libsox_la-u1-fmt.lo CC libsox_la-u2-fmt.lo spectrogram.c: In function 'rdft_p': spectrogram.c:202:51: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define _ re += in[i] * *q++, im += in[i++] * *q++, ^ spectrogram.c:208:46: note: in expansion of macro '_' for (i = 0; i < (n & ~7);) _ _ _ _ _ _ _ _ 0; ^ spectrogram.c:202:51: warning: right-hand operand of comma expression has no effect [-Wunused-value] #define _ re += in[i] * *q++, im += in[i++] * *q++, ^ spectrogram.c:209:19: note: in expansion of macro '_' while (i < n) _ 0; ^ In file included from util.h:32, from sox_i.h:27, from spectrogram.c:22: spectrogram.c: In function 'drain': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) ~~~~^~~~~ spectrogram.c:367:27: note: in expansion of macro 'lsx_calloc' sox_sample_t * ibuf = lsx_calloc(p->dft_size, sizeof(*ibuf)); ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) ~~~~^~~~~ spectrogram.c:368:27: note: in expansion of macro 'lsx_calloc' sox_sample_t * obuf = lsx_calloc(p->dft_size, sizeof(*obuf)); ^~~~~~~~~~ CC libsox_la-u3-fmt.lo CC libsox_la-u4-fmt.lo CC libsox_la-al-fmt.lo CC libsox_la-la-fmt.lo CC libsox_la-ul-fmt.lo CC libsox_la-lu-fmt.lo CC libsox_la-8svx.lo CC libsox_la-aiff-fmt.lo CC libsox_la-aifc-fmt.lo CC libsox_la-au.lo CC libsox_la-avr.lo CC libsox_la-cdr.lo CC libsox_la-cvsd-fmt.lo CC libsox_la-dvms-fmt.lo CC libsox_la-dat.lo CC libsox_la-hcom.lo In file included from util.h:32, from sox_i.h:27, from au.c:19: au.c: In function 'startread': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) ~~~~^~~~~ au.c:181:18: note: in expansion of macro 'lsx_calloc' char * buf = lsx_calloc(1, info_size + 1); /* +1 ensures null-terminated */ ^~~~~~~~~~ CC libsox_la-htk.lo CC libsox_la-maud.lo CC libsox_la-prc.lo CC libsox_la-sf.lo CC libsox_la-smp.lo CC libsox_la-sounder.lo CC libsox_la-soundtool.lo CC libsox_la-sphere.lo CC libsox_la-tx16w.lo CC libsox_la-voc.lo In file included from util.h:32, from sox_i.h:27, from sf.c:20: sf.c: In function 'startread': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) ~~~~^~~~~ sf.c:101:20: note: in expansion of macro 'lsx_calloc' char * buf = lsx_calloc(1, (size_t)size + 1); /* +1 ensures null-terminated */ ^~~~~~~~~~ CC libsox_la-vox-fmt.lo CC libsox_la-ima-fmt.lo CC libsox_la-adpcm.lo CC libsox_la-ima_rw.lo voc.c: In function 'getblock': voc.c:651:9: warning: this statement may fall through [-Wimplicit-fallthrough=] lsx_readb(ft, &uc); ^~~~~~~~~~~~~~~~~~ voc.c:653:7: note: here case VOC_TEXT: ^~~~ tx16w.c: In function 'stopwrite': tx16w.c:305:5: warning: 'strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] strncpy(WH.filetype,"LM8953",(size_t)6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libsox_la-wav.lo CC libsox_la-wve.lo CC libsox_la-xa.lo CC libsox_la-nulfile.lo CC libsox_la-f4-fmt.lo CC libsox_la-f8-fmt.lo CC libsox_la-gsrt.lo wav.c: In function 'sndfile_workaround': wav.c:387:80: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] lsx_fail_errno(ft, SOX_EHDR, "WAV chunk appears to have invalid size %ld.", *len); ~~^ ~~~~ %lld wav.c:394:79: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] lsx_fail_errno(ft,SOX_EHDR, "WAV chunk appears to have invalid size %ld.", *len); ~~^ ~~~~ %lld wav.c:407:67: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'off_t' {aka 'long long int'} [-Wformat=] lsx_debug("File had libsndfile bug, working around tell=%ld", lsx_tell(ft)); ~~^ ~~~~~~~~~~~~ %lld wav.c: In function 'findChunk': wav.c:475:69: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] "WAV chunk appears to have invalid size %ld.", *len); ~~^ ~~~~ %lld CC libsox_la-gsm.lo wav.c: In function 'startread': wav.c:926:35: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] lsx_debug_more("datalen %ld, numSamples %lu",qwDataLength, (unsigned long)wav->numSamples); ~~^ ~~~~~~~~~~~~ %lld wav.c:937:35: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] lsx_debug_more("datalen %ld, numSamples %lu",qwDataLength, (unsigned long)wav->numSamples); ~~^ ~~~~~~~~~~~~ %lld wav.c:963:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] lsx_debug(" %d byte/sec, %d block align, %d bits/samp, %lu data bytes", ~~^ %llu dwAvgBytesPerSec, wav->blockAlign, wBitsPerSample, qwDataLength); ~~~~~~~~~~~~ wav.c:1088:103: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] lsx_debug("Attempting to seek beyond unsupported chunk `%c%c%c%c' of length %ld bytes", magic[0], magic[1], magic[2], magic[3], len); ~~^ ~~~ %lld CC libsox_la-lpc10.lo wav.c: In function 'startwrite': wav.c:1264:13: warning: this statement may fall through [-Wimplicit-fallthrough=] lsx_ima_init_table(); ^~~~~~~~~~~~~~~~~~~~ wav.c:1266:9: note: here case WAVE_FORMAT_ADPCM: ^~~~ CC libsox_la-mp3.lo CC libsox_la-oss.lo In file included from util.h:32, from sox_i.h:27, from xa.c:23: xa.c: In function 'startread': xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) ~~~~^~~~~ xa.c:175:15: note: in expansion of macro 'lsx_calloc' xa->buf = lsx_calloc(1, (size_t)xa->blockSize); ^~~~~~~~~~ xmalloc.h:27:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define lsx_calloc(n,s) (((n)*(s))? memset(lsx_malloc((n)*(s)),0,(n)*(s)) : NULL) ~~~~^~~~~ xa.c:178:17: note: in expansion of macro 'lsx_calloc' xa->state = lsx_calloc(sizeof(xa_state_t), ft->signal.channels); ^~~~~~~~~~ CC sox_sample_test.o In file included from sox_sample_test.h:21, from sox_sample_test.c:18: sox_sample_test.h: In function 'main': sox_sample_test.h:39:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1)); \ ^~ sox_sample_test.h:39:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1)); \ ^~ CC example0.o CC example1.o sox_sample_test.h:39:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1)); \ ^~ sox_sample_test.h:96:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1)); \ ^~ sox_sample_test.h:96:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1)); \ ^~ CC example2.o sox_sample_test.h:96:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1)); \ ^~ CC example3.o CC example4.o In file included from mp3.c:283: mp3-util.h: In function 'add_tag': mp3-util.h:128:34: warning: passing argument 2 of 'lsx_seeki' with different width due to prototype [-Wtraditional-conversion] if (0 != lsx_seeki(info->ft, size, SEEK_CUR) || ^~~~ mp3-util.h: In function 'read_comments': mp3-util.h:199:26: warning: passing argument 2 of 'lsx_seeki' with different width due to prototype [-Wtraditional-conversion] if (0 == lsx_seeki(ft, -128, SEEK_END)) { ^~~~ mp3-util.h:204:26: warning: passing argument 2 of 'lsx_seeki' with different width due to prototype [-Wtraditional-conversion] if (0 == lsx_seeki(ft, 0, SEEK_SET)) { ^ mp3-util.h:207:43: warning: passing argument 2 of 'lsx_seeki' with different width due to prototype [-Wtraditional-conversion] if (0 == lsx_seeki(ft, has_id3v1 ? -138 : -10, SEEK_END)) { ~~~~~~~~~~~~~~~~~^~~~~ At top level: mp3.c:189:26: warning: 'twolame_library_names' defined but not used [-Wunused-const-variable=] static const char* const twolame_library_names[] = ^~~~~~~~~~~~~~~~~~~~~ mp3.c:123:26: warning: 'lame_library_names' defined but not used [-Wunused-const-variable=] static const char* const lame_library_names[] = ^~~~~~~~~~~~~~~~~~ CC example5.o CC example6.o CCLD sox_sample_test In file included from sox_i.h:17, from oss.c:27: oss.c: In function 'ossread': oss.c:321:51: warning: passing argument 1 of '__bswap_32' as unsigned due to prototype [-Wtraditional-conversion] lsx_swapdw(((sox_int32_t*)pOutput)[i - 1]), ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ oss.c:321:17: note: in expansion of macro 'lsx_swapdw' lsx_swapdw(((sox_int32_t*)pOutput)[i - 1]), ^~~~~~~~~~ oss.c: In function 'osswrite': oss.c:396:25: warning: passing argument 1 of '__bswap_32' as unsigned due to prototype [-Wtraditional-conversion] lsx_swapdw(SOX_SAMPLE_TO_SIGNED_32BIT(pInput[i], cClips)); ^~~~~~~~~~ CCLD libsox.la CCLD sox CCLD example0 CCLD example1 CCLD example2 CCLD example3 CCLD example4 CCLD example5 CCLD example6 if test "yes" = "yes"; then \ test -f sox && ( rm -f play && ln -s sox play ) || ln -s sox play; \ fi if test "yes" = "yes"; then \ test -f sox && ( rm -f rec && ln -s sox rec ) || ln -s sox rec; \ fi if test "yes" = "yes"; then \ test -f sox && ( rm -f soxi && ln -s sox soxi ) || ln -s sox soxi; \ fi /usr/bin/make all-am make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/src' make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/src' make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/src' make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2' make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2' >>> sox 14.4.2 Installing to target PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j12 DESTDIR=/data/buildroot/buildroot-test/instance-0/output/target install -C /data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/ make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2' Making install in lpc10 make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/lpc10' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/lpc10' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/lpc10' make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/lpc10' Making install in libgsm make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/libgsm' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/libgsm' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/libgsm' make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/libgsm' Making install in src make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/src' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/src' /usr/bin/mkdir -p '/data/buildroot/buildroot-test/instance-0/output/target/usr/lib' /usr/bin/mkdir -p '/data/buildroot/buildroot-test/instance-0/output/target/usr/include' /bin/sh ../libtool --silent --silent --mode=install /usr/bin/install -c libsox.la '/data/buildroot/buildroot-test/instance-0/output/target/usr/lib' /usr/bin/install -c -m 644 sox.h '/data/buildroot/buildroot-test/instance-0/output/target/usr/include' libtool: install: warning: remember to run `libtool --finish /usr/lib' /usr/bin/mkdir -p '/data/buildroot/buildroot-test/instance-0/output/target/usr/bin' /bin/sh ../libtool --silent --silent --mode=install /usr/bin/install -c sox '/data/buildroot/buildroot-test/instance-0/output/target/usr/bin' /usr/bin/make install-exec-hook make[4]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/src' if test "yes" = "yes"; then \ cd /data/buildroot/buildroot-test/instance-0/output/target/usr/bin; rm -f play rec; ln -s sox play; ln -s sox rec; \ fi if test "yes" = "yes"; then \ cd /data/buildroot/buildroot-test/instance-0/output/target/usr/bin; rm -f soxi; ln -s sox soxi; \ fi make[4]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/src' make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/src' make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2/src' make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/data/buildroot/buildroot-test/instance-0/output/target/usr/share/man/man1' /usr/bin/mkdir -p '/data/buildroot/buildroot-test/instance-0/output/target/usr/lib/pkgconfig' /usr/bin/mkdir -p '/data/buildroot/buildroot-test/instance-0/output/target/usr/share/man/man3' /usr/bin/mkdir -p '/data/buildroot/buildroot-test/instance-0/output/target/usr/share/man/man7' /usr/bin/install -c -m 644 sox.pc '/data/buildroot/buildroot-test/instance-0/output/target/usr/lib/pkgconfig' /usr/bin/install -c -m 644 sox.1 soxi.1 '/data/buildroot/buildroot-test/instance-0/output/target/usr/share/man/man1' /usr/bin/install -c -m 644 libsox.3 '/data/buildroot/buildroot-test/instance-0/output/target/usr/share/man/man3' /usr/bin/install -c -m 644 soxformat.7 '/data/buildroot/buildroot-test/instance-0/output/target/usr/share/man/man7' /usr/bin/make install-data-hook make[4]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2' cd /data/buildroot/buildroot-test/instance-0/output/target/usr/share/man/man1 && rm -f play.1 && ln -s sox.1 play.1 cd /data/buildroot/buildroot-test/instance-0/output/target/usr/share/man/man1 && rm -f rec.1 && ln -s sox.1 rec.1 cd /data/buildroot/buildroot-test/instance-0/output/target/usr/share/man/man7 && rm -f soxeffect.7 && ln -s ../man1/sox.1 soxeffect.7 make[4]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2' make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2' make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2' make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/sox-14.4.2' >>> Finalizing host directory >>> Finalizing target directory # Check files that are touched by more than one package /usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /data/buildroot/buildroot-test/instance-0/output/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /data/buildroot/buildroot-test/instance-0/output/target/etc/inittab if grep -q CONFIG_ASH=y ./.config; then grep -qsE '^/bin/ash$' /data/buildroot/buildroot-test/instance-0/output/target/etc/shells || echo "/bin/ash" >> /data/buildroot/buildroot-test/instance-0/output/target/etc/shells; fi grep: ./.config: No such file or directory if grep -q CONFIG_HUSH=y ./.config; then grep -qsE '^/bin/hush$' /data/buildroot/buildroot-test/instance-0/output/target/etc/shells || echo "/bin/hush" >> /data/buildroot/buildroot-test/instance-0/output/target/etc/shells; fi grep: ./.config: No such file or directory mkdir -p /data/buildroot/buildroot-test/instance-0/output/target/etc echo "buildroot" > /data/buildroot/buildroot-test/instance-0/output/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /data/buildroot/buildroot-test/instance-0/output/target/etc/hosts mkdir -p /data/buildroot/buildroot-test/instance-0/output/target/etc echo "Welcome to Buildroot" > /data/buildroot/buildroot-test/instance-0/output/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /data/buildroot/buildroot-test/instance-0/output/target/etc/shadow rm -f /data/buildroot/buildroot-test/instance-0/output/target/bin/sh if [ -x /data/buildroot/buildroot-test/instance-0/output/target/sbin/swapon -a -x /data/buildroot/buildroot-test/instance-0/output/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /data/buildroot/buildroot-test/instance-0/output/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /data/buildroot/buildroot-test/instance-0/output/target/etc/inittab; fi rm -f /data/buildroot/buildroot-test/instance-0/output/build/locales.nopurge for i in C en_US locale-archive; do echo $i >> /data/buildroot/buildroot-test/instance-0/output/build/locales.nopurge; done for dir in ; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /data/buildroot/buildroot-test/instance-0/output/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /data/buildroot/buildroot-test/instance-0/output/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /data/buildroot/buildroot-test/instance-0/output/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /data/buildroot/buildroot-test/instance-0/output/target/usr/share/X11/locale/locale.dir; fi rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/include /data/buildroot/buildroot-test/instance-0/output/target/usr/share/aclocal \ /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/pkgconfig /data/buildroot/buildroot-test/instance-0/output/target/usr/share/pkgconfig \ /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/cmake /data/buildroot/buildroot-test/instance-0/output/target/usr/share/cmake find /data/buildroot/buildroot-test/instance-0/output/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /data/buildroot/buildroot-test/instance-0/output/target/lib/ /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/ /data/buildroot/buildroot-test/instance-0/output/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f find: '/data/buildroot/buildroot-test/instance-0/output/target/usr/libexec/': No such file or directory rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/gdb rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/bash-completion rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/zsh rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/man /data/buildroot/buildroot-test/instance-0/output/target/usr/share/man rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/info /data/buildroot/buildroot-test/instance-0/output/target/usr/share/info rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/doc /data/buildroot/buildroot-test/instance-0/output/target/usr/share/doc rm -rf /data/buildroot/buildroot-test/instance-0/output/target/usr/share/gtk-doc rmdir /data/buildroot/buildroot-test/instance-0/output/target/usr/share 2>/dev/null || true find /data/buildroot/buildroot-test/instance-0/output/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /data/buildroot/buildroot-test/instance-0/output/host/bin/arm-buildroot-linux-uclibcgnueabi-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /data/buildroot/buildroot-test/instance-0/output/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /data/buildroot/buildroot-test/instance-0/output/host/bin/arm-buildroot-linux-uclibcgnueabi-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /data/buildroot/buildroot-test/instance-0/output/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /data/buildroot/buildroot-test/instance-0/output/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /data/buildroot/buildroot-test/instance-0/output/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2020.02-git-01421-g5abe7e4ce3"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2020.02-git"; \ echo "PRETTY_NAME=\"Buildroot 2020.02-git\"" \ ) > /data/buildroot/buildroot-test/instance-0/output/target/usr/lib/os-release ln -sf ../usr/lib/os-release /data/buildroot/buildroot-test/instance-0/output/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/data/buildroot/buildroot-test/instance-0/output/per-package /data/buildroot/buildroot-test/instance-0/buildroot/support/scripts/fix-rpath target touch /data/buildroot/buildroot-test/instance-0/output/target/usr make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot' make: Entering directory '/data/buildroot/buildroot-test/instance-0/buildroot' >>> Buildroot 2020.02-git-01421-g5abe7e4ce3 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-buildroot Collecting legal info >>> host-gcc-final 8.3.0 Collecting legal info >>> host-binutils 2.32 Collecting legal info COPYING3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LIB: OK (sha256: 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d) >>> host-skeleton Collecting legal info >>> host-tar 1.29 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-gmp 6.1.2 Collecting legal info COPYING.LESSERv3: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) COPYINGv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-mpc 1.1.0 Collecting legal info COPYING.LESSER: OK (sha256: da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768) >>> host-mpfr 4.0.2 Collecting legal info COPYING.LESSER: OK (sha256: e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118) >>> uclibc 1.0.32 Collecting legal info COPYING.LIB: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> host-gcc-initial 8.3.0 Collecting legal info >>> linux-headers 5.4.20 Collecting legal info COPYING: OK (sha256: ee5808b032a67f587d3541099d46de34f5bec8cd5976114ba07f1299ee6001ff) LICENSES/preferred/GPL-2.0: OK (sha256: f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79) LICENSES/exceptions/Linux-syscall-note: OK (sha256: 8e378ab93586eb55135d3bc119cce787f7324f48394777d00c34fa3d0be3303f) >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain Collecting legal info >>> arptables 0.0.5 Collecting legal info COPYING: OK (sha256: ebdb8ae564c952792017ec680e2edd30443642216eb9f8a3d8fa166c0cb628c1) >>> busybox 1.31.1 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) >>> cifs-utils 6.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> 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-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> host-pkgconf 1.6.1 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> host-faketime 0.9.8 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> initscripts Collecting legal info >>> libgpg-error 1.37 Collecting legal info COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c) COPYING.LIB: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) >>> libid3tag 0.15.1b Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) COPYRIGHT: OK (sha256: 7f12ad28dc075763e91b91bfa60fad04062380011ddad8f6bac21dd7b1f44367) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> libmad 0.15.1b Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) >>> libminiupnpc 2.1 Collecting legal info LICENSE: OK (sha256: e2df21b3d4b1a84a0ac31d808a3ff330fdf3602e0839a526d3df2fcfba287ac4) >>> host-cmake 3.15.5 Collecting legal info Copyright.txt: OK (sha256: dc628fb936a5d229296d42083f9a8218aa32204c016919e784404c9ec58776e9) >>> libpng 1.6.37 Collecting legal info LICENSE: OK (sha256: bf5e22b9dce8464064ae17a48ea1133c3369ac9e1d80ef9e320e5219aa14ea9b) >>> libtommath 1.1.0 Collecting legal info LICENSE: OK (sha256: 2fa64b163659f41965c9815882a8296d3d03ff546b76153e11445f9bdecf955a) >>> madplay 0.15.2b Collecting legal info COPYING: OK (sha256: 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670) COPYRIGHT: OK (sha256: 915bfd70548f31d11f9b4ffb21f343d1196af96c79d6aaac5663ea46c39dd3a3) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> sox 14.4.2 Collecting legal info LICENSE.GPL: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) LICENSE.LGPL: OK (sha256: 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a) WARNING: the Buildroot source code has not been saved WARNING: gcc-final-8.3.0: cannot save license (HOST_GCC_FINAL_LICENSE_FILES not defined) WARNING: gcc-initial-8.3.0: cannot save license (HOST_GCC_INITIAL_LICENSE_FILES not defined) Legal info produced in /data/buildroot/buildroot-test/instance-0/output/legal-info make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'