dgsh
dgsh copied to clipboard
Porting for 1) Natively on termux (Follows aarch64) 2)Ubuntu arm64 /(any other linux distro) running inside proot container on termux
make config gives following error on arm64 architecture: make[1]: *** [Makefile:69: configure] Error 2 make: *** [Makefile:88: config] Error 2 Cannot find gnulib/gnulib-tool: No such file or directory. But gnulib is installed and gnulib-tool is in path
I currently lack access to arm64, but couldn't replicate it on armv7l. I suggest running strace -f -o strace.out make config
and examine the strace.out
file to see why the failure occurs.
I currently lack access to arm64, but couldn't replicate it on armv7l. I suggest running
strace -f -o strace.out make config
and examine thestrace.out
file to see why the failure occurs.
error: use of undeclared identifier 'tmp_fd' if (fallocate(tmp_fd, FALLOC_FL_PUNCH_HOLE, pool ... ^
help solving above error in dgsh-tee.c file
I pushed a fix for the compilation error.
New error
dgsh-w.c:(.text+0x630): undefined reference to `cpow'
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
However complex.h is included and libraries are linked
Thank you for the persistence! Git pull and run again the configuration process.
in dgsh/core-tools/srcdgsh-elf.s
Junk at end of file unrecognised #
However above can be prevented by sed '7,10s/#.*//g;12s/#.*//g' dgsh-elf.s
I also pushed a fix for this.
Error while compiling for ubuntu arm64 on termux
make -C core-tools CFLAGS=""
make[1]: Entering directory '/root/dgsh/core-tools'
make all-recursive
make[2]: Entering directory '/root/dgsh/core-tools'
Making all in src
make[3]: Entering directory '/root/dgsh/core-tools/src'
depbase=`echo dgsh-monitor.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-monitor.o -MD -MP -MF $depbase.Tpo -c -o dgsh-monitor.o dgsh-monitor.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-monitor dgsh-monitor.o
libtool: link: gcc -o dgsh-monitor dgsh-monitor.o
depbase=`echo dgsh-httpval.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-httpval.o -MD -MP -MF $depbase.Tpo -c -o dgsh-httpval.o dgsh-httpval.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo kvstore.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT kvstore.o -MD -MP -MF $depbase.Tpo -c -o kvstore.o kvstore.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-httpval dgsh-httpval.o kvstore.o
libtool: link: gcc -o dgsh-httpval dgsh-httpval.o kvstore.o
depbase=`echo dgsh-readval.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-readval.o -MD -MP -MF $depbase.Tpo -c -o dgsh-readval.o dgsh-readval.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo negotiate.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT negotiate.o -MD -MP -MF $depbase.Tpo -c -o negotiate.o negotiate.c &&\
mv -f $depbase.Tpo $depbase.Po
gcc -g -O2 -c -o dgsh-elf.o dgsh-elf.s
rm -f libdgsh.a
ar cru libdgsh.a negotiate.o dgsh-elf.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libdgsh.a
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-readval dgsh-readval.o kvstore.o libdgsh.a
libtool: link: gcc -o dgsh-readval dgsh-readval.o kvstore.o libdgsh.a
depbase=`echo dgsh-tee.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-tee.o -MD -MP -MF $depbase.Tpo -c -o dgsh-tee.o dgsh-tee.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-tee dgsh-tee.o libdgsh.a
libtool: link: gcc -o dgsh-tee dgsh-tee.o libdgsh.a
/bin/ld: dgsh-tee.o: in function `page_out':
dgsh-tee.c:(.text+0x2a0): warning: the use of `tempnam' is dangerous, better use `mkstemp'
depbase=`echo dgsh-writeval.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-writeval.o -MD -MP -MF $depbase.Tpo -c -o dgsh-writeval.o dgsh-writeval.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-writeval dgsh-writeval.o libdgsh.a
libtool: link: gcc -o dgsh-writeval dgsh-writeval.o libdgsh.a
depbase=`echo dgsh-conc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-conc.o -MD -MP -MF $depbase.Tpo -c -o dgsh-conc.o dgsh-conc.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-conc dgsh-conc.o libdgsh.a
libtool: link: gcc -o dgsh-conc dgsh-conc.o libdgsh.a
depbase=`echo dgsh-wrap.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-wrap.o -MD -MP -MF $depbase.Tpo -c -o dgsh-wrap.o dgsh-wrap.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-wrap dgsh-wrap.o libdgsh.a
libtool: link: gcc -o dgsh-wrap dgsh-wrap.o libdgsh.a
depbase=`echo dgsh-enumerate.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-enumerate.o -MD -MP -MF $depbase.Tpo -c -o dgsh-enumerate.o dgsh-enumerate.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-enumerate dgsh-enumerate.o libdgsh.a
libtool: link: gcc -o dgsh-enumerate dgsh-enumerate.o libdgsh.a
depbase=`echo dgsh-pecho.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-pecho.o -MD -MP -MF $depbase.Tpo -c -o dgsh-pecho.o dgsh-pecho.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-pecho dgsh-pecho.o libdgsh.a
libtool: link: gcc -o dgsh-pecho dgsh-pecho.o libdgsh.a
depbase=`echo dgsh-fft-input.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-fft-input.o -MD -MP -MF $depbase.Tpo -c -o dgsh-fft-input.o dgsh-fft-input.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-fft-input dgsh-fft-input.o libdgsh.a
libtool: link: gcc -o dgsh-fft-input dgsh-fft-input.o libdgsh.a
depbase=`echo dgsh-w.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-w.o -MD -MP -MF $depbase.Tpo -c -o dgsh-w.o dgsh-w.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from dgsh-w.c:11:
dgsh-w.c: In function ‘read_number’:
dgsh-debug.h:26:93: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 4 has type ‘int’ [-Wformat=]
26 | #define DPRINTF(debug_level, fmt, ...) ((debug_level) <= dgsh_debug_level ? fprintf(stderr, "%d: " fmt "\n", (int)getpid(), ##__VA_ARGS__) : 0)
| ^~~~~~
dgsh-w.c:25:2: note: in expansion of macro ‘DPRINTF’
25 | DPRINTF(4, "Read %zu characters, long double size: %zu, long double complex size: %zu",
| ^~~~~~~
dgsh-w.c:25:21: note: format string is defined here
25 | DPRINTF(4, "Read %zu characters, long double size: %zu, long double complex size: %zu",
| ~~^
| |
| long unsigned int
| %u
In file included from dgsh-w.c:11:
dgsh-debug.h:26:93: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Wformat=]
26 | #define DPRINTF(debug_level, fmt, ...) ((debug_level) <= dgsh_debug_level ? fprintf(stderr, "%d: " fmt "\n", (int)getpid(), ##__VA_ARGS__) : 0)
| ^~~~~~
dgsh-w.c:33:3: note: in expansion of macro ‘DPRINTF’
33 | DPRINTF(4, "##xc: %.10f + %.10fi (read %zu characters)\n",
| ^~~~~~~
dgsh-w.c:33:44: note: format string is defined here
33 | DPRINTF(4, "##xc: %.10f + %.10fi (read %zu characters)\n",
| ~~^
| |
| long unsigned int
| %u
In file included from dgsh-w.c:11:
dgsh-w.c: In function ‘write_number’:
dgsh-debug.h:26:93: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
26 | #define DPRINTF(debug_level, fmt, ...) ((debug_level) <= dgsh_debug_level ? fprintf(stderr, "%d: " fmt "\n", (int)getpid(), ##__VA_ARGS__) : 0)
| ^~~~~~
dgsh-w.c:47:2: note: in expansion of macro ‘DPRINTF’
47 | DPRINTF(4, "##buf(y): %s, len: %d", buf, strlen(buf));
| ^~~~~~~
dgsh-w.c:47:34: note: format string is defined here
47 | DPRINTF(4, "##buf(y): %s, len: %d", buf, strlen(buf));
| ~^
| |
| int
| %ld
In file included from dgsh-w.c:11:
dgsh-debug.h:26:93: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Wformat=]
26 | #define DPRINTF(debug_level, fmt, ...) ((debug_level) <= dgsh_debug_level ? fprintf(stderr, "%d: " fmt "\n", (int)getpid(), ##__VA_ARGS__) : 0)
| ^~~~~~
dgsh-w.c:51:2: note: in expansion of macro ‘DPRINTF’
51 | DPRINTF(4, "##y: %.10f + %.10fi (wrote %zu characters)\n",
| ^~~~~~~
dgsh-w.c:51:43: note: format string is defined here
51 | DPRINTF(4, "##y: %.10f + %.10fi (wrote %zu characters)\n",
| ~~^
| |
| long unsigned int
| %u
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-w dgsh-w.o libdgsh.a -lm
libtool: link: gcc -o dgsh-w dgsh-w.o libdgsh.a -lm
install dgsh-parallel.sh dgsh-parallel
install perm.sh perm
make[3]: Leaving directory '/root/dgsh/core-tools/src'
Making all in .
make[3]: Entering directory '/root/dgsh/core-tools'
make[3]: Leaving directory '/root/dgsh/core-tools'
Making all in tests
make[3]: Entering directory '/root/dgsh/core-tools/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/dgsh/core-tools/tests'
make[2]: Leaving directory '/root/dgsh/core-tools'
make[1]: Leaving directory '/root/dgsh/core-tools'
cd core-tools/src && make build-install
make[1]: Entering directory '/root/dgsh/core-tools/src'
mkdir -p ../../build/bin ../../build/libexec/dgsh
cp dgsh-monitor dgsh-httpval dgsh-readval dgsh-merge-sum ../../build/bin/
cp dgsh-tee dgsh-writeval dgsh-readval dgsh-monitor dgsh-conc dgsh-wrap dgsh-enumerate dgsh-pecho dgsh-fft-input dgsh-w dgsh-parallel perm ../../build/libexec/dgsh/
make[1]: Leaving directory '/root/dgsh/core-tools/src'
make -C unix-tools make MAKEFLAGS=
make[1]: Entering directory '/root/dgsh/unix-tools'
make -C bash CFLAGS=""
make[2]: Entering directory '/root/dgsh/unix-tools/bash'
rm -f mksyntax
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -rdynamic -rdynamic -o mksyntax ./mksyntax.c
In file included from ./mksyntax.c:23:
./config.h:314:17: error: two or more data types in declaration specifiers
314 | #define ssize_t int
| ^~~
./config.h:302:15: error: two or more data types in declaration specifiers
302 | #define u_int unsigned int
| ^~~~~~~~
./config.h:302:24: error: two or more data types in declaration specifiers
302 | #define u_int unsigned int
| ^~~
./config.h:305:16: error: two or more data types in declaration specifiers
305 | #define u_long unsigned long
| ^~~~~~~~
./config.h:305:25: error: two or more data types in declaration specifiers
305 | #define u_long unsigned long
| ^~~~
./config.h:332:15: error: two or more data types in declaration specifiers
332 | #define gid_t int
| ^~~
./config.h:278:16: error: two or more data types in declaration specifiers
278 | #define mode_t int
| ^~~
./config.h:323:15: error: two or more data types in declaration specifiers
323 | #define uid_t int
| ^~~
./config.h:284:15: error: two or more data types in declaration specifiers
284 | #define pid_t int
| ^~~
./config.h:329:16: error: two or more data types in declaration specifiers
329 | #define time_t long
| ^~~~
make[2]: *** [Makefile:678: mksyntax] Error 1
make[2]: Leaving directory '/root/dgsh/unix-tools/bash'
make[1]: *** [Makefile:89: make] Error 2
make[1]: Leaving directory '/root/dgsh/unix-tools'
make: *** [Makefile:81: unix-tools] Error 2
Solved above error by adding
#include <stdlib.h>
#include <signal.h>
in config.h
After that below error occured
make -C core-tools CFLAGS=""
make[1]: Entering directory '/root/dgsh/core-tools'
make all-recursive
make[2]: Entering directory '/root/dgsh/core-tools'
Making all in src
make[3]: Entering directory '/root/dgsh/core-tools/src'
depbase=`echo dgsh-monitor.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-monitor.o -MD -MP -MF $depbase.Tpo -c -o dgsh-monitor.o dgsh-monitor.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-monitor dgsh-monitor.o
libtool: link: gcc -o dgsh-monitor dgsh-monitor.o
depbase=`echo dgsh-httpval.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-httpval.o -MD -MP -MF $depbase.Tpo -c -o dgsh-httpval.o dgsh-httpval.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo kvstore.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT kvstore.o -MD -MP -MF $depbase.Tpo -c -o kvstore.o kvstore.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-httpval dgsh-httpval.o kvstore.o
libtool: link: gcc -o dgsh-httpval dgsh-httpval.o kvstore.o
depbase=`echo dgsh-readval.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-readval.o -MD -MP -MF $depbase.Tpo -c -o dgsh-readval.o dgsh-readval.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo negotiate.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT negotiate.o -MD -MP -MF $depbase.Tpo -c -o negotiate.o negotiate.c &&\
mv -f $depbase.Tpo $depbase.Po
gcc -g -O2 -c -o dgsh-elf.o dgsh-elf.s
rm -f libdgsh.a
ar cru libdgsh.a negotiate.o dgsh-elf.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libdgsh.a
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-readval dgsh-readval.o kvstore.o libdgsh.a
libtool: link: gcc -o dgsh-readval dgsh-readval.o kvstore.o libdgsh.a
depbase=`echo dgsh-tee.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-tee.o -MD -MP -MF $depbase.Tpo -c -o dgsh-tee.o dgsh-tee.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-tee dgsh-tee.o libdgsh.a
libtool: link: gcc -o dgsh-tee dgsh-tee.o libdgsh.a
/bin/ld: dgsh-tee.o: in function `page_out':
dgsh-tee.c:(.text+0x2a0): warning: the use of `tempnam' is dangerous, better use `mkstemp'
depbase=`echo dgsh-writeval.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-writeval.o -MD -MP -MF $depbase.Tpo -c -o dgsh-writeval.o dgsh-writeval.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-writeval dgsh-writeval.o libdgsh.a
libtool: link: gcc -o dgsh-writeval dgsh-writeval.o libdgsh.a
depbase=`echo dgsh-conc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-conc.o -MD -MP -MF $depbase.Tpo -c -o dgsh-conc.o dgsh-conc.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-conc dgsh-conc.o libdgsh.a
libtool: link: gcc -o dgsh-conc dgsh-conc.o libdgsh.a
depbase=`echo dgsh-wrap.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-wrap.o -MD -MP -MF $depbase.Tpo -c -o dgsh-wrap.o dgsh-wrap.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-wrap dgsh-wrap.o libdgsh.a
libtool: link: gcc -o dgsh-wrap dgsh-wrap.o libdgsh.a
depbase=`echo dgsh-enumerate.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-enumerate.o -MD -MP -MF $depbase.Tpo -c -o dgsh-enumerate.o dgsh-enumerate.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-enumerate dgsh-enumerate.o libdgsh.a
libtool: link: gcc -o dgsh-enumerate dgsh-enumerate.o libdgsh.a
depbase=`echo dgsh-pecho.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-pecho.o -MD -MP -MF $depbase.Tpo -c -o dgsh-pecho.o dgsh-pecho.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-pecho dgsh-pecho.o libdgsh.a
libtool: link: gcc -o dgsh-pecho dgsh-pecho.o libdgsh.a
depbase=`echo dgsh-fft-input.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-fft-input.o -MD -MP -MF $depbase.Tpo -c -o dgsh-fft-input.o dgsh-fft-input.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-fft-input dgsh-fft-input.o libdgsh.a
libtool: link: gcc -o dgsh-fft-input dgsh-fft-input.o libdgsh.a
depbase=`echo dgsh-w.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-w.o -MD -MP -MF $depbase.Tpo -c -o dgsh-w.o dgsh-w.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from dgsh-w.c:11:
dgsh-w.c: In function ‘read_number’:
dgsh-debug.h:26:93: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 4 has type ‘int’ [-Wformat=]
26 | #define DPRINTF(debug_level, fmt, ...) ((debug_level) <= dgsh_debug_level ? fprintf(stderr, "%d: " fmt "\n", (int)getpid(), ##__VA_ARGS__) : 0)
| ^~~~~~
dgsh-w.c:25:2: note: in expansion of macro ‘DPRINTF’
25 | DPRINTF(4, "Read %zu characters, long double size: %zu, long double complex size: %zu",
| ^~~~~~~
dgsh-w.c:25:21: note: format string is defined here
25 | DPRINTF(4, "Read %zu characters, long double size: %zu, long double complex size: %zu",
| ~~^
| |
| long unsigned int
| %u
In file included from dgsh-w.c:11:
dgsh-debug.h:26:93: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Wformat=]
26 | #define DPRINTF(debug_level, fmt, ...) ((debug_level) <= dgsh_debug_level ? fprintf(stderr, "%d: " fmt "\n", (int)getpid(), ##__VA_ARGS__) : 0)
| ^~~~~~
dgsh-w.c:33:3: note: in expansion of macro ‘DPRINTF’
33 | DPRINTF(4, "##xc: %.10f + %.10fi (read %zu characters)\n",
| ^~~~~~~
dgsh-w.c:33:44: note: format string is defined here
33 | DPRINTF(4, "##xc: %.10f + %.10fi (read %zu characters)\n",
| ~~^
| |
| long unsigned int
| %u
In file included from dgsh-w.c:11:
dgsh-w.c: In function ‘write_number’:
dgsh-debug.h:26:93: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
26 | #define DPRINTF(debug_level, fmt, ...) ((debug_level) <= dgsh_debug_level ? fprintf(stderr, "%d: " fmt "\n", (int)getpid(), ##__VA_ARGS__) : 0)
| ^~~~~~
dgsh-w.c:47:2: note: in expansion of macro ‘DPRINTF’
47 | DPRINTF(4, "##buf(y): %s, len: %d", buf, strlen(buf));
| ^~~~~~~
dgsh-w.c:47:34: note: format string is defined here
47 | DPRINTF(4, "##buf(y): %s, len: %d", buf, strlen(buf));
| ~^
| |
| int
| %ld
In file included from dgsh-w.c:11:
dgsh-debug.h:26:93: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘int’ [-Wformat=]
26 | #define DPRINTF(debug_level, fmt, ...) ((debug_level) <= dgsh_debug_level ? fprintf(stderr, "%d: " fmt "\n", (int)getpid(), ##__VA_ARGS__) : 0)
| ^~~~~~
dgsh-w.c:51:2: note: in expansion of macro ‘DPRINTF’
51 | DPRINTF(4, "##y: %.10f + %.10fi (wrote %zu characters)\n",
| ^~~~~~~
dgsh-w.c:51:43: note: format string is defined here
51 | DPRINTF(4, "##y: %.10f + %.10fi (wrote %zu characters)\n",
| ~~^
| |
| long unsigned int
| %u
/bin/bash ../libtool --tag=CC --mode=link gcc -o dgsh-w dgsh-w.o libdgsh.a -lm
libtool: link: gcc -o dgsh-w dgsh-w.o libdgsh.a -lm
install dgsh-parallel.sh dgsh-parallel
install perm.sh perm
make[3]: Leaving directory '/root/dgsh/core-tools/src'
Making all in .
make[3]: Entering directory '/root/dgsh/core-tools'
make[3]: Leaving directory '/root/dgsh/core-tools'
Making all in tests
make[3]: Entering directory '/root/dgsh/core-tools/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/dgsh/core-tools/tests'
make[2]: Leaving directory '/root/dgsh/core-tools'
make[1]: Leaving directory '/root/dgsh/core-tools'
cd core-tools/src && make build-install
make[1]: Entering directory '/root/dgsh/core-tools/src'
mkdir -p ../../build/bin ../../build/libexec/dgsh
cp dgsh-monitor dgsh-httpval dgsh-readval dgsh-merge-sum ../../build/bin/
cp dgsh-tee dgsh-writeval dgsh-readval dgsh-monitor dgsh-conc dgsh-wrap dgsh-enumerate dgsh-pecho dgsh-fft-input dgsh-w dgsh-parallel perm ../../build/libexec/dgsh/
make[1]: Leaving directory '/root/dgsh/core-tools/src'
make -C unix-tools make MAKEFLAGS=
make[1]: Entering directory '/root/dgsh/unix-tools'
make -C bash CFLAGS=""
make[2]: Entering directory '/root/dgsh/unix-tools/bash'
rm -f mksyntax
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -rdynamic -rdynamic -o mksyntax ./mksyntax.c
rm -f syntax.c
./mksyntax -o syntax.c
/bin/sh ./support/mkversion.sh -b -S . -s release -d 4.3 -o newversion.h \
&& mv newversion.h version.h
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -DBUILDTOOL -c -o buildversion.o ./version.c
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -rdynamic -rdynamic -o bashversion ./support/bashversion.c buildversion.o
***********************************************************
* *
* GNU bash, version 4.3.46(1)-release (aarch64-unknown-linux-gnu)
* *
***********************************************************
rm -f shell.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -c shell.c
shell.c: In function ‘main’:
shell.c:806:7: warning: implicit declaration of function ‘get_tty_state’ [-Wimplicit-function-declaration]
806 | get_tty_state ();
| ^~~~~~~~~~~~~
shell.c: In function ‘shell_initialize’:
shell.c:1830:3: warning: implicit declaration of function ‘initialize_job_control’ [-Wimplicit-function-declaration]
1830 | initialize_job_control (jobs_m_flag);
| ^~~~~~~~~~~~~~~~~~~~~~
rm -f eval.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -c eval.c
In file included from quit.h:24,
from shell.h:33,
from eval.c:35:
eval.c: In function ‘alrm_catcher’:
sig.h:42:30: warning: ‘return’ with a value, in function returning void
42 | # define SIGRETURN(n) return(n)
| ^
eval.c:195:3: note: in expansion of macro ‘SIGRETURN’
195 | SIGRETURN (0);
| ^~~~~~~~~
eval.c:188:1: note: declared here
188 | alrm_catcher(i)
| ^~~~~~~~~~~~
make[3]: Entering directory '/root/dgsh/unix-tools/bash/builtins'
rm -f mkbuiltins.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. mkbuiltins.c
gcc -rdynamic -rdynamic -o mkbuiltins mkbuiltins.o -ldl
./mkbuiltins -externfile builtext.h -structfile builtins.c \
-noproduction -D . ./alias.def ./bind.def ./break.def ./builtin.def ./caller.def ./cd.def ./colon.def ./command.def ./declare.def ./echo.def ./enable.def ./eval.def ./getopts.def ./exec.def ./exit.def ./fc.def ./fg_bg.def ./hash.def ./help.def ./history.def ./jobs.def ./kill.def ./let.def ./read.def ./return.def ./set.def ./setattr.def ./shift.def ./source.def ./suspend.def ./test.def ./times.def ./trap.def ./type.def ./ulimit.def ./umask.def ./wait.def ./reserved.def ./pushd.def ./shopt.def ./printf.def ./complete.def ./mapfile.def
make[3]: Leaving directory '/root/dgsh/unix-tools/bash/builtins'
rm -f y.tab.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -c y.tab.c
In file included from ./include/shmbutil.h:30,
from ./parse.y:58:
./include/shmbchar.h: In function ‘mb_width_aux’:
./include/shmbchar.h:243:11: warning: implicit declaration of function ‘wcwidth’; did you mean ‘wcsnwidth’? [-Wimplicit-function-declaration]
243 | int w = wcwidth (wc);
| ^~~~~~~
| wcsnwidth
./parse.y: In function ‘shell_getc’:
./parse.y:2344:4: warning: implicit declaration of function ‘cleanup_dead_jobs’ [-Wimplicit-function-declaration]
2344 | cleanup_dead_jobs ();
| ^~~~~~~~~~~~~~~~~
./parse.y:2385:24: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
2385 | internal_warning("shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%llu): line truncated", shell_input_line_size, SIZE_MAX);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y: In function ‘decode_prompt_string’:
./parse.y:5608:21: warning: implicit declaration of function ‘count_all_jobs’ [-Wimplicit-function-declaration]
5608 | temp = itos (count_all_jobs ());
| ^~~~~~~~~~~~~~
rm -f general.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -c general.c
rm -f make_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -c make_cmd.c
In file included from ./include/shmbutil.h:30,
from make_cmd.c:55:
./include/shmbchar.h: In function ‘mb_width_aux’:
./include/shmbchar.h:243:11: warning: implicit declaration of function ‘wcwidth’; did you mean ‘wcsnwidth’? [-Wimplicit-function-declaration]
243 | int w = wcwidth (wc);
| ^~~~~~~
| wcsnwidth
rm -f print_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -c print_cmd.c
In file included from ./include/shmbutil.h:30,
from print_cmd.c:45:
./include/shmbchar.h: In function ‘mb_width_aux’:
./include/shmbchar.h:243:11: warning: implicit declaration of function ‘wcwidth’; did you mean ‘wcsnwidth’? [-Wimplicit-function-declaration]
243 | int w = wcwidth (wc);
| ^~~~~~~
| wcsnwidth
print_cmd.c: In function ‘make_command_string_internal’:
print_cmd.c:179:14: warning: zero-length gnu_printf format string [-Wformat-zero-length]
179 | cprintf ("");
| ^~
rm -f dgsh_util.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -c dgsh_util.c
rm -f dispose_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -c dispose_cmd.c
rm -f execute_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/usr/local/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I../../core-tools/src -c execute_cmd.c
In file included from quit.h:24,
from shell.h:33,
from execute_cmd.c:66:
execute_cmd.c: In function ‘coproc_dispose’:
sig.h:71:38: error: incompatible types when assigning to type ‘sigset_t’ {aka ‘struct <anonymous>’} from type ‘int’
71 | # define sigemptyset(set) (*(set) = 0)
| ^
sig.h:94:3: note: in expansion of macro ‘sigemptyset’
94 | sigemptyset (&nvar); \
| ^~~~~~~~~~~
execute_cmd.c:2206:3: note: in expansion of macro ‘BLOCK_SIGNAL’
2206 | BLOCK_SIGNAL (SIGCHLD, set, oset);
| ^~~~~~~~~~~~
sig.h:77:38: error: invalid operands to binary | (have ‘sigset_t’ {aka ‘struct <anonymous>’} and ‘int’)
77 | # define sigaddset(set, sig) *(set) |= sigmask (sig)
| ^~
sig.h:95:3: note: in expansion of macro ‘sigaddset’
95 | sigaddset (&nvar, sig); \
| ^~~~~~~~~
execute_cmd.c:2206:3: note: in expansion of macro ‘BLOCK_SIGNAL’
2206 | BLOCK_SIGNAL (SIGCHLD, set, oset);
| ^~~~~~~~~~~~
sig.h:71:38: error: incompatible types when assigning to type ‘sigset_t’ {aka ‘struct <anonymous>’} from type ‘int’
71 | # define sigemptyset(set) (*(set) = 0)
| ^
sig.h:96:3: note: in expansion of macro ‘sigemptyset’
96 | sigemptyset (&ovar); \
| ^~~~~~~~~~~
execute_cmd.c:2206:3: note: in expansion of macro ‘BLOCK_SIGNAL’
2206 | BLOCK_SIGNAL (SIGCHLD, set, oset);
| ^~~~~~~~~~~~
execute_cmd.c: In function ‘coproc_pidchk’:
execute_cmd.c:2350:1: warning: type of ‘status’ defaults to ‘int’ [-Wimplicit-int]
2350 | coproc_pidchk (pid, status)
| ^~~~~~~~~~~~~
In file included from quit.h:24,
from shell.h:33,
from execute_cmd.c:66:
execute_cmd.c: In function ‘execute_coproc’:
sig.h:71:38: error: incompatible types when assigning to type ‘sigset_t’ {aka ‘struct <anonymous>’} from type ‘int’
71 | # define sigemptyset(set) (*(set) = 0)
| ^
sig.h:94:3: note: in expansion of macro ‘sigemptyset’
94 | sigemptyset (&nvar); \
| ^~~~~~~~~~~
execute_cmd.c:2482:3: note: in expansion of macro ‘BLOCK_SIGNAL’
2482 | BLOCK_SIGNAL (SIGCHLD, set, oset);
| ^~~~~~~~~~~~
sig.h:77:38: error: invalid operands to binary | (have ‘sigset_t’ {aka ‘struct <anonymous>’} and ‘int’)
77 | # define sigaddset(set, sig) *(set) |= sigmask (sig)
| ^~
sig.h:95:3: note: in expansion of macro ‘sigaddset’
95 | sigaddset (&nvar, sig); \
| ^~~~~~~~~
execute_cmd.c:2482:3: note: in expansion of macro ‘BLOCK_SIGNAL’
2482 | BLOCK_SIGNAL (SIGCHLD, set, oset);
| ^~~~~~~~~~~~
sig.h:71:38: error: incompatible types when assigning to type ‘sigset_t’ {aka ‘struct <anonymous>’} from type ‘int’
71 | # define sigemptyset(set) (*(set) = 0)
| ^
sig.h:96:3: note: in expansion of macro ‘sigemptyset’
96 | sigemptyset (&ovar); \
| ^~~~~~~~~~~
execute_cmd.c:2482:3: note: in expansion of macro ‘BLOCK_SIGNAL’
2482 | BLOCK_SIGNAL (SIGCHLD, set, oset);
| ^~~~~~~~~~~~
execute_cmd.c: In function ‘displen’:
execute_cmd.c:3235:11: warning: implicit declaration of function ‘wcswidth’; did you mean ‘wcsnwidth’? [-Wimplicit-function-declaration]
3235 | wclen = wcswidth (wcstr, slen);
| ^~~~~~~~
| wcsnwidth
make[2]: *** [Makefile:99: execute_cmd.o] Error 1
make[2]: Leaving directory '/root/dgsh/unix-tools/bash'
make[1]: *** [Makefile:89: make] Error 2
make[1]: Leaving directory '/root/dgsh/unix-tools'
make: *** [Makefile:81: unix-tools] Error 2
We're now entering potential GNU bash issues. Can you please first verify that you can compile vanilla bash from source?
9
We're now entering potential GNU bash issues. Can you please first verify that you can compile vanilla bash from source?
Yes bash can be compiled and installed succesfully from source on both termux and ubuntu on termux
Please try adding the header files in execute_cmd.c
rather than in config.h
make -C core-tools CFLAGS=""
make[1]: Entering directory '/data/data/com.termux/files/home/dgsh/core-tools'
make all-recursive
make[2]: Entering directory '/data/data/com.termux/files/home/dgsh/core-tools'
Making all in src
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/core-tools/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/core-tools/src'
Making all in .
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/core-tools'
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/core-tools'
Making all in tests
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/core-tools/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/core-tools/tests'
make[2]: Leaving directory '/data/data/com.termux/files/home/dgsh/core-tools'
make[1]: Leaving directory '/data/data/com.termux/files/home/dgsh/core-tools'
cd core-tools/src && make build-install
make[1]: Entering directory '/data/data/com.termux/files/home/dgsh/core-tools/src'
mkdir -p ../../build/bin ../../build/libexec/dgsh
cp dgsh-monitor dgsh-httpval dgsh-readval dgsh-merge-sum ../../build/bin/
cp dgsh-tee dgsh-writeval dgsh-readval dgsh-monitor dgsh-conc dgsh-wrap dgsh-enumerate dgsh-pecho dgsh-fft-input dgsh-w dgsh-parallel perm ../../build/libexec/dgsh/
make[1]: Leaving directory '/data/data/com.termux/files/home/dgsh/core-tools/src'
make -C unix-tools make MAKEFLAGS=
make[1]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools'
make -C bash CFLAGS=""
make[2]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash'
***********************************************************
* *
* GNU bash, version 4.3.46(1)-release (aarch64-unknown-linux-gnu)
* *
***********************************************************
make[2]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash'
make -C coreutils
make[2]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils'
make all-recursive
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils'
Making all in po
make[4]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils/po'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils/po'
Making all in .
make[4]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils'
make[4]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils'
Making all in gnulib-tests
make[4]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils/gnulib-tests'
make all-recursive
make[5]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils/gnulib-tests'
Making all in .
make[6]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils/gnulib-tests'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils/gnulib-tests'
make[5]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils/gnulib-tests'
make[4]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils/gnulib-tests'
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils'
make[2]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/coreutils'
make -C grep
make[2]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep'
make all-recursive
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep'
Making all in po
make[4]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep/po'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep/po'
Making all in lib
make[4]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep/lib'
make all-am
make[5]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep/lib'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep/lib'
make[4]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep/lib'
Making all in doc
make[4]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep/doc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep/doc'
Making all in src
make[4]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep/src'
CCLD grep
/data/data/com.termux/files/usr/bin/ld: dfa.o: in function `xnmalloc':
/data/data/com.termux/files/home/dgsh/unix-tools/grep/src/../lib/xalloc.h:107: undefined reference to `__muloti4'
/data/data/com.termux/files/usr/bin/ld: /data/data/com.termux/files/home/dgsh/unix-tools/grep/src/../lib/xalloc.h:107: undefined reference to `__muloti4'
/data/data/com.termux/files/usr/bin/ld: /data/data/com.termux/files/home/dgsh/unix-tools/grep/src/../lib/xalloc.h:107: undefined reference to `__muloti4'
/data/data/com.termux/files/usr/bin/ld: /data/data/com.termux/files/home/dgsh/unix-tools/grep/src/../lib/xalloc.h:107: undefined reference to `__muloti4'
/data/data/com.termux/files/usr/bin/ld: /data/data/com.termux/files/home/dgsh/unix-tools/grep/src/../lib/xalloc.h:107: undefined reference to `__muloti4'
/data/data/com.termux/files/usr/bin/ld: dfa.o:/data/data/com.termux/files/home/dgsh/unix-tools/grep/src/../lib/xalloc.h:120: more undefined references to `__muloti4' follow
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [Makefile:1303: grep] Error 1
make[4]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep/src'
make[3]: *** [Makefile:1290: all-recursive] Error 1
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep'
make[2]: *** [Makefile:1231: all] Error 2
make[2]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/grep'
make[1]: *** [Makefile:91: make] Error 2
make[1]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools'
make: *** [Makefile:81: unix-tools] Error 2
@dspinellis any progress having dgsh in termux would be great
Could this be a third party tool problem?
New errors on latest git branch
make -C core-tools CFLAGS=""
make[1]: Entering directory '/data/data/com.termux/files/home/dgsh/core-tools'
make all-recursive
make[2]: Entering directory '/data/data/com.termux/files/home/dgsh/core-tools'
Making all in src
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/core-tools/src'
depbase=`echo dgsh-monitor.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-monitor.o -MD -MP -MF $depbase.Tpo -c -o dgsh-monitor.o dgsh-monitor.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo dgsh-httpval.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-httpval.o -MD -MP -MF $depbase.Tpo -c -o dgsh-httpval.o dgsh-httpval.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo kvstore.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT kvstore.o -MD -MP -MF $depbase.Tpo -c -o kvstore.o kvstore.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo dgsh-readval.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-readval.o -MD -MP -MF $depbase.Tpo -c -o dgsh-readval.o dgsh-readval.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo negotiate.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT negotiate.o -MD -MP -MF $depbase.Tpo -c -o negotiate.o negotiate.c &&\
mv -f $depbase.Tpo $depbase.Po
gcc -g -O2 -c -o dgsh-elf.o dgsh-elf.s
depbase=`echo dgsh-tee.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-tee.o -MD -MP -MF $depbase.Tpo -c -o dgsh-tee.o dgsh-tee.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo dgsh-writeval.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-writeval.o -MD -MP -MF $depbase.Tpo -c -o dgsh-writeval.o dgsh-writeval.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo dgsh-conc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-conc.o -MD -MP -MF $depbase.Tpo -c -o dgsh-conc.o dgsh-conc.c &&\
mv -f $depbase.Tpo $depbase.Po
dgsh-tee.c:285:19: warning: 'tempnam' is deprecated: tempnam is unsafe, use mkstemp or tmpfile instead [-Wdeprecated-declarations]
if ((template = tempnam(opt_tmp_dir, "sg-")) == NULL)
^
/data/data/com.termux/files/usr/include/stdio.h:173:5: note: 'tempnam' has been explicitly marked deprecated here
__warnattr("tempnam is unsafe, use mkstemp or tmpfile instead");
^
/data/data/com.termux/files/usr/include/sys/cdefs.h:135:40: note: expanded from macro '__warnattr'
#define __warnattr(msg) __attribute__((deprecated(msg)))
^
depbase=`echo dgsh-wrap.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-wrap.o -MD -MP -MF $depbase.Tpo -c -o dgsh-wrap.o dgsh-wrap.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo dgsh-enumerate.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-enumerate.o -MD -MP -MF $depbase.Tpo -c -o dgsh-enumerate.o dgsh-enumerate.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo dgsh-pecho.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-pecho.o -MD -MP -MF $depbase.Tpo -c -o dgsh-pecho.o dgsh-pecho.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo dgsh-fft-input.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-fft-input.o -MD -MP -MF $depbase.Tpo -c -o dgsh-fft-input.o dgsh-fft-input.c &&\
mv -f $depbase.Tpo $depbase.Po
1 warning generated.
depbase=`echo dgsh-w.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -MT dgsh-w.o -MD -MP -MF $depbase.Tpo -c -o dgsh-w.o dgsh-w.c &&\
mv -f $depbase.Tpo $depbase.Po
install dgsh-merge-sum.pl dgsh-merge-sum
install dgsh-parallel.sh dgsh-parallel
install perm.sh perm
rm -f libdgsh.a
dgsh-wrap.c:469:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (p = argv[i]; p = strstr(p, "<|"); p += 2)
~~^~~~~~~~~~~~~~~~~
dgsh-wrap.c:469:24: note: place parentheses around the assignment to silence this warning
for (p = argv[i]; p = strstr(p, "<|"); p += 2)
^
( )
dgsh-wrap.c:469:24: note: use '==' to turn this assignment into an equality comparison
for (p = argv[i]; p = strstr(p, "<|"); p += 2)
^
==
dgsh-wrap.c:471:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (p = argv[i]; p = strstr(p, ">|"); p += 2)
~~^~~~~~~~~~~~~~~~~
dgsh-wrap.c:471:24: note: place parentheses around the assignment to silence this warning
for (p = argv[i]; p = strstr(p, ">|"); p += 2)
^
( )
dgsh-wrap.c:471:24: note: use '==' to turn this assignment into an equality comparison
for (p = argv[i]; p = strstr(p, ">|"); p += 2)
^
==
/bin/sh ../libtool --tag=CC --mode=link gcc -o dgsh-monitor dgsh-monitor.o
/bin/sh ../libtool --tag=CC --mode=link gcc -o dgsh-httpval dgsh-httpval.o kvstore.o
ar cru libdgsh.a negotiate.o dgsh-elf.o
ranlib libdgsh.a
2 warnings generated.
/bin/sh ../libtool --tag=CC --mode=link gcc -o dgsh-tee dgsh-tee.o libdgsh.a
/bin/sh ../libtool --tag=CC --mode=link gcc -o dgsh-writeval dgsh-writeval.o libdgsh.a
/bin/sh ../libtool --tag=CC --mode=link gcc -o dgsh-readval dgsh-readval.o kvstore.o libdgsh.a
dgsh-w.c:30:4: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int' [-Wformat]
rd_size, sizeof(long double), sizeof(long double complex));
^~~~~~~
./dgsh-debug.h:26:127: note: expanded from macro 'DPRINTF'
#define DPRINTF(debug_level, fmt, ...) ((debug_level) <= dgsh_debug_level ? fprintf(stderr, "%d: " fmt "\n", (int)getpid(), ##__VA_ARGS__) : 0)
~~~ ^~~~~~~~~~~
dgsh-w.c:38:29: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int' [-Wformat]
creal(*xc), cimag(*xc), rd_size);
^~~~~~~
./dgsh-debug.h:26:127: note: expanded from macro 'DPRINTF'
#define DPRINTF(debug_level, fmt, ...) ((debug_level) <= dgsh_debug_level ? fprintf(stderr, "%d: " fmt "\n", (int)getpid(), ##__VA_ARGS__) : 0)
~~~ ^~~~~~~~~~~
dgsh-w.c:51:43: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
DPRINTF(4, "##buf(y): %s, len: %d", buf, strlen(buf));
~~ ^~~~~~~~~~~
%lu
./dgsh-debug.h:26:127: note: expanded from macro 'DPRINTF'
#define DPRINTF(debug_level, fmt, ...) ((debug_level) <= dgsh_debug_level ? fprintf(stderr, "%d: " fmt "\n", (int)getpid(), ##__VA_ARGS__) : 0)
~~~ ^~~~~~~~~~~
dgsh-w.c:56:24: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int' [-Wformat]
creal(y), cimag(y), wr_size);
^~~~~~~
./dgsh-debug.h:26:127: note: expanded from macro 'DPRINTF'
#define DPRINTF(debug_level, fmt, ...) ((debug_level) <= dgsh_debug_level ? fprintf(stderr, "%d: " fmt "\n", (int)getpid(), ##__VA_ARGS__) : 0)
~~~ ^~~~~~~~~~~
/bin/sh ../libtool --tag=CC --mode=link gcc -o dgsh-conc dgsh-conc.o libdgsh.a
4 warnings generated.
/bin/sh ../libtool --tag=CC --mode=link gcc -o dgsh-wrap dgsh-wrap.o libdgsh.a
/bin/sh ../libtool --tag=CC --mode=link gcc -o dgsh-enumerate dgsh-enumerate.o libdgsh.a
libtool: link: gcc -o dgsh-monitor dgsh-monitor.o
libtool: link: gcc -o dgsh-httpval dgsh-httpval.o kvstore.o
libtool: link: gcc -o dgsh-conc dgsh-conc.o libdgsh.a
libtool: link: gcc -o dgsh-tee dgsh-tee.o libdgsh.a
libtool: link: gcc -o dgsh-readval dgsh-readval.o kvstore.o libdgsh.a
libtool: link: gcc -o dgsh-enumerate dgsh-enumerate.o libdgsh.a
libtool: link: gcc -o dgsh-writeval dgsh-writeval.o libdgsh.a
libtool: link: gcc -o dgsh-wrap dgsh-wrap.o libdgsh.a
/bin/sh ../libtool --tag=CC --mode=link gcc -o dgsh-fft-input dgsh-fft-input.o libdgsh.a
/bin/sh ../libtool --tag=CC --mode=link gcc -o dgsh-pecho dgsh-pecho.o libdgsh.a
/bin/sh ../libtool --tag=CC --mode=link gcc -o dgsh-w dgsh-w.o libdgsh.a -lm
libtool: link: gcc -o dgsh-fft-input dgsh-fft-input.o libdgsh.a
libtool: link: gcc -o dgsh-w dgsh-w.o libdgsh.a -lm
libtool: link: gcc -o dgsh-pecho dgsh-pecho.o libdgsh.a
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/core-tools/src'
Making all in .
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/core-tools'
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/core-tools'
Making all in tests
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/core-tools/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/core-tools/tests'
make[2]: Leaving directory '/data/data/com.termux/files/home/dgsh/core-tools'
make[1]: Leaving directory '/data/data/com.termux/files/home/dgsh/core-tools'
cd core-tools/src && make build-install
make[1]: Entering directory '/data/data/com.termux/files/home/dgsh/core-tools/src'
mkdir -p ../../build/bin ../../build/libexec/dgsh
cp dgsh-monitor dgsh-httpval dgsh-readval dgsh-merge-sum ../../build/bin/
cp dgsh-tee dgsh-writeval dgsh-readval dgsh-monitor dgsh-conc dgsh-wrap dgsh-enumerate dgsh-pecho dgsh-fft-input dgsh-w dgsh-parallel perm ../../build/libexec/dgsh/
make[1]: Leaving directory '/data/data/com.termux/files/home/dgsh/core-tools/src'
make -C unix-tools make MAKEFLAGS=
make[1]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools'
make -C bash CFLAGS=""
make[2]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash'
rm -f mksyntax
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -g -O2 -rdynamic -rdynamic -g -O2 -o mksyntax ./mksyntax.c
rm -f syntax.c
./mksyntax -o syntax.c
/bin/sh ./support/mkversion.sh -b -S . -s release -d 4.3 -o newversion.h \
&& mv newversion.h version.h
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -g -O2 -DBUILDTOOL -c -o buildversion.o ./version.c
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -g -O2 -rdynamic -rdynamic -g -O2 -o bashversion ./support/bashversion.c buildversion.o
./support/bashversion.c:70:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (progname = strrchr (argv[0], '/'))
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
./support/bashversion.c:70:16: note: place parentheses around the assignment to silence this warning
if (progname = strrchr (argv[0], '/'))
^
( )
./support/bashversion.c:70:16: note: use '==' to turn this assignment into an equality comparison
if (progname = strrchr (argv[0], '/'))
^
==
1 warning generated.
***********************************************************
* *
* GNU bash, version 4.3.46(1)-release (aarch64-unknown-linux-gnu)
* *
***********************************************************
making lib/intl/libintl.a in ./lib/intl
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl'
cp ./libgnuintl.h.in libgnuintl.h
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include bindtextdom.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include dcgettext.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include dgettext.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include gettext.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include finddomain.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include loadmsgcat.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include localealias.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include textdomain.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include l10nflist.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include explodename.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include dcigettext.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include dcngettext.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include dngettext.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include ngettext.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include plural.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include plural-exp.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include localcharset.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include relocatable.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include localename.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include log.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include osdep.c
gcc -c -DLOCALEDIR=\"/var/tmp/dgsh-share-duplicates\" -DLOCALE_ALIAS_PATH=\"/var/tmp/dgsh-share-duplicates\" -DLIBDIR=\"/data/data/com.termux/files/usr/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/data/data/com.termux/files/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I/data/data/com.termux/files/usr/include intl-compat.c
rm -f libintl.a
ar cr libintl.a bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o plural-exp.o localcharset.o relocatable.o localename.o log.o osdep.o intl-compat.o
ranlib libintl.a
cmp libgnuintl.h libintl.h || cp libgnuintl.h libintl.h
cmp: libintl.h: No such file or directory
/bin/sh ./config.charset 'aarch64-unknown-linux-gnu' > t-charset.alias
mv t-charset.alias charset.alias
sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' ./ref-add.sin > t-ref-add.sed
mv t-ref-add.sed ref-add.sed
sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' ./ref-del.sin > t-ref-del.sed
mv t-ref-del.sed ref-del.sed
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl'
rm -f shell.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c shell.c
shell.c:901:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (arg_character = arg_string[i++])
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
shell.c:901:28: note: place parentheses around the assignment to silence this warning
while (arg_character = arg_string[i++])
^
( )
shell.c:901:28: note: use '==' to turn this assignment into an equality comparison
while (arg_character = arg_string[i++])
^
==
shell.c:1943:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf (fp, _("Use the `bashbug' command to report bugs.\n"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
shell.c:1943:20: note: treat the string as an argument to avoid this
fprintf (fp, _("Use the `bashbug' command to report bugs.\n"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
2 warnings generated.
rm -f eval.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c eval.c
eval.c:155:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if (current_command = global_command)
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
eval.c:155:29: note: place parentheses around the assignment to silence this warning
else if (current_command = global_command)
^
( )
eval.c:155:29: note: use '==' to turn this assignment into an equality comparison
else if (current_command = global_command)
^
==
eval.c:191:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
printf (_("\007timed out waiting for input: auto-logout\n"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
eval.c:191:11: note: treat the string as an argument to avoid this
printf (_("\007timed out waiting for input: auto-logout\n"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
2 warnings generated.
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/builtins'
rm -f mkbuiltins.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -g -O2 mkbuiltins.c
mkbuiltins.c:560:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = 0; line = defs->lines->array[i]; i++)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
mkbuiltins.c:560:20: note: place parentheses around the assignment to silence this warning
for (i = 0; line = defs->lines->array[i]; i++)
^
( )
mkbuiltins.c:560:20: note: use '==' to turn this assignment into an equality comparison
for (i = 0; line = defs->lines->array[i]; i++)
^
==
mkbuiltins.c:676:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++)
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mkbuiltins.c:676:27: note: place parentheses around the assignment to silence this warning
for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++)
^
( )
mkbuiltins.c:676:27: note: use '==' to turn this assignment into an equality comparison
for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++)
^
==
2 warnings generated.
gcc -rdynamic -rdynamic -g -O2 -o mkbuiltins mkbuiltins.o -ldl
./mkbuiltins -externfile builtext.h -structfile builtins.c \
-noproduction -D . ./alias.def ./bind.def ./break.def ./builtin.def ./caller.def ./cd.def ./colon.def ./command.def ./declare.def ./echo.def ./enable.def ./eval.def ./getopts.def ./exec.def ./exit.def ./fc.def ./fg_bg.def ./hash.def ./help.def ./history.def ./jobs.def ./kill.def ./let.def ./read.def ./return.def ./set.def ./setattr.def ./shift.def ./source.def ./suspend.def ./test.def ./times.def ./trap.def ./type.def ./ulimit.def ./umask.def ./wait.def ./reserved.def ./pushd.def ./shopt.def ./printf.def ./complete.def ./mapfile.def
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/builtins'
rm -f y.tab.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c y.tab.c
./parse.y:2385:130: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
internal_warning("shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%llu): line truncated", shell_input_line_size, SIZE_MAX);
~~~~ ^~~~~~~~
%lu
/data/data/com.termux/files/usr/include/stdint.h:219:26: note: expanded from macro 'SIZE_MAX'
# define SIZE_MAX UINT64_MAX
^~~~~~~~~~
/data/data/com.termux/files/usr/include/stdint.h:193:26: note: expanded from macro 'UINT64_MAX'
#define UINT64_MAX (UINT64_C(18446744073709551615))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:2624:12: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
return '\0'; /* XXX */
^~~~
./parse.y:4290:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
parser_error (cond_lineno, _("unexpected EOF while looking for `]]'"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./parse.y:4290:32: note: treat the string as an argument to avoid this
parser_error (cond_lineno, _("unexpected EOF while looking for `]]'"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./parse.y:4293:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (etext = error_token_from_token (cond_token))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:4293:17: note: place parentheses around the assignment to silence this warning
if (etext = error_token_from_token (cond_token))
^
( )
./parse.y:4293:17: note: use '==' to turn this assignment into an equality comparison
if (etext = error_token_from_token (cond_token))
^
==
./parse.y:4299:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
parser_error (cond_lineno, _("syntax error in conditional expression"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./parse.y:4299:29: note: treat the string as an argument to avoid this
parser_error (cond_lineno, _("syntax error in conditional expression"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./parse.y:4375:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (etext = error_token_from_token (cond_token))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:4375:14: note: place parentheses around the assignment to silence this warning
if (etext = error_token_from_token (cond_token))
^
( )
./parse.y:4375:14: note: use '==' to turn this assignment into an equality comparison
if (etext = error_token_from_token (cond_token))
^
==
./parse.y:4381:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
parser_error (lineno, _("expected `)'"));
^~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./parse.y:4381:28: note: treat the string as an argument to avoid this
parser_error (lineno, _("expected `)'"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./parse.y:4407:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (etext = error_token_from_token (tok))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:4407:14: note: place parentheses around the assignment to silence this warning
if (etext = error_token_from_token (tok))
^
( )
./parse.y:4407:14: note: use '==' to turn this assignment into an equality comparison
if (etext = error_token_from_token (tok))
^
==
./parse.y:4413:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
parser_error (line_number, _("unexpected argument to conditional unary operator"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./parse.y:4413:33: note: treat the string as an argument to avoid this
parser_error (line_number, _("unexpected argument to conditional unary operator"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./parse.y:4457:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (etext = error_token_from_token (tok))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:4457:14: note: place parentheses around the assignment to silence this warning
if (etext = error_token_from_token (tok))
^
( )
./parse.y:4457:14: note: use '==' to turn this assignment into an equality comparison
if (etext = error_token_from_token (tok))
^
==
./parse.y:4463:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
parser_error (line_number, _("conditional binary operator expected"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./parse.y:4463:33: note: treat the string as an argument to avoid this
parser_error (line_number, _("conditional binary operator expected"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./parse.y:4483:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (etext = error_token_from_token (tok))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:4483:14: note: place parentheses around the assignment to silence this warning
if (etext = error_token_from_token (tok))
^
( )
./parse.y:4483:14: note: use '==' to turn this assignment into an equality comparison
if (etext = error_token_from_token (tok))
^
==
./parse.y:4489:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
parser_error (line_number, _("unexpected argument to conditional binary operator"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./parse.y:4489:33: note: treat the string as an argument to avoid this
parser_error (line_number, _("unexpected argument to conditional binary operator"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./parse.y:4501:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if (etext = error_token_from_token (tok))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:4501:22: note: place parentheses around the assignment to silence this warning
else if (etext = error_token_from_token (tok))
^
( )
./parse.y:4501:22: note: use '==' to turn this assignment into an equality comparison
else if (etext = error_token_from_token (tok))
^
==
./parse.y:5354:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = *string++)
~~^~~~~~~~~~~
./parse.y:5354:12: note: place parentheses around the assignment to silence this warning
while (c = *string++)
^
( )
./parse.y:5354:12: note: use '==' to turn this assignment into an equality comparison
while (c = *string++)
^
==
./parse.y:5738:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = find_token_in_alist (tok, word_token_alist, 0))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:5738:9: note: place parentheses around the assignment to silence this warning
if (t = find_token_in_alist (tok, word_token_alist, 0))
^
( )
./parse.y:5738:9: note: use '==' to turn this assignment into an equality comparison
if (t = find_token_in_alist (tok, word_token_alist, 0))
^
==
./parse.y:5741:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = find_token_in_alist (tok, other_token_alist, 0))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:5741:9: note: place parentheses around the assignment to silence this warning
if (t = find_token_in_alist (tok, other_token_alist, 0))
^
( )
./parse.y:5741:9: note: use '==' to turn this assignment into an equality comparison
if (t = find_token_in_alist (tok, other_token_alist, 0))
^
==
./parse.y:6111:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
parser_error (orig_line_number, _("unexpected EOF while looking for matching `)'"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./parse.y:6111:38: note: treat the string as an argument to avoid this
parser_error (orig_line_number, _("unexpected EOF while looking for matching `)'"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
18 warnings generated.
rm -f general.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c general.c
general.c:282:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[indx])
~~^~~~~~~~~~~~~~
general.c:282:12: note: place parentheses around the assignment to silence this warning
while (c = string[indx])
^
( )
general.c:282:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[indx])
^
==
1 warning generated.
rm -f make_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c make_cmd.c
make_cmd.c:323:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
parser_error (lineno, _("syntax error: arithmetic expression required"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
make_cmd.c:323:24: note: treat the string as an argument to avoid this
parser_error (lineno, _("syntax error: arithmetic expression required"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
make_cmd.c:325:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
parser_error (lineno, _("syntax error: `;' unexpected"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
make_cmd.c:325:24: note: treat the string as an argument to avoid this
parser_error (lineno, _("syntax error: `;' unexpected"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
make_cmd.c:630:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (full_line = read_secondary_line (delim_unquoted))
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make_cmd.c:630:20: note: place parentheses around the assignment to silence this warning
while (full_line = read_secondary_line (delim_unquoted))
^
( )
make_cmd.c:630:20: note: use '==' to turn this assignment into an equality comparison
while (full_line = read_secondary_line (delim_unquoted))
^
==
3 warnings generated.
rm -f print_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c print_cmd.c
print_cmd.c:392:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
internal_error (_("xtrace_set: NULL file pointer"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
print_cmd.c:392:23: note: treat the string as an argument to avoid this
internal_error (_("xtrace_set: NULL file pointer"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f dgsh_util.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c dgsh_util.c
rm -f dispose_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c dispose_cmd.c
rm -f execute_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c execute_cmd.c
execute_cmd.c:1318:11: warning: 14 enumeration values not handled in switch: 'cm_for', 'cm_case', 'cm_while'... [-Wswitch]
switch (command->type)
^
execute_cmd.c:2587:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("pipe error"));
^~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
execute_cmd.c:2587:15: note: treat the string as an argument to avoid this
sys_error (_("pipe error"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
execute_cmd.c:6105:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("pipe error"));
^~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
execute_cmd.c:6105:15: note: treat the string as an argument to avoid this
sys_error (_("pipe error"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
3 warnings generated.
rm -f variables.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c variables.c
variables.c:334:33: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (string_index = 0; string = env[string_index++]; )
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
variables.c:334:33: note: place parentheses around the assignment to silence this warning
for (string_index = 0; string = env[string_index++]; )
^
( )
variables.c:334:33: note: use '==' to turn this assignment into an equality comparison
for (string_index = 0; string = env[string_index++]; )
^
==
variables.c:383:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (temp_var = find_function (tname))
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
variables.c:383:17: note: place parentheses around the assignment to silence this warning
if (temp_var = find_function (tname))
^
( )
variables.c:383:17: note: use '==' to turn this assignment into an equality comparison
if (temp_var = find_function (tname))
^
==
variables.c:390:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (temp_var = bind_variable (name, string, 0))
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
variables.c:390:21: note: place parentheses around the assignment to silence this warning
if (temp_var = bind_variable (name, string, 0))
^
( )
variables.c:390:21: note: use '==' to turn this assignment into an equality comparison
if (temp_var = bind_variable (name, string, 0))
^
==
variables.c:1797:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (v = hash_lookup (name, vc->table))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
variables.c:1797:11: note: place parentheses around the assignment to silence this warning
if (v = hash_lookup (name, vc->table))
^
( )
variables.c:1797:11: note: use '==' to turn this assignment into an equality comparison
if (v = hash_lookup (name, vc->table))
^
==
variables.c:2240:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
internal_error (_("make_local_variable: no function context at current scope"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
variables.c:2240:23: note: treat the string as an argument to avoid this
internal_error (_("make_local_variable: no function context at current scope"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
variables.c:2529:87: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
if ((aflags & ASS_FROMREF) && (hflags & HASH_NOSRCH) == 0 && valid_array_reference (name))
^~~~
./arrayfunc.h:60:45: note: passing argument to parameter here
extern int valid_array_reference __P((char *));
^
variables.c:2531:38: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
newname = array_variable_name (name, &subp, &sublen);
^~~~
./arrayfunc.h:66:45: note: passing argument to parameter here
extern char *array_variable_name __P((char *, char **, int *));
^
variables.c:2576:33: warning: incompatible pointer types passing 'const char *' to parameter of type 'SHELL_VAR *' (aka 'struct variable *') [-Wincompatible-pointer-types]
ind = array_expand_index (name, subp, sublen);
^~~~
./arrayfunc.h:59:54: note: passing argument to parameter here
extern arrayind_t array_expand_index __P((SHELL_VAR *, char *, int));
^
variables.c:3208:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (elt = hash_remove (name, v->table, 0))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
variables.c:3208:13: note: place parentheses around the assignment to silence this warning
if (elt = hash_remove (name, v->table, 0))
^
( )
variables.c:3208:13: note: use '==' to turn this assignment into an equality comparison
if (elt = hash_remove (name, v->table, 0))
^
==
variables.c:3237:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (elt = hash_remove (name, v->table, 0))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
variables.c:3237:13: note: place parentheses around the assignment to silence this warning
if (elt = hash_remove (name, v->table, 0))
^
( )
variables.c:3237:13: note: use '==' to turn this assignment into an equality comparison
if (elt = hash_remove (name, v->table, 0))
^
==
variables.c:3688:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
internal_error (_("all_local_variables: no function context at current scope"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
variables.c:3688:23: note: treat the string as an argument to avoid this
internal_error (_("all_local_variables: no function context at current scope"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
variables.c:3993:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = 0, list_index = 0; var = vars[i]; i++)
~~~~^~~~~~~~~
variables.c:3993:35: note: place parentheses around the assignment to silence this warning
for (i = 0, list_index = 0; var = vars[i]; i++)
^
( )
variables.c:3993:35: note: use '==' to turn this assignment into an equality comparison
for (i = 0, list_index = 0; var = vars[i]; i++)
^
==
variables.c:4407:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
internal_error (_("pop_var_context: head of shell_variables not a function context"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
variables.c:4407:23: note: treat the string as an argument to avoid this
internal_error (_("pop_var_context: head of shell_variables not a function context"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
variables.c:4411:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (ret = vcxt->down)
~~~~^~~~~~~~~~~~
variables.c:4411:11: note: place parentheses around the assignment to silence this warning
if (ret = vcxt->down)
^
( )
variables.c:4411:11: note: use '==' to turn this assignment into an equality comparison
if (ret = vcxt->down)
^
==
variables.c:4420:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
internal_error (_("pop_var_context: no global_variables context"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
variables.c:4420:21: note: treat the string as an argument to avoid this
internal_error (_("pop_var_context: no global_variables context"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
variables.c:4494:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
internal_error (_("pop_scope: head of shell_variables not a temporary environment scope"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
variables.c:4494:23: note: treat the string as an argument to avoid this
internal_error (_("pop_scope: head of shell_variables not a temporary environment scope"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
variables.c:5030:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (val = extract_colon_unit (temp, &tptr))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
variables.c:5030:14: note: place parentheses around the assignment to silence this warning
while (val = extract_colon_unit (temp, &tptr))
^
( )
variables.c:5030:14: note: use '==' to turn this assignment into an equality comparison
while (val = extract_colon_unit (temp, &tptr))
^
==
variables.c:5079:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (v = find_variable (name))
~~^~~~~~~~~~~~~~~~~~~~~~
variables.c:5079:9: note: place parentheses around the assignment to silence this warning
if (v = find_variable (name))
^
( )
variables.c:5079:9: note: use '==' to turn this assignment into an equality comparison
if (v = find_variable (name))
^
==
18 warnings generated.
rm -f copy_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c copy_cmd.c
copy_cmd.c:373:11: warning: enumeration value 'cm_dgsh' not handled in switch [-Wswitch]
switch (command->type)
^
1 warning generated.
rm -f error.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c error.c
error.c:173:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf (stderr, _("Aborting..."));
^~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
error.c:173:20: note: treat the string as an argument to avoid this
fprintf (stderr, _("Aborting..."));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
error.c:265:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf (stderr, _("warning: "));
^~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
error.c:265:20: note: treat the string as an argument to avoid this
fprintf (stderr, _("warning: "));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
2 warnings generated.
rm -f expr.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c expr.c
rm -f flags.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c flags.c
rm -f jobs.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c jobs.c
jobs.c:1073:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (temp = jobs[job_index])
~~~~~^~~~~~~~~~~~~~~~~
jobs.c:1073:12: note: place parentheses around the assignment to silence this warning
if (temp = jobs[job_index])
^
( )
jobs.c:1073:12: note: use '==' to turn this assignment into an equality comparison
if (temp = jobs[job_index])
^
==
jobs.c:1583:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf (stream, _("(core dumped) "));
^~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
jobs.c:1583:20: note: treat the string as an argument to avoid this
fprintf (stream, _("(core dumped) "));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
jobs.c:3220:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
internal_warning (_("waitchld: turning on WNOHANG to avoid indefinite block"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
jobs.c:3220:22: note: treat the string as an argument to avoid this
internal_warning (_("waitchld: turning on WNOHANG to avoid indefinite block"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
jobs.c:3728:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf (stderr, _(" (core dumped)"));
^~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
jobs.c:3728:21: note: treat the string as an argument to avoid this
fprintf (stderr, _(" (core dumped)"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
jobs.c:3785:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("initialize_job_control: getpgrp failed"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
jobs.c:3785:18: note: treat the string as an argument to avoid this
sys_error (_("initialize_job_control: getpgrp failed"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
jobs.c:3846:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("initialize_job_control: line discipline"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
jobs.c:3846:15: note: treat the string as an argument to avoid this
sys_error (_("initialize_job_control: line discipline"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
jobs.c:3856:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("initialize_job_control: setpgid"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
jobs.c:3856:19: note: treat the string as an argument to avoid this
sys_error (_("initialize_job_control: setpgid"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
jobs.c:3891:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
internal_error (_("no job control in this shell"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
jobs.c:3891:18: note: treat the string as an argument to avoid this
internal_error (_("no job control in this shell"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
8 warnings generated.
rm -f subst.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c subst.c
subst.c:589:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[sindex])
~~^~~~~~~~~~~~~~~~
subst.c:589:12: note: place parentheses around the assignment to silence this warning
while (c = string[sindex])
^
( )
subst.c:589:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[sindex])
^
==
subst.c:632:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (sindex = 0; c = string[sindex]; )
~~^~~~~~~~~~~~~~~~
subst.c:632:22: note: place parentheses around the assignment to silence this warning
for (sindex = 0; c = string[sindex]; )
^
( )
subst.c:632:22: note: use '==' to turn this assignment into an equality comparison
for (sindex = 0; c = string[sindex]; )
^
==
subst.c:741:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
subst.c:741:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
subst.c:741:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
subst.c:812:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
subst.c:812:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
subst.c:812:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
subst.c:960:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
subst.c:960:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
subst.c:960:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
subst.c:1096:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
subst.c:1096:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
subst.c:1096:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
subst.c:1424:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
subst.c:1424:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
subst.c:1424:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
subst.c:1622:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
subst.c:1622:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
subst.c:1622:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
subst.c:1730:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = string[i])
~~^~~~~~~~~~~
subst.c:1730:12: note: place parentheses around the assignment to silence this warning
while (c = string[i])
^
( )
subst.c:1730:12: note: use '==' to turn this assignment into an equality comparison
while (c = string[i])
^
==
subst.c:2849:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = mbschr (name, '[')) /*]*/
~~^~~~~~~~~~~~~~~~~~~~
subst.c:2849:9: note: place parentheses around the assignment to silence this warning
if (t = mbschr (name, '[')) /*]*/
^
( )
subst.c:2849:9: note: use '==' to turn this assignment into an equality comparison
if (t = mbschr (name, '[')) /*]*/
^
==
subst.c:5073:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("cannot make pipe for process substitution"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
subst.c:5073:18: note: treat the string as an argument to avoid this
sys_error (_("cannot make pipe for process substitution"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
subst.c:5089:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("cannot make pipe for process substitution"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
subst.c:5089:18: note: treat the string as an argument to avoid this
sys_error (_("cannot make pipe for process substitution"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
subst.c:5121:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("cannot make child for process substitution"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
subst.c:5121:18: note: treat the string as an argument to avoid this
sys_error (_("cannot make child for process substitution"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
subst.c:5384:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("cannot make pipe for command substitution"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
subst.c:5384:18: note: treat the string as an argument to avoid this
sys_error (_("cannot make pipe for command substitution"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
subst.c:5422:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("cannot make child for command substitution"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
subst.c:5422:18: note: treat the string as an argument to avoid this
sys_error (_("cannot make child for command substitution"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
subst.c:5441:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("command_substitute: cannot duplicate pipe as fd 1"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
subst.c:5441:15: note: treat the string as an argument to avoid this
sys_error (_("command_substitute: cannot duplicate pipe as fd 1"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
subst.c:5806:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if (var = find_variable (name))
~~~~^~~~~~~~~~~~~~~~~~~~~~
subst.c:5806:16: note: place parentheses around the assignment to silence this warning
else if (var = find_variable (name))
^
( )
subst.c:5806:16: note: use '==' to turn this assignment into an equality comparison
else if (var = find_variable (name))
^
==
subst.c:5829:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if (var = find_variable_last_nameref (name))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
subst.c:5829:16: note: place parentheses around the assignment to silence this warning
else if (var = find_variable_last_nameref (name))
^
( )
subst.c:5829:16: note: use '==' to turn this assignment into an equality comparison
else if (var = find_variable_last_nameref (name))
^
==
subst.c:7188:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (c = string[sindex])
~~^~~~~~~~~~~~~~~~
subst.c:7188:9: note: place parentheses around the assignment to silence this warning
if (c = string[sindex])
^
( )
subst.c:7188:9: note: use '==' to turn this assignment into an equality comparison
if (c = string[sindex])
^
==
subst.c:7198:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (c = string[sindex])
~~^~~~~~~~~~~~~~~~
subst.c:7198:13: note: place parentheses around the assignment to silence this warning
if (c = string[sindex])
^
( )
subst.c:7198:13: note: use '==' to turn this assignment into an equality comparison
if (c = string[sindex])
^
==
subst.c:8931:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (dquote = sindex = 0; c = string[sindex];)
~~^~~~~~~~~~~~~~~~
subst.c:8931:31: note: place parentheses around the assignment to silence this warning
for (dquote = sindex = 0; c = string[sindex];)
^
( )
subst.c:8931:31: note: use '==' to turn this assignment into an equality comparison
for (dquote = sindex = 0; c = string[sindex];)
^
==
subst.c:9447:33: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (eindex = 0; temp_string = expansions[eindex]; eindex++)
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
subst.c:9447:33: note: place parentheses around the assignment to silence this warning
for (eindex = 0; temp_string = expansions[eindex]; eindex++)
^
( )
subst.c:9447:33: note: use '==' to turn this assignment into an equality comparison
for (eindex = 0; temp_string = expansions[eindex]; eindex++)
^
==
22 warnings generated.
rm -f hashcmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c hashcmd.c
rm -f hashlib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c hashlib.c
rm -f mailcheck.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c mailcheck.c
mailcheck.c:394:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (mailfile = extract_colon_unit (mailpaths, &i))
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mailcheck.c:394:19: note: place parentheses around the assignment to silence this warning
while (mailfile = extract_colon_unit (mailpaths, &i))
^
( )
mailcheck.c:394:19: note: use '==' to turn this assignment into an equality comparison
while (mailfile = extract_colon_unit (mailpaths, &i))
^
==
mailcheck.c:468:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES))
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mailcheck.c:468:13: note: place parentheses around the assignment to silence this warning
if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES))
^
( )
mailcheck.c:468:13: note: use '==' to turn this assignment into an equality comparison
if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES))
^
==
2 warnings generated.
rm -f mksignames.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -g -O2 -DBUILDTOOL -c ./support/mksignames.c
rm -f buildsignames.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -g -O2 -DBUILDTOOL -o buildsignames.o -c ./support/signames.c
rm -f mksignames
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -g -O2 -rdynamic -rdynamic -g -O2 -o mksignames mksignames.o buildsignames.o
rm -f lsignames.h
./mksignames lsignames.h
if cmp -s lsignames.h signames.h ; then :; else rm -f signames.h ; cp lsignames.h signames.h ; fi
rm -f trap.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c trap.c
rm -f input.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c input.c
rm -f unwind_prot.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c unwind_prot.c
unwind_prot.c:247:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (elt = unwind_protect_list)
~~~~^~~~~~~~~~~~~~~~~~~~~
unwind_prot.c:247:14: note: place parentheses around the assignment to silence this warning
while (elt = unwind_protect_list)
^
( )
unwind_prot.c:247:14: note: use '==' to turn this assignment into an equality comparison
while (elt = unwind_protect_list)
^
==
unwind_prot.c:282:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (elt = unwind_protect_list)
~~~~^~~~~~~~~~~~~~~~~~~~~
unwind_prot.c:282:14: note: place parentheses around the assignment to silence this warning
while (elt = unwind_protect_list)
^
( )
unwind_prot.c:282:14: note: use '==' to turn this assignment into an equality comparison
while (elt = unwind_protect_list)
^
==
2 warnings generated.
rm -f pathexp.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c pathexp.c
pathexp.c:75:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = *string++)
~~^~~~~~~~~~~
pathexp.c:75:12: note: place parentheses around the assignment to silence this warning
while (c = *string++)
^
( )
pathexp.c:75:12: note: use '==' to turn this assignment into an equality comparison
while (c = *string++)
^
==
pathexp.c:592:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (colon_bit = split_ignorespec (this_ignoreval, &ptr))
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pathexp.c:592:20: note: place parentheses around the assignment to silence this warning
while (colon_bit = split_ignorespec (this_ignoreval, &ptr))
^
( )
pathexp.c:592:20: note: use '==' to turn this assignment into an equality comparison
while (colon_bit = split_ignorespec (this_ignoreval, &ptr))
^
==
2 warnings generated.
rm -f sig.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c sig.c
rm -f test.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c test.c
rm -f version.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c version.c
rm -f alias.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c alias.c
rm -f array.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c array.c
rm -f arrayfunc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c arrayfunc.c
rm -f assoc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c assoc.c
rm -f braces.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c braces.c
braces.c:436:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = (char *)malloc (2))
~~^~~~~~~~~~~~~~~~~~~~
braces.c:436:10: note: place parentheses around the assignment to silence this warning
if (t = (char *)malloc (2))
^
( )
braces.c:436:10: note: use '==' to turn this assignment into an equality comparison
if (t = (char *)malloc (2))
^
==
braces.c:616:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = text[i])
~~^~~~~~~~~
braces.c:616:12: note: place parentheses around the assignment to silence this warning
while (c = text[i])
^
( )
braces.c:616:12: note: use '==' to turn this assignment into an equality comparison
while (c = text[i])
^
==
2 warnings generated.
rm -f bracecomp.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c bracecomp.c
rm -f bashhist.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c bashhist.c
bashhist.c:632:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (temp = previous_history ())
~~~~~^~~~~~~~~~~~~~~~~~~~~
bashhist.c:632:15: note: place parentheses around the assignment to silence this warning
while (temp = previous_history ())
^
( )
bashhist.c:632:15: note: use '==' to turn this assignment into an equality comparison
while (temp = previous_history ())
^
==
1 warning generated.
rm -f bashline.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c bashline.c
bashline.c:752:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (temp = fgets (buffer, 255, file))
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
bashline.c:752:15: note: place parentheses around the assignment to silence this warning
while (temp = fgets (buffer, 255, file))
^
( )
bashline.c:752:15: note: use '==' to turn this assignment into an equality comparison
while (temp = fgets (buffer, 255, file))
^
==
bashline.c:1496:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (was_assignment = assignment (n, 0));
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
bashline.c:1496:29: note: place parentheses around the assignment to silence this warning
while (was_assignment = assignment (n, 0));
^
( )
bashline.c:1496:29: note: use '==' to turn this assignment into an equality comparison
while (was_assignment = assignment (n, 0));
^
==
bashline.c:1960:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (val = glob_matches[local_index++])
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bashline.c:1960:18: note: place parentheses around the assignment to silence this warning
while (val = glob_matches[local_index++])
^
( )
bashline.c:1960:18: note: use '==' to turn this assignment into an equality comparison
while (val = glob_matches[local_index++])
^
==
bashline.c:2357:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (srvent = getservent ())
~~~~~~~^~~~~~~~~~~~~~~
bashline.c:2357:17: note: place parentheses around the assignment to silence this warning
while (srvent = getservent ())
^
( )
bashline.c:2357:17: note: use '==' to turn this assignment into an equality comparison
while (srvent = getservent ())
^
==
bashline.c:2413:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (grent = getgrent ())
~~~~~~^~~~~~~~~~~~~
bashline.c:2413:16: note: place parentheses around the assignment to silence this warning
while (grent = getgrent ())
^
( )
bashline.c:2413:16: note: use '==' to turn this assignment into an equality comparison
while (grent = getgrent ())
^
==
bashline.c:3046:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = mbschr (local_dirname, '$'))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bashline.c:3046:9: note: place parentheses around the assignment to silence this warning
if (t = mbschr (local_dirname, '$'))
^
( )
bashline.c:3046:9: note: use '==' to turn this assignment into an equality comparison
if (t = mbschr (local_dirname, '$'))
^
==
bashline.c:3048:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if (t = mbschr (local_dirname, '`')) /* XXX */
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bashline.c:3048:14: note: place parentheses around the assignment to silence this warning
else if (t = mbschr (local_dirname, '`')) /* XXX */
^
( )
bashline.c:3048:14: note: use '==' to turn this assignment into an equality comparison
else if (t = mbschr (local_dirname, '`')) /* XXX */
^
==
bashline.c:3126:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = mbschr (local_dirname, '$'))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bashline.c:3126:9: note: place parentheses around the assignment to silence this warning
if (t = mbschr (local_dirname, '$'))
^
( )
bashline.c:3126:9: note: use '==' to turn this assignment into an equality comparison
if (t = mbschr (local_dirname, '$'))
^
==
bashline.c:3177:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = j = 0; c = default_filename_quote_characters[i]; i++)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bashline.c:3177:26: note: place parentheses around the assignment to silence this warning
for (i = j = 0; c = default_filename_quote_characters[i]; i++)
^
( )
bashline.c:3177:26: note: use '==' to turn this assignment into an equality comparison
for (i = j = 0; c = default_filename_quote_characters[i]; i++)
^
==
bashline.c:3996:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
internal_error (_("bash_execute_unix_command: cannot find keymap for command"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
bashline.c:3996:23: note: treat the string as an argument to avoid this
internal_error (_("bash_execute_unix_command: cannot find keymap for command"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
bashline.c:4094:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (passc = 0; c = string[i]; i++)
~~^~~~~~~~~~~
bashline.c:4094:21: note: place parentheses around the assignment to silence this warning
for (passc = 0; c = string[i]; i++)
^
( )
bashline.c:4094:21: note: use '==' to turn this assignment into an equality comparison
for (passc = 0; c = string[i]; i++)
^
==
11 warnings generated.
rm -f list.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c list.c
rm -f stringlib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c stringlib.c
rm -f locale.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c locale.c
rm -f findcmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c findcmd.c
findcmd.c:239:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (var = find_variable_tempenv ("PATH")) /* XXX could be array? */
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
findcmd.c:239:11: note: place parentheses around the assignment to silence this warning
if (var = find_variable_tempenv ("PATH")) /* XXX could be array? */
^
( )
findcmd.c:239:11: note: use '==' to turn this assignment into an equality comparison
if (var = find_variable_tempenv ("PATH")) /* XXX could be array? */
^
==
1 warning generated.
rm -f redir.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c redir.c
redir.c:676:8: warning: implicit declaration of function 'run_pending_traps' is invalid in C99 [-Wimplicit-function-declaration]
run_pending_traps ();
^
redir.c:758:12: warning: 16 enumeration values not handled in switch: 'r_output_direction', 'r_input_direction', 'r_inputa_direction'... [-Wswitch]
switch (ri)
^
redir.c:864:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("redirection error: cannot duplicate fd"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
redir.c:864:14: note: treat the string as an argument to avoid this
sys_error (_("redirection error: cannot duplicate fd"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
redir.c:976:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("redirection error: cannot duplicate fd"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
redir.c:976:14: note: treat the string as an argument to avoid this
sys_error (_("redirection error: cannot duplicate fd"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
redir.c:1037:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("redirection error: cannot duplicate fd"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
redir.c:1037:17: note: treat the string as an argument to avoid this
sys_error (_("redirection error: cannot duplicate fd"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
redir.c:818:11: warning: enumeration values 'r_move_input_word' and 'r_move_output_word' not handled in switch [-Wswitch]
switch (ri)
^
redir.c:1202:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sys_error (_("redirection error: cannot duplicate fd"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
redir.c:1202:18: note: treat the string as an argument to avoid this
sys_error (_("redirection error: cannot duplicate fd"));
^
"%s",
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
redir.c:1302:11: warning: 4 enumeration values not handled in switch: 'r_move_input', 'r_move_output', 'r_move_input_word'... [-Wswitch]
switch (ri)
^
redir.c:1376:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (vr = valid_array_reference (w))
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
redir.c:1376:10: note: place parentheses around the assignment to silence this warning
if (vr = valid_array_reference (w))
^
( )
redir.c:1376:10: note: use '==' to turn this assignment into an equality comparison
if (vr = valid_array_reference (w))
^
==
9 warnings generated.
rm -f pcomplete.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c pcomplete.c
pcomplete.c:781:29: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sh_contains_quotes (text)) /* guess */
^~~~
./externs.h:327:42: note: passing argument to parameter here
extern int sh_contains_quotes __P((char *));
^
pcomplete.c:1465:57: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
tmatches = filter_stringlist (ret, cs->filterpat, word);
^~~~
2 warnings generated.
rm -f pcomplib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c pcomplib.c
rm -f syntax.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c syntax.c
rm -f xmalloc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"aarch64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"aarch64-unknown-linux-gnu"' -DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/var/tmp/dgsh-share-duplicates"' -DPACKAGE='"bash"' -DSHELL -DDGSH -DDGSHPATH='"/data/data/com.termux/files/usr/libexec/dgsh"' -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I../../core-tools/src -I/data/data/com.termux/files/usr/include -c xmalloc.c
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/builtins'
rm -f builtins.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include builtins.c
rm -f alias.o
./mkbuiltins -D . alias.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include alias.c || ( rm -f alias.c ; exit 1 )
rm -f alias.c
rm -f bind.o
./mkbuiltins -D . bind.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include bind.c || ( rm -f bind.c ; exit 1 )
./bind.def:126:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_warning (_("line editing not enabled"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./bind.def:126:24: note: treat the string as an argument to avoid this
builtin_warning (_("line editing not enabled"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f bind.c
rm -f break.o
./mkbuiltins -D . break.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include break.c || ( rm -f break.c ; exit 1 )
./break.def:137:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("only meaningful in a `for', `while', or `until' loop"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./break.def:137:20: note: treat the string as an argument to avoid this
builtin_error (_("only meaningful in a `for', `while', or `until' loop"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f break.c
rm -f builtin.o
./mkbuiltins -D . builtin.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include builtin.c || ( rm -f builtin.c ; exit 1 )
rm -f builtin.c
rm -f caller.o
./mkbuiltins -D . caller.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include caller.c || ( rm -f caller.c ; exit 1 )
rm -f caller.c
rm -f cd.o
./mkbuiltins -D . cd.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include cd.c || ( rm -f cd.c ; exit 1 )
./cd.def:319:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("HOME not set"));
^~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./cd.def:319:19: note: treat the string as an argument to avoid this
builtin_error (_("HOME not set"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./cd.def:338:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("OLDPWD not set"));
^~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./cd.def:338:19: note: treat the string as an argument to avoid this
builtin_error (_("OLDPWD not set"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./cd.def:355:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (path = extract_colon_unit (cdpath, &path_index))
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./cd.def:355:19: note: place parentheses around the assignment to silence this warning
while (path = extract_colon_unit (cdpath, &path_index))
^
( )
./cd.def:355:19: note: use '==' to turn this assignment into an equality comparison
while (path = extract_colon_unit (cdpath, &path_index))
^
==
3 warnings generated.
rm -f cd.c
rm -f colon.o
./mkbuiltins -D . colon.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include colon.c || ( rm -f colon.c ; exit 1 )
rm -f colon.c
rm -f command.o
./mkbuiltins -D . command.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include command.c || ( rm -f command.c ; exit 1 )
rm -f command.c
rm -f common.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include common.c
common.c:139:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf (stderr, _("warning: "));
^~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
common.c:139:20: note: treat the string as an argument to avoid this
fprintf (stderr, _("warning: "));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
common.c:166:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("too many arguments"));
^~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
common.c:166:22: note: treat the string as an argument to avoid this
builtin_error (_("too many arguments"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
common.c:292:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("no job control"));
^~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
common.c:292:20: note: treat the string as an argument to avoid this
builtin_error (_("no job control"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
common.c:304:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("restricted"));
^~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
common.c:304:20: note: treat the string as an argument to avoid this
builtin_error (_("restricted"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
4 warnings generated.
rm -f declare.o
./mkbuiltins -D . declare.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include declare.c || ( rm -f declare.c ; exit 1 )
./declare.def:126:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("can only be used in a function"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./declare.def:126:22: note: treat the string as an argument to avoid this
builtin_error (_("can only be used in a function"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./declare.def:333:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (t = strchr (name, '[')) /* ] */
~~^~~~~~~~~~~~~~~~~~~~
./declare.def:333:13: note: place parentheses around the assignment to silence this warning
if (t = strchr (name, '[')) /* ] */
^
( )
./declare.def:333:13: note: use '==' to turn this assignment into an equality comparison
if (t = strchr (name, '[')) /* ] */
^
==
./declare.def:398:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("cannot use `-f' to make functions"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./declare.def:398:23: note: treat the string as an argument to avoid this
builtin_error (_("cannot use `-f' to make functions"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
3 warnings generated.
rm -f declare.c
rm -f echo.o
./mkbuiltins -D . echo.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include echo.c || ( rm -f echo.c ; exit 1 )
./echo.def:139:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (i = *temp++)
~~^~~~~~~~~
./echo.def:139:16: note: place parentheses around the assignment to silence this warning
while (i = *temp++)
^
( )
./echo.def:139:16: note: use '==' to turn this assignment into an equality comparison
while (i = *temp++)
^
==
1 warning generated.
rm -f echo.c
rm -f enable.o
./mkbuiltins -D . enable.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include enable.c || ( rm -f enable.c ; exit 1 )
./enable.def:348:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (old_builtin = builtin_address_internal (name, 1))
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./enable.def:348:23: note: place parentheses around the assignment to silence this warning
if (old_builtin = builtin_address_internal (name, 1))
^
( )
./enable.def:348:23: note: use '==' to turn this assignment into an equality comparison
if (old_builtin = builtin_address_internal (name, 1))
^
==
1 warning generated.
rm -f enable.c
rm -f eval.o
./mkbuiltins -D . eval.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include eval.c || ( rm -f eval.c ; exit 1 )
rm -f eval.c
rm -f evalfile.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include evalfile.c
rm -f evalstring.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include evalstring.c
evalstring.c:208:16: warning: passing 'volatile sigset_t *' to parameter of type 'sigset_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sigemptyset (&pe_sigmask);
^~~~~~~~~~~
/data/data/com.termux/files/usr/include/signal.h:89:27: note: passing argument to parameter '__set' here
int sigemptyset(sigset_t* __set) __INTRODUCED_IN(21);
^
evalstring.c:209:45: warning: passing 'volatile sigset_t *' to parameter of type 'sigset_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sigprocmask (SIG_BLOCK, (sigset_t *)NULL, &pe_sigmask);
^~~~~~~~~~~
/data/data/com.termux/files/usr/include/signal.h:117:65: note: passing argument to parameter '__old_set' here
int sigprocmask(int __how, const sigset_t* __new_set, sigset_t* __old_set);
^
evalstring.c:288:31: warning: passing 'volatile sigset_t *' to parameter of type 'const sigset_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sigprocmask (SIG_SETMASK, &pe_sigmask, (sigset_t *)NULL);
^~~~~~~~~~~
/data/data/com.termux/files/usr/include/signal.h:117:44: note: passing argument to parameter '__new_set' here
int sigprocmask(int __how, const sigset_t* __new_set, sigset_t* __old_set);
^
evalstring.c:307:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
else if (command = global_command)
~~~~~~~~^~~~~~~~~~~~~~~~
evalstring.c:307:21: note: place parentheses around the assignment to silence this warning
else if (command = global_command)
^
( )
evalstring.c:307:21: note: use '==' to turn this assignment into an equality comparison
else if (command = global_command)
^
==
evalstring.c:461:16: warning: passing 'volatile sigset_t *' to parameter of type 'sigset_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sigemptyset (&ps_sigmask);
^~~~~~~~~~~
/data/data/com.termux/files/usr/include/signal.h:89:27: note: passing argument to parameter '__set' here
int sigemptyset(sigset_t* __set) __INTRODUCED_IN(21);
^
evalstring.c:462:45: warning: passing 'volatile sigset_t *' to parameter of type 'sigset_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sigprocmask (SIG_BLOCK, (sigset_t *)NULL, &ps_sigmask);
^~~~~~~~~~~
/data/data/com.termux/files/usr/include/signal.h:117:65: note: passing argument to parameter '__old_set' here
int sigprocmask(int __how, const sigset_t* __new_set, sigset_t* __old_set);
^
evalstring.c:514:34: warning: passing 'volatile sigset_t *' to parameter of type 'const sigset_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
sigprocmask (SIG_SETMASK, &ps_sigmask, (sigset_t *)NULL);
^~~~~~~~~~~
/data/data/com.termux/files/usr/include/signal.h:117:44: note: passing argument to parameter '__new_set' here
int sigprocmask(int __how, const sigset_t* __new_set, sigset_t* __old_set);
^
7 warnings generated.
rm -f exec.o
./mkbuiltins -D . exec.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include exec.c || ( rm -f exec.c ; exit 1 )
rm -f exec.c
rm -f exit.o
./mkbuiltins -D . exit.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include exit.c || ( rm -f exit.c ; exit 1 )
./exit.def:65:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf (stderr, login_shell ? _("logout\n") : "exit\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./exit.def:65:24: note: treat the string as an argument to avoid this
fprintf (stderr, login_shell ? _("logout\n") : "exit\n");
^
"%s",
./exit.def:88:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("not login shell: use `exit'"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./exit.def:88:22: note: treat the string as an argument to avoid this
builtin_error (_("not login shell: use `exit'"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./exit.def:120:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf (stderr, _("There are stopped jobs.\n"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./exit.def:120:19: note: treat the string as an argument to avoid this
fprintf (stderr, _("There are stopped jobs.\n"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./exit.def:122:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fprintf (stderr, _("There are running jobs.\n"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./exit.def:122:19: note: treat the string as an argument to avoid this
fprintf (stderr, _("There are running jobs.\n"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
4 warnings generated.
rm -f exit.c
rm -f fc.o
./mkbuiltins -D . fc.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include fc.c || ( rm -f fc.c ; exit 1 )
./fc.def:262:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("no command found"));
^~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./fc.def:262:19: note: treat the string as an argument to avoid this
builtin_error (_("no command found"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f fc.c
rm -f fg_bg.o
./mkbuiltins -D . fg_bg.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include fg_bg.c || ( rm -f fg_bg.c ; exit 1 )
rm -f fg_bg.c
rm -f hash.o
./mkbuiltins -D . hash.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include hash.c || ( rm -f hash.c ; exit 1 )
./hash.def:92:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("hashing disabled"));
^~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./hash.def:92:22: note: treat the string as an argument to avoid this
builtin_error (_("hashing disabled"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./hash.def:245:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
printf (_("hits\tcommand\n"));
^~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./hash.def:245:13: note: treat the string as an argument to avoid this
printf (_("hits\tcommand\n"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
2 warnings generated.
rm -f hash.c
rm -f help.o
./mkbuiltins -D . help.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include help.c || ( rm -f help.c ; exit 1 )
./help.def:130:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
printf (ngettext ("Shell commands matching keyword `", "Shell commands matching keywords `", (list->next ? 2 : 1)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./help.def:130:15: note: treat the string as an argument to avoid this
printf (ngettext ("Shell commands matching keyword `", "Shell commands matching keywords `", (list->next ? 2 : 1)));
^
"%s",
./help.def:142:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = 0; name = shell_builtins[i].name; i++)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
./help.def:142:21: note: place parentheses around the assignment to silence this warning
for (i = 0; name = shell_builtins[i].name; i++)
^
( )
./help.def:142:21: note: use '==' to turn this assignment into an equality comparison
for (i = 0; name = shell_builtins[i].name; i++)
^
==
./help.def:485:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
_("These shell commands are defined internally. Type `help' to see this list.\n\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./help.def:485:1: note: treat the string as an argument to avoid this
_("These shell commands are defined internally. Type `help' to see this list.\n\
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
3 warnings generated.
rm -f help.c
rm -f history.o
./mkbuiltins -D . history.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include history.c || ( rm -f history.c ; exit 1 )
./history.def:154:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("cannot use more than one of -anrw"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./history.def:154:22: note: treat the string as an argument to avoid this
builtin_error (_("cannot use more than one of -anrw"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f history.c
rm -f jobs.o
./mkbuiltins -D . jobs.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include jobs.c || ( rm -f jobs.c ; exit 1 )
./jobs.def:109:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("no other options allowed with `-x'"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./jobs.def:109:23: note: treat the string as an argument to avoid this
builtin_error (_("no other options allowed with `-x'"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f jobs.c
rm -f kill.o
./mkbuiltins -D . kill.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include kill.c || ( rm -f kill.c ; exit 1 )
rm -f kill.c
rm -f let.o
./mkbuiltins -D . let.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include let.c || ( rm -f let.c ; exit 1 )
./let.def:95:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("expression expected"));
^~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./let.def:95:22: note: treat the string as an argument to avoid this
builtin_error (_("expression expected"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f let.c
rm -f mapfile.o
./mkbuiltins -D . mapfile.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include mapfile.c || ( rm -f mapfile.c ; exit 1 )
./mapfile.def:336:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("empty array variable name"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./mapfile.def:336:22: note: treat the string as an argument to avoid this
builtin_error (_("empty array variable name"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f mapfile.c
rm -f pushd.o
./mkbuiltins -D . pushd.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include pushd.c || ( rm -f pushd.c ; exit 1 )
./pushd.def:195:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("no other directory"));
^~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./pushd.def:195:19: note: treat the string as an argument to avoid this
builtin_error (_("no other directory"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./pushd.def:512:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("directory stack empty"));
^~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./pushd.def:512:20: note: treat the string as an argument to avoid this
builtin_error (_("directory stack empty"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
2 warnings generated.
rm -f pushd.c
rm -f read.o
./mkbuiltins -D . read.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include read.c || ( rm -f read.c ; exit 1 )
rm -f read.c
rm -f return.o
./mkbuiltins -D . return.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include return.c || ( rm -f return.c ; exit 1 )
./return.def:75:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("can only `return' from a function or sourced script"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./return.def:75:22: note: treat the string as an argument to avoid this
builtin_error (_("can only `return' from a function or sourced script"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f return.c
rm -f set.o
./mkbuiltins -D . set.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include set.c || ( rm -f set.c ; exit 1 )
./set.def:549:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (vname = extract_colon_unit (value, &vptr))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./set.def:549:16: note: place parentheses around the assignment to silence this warning
while (vname = extract_colon_unit (value, &vptr))
^
( )
./set.def:549:16: note: use '==' to turn this assignment into an equality comparison
while (vname = extract_colon_unit (value, &vptr))
^
==
./set.def:658:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (flag_name = *++arg)
~~~~~~~~~~^~~~~~~~
./set.def:658:21: note: place parentheses around the assignment to silence this warning
while (flag_name = *++arg)
^
( )
./set.def:658:21: note: use '==' to turn this assignment into an equality comparison
while (flag_name = *++arg)
^
==
./set.def:784:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("cannot simultaneously unset a function and a variable"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./set.def:784:22: note: treat the string as an argument to avoid this
builtin_error (_("cannot simultaneously unset a function and a variable"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./set.def:841:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (var = find_function (name))
~~~~^~~~~~~~~~~~~~~~~~~~~~
./set.def:841:12: note: place parentheses around the assignment to silence this warning
if (var = find_function (name))
^
( )
./set.def:841:12: note: use '==' to turn this assignment into an equality comparison
if (var = find_function (name))
^
==
4 warnings generated.
rm -f set.c
rm -f setattr.o
./mkbuiltins -D . setattr.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include setattr.c || ( rm -f setattr.c ; exit 1 )
./setattr.def:291:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = 0; var = variable_list[i]; i++)
~~~~^~~~~~~~~~~~~~~~~~
./setattr.def:291:20: note: place parentheses around the assignment to silence this warning
for (i = 0; var = variable_list[i]; i++)
^
( )
./setattr.def:291:20: note: use '==' to turn this assignment into an equality comparison
for (i = 0; var = variable_list[i]; i++)
^
==
./setattr.def:302:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (any_failed = sh_chkwrite (any_failed))
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
./setattr.def:302:20: note: place parentheses around the assignment to silence this warning
if (any_failed = sh_chkwrite (any_failed))
^
( )
./setattr.def:302:20: note: use '==' to turn this assignment into an equality comparison
if (any_failed = sh_chkwrite (any_failed))
^
==
./setattr.def:329:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = any_failed = 0; var = variable_list[i]; i++)
~~~~^~~~~~~~~~~~~~~~~~
./setattr.def:329:32: note: place parentheses around the assignment to silence this warning
for (i = any_failed = 0; var = variable_list[i]; i++)
^
( )
./setattr.def:329:32: note: use '==' to turn this assignment into an equality comparison
for (i = any_failed = 0; var = variable_list[i]; i++)
^
==
./setattr.def:332:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (any_failed = sh_chkwrite (any_failed))
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
./setattr.def:332:22: note: place parentheses around the assignment to silence this warning
if (any_failed = sh_chkwrite (any_failed))
^
( )
./setattr.def:332:22: note: use '==' to turn this assignment into an equality comparison
if (any_failed = sh_chkwrite (any_failed))
^
==
4 warnings generated.
rm -f setattr.c
rm -f shift.o
./mkbuiltins -D . shift.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include shift.c || ( rm -f shift.c ; exit 1 )
rm -f shift.c
rm -f source.o
./mkbuiltins -D . source.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include source.c || ( rm -f source.c ; exit 1 )
./source.def:130:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("filename argument required"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./source.def:130:22: note: treat the string as an argument to avoid this
builtin_error (_("filename argument required"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f source.c
rm -f suspend.o
./mkbuiltins -D . suspend.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include suspend.c || ( rm -f suspend.c ; exit 1 )
./suspend.def:111:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("cannot suspend a login shell"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./suspend.def:111:19: note: treat the string as an argument to avoid this
builtin_error (_("cannot suspend a login shell"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f suspend.c
rm -f test.o
./mkbuiltins -D . test.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include test.c || ( rm -f test.c ; exit 1 )
./test.def:147:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("missing `]'"));
^~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./test.def:147:19: note: treat the string as an argument to avoid this
builtin_error (_("missing `]'"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f test.c
rm -f times.o
./mkbuiltins -D . times.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include times.c || ( rm -f times.c ; exit 1 )
rm -f times.c
rm -f trap.o
./mkbuiltins -D . trap.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include trap.c || ( rm -f trap.c ; exit 1 )
rm -f trap.c
rm -f type.o
./mkbuiltins -D . type.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include type.c || ( rm -f type.c ; exit 1 )
./type.def:332:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (full_path = phash_search (command))
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
./type.def:332:21: note: place parentheses around the assignment to silence this warning
if (full_path = phash_search (command))
^
( )
./type.def:332:21: note: use '==' to turn this assignment into an equality comparison
if (full_path = phash_search (command))
^
==
1 warning generated.
rm -f type.c
gcc -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -g -O2 -rdynamic -rdynamic -g -O2 -o psize.aux ./psize.c
/bin/sh ./psize.sh > pipesize.h
rm -f ulimit.o
./mkbuiltins -D . ulimit.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include ulimit.c || ( rm -f ulimit.c ; exit 1 )
rm -f ulimit.c
rm -f umask.o
./mkbuiltins -D . umask.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include umask.c || ( rm -f umask.c ; exit 1 )
rm -f umask.c
rm -f wait.o
./mkbuiltins -D . wait.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include wait.c || ( rm -f wait.c ; exit 1 )
rm -f wait.c
rm -f getopts.o
./mkbuiltins -D . getopts.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include getopts.c || ( rm -f getopts.c ; exit 1 )
rm -f getopts.c
rm -f shopt.o
./mkbuiltins -D . shopt.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include shopt.c || ( rm -f shopt.c ; exit 1 )
./shopt.def:279:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("cannot set and unset shell options simultaneously"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./shopt.def:279:22: note: treat the string as an argument to avoid this
builtin_error (_("cannot set and unset shell options simultaneously"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./shopt.def:744:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (vname = extract_colon_unit (value, &vptr))
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./shopt.def:744:16: note: place parentheses around the assignment to silence this warning
while (vname = extract_colon_unit (value, &vptr))
^
( )
./shopt.def:744:16: note: use '==' to turn this assignment into an equality comparison
while (vname = extract_colon_unit (value, &vptr))
^
==
2 warnings generated.
rm -f shopt.c
rm -f printf.o
./mkbuiltins -D . printf.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include printf.c || ( rm -f printf.c ; exit 1 )
./printf.def:865:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("missing hex digit for \\x"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./printf.def:865:21: note: treat the string as an argument to avoid this
builtin_error (_("missing hex digit for \\x"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
1 warning generated.
rm -f printf.c
rm -f getopt.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include getopt.c
getopt.c:182:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (sh_badopt = (temp == NULL || c == ':'))
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
getopt.c:182:17: note: place parentheses around the assignment to silence this warning
if (sh_badopt = (temp == NULL || c == ':'))
^
( )
getopt.c:182:17: note: use '==' to turn this assignment into an equality comparison
if (sh_badopt = (temp == NULL || c == ':'))
^
==
1 warning generated.
rm -f bashgetopt.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include bashgetopt.c
rm -f complete.o
./mkbuiltins -D . complete.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -I/data/data/com.termux/files/usr/include complete.c || ( rm -f complete.c ; exit 1 )
./complete.def:697:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("warning: -F option may not work as you expect"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./complete.def:697:20: note: treat the string as an argument to avoid this
builtin_error (_("warning: -F option may not work as you expect"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./complete.def:699:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("warning: -C option may not work as you expect"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./complete.def:699:20: note: treat the string as an argument to avoid this
builtin_error (_("warning: -C option may not work as you expect"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
./complete.def:828:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
builtin_error (_("not currently executing completion function"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^~~~~~~~~~~~~~
./complete.def:828:19: note: treat the string as an argument to avoid this
builtin_error (_("not currently executing completion function"));
^
"%s",
./../bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid) gettext(msgid)
^
3 warnings generated.
rm -f complete.c
rm -f libbuiltins.a
ar cr libbuiltins.a builtins.o alias.o bind.o break.o builtin.o caller.o cd.o colon.o command.o common.o declare.o echo.o enable.o eval.o evalfile.o evalstring.o exec.o exit.o fc.o fg_bg.o hash.o help.o history.o jobs.o kill.o let.o mapfile.o pushd.o read.o return.o set.o setattr.o shift.o source.o suspend.o test.o times.o trap.o type.o ulimit.o umask.o wait.o getopts.o shopt.o printf.o getopt.o bashgetopt.o complete.o
ranlib libbuiltins.a
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/builtins'
making lib/glob/libglob.a in ./lib/glob
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/glob'
rm -f glob.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I../.. -I../.. -I../../include -I../../lib glob.c
glob.c:210:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (t = glob_patscan (pp, pe, '|'))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
glob.c:210:12: note: place parentheses around the assignment to silence this warning
while (t = glob_patscan (pp, pe, '|'))
^
( )
glob.c:210:12: note: use '==' to turn this assignment into an equality comparison
while (t = glob_patscan (pp, pe, '|'))
^
==
glob.c:310:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (t = glob_patscan_wc (pp, pe, '|'))
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glob.c:310:12: note: place parentheses around the assignment to silence this warning
while (t = glob_patscan_wc (pp, pe, '|'))
^
( )
glob.c:310:12: note: use '==' to turn this assignment into an equality comparison
while (t = glob_patscan_wc (pp, pe, '|'))
^
==
2 warnings generated.
rm -f strmatch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I../.. -I../.. -I../../include -I../../lib strmatch.c
rm -f smatch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I../.. -I../.. -I../../include -I../../lib smatch.c
In file included from smatch.c:241:
./sm_loop.c:319:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (not = (*p == L('!') || *p == L('^')))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sm_loop.c:319:11: note: place parentheses around the assignment to silence this warning
if (not = (*p == L('!') || *p == L('^')))
^
( )
./sm_loop.c:319:11: note: use '==' to turn this assignment into an equality comparison
if (not = (*p == L('!') || *p == L('^')))
^
==
./sm_loop.c:553:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (s = string; c = *s; s++)
~~^~~~
./sm_loop.c:553:22: note: place parentheses around the assignment to silence this warning
for (s = string; c = *s; s++)
^
( )
./sm_loop.c:553:22: note: use '==' to turn this assignment into an equality comparison
for (s = string; c = *s; s++)
^
==
./sm_loop.c:764:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (m1 = (GMATCH (s, srest, psub, pnext - 1, flags) == 0))
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sm_loop.c:764:15: note: place parentheses around the assignment to silence this warning
if (m1 = (GMATCH (s, srest, psub, pnext - 1, flags) == 0))
^
( )
./sm_loop.c:764:15: note: use '==' to turn this assignment into an equality comparison
if (m1 = (GMATCH (s, srest, psub, pnext - 1, flags) == 0))
^
==
In file included from smatch.c:373:
./sm_loop.c:319:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (not = (*p == L('!') || *p == L('^')))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sm_loop.c:319:11: note: place parentheses around the assignment to silence this warning
if (not = (*p == L('!') || *p == L('^')))
^
( )
./sm_loop.c:319:11: note: use '==' to turn this assignment into an equality comparison
if (not = (*p == L('!') || *p == L('^')))
^
==
./sm_loop.c:553:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (s = string; c = *s; s++)
~~^~~~
./sm_loop.c:553:22: note: place parentheses around the assignment to silence this warning
for (s = string; c = *s; s++)
^
( )
./sm_loop.c:553:22: note: use '==' to turn this assignment into an equality comparison
for (s = string; c = *s; s++)
^
==
./sm_loop.c:764:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (m1 = (GMATCH (s, srest, psub, pnext - 1, flags) == 0))
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./sm_loop.c:764:15: note: place parentheses around the assignment to silence this warning
if (m1 = (GMATCH (s, srest, psub, pnext - 1, flags) == 0))
^
( )
./sm_loop.c:764:15: note: use '==' to turn this assignment into an equality comparison
if (m1 = (GMATCH (s, srest, psub, pnext - 1, flags) == 0))
^
==
6 warnings generated.
rm -f xmbsrtowcs.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I../.. -I../.. -I../../include -I../../lib xmbsrtowcs.c
rm -f gmisc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I../.. -I../.. -I../../include -I../../lib gmisc.c
gmisc.c:89:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (wc = *wpat++)
~~~^~~~~~~~~
gmisc.c:89:13: note: place parentheses around the assignment to silence this warning
while (wc = *wpat++)
^
( )
gmisc.c:89:13: note: use '==' to turn this assignment into an equality comparison
while (wc = *wpat++)
^
==
gmisc.c:266:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (c = *pat++)
~~^~~~~~~~
gmisc.c:266:12: note: place parentheses around the assignment to silence this warning
while (c = *pat++)
^
( )
gmisc.c:266:12: note: use '==' to turn this assignment into an equality comparison
while (c = *pat++)
^
==
2 warnings generated.
rm -f -f libglob.a
ar cr libglob.a glob.o strmatch.o smatch.o xmbsrtowcs.o gmisc.o
test -n "ranlib" && ranlib libglob.a
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/glob'
making lib/sh/libsh.a in ./lib/sh
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/sh'
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include clktck.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include clock.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include getenv.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include oslib.c
oslib.c:182:1: warning: incompatible redeclaration of library function 'bzero' [-Wincompatible-library-redeclaration]
bzero (s, n)
^
oslib.c:182:1: note: 'bzero' is a builtin with type 'void (void *, unsigned long)'
1 warning generated.
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include setlinebuf.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include strnlen.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include itos.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include zread.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include zwrite.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include shtty.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include shmatch.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include eaccess.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include netconn.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include netopen.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include timeval.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include makepath.c
makepath.c:123:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (*r++ = *s++)
~~~~~^~~~~~
makepath.c:123:15: note: place parentheses around the assignment to silence this warning
while (*r++ = *s++)
^
( )
makepath.c:123:15: note: use '==' to turn this assignment into an equality comparison
while (*r++ = *s++)
^
==
1 warning generated.
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include pathcanon.c
pathcanon.c:117:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (rooted = ROOTEDPATH(path))
~~~~~~~^~~~~~~~~~~~~~~~~~
pathcanon.c:117:14: note: place parentheses around the assignment to silence this warning
if (rooted = ROOTEDPATH(path))
^
( )
pathcanon.c:117:14: note: use '==' to turn this assignment into an equality comparison
if (rooted = ROOTEDPATH(path))
^
==
1 warning generated.
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include pathphys.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include tmpfile.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include stringlist.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include stringvec.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include spell.c
spell.c:98:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (p = best; *np = *p++; np++)
~~~~^~~~~~
spell.c:98:26: note: place parentheses around the assignment to silence this warning
for (p = best; *np = *p++; np++)
^
( )
spell.c:98:26: note: use '==' to turn this assignment into an equality comparison
for (p = best; *np = *p++; np++)
^
==
1 warning generated.
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include shquote.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include strtrans.c
strtrans.c:232:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (s = str; c = *s; s++)
~~^~~~
strtrans.c:232:19: note: place parentheses around the assignment to silence this warning
for (s = str; c = *s; s++)
^
( )
strtrans.c:232:19: note: use '==' to turn this assignment into an equality comparison
for (s = str; c = *s; s++)
^
==
strtrans.c:317:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (wcs = wcstr; wcc = *wcs; wcs++)
~~~~^~~~~~
strtrans.c:317:25: note: place parentheses around the assignment to silence this warning
for (wcs = wcstr; wcc = *wcs; wcs++)
^
( )
strtrans.c:317:25: note: use '==' to turn this assignment into an equality comparison
for (wcs = wcstr; wcc = *wcs; wcs++)
^
==
strtrans.c:340:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (s = string; c = *s; s++)
~~^~~~
strtrans.c:340:22: note: place parentheses around the assignment to silence this warning
for (s = string; c = *s; s++)
^
( )
strtrans.c:340:22: note: use '==' to turn this assignment into an equality comparison
for (s = string; c = *s; s++)
^
==
3 warnings generated.
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include snprintf.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include mailstat.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include fmtulong.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include fmtullong.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include fmtumax.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include zcatfd.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include zmapfd.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include winsize.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include wcsdup.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include fpurge.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include zgetline.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include mbscmp.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include uconvert.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include ufuncs.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include casemod.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include input_avail.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include mbscasecmp.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include fnxform.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include unicode.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include shmbchar.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include wcsnwidth.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include mktime.c
mktime.c:282:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (TIME_T_MAX / INT_MAX / 366 / 24 / 60 / 60 < 3)
^~~~~~~~~~
mktime.c:83:36: note: expanded from macro 'TIME_T_MAX'
#define TIME_T_MAX (~ (time_t) 0 - TIME_T_MIN)
^~~~~~~~~~
mktime.c:80:22: note: expanded from macro 'TIME_T_MIN'
: ~ (time_t) 0 << (sizeof (time_t) * CHAR_BIT - 1))
~~~~~~~~~~~~ ^
1 warning generated.
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include mbschr.c
rm -f libsh.a
ar cr libsh.a clktck.o clock.o getenv.o oslib.o setlinebuf.o strnlen.o itos.o zread.o zwrite.o shtty.o shmatch.o eaccess.o netconn.o netopen.o timeval.o makepath.o pathcanon.o pathphys.o tmpfile.o stringlist.o stringvec.o spell.o shquote.o strtrans.o snprintf.o mailstat.o fmtulong.o fmtullong.o fmtumax.o zcatfd.o zmapfd.o winsize.o wcsdup.o fpurge.o zgetline.o mbscmp.o uconvert.o ufuncs.o casemod.o input_avail.o mbscasecmp.o fnxform.o unicode.o shmbchar.o wcsnwidth.o mktime.o mbschr.o
test -n "ranlib" && ranlib libsh.a
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/sh'
making lib/readline/libreadline.a in ./lib/readline
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/readline'
rm -f readline.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib readline.c
rm -f vi_mode.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib vi_mode.c
rm -f funmap.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib funmap.c
rm -f keymaps.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib keymaps.c
rm -f parens.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib parens.c
rm -f search.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib search.c
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib rltty.c
rm -f complete.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib complete.c
complete.c:1087:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
complete.c:1087:23: note: place parentheses around the assignment to silence this warning
while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
^
( )
complete.c:1087:23: note: use '==' to turn this assignment into an equality comparison
while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
^
==
complete.c:2121:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
while (string = (*entry_function) (text, matches))
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
complete.c:2121:17: note: place parentheses around the assignment to silence this warning
while (string = (*entry_function) (text, matches))
^
( )
complete.c:2121:17: note: use '==' to turn this assignment into an equality comparison
while (string = (*entry_function) (text, matches))
^
==
2 warnings generated.
rm -f bind.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib bind.c
bind.c:455:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = l = 0; c = seq[i]; i++)
~~^~~~~~~~
bind.c:455:21: note: place parentheses around the assignment to silence this warning
for (i = l = 0; c = seq[i]; i++)
^
( )
bind.c:455:21: note: use '==' to turn this assignment into an equality comparison
for (i = l = 0; c = seq[i]; i++)
^
==
bind.c:1213:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = start,passc = 0; c = string[i]; i++)
~~^~~~~~~~~~~
bind.c:1213:31: note: place parentheses around the assignment to silence this warning
for (i = start,passc = 0; c = string[i]; i++)
^
( )
bind.c:1213:31: note: use '==' to turn this assignment into an equality comparison
for (i = start,passc = 0; c = string[i]; i++)
^
==
bind.c:2201:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (i = 0; name = names[i]; i++)
~~~~~^~~~~~~~~~
bind.c:2201:20: note: place parentheses around the assignment to silence this warning
for (i = 0; name = names[i]; i++)
^
( )
bind.c:2201:20: note: use '==' to turn this assignment into an equality comparison
for (i = 0; name = names[i]; i++)
^
==
3 warnings generated.
rm -f isearch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib isearch.c
rm -f display.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib display.c
rm -f signals.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib signals.c
rm -f util.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib util.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib kill.c
rm -f undo.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib undo.c
rm -f macro.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib input.c
input.c:434:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (c = _rl_next_macro_key ())
~~^~~~~~~~~~~~~~~~~~~~~~~
input.c:434:13: note: place parentheses around the assignment to silence this warning
if (c = _rl_next_macro_key ())
^
( )
input.c:434:13: note: use '==' to turn this assignment into an equality comparison
if (c = _rl_next_macro_key ())
^
==
1 warning generated.
rm -f callback.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib terminal.c
rm -f text.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib text.c
rm -f nls.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib nls.c
rm -f misc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib misc.c
misc.c:458:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (ul = (UNDO_LIST *)entry->data)
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
misc.c:458:14: note: place parentheses around the assignment to silence this warning
if (ul = (UNDO_LIST *)entry->data)
^
( )
misc.c:458:14: note: use '==' to turn this assignment into an equality comparison
if (ul = (UNDO_LIST *)entry->data)
^
==
misc.c:505:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (ul = (UNDO_LIST *)hent->data)
~~~^~~~~~~~~~~~~~~~~~~~~~~~~
misc.c:505:14: note: place parentheses around the assignment to silence this warning
if (ul = (UNDO_LIST *)hent->data)
^
( )
misc.c:505:14: note: use '==' to turn this assignment into an equality comparison
if (ul = (UNDO_LIST *)hent->data)
^
==
2 warnings generated.
rm -f history.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib history.c
history.c:308:31: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
temp = alloc_history_entry (string, hist_inittime ());
^~~~~~
1 warning generated.
rm -f histexpand.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib histexpand.c
histexpand.c:207:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
for (local_index = i; c = string[i]; i++)
~~^~~~~~~~~~~
histexpand.c:207:27: note: place parentheses around the assignment to silence this warning
for (local_index = i; c = string[i]; i++)
^
( )
histexpand.c:207:27: note: use '==' to turn this assignment into an equality comparison
for (local_index = i; c = string[i]; i++)
^
==
1 warning generated.
rm -f histfile.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib histfile.c
rm -f histsearch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib histsearch.c
rm -f shell.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib shell.c
rm -f savestring.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib savestring.c
rm -f mbutil.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib mbutil.c
rm -f tilde.o
gcc -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib -DREADLINE_LIBRARY -c ./tilde.c
./tilde.c:199:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (result = strchr (string, '~'))
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
./tilde.c:199:14: note: place parentheses around the assignment to silence this warning
if (result = strchr (string, '~'))
^
( )
./tilde.c:199:14: note: use '==' to turn this assignment into an equality comparison
if (result = strchr (string, '~'))
^
==
1 warning generated.
rm -f colors.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib colors.c
rm -f parse-colors.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib parse-colors.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib xmalloc.c
rm -f xfree.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib xfree.c
rm -f compat.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I/data/data/com.termux/files/home/dgsh/unix-tools/bash -I../.. -I../../lib compat.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o tilde.o colors.o parse-colors.o xmalloc.o xfree.o compat.o
test -n "ranlib" && ranlib libreadline.a
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/readline'
making lib/readline/libhistory.a in ./lib/readline
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/readline'
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o xmalloc.o xfree.o
test -n "ranlib" && ranlib libhistory.a
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/readline'
making lib/tilde/libtilde.a in ./lib/tilde
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/tilde'
gcc -c -DHAVE_CONFIG_H -DSHELL -I/data/data/com.termux/files/usr/include -I. -I../.. -I../.. -I../../include -I../../lib tilde.c
tilde.c:199:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (result = strchr (string, '~'))
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
tilde.c:199:14: note: place parentheses around the assignment to silence this warning
if (result = strchr (string, '~'))
^
( )
tilde.c:199:14: note: use '==' to turn this assignment into an equality comparison
if (result = strchr (string, '~'))
^
==
1 warning generated.
rm -f libtilde.a
ar cr libtilde.a tilde.o
test -n "ranlib" && ranlib libtilde.a
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/tilde'
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/malloc'
gcc -I. -I../.. -I../.. -I../../include -I../../lib -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -DRCHECK -Dbotch=programming_error -I/data/data/com.termux/files/usr/include -c malloc.c
gcc -I. -I../.. -I../.. -I../../include -I../../lib -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -DRCHECK -Dbotch=programming_error -I/data/data/com.termux/files/usr/include -c trace.c
gcc -I. -I../.. -I../.. -I../../include -I../../lib -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -DRCHECK -Dbotch=programming_error -I/data/data/com.termux/files/usr/include -c stats.c
gcc -I. -I../.. -I../.. -I../../include -I../../lib -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -DRCHECK -Dbotch=programming_error -I/data/data/com.termux/files/usr/include -c table.c
gcc -I. -I../.. -I../.. -I../../include -I../../lib -I../../lib/intl -I/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/intl -DHAVE_CONFIG_H -DSHELL -DRCHECK -Dbotch=programming_error -I/data/data/com.termux/files/usr/include -c watch.c
rm -f libmalloc.a
ar cr libmalloc.a malloc.o trace.o stats.o table.o watch.o
test -n "ranlib" && ranlib libmalloc.a
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash/lib/malloc'
rm -f bash
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/malloc -L./lib/sh -rdynamic -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dgsh_util.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins -lglob -lsh -lreadline -lhistory -ltermcap -ltilde -lmalloc lib/intl/libintl.a /data/data/com.termux/files/usr/lib/libiconv.so -Wl,-rpath -Wl,/data/data/com.termux/files/usr/lib /data/data/com.termux/files/usr/lib/libiconv.so -Wl,-rpath -Wl,/data/data/com.termux/files/usr/lib -ldl
ld.lld: error: undefined symbol: mblen
>>> referenced by print_cmd.c
>>> print_cmd.o:(indirection_level_string)
>>> referenced by subst.c
>>> subst.o:(string_extract_verbatim)
>>> referenced by subst.c
>>> subst.o:(setifs)
>>> referenced 1 more times
>>> did you mean: mbrlen
>>> defined in: /data/data/com.termux/files/usr/lib/gcc/aarch64-linux-android/11.1.0/../../../../aarch64-linux-android/lib/libc.so
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:560: bash] Error 1
make[2]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools/bash'
make[1]: *** [Makefile:89: make] Error 2
make[1]: Leaving directory '/data/data/com.termux/files/home/dgsh/unix-tools'
make: *** [Makefile:81: unix-tools] Error 2
It seems that some porting work is required. I don't have the bandwidth to do this, but I'll gladly integrate a pull request that fixes the issue.
make -C core-tools CFLAGS=""
make[1]: Entering directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/core-tools'
make all-recursive
make[2]: Entering directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/core-tools'
Making all in src
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/core-tools/src'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/core-tools/src'
Making all in .
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/core-tools'
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/core-tools'
Making all in tests
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/core-tools/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/core-tools/tests'
make[2]: Leaving directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/core-tools'
make[1]: Leaving directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/core-tools'
cd core-tools/src && make build-install
make[1]: Entering directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/core-tools/src'
mkdir -p ../../build/bin ../../build/libexec/dgsh
cp dgsh-monitor dgsh-httpval dgsh-readval dgsh-merge-sum ../../build/bin/
cp dgsh-tee dgsh-writeval dgsh-readval dgsh-monitor dgsh-conc dgsh-wrap dgsh-enumerate dgsh-pecho dgsh-fft-input dgsh-w dgsh-parallel perm ../../build/libexec/dgsh/
make[1]: Leaving directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/core-tools/src'
make -C unix-tools make MAKEFLAGS=
make[1]: Entering directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/unix-tools'
make -C bash CFLAGS=""
make[2]: Entering directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/unix-tools/bash'
***********************************************************
* *
* GNU bash, version 4.3.46(1)-release (aarch64-unknown-linux-gnu)
* *
***********************************************************
make[2]: Leaving directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/unix-tools/bash'
make -C coreutils
make[2]: Entering directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/unix-tools/coreutils'
make all-recursive
make[3]: Entering directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/unix-tools/coreutils'
Making all in po
make[4]: Entering directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/unix-tools/coreutils/po'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/unix-tools/coreutils/po'
Making all in .
make[4]: Entering directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/unix-tools/coreutils'
CC lib/freading.o
CC lib/freadseek.o
CC lib/freopen-safer.o
CC lib/ftoastr.o
CC lib/full-read.o
CC lib/full-write.o
CC lib/gethrxtime.o
CC lib/xtime.o
CC lib/getndelim2.o
lib/getndelim2.c:164:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if (GETNDELIM2_MAXIMUM < newsize - offset)
^~~~~~~~~~~~~~~~~~
lib/getndelim2.c:64:29: note: expanded from macro 'GETNDELIM2_MAXIMUM'
#define GETNDELIM2_MAXIMUM (PTRDIFF_MAX < SSIZE_MAX ? PTRDIFF_MAX : SSIZE_MAX)
^~~~~~~~~~~
./lib/stdint.h:520:5: note: expanded from macro 'PTRDIFF_MAX'
_STDINT_MAX (1, 64, 0l)
^~~~~~~~~~~~~~~~~~~~~~~
./lib/stdint.h:126:8: note: expanded from macro '_STDINT_MAX'
? ~ _STDINT_MIN (signed, bits, zero) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/stdint.h:122:31: note: expanded from macro '_STDINT_MIN'
((signed) ? (- ((zero) + 1) << ((bits) ? (bits) - 1 : 0)) : (zero))
~~~~~~~~~~~~~~ ^
lib/getndelim2.c:166:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
size_t newsizemax = offset + GETNDELIM2_MAXIMUM + 1;
^~~~~~~~~~~~~~~~~~
lib/getndelim2.c:64:29: note: expanded from macro 'GETNDELIM2_MAXIMUM'
#define GETNDELIM2_MAXIMUM (PTRDIFF_MAX < SSIZE_MAX ? PTRDIFF_MAX : SSIZE_MAX)
^~~~~~~~~~~
./lib/stdint.h:520:5: note: expanded from macro 'PTRDIFF_MAX'
_STDINT_MAX (1, 64, 0l)
^~~~~~~~~~~~~~~~~~~~~~~
./lib/stdint.h:126:8: note: expanded from macro '_STDINT_MAX'
? ~ _STDINT_MIN (signed, bits, zero) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./lib/stdint.h:122:31: note: expanded from macro '_STDINT_MIN'
((signed) ? (- ((zero) + 1) << ((bits) ? (bits) - 1 : 0)) : (zero))
~~~~~~~~~~~~~~ ^
2 warnings generated.
CC lib/gettime.o
CC lib/getugroups.o
CC lib/hard-locale.o
CC lib/hash.o
lib/hash.c:549:11: warning: implicit conversion from 'unsigned long' to 'float' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
if (SIZE_MAX <= new_candidate)
^~~~~~~~ ~~
./lib/stdint.h:543:20: note: expanded from macro 'SIZE_MAX'
# define SIZE_MAX _STDINT_MAX (0, 64, 0ul)
^~~~~~~~~~~~~~~~~~~~~~~~
./lib/stdint.h:130:71: note: expanded from macro '_STDINT_MAX'
((((zero) + 1) << ((bits) ? (bits) - 1 - (signed) : 0)) - 1) * 2 + 1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
lib/hash.c:1079:15: warning: implicit conversion from 'unsigned long' to 'float' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
if (SIZE_MAX <= candidate)
^~~~~~~~ ~~
./lib/stdint.h:543:20: note: expanded from macro 'SIZE_MAX'
# define SIZE_MAX _STDINT_MAX (0, 64, 0ul)
^~~~~~~~~~~~~~~~~~~~~~~~
./lib/stdint.h:130:71: note: expanded from macro '_STDINT_MAX'
((((zero) + 1) << ((bits) ? (bits) - 1 - (signed) : 0)) - 1) * 2 + 1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
2 warnings generated.
CC lib/hash-pjw.o
CC lib/hash-triple.o
CC lib/heap.o
CC lib/human.o
CC lib/i-ring.o
CC lib/idcache.o
CC lib/ino-map.o
CC lib/imaxtostr.o
CC lib/inttostr.o
CC lib/offtostr.o
CC lib/uinttostr.o
CC lib/umaxtostr.o
CC lib/ldtoastr.o
CC lib/linebuffer.o
CC lib/localcharset.o
CC lib/glthread/lock.o
In file included from lib/glthread/lock.c:23:
./lib/glthread/lock.h:147:17: warning: weak identifier 'pthread_cancel' never declared
# pragma weak pthread_cancel
^
1 warning generated.
CC lib/long-options.o
CC lib/malloca.o
CC lib/math.o
CC lib/mbchar.o
CC lib/mbiter.o
CC lib/mbsalign.o
CC lib/mbscasecmp.o
CC lib/mbslen.o
CC lib/mbsstr.o
CC lib/mbswidth.o
CC lib/mbuiter.o
CC lib/memcasecmp.o
CC lib/memchr2.o
CC lib/memcmp2.o
CC lib/memcoll.o
CC lib/mgetgroups.o
CC lib/mkancesdirs.o
CC lib/dirchownmod.o
CC lib/mkdir-p.o
CC lib/modechange.o
CC lib/mpsort.o
CC lib/nproc.o
CC lib/openat-die.o
CC lib/openat-safer.o
CC lib/parse-datetime.o
./lib/parse-datetime.y:876:17: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
if (24 * 60 < abs (n_minutes))
^
./lib/parse-datetime.y:876:17: note: use function 'labs' instead
if (24 * 60 < abs (n_minutes))
^~~
labs
1 warning generated.
CC lib/physmem.o
CC lib/posixtm.o
CC lib/posixver.o
CC lib/printf-frexp.o
CC lib/printf-frexpl.o
CC lib/priv-set.o
CC lib/progname.o
CC lib/propername.o
CC lib/qcopy-acl.o
CC lib/qset-acl.o
CC lib/quotearg.o
CC lib/randint.o
CC lib/randperm.o
CC lib/randread.o
CC lib/rand-isaac.o
CC lib/read-file.o
CC lib/readtokens.o
CC lib/readtokens0.o
CC lib/root-dev-ino.o
CC lib/safe-read.o
CC lib/safe-write.o
CC lib/same.o
CC lib/save-cwd.o
CC lib/savedir.o
CC lib/savewd.o
CC lib/se-context.o
CC lib/se-selinux.o
CC lib/settime.o
CC lib/sig-handler.o
CC lib/sockets.o
CC lib/stat-time.o
CC lib/statat.o
CC lib/mkstemp-safer.o
CC lib/strftime.o
CC lib/striconv.o
CC lib/strnlen1.o
CC lib/strintcmp.o
CC lib/strnumcmp.o
CC lib/sys_socket.o
CC lib/tempname.o
CC lib/glthread/threadlib.o
CC lib/timespec.o
CC lib/glthread/tls.o
In file included from lib/glthread/tls.c:21:
./lib/glthread/tls.h:79:17: warning: weak identifier 'pthread_cancel' never declared
# pragma weak pthread_cancel
^
1 warning generated.
CC lib/trim.o
CC lib/u64.o
CC lib/unicodeio.o
CC lib/unistd.o
CC lib/dup-safer.o
CC lib/fd-safer.o
CC lib/pipe-safer.o
CC lib/unistr/u8-mbtoucr.o
CC lib/unistr/u8-uctomb.o
CC lib/unistr/u8-uctomb-aux.o
CC lib/uniwidth/width.o
CC lib/userspec.o
CC lib/utimecmp.o
lib/utimecmp.c:292:36: warning: bitwise negation of a boolean expression; did you mean logical negation? [-Wbool-operation]
time_t s = src_s & ~ (res == 2 * BILLION);
^~~~~~~~~~~~~~~~~~~~~~
!
lib/utimecmp.c:371:16: warning: bitwise negation of a boolean expression; did you mean logical negation? [-Wbool-operation]
src_s &= ~ (res == 2 * BILLION);
^~~~~~~~~~~~~~~~~~~~~~
!
2 warnings generated.
CC lib/utimens.o
CC lib/verror.o
CC lib/version-etc.o
CC lib/version-etc-fsf.o
CC lib/wctype-h.o
CC lib/write-any-file.o
CC lib/xmalloc.o
CC lib/xalloc-die.o
CC lib/xdectoimax.o
CC lib/xdectoumax.o
CC lib/xfreopen.o
CC lib/xfts.o
CC lib/xgetcwd.o
CC lib/xgetgroups.o
CC lib/xgethostname.o
CC lib/xmemcoll.o
CC lib/xnanosleep.o
CC lib/xprintf.o
CC lib/xreadlink.o
CC lib/xsize.o
CC lib/xstriconv.o
CC lib/xstrndup.o
CC lib/xstrtod.o
CC lib/xstrtoimax.o
CC lib/xstrtol.o
CC lib/xstrtoul.o
CC lib/xstrtol-error.o
CC lib/xstrtold.o
CC lib/xstrtoumax.o
CC lib/xvasprintf.o
CC lib/xasprintf.o
CC lib/yesno.o
CC lib/asnprintf.o
CC lib/asprintf.o
CC lib/at-func2.o
CC lib/calloc.o
CC lib/chdir-long.o
CC lib/euidaccess.o
CC lib/fclose.o
CC lib/fcntl.o
CC lib/fflush.o
CC lib/fnmatch.o
CC lib/freadahead.o
CC lib/freadptr.o
CC lib/frexp.o
CC lib/frexpl.o
CC lib/fseek.o
CC lib/fseeko.o
CC lib/fseterr.o
CC lib/fsusage.o
CC lib/fts.o
CC lib/futimens.o
CC lib/getcwd.o
CC lib/getcwd-lgpl.o
CC lib/getdtablesize.o
CC lib/getloadavg.o
CC lib/getpass.o
CC lib/getusershell.o
CC lib/group-member.o
CC lib/isapipe.o
CC lib/isnanf.o
CC lib/isnanl.o
CC lib/linkat.o
CC lib/mbrlen.o
CC lib/mbrtowc.o
CC lib/mktime.o
CC lib/mountlist.o
lib/mountlist.c:534:26: warning: implicit declaration of function 'makedev' is invalid in C99 [-Wimplicit-function-declaration]
me->me_dev = makedev (devmaj, devmin);
^
1 warning generated.
CC lib/nanosleep.o
CC lib/nl_langinfo.o
lib/nl_langinfo.c:151:1: error: redefinition of 'nl_langinfo'
nl_langinfo (nl_item item)
^
/data/data/com.termux/files/usr/include/langinfo.h:177:14: note: previous definition is here
static char *nl_langinfo(nl_item item)
^
lib/nl_langinfo.c:175:10: error: use of undeclared identifier 'GROUPING'
case GROUPING:
^
lib/nl_langinfo.c:283:10: error: use of undeclared identifier 'INT_CURR_SYMBOL'
case INT_CURR_SYMBOL:
^
lib/nl_langinfo.c:285:10: error: use of undeclared identifier 'MON_DECIMAL_POINT'
case MON_DECIMAL_POINT:
^
lib/nl_langinfo.c:287:10: error: use of undeclared identifier 'MON_THOUSANDS_SEP'
case MON_THOUSANDS_SEP:
^
lib/nl_langinfo.c:289:10: error: use of undeclared identifier 'MON_GROUPING'
case MON_GROUPING:
^
lib/nl_langinfo.c:291:10: error: use of undeclared identifier 'POSITIVE_SIGN'
case POSITIVE_SIGN:
^
lib/nl_langinfo.c:293:10: error: use of undeclared identifier 'NEGATIVE_SIGN'
case NEGATIVE_SIGN:
^
lib/nl_langinfo.c:295:10: error: use of undeclared identifier 'FRAC_DIGITS'
case FRAC_DIGITS:
^
lib/nl_langinfo.c:297:10: error: use of undeclared identifier 'INT_FRAC_DIGITS'
case INT_FRAC_DIGITS:
^
lib/nl_langinfo.c:299:10: error: use of undeclared identifier 'P_CS_PRECEDES'
case P_CS_PRECEDES:
^
lib/nl_langinfo.c:301:10: error: use of undeclared identifier 'N_CS_PRECEDES'
case N_CS_PRECEDES:
^
lib/nl_langinfo.c:303:10: error: use of undeclared identifier 'P_SEP_BY_SPACE'
case P_SEP_BY_SPACE:
^
lib/nl_langinfo.c:305:10: error: use of undeclared identifier 'N_SEP_BY_SPACE'
case N_SEP_BY_SPACE:
^
lib/nl_langinfo.c:307:10: error: use of undeclared identifier 'P_SIGN_POSN'
case P_SIGN_POSN:
^
lib/nl_langinfo.c:309:10: error: use of undeclared identifier 'N_SIGN_POSN'
case N_SIGN_POSN:
^
16 errors generated.
make[4]: *** [Makefile:9354: lib/nl_langinfo.o] Error 1
make[4]: Leaving directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/unix-tools/coreutils'
make[3]: *** [Makefile:11767: all-recursive] Error 1
make[3]: Leaving directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/unix-tools/coreutils'
make[2]: *** [Makefile:6306: all] Error 2
make[2]: Leaving directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/unix-tools/coreutils'
make[1]: *** [Makefile:90: make] Error 2
make[1]: Leaving directory '/data/data/com.termux/files/home/dgsh_gm/dgsh/unix-tools'
make: *** [Makefile:81: unix-tools] Error 2
Solving some of errors:
- releated to mblen: add LDFLAGS='-landroid-support -landroid-wordexp'
- Some undeclared identifiers:
cd dgsh &&
find . \( -name "freading.c" -o -name "stdio-impl.h" \) | xargs -I %% sh -c "grep -q \"#include <bits/struct_file.h>\" %%; test \$? -eq 1 && sed \"\$(sed -n '/^#include/=' %% | tail -n1)\"' s/$/\n#include <bits\/struct_file.h>/' %% -i"
- nl_langinfo.c related (Not solved still) https://github.com/termux/termux-packages/issues/5492#issuecomment-975336253
Well done!
Seem it has now ported termux. But after installing dgsh shell binary is not installed. https://github.com/termux/termux-packages/issues/8702
Build script and patches are at https://github.com/termux/termux-packages/pull/8472/commits/5579b4f0398fdd9baa236ffc819765339b8a8882
Please have a look. Help