termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.21k stars 3.03k forks source link

Error while compiling wget for arm architecture. #4697

Closed imprakharshukla closed 4 years ago

imprakharshukla commented 4 years ago

Problem description I am trying to compile wget for arm but always encountered by the same error. All the other architecture compile finely, but arm doesn't. I am using a docker container provided. Compiled every package successfully except this.

Steps to reproduce I have every required env variable in place and I have tested compiling almost 500 packages and they work flawlessly. Just run the docker container (I am running that on Ubuntu 18.04 LTS based Elementary OS 5.1).Try to build with ./build-package.sh -a arm wget

Error This is the error I get everytime -

`

builder@527748539b48:~/termux-packages$ ./build-package.sh -a arm wget Building dependency libandroid-support if necessary... libandroid-support@25-2 built - skipping (rm /data/data/.built-packages/libandroid-support to force rebuild) Building dependency libiconv if necessary... libiconv@1.16-3 built - skipping (rm /data/data/.built-packages/libiconv to force rebuild) Building dependency libunistring if necessary... libunistring@0.9.10-3 built - skipping (rm /data/data/.built-packages/libunistring to force rebuild) Building dependency libuuid if necessary... libuuid@1.0.3-3 built - skipping (rm /data/data/.built-packages/libuuid to force rebuild) Building dependency ca-certificates if necessary... ca-certificates@20191129 built - skipping (rm /data/data/.built-packages/ca-certificates to force rebuild) Building dependency openssl if necessary... openssl@1.1.1d-1 built - skipping (rm /data/data/.built-packages/openssl to force rebuild) Building dependency pcre2 if necessary... pcre2@10.34 built - skipping (rm /data/data/.built-packages/pcre2 to force rebuild) Building dependency zlib if necessary... zlib@1.2.11-4 built - skipping (rm /data/data/.built-packages/zlib to force rebuild) termux - building wget for arch arm... configure: WARNING: unrecognized options: --disable-rpath-hack, --enable-shared, --enable-static configure: configuring for GNU Wget 1.20.3 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-gnu checking host system type... arm-unknown-linux-androideabi checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for arm-linux-androideabi-gcc... arm-linux-androideabi-clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-linux-androideabi-clang accepts -g... yes checking for arm-linux-androideabi-clang option to enable C11 features... none needed checking dependency style of arm-linux-androideabi-clang... none checking for library containing dlopen... none required checking how to run the C preprocessor... arm-linux-androideabi-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking whether _XOPEN_SOURCE should be defined... no checking for Minix Amsterdam compiler... no checking for arm-linux-androideabi-ar... arm-linux-androideabi-ar checking for _LARGEFILE_SOURCE value needed for large files... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... unknown checking for _LARGE_FILES value needed for large files... unknown checking for a Python interpreter with version >= 3.0... python3 checking for python3... /usr/bin/python3 checking for python3 version... 3.7 checking for python3 platform... linux checking for python3 script directory... ${prefix}/lib/python3.7/site-packages checking for python3 extension module directory... ${exec_prefix}/lib/python3.7/site-packages checking whether NLS is requested... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld... arm-linux-androideabi-ld checking if the linker (arm-linux-androideabi-ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... yes checking for the common suffixes of directories in the library search path... lib,lib checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether to use NLS... no checking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlib checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for working volatile... yes checking for ANSI C header files... (cached) yes checking for special C compiler options needed for large files... (cached) no checking for _FILE_OFFSET_BITS value needed for large files... (cached) unknown checking for _LARGE_FILES value needed for large files... (cached) unknown checking size of off_t... 4 checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether h_errno is declared... yes checking size of short... 2 checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of void ... 4 checking for size_t... yes checking for pid_t... yes checking for uint32_t... yes checking for uintptr_t... yes checking for intptr_t... yes checking for int64_t... yes checking for sig_atomic_t... yes checking for iconv... yes checking for working iconv... guessing yes checking how to link with libiconv... /data/data/studio.com.techriz.andronix/files/usr/lib/libiconv.so checking for iconv declaration... extern size_t iconv (iconv_t cd, char inbuf, size_t inbytesleft, char outbuf, size_t outbytesleft); checking for sys/socket.h... yes checking for arpa/inet.h... yes checking for features.h... yes checking for unistd.h... (cached) yes checking for fnmatch.h... yes checking for wctype.h... yes checking for sys/stat.h... (cached) yes checking for netdb.h... yes checking for netinet/in.h... yes checking for getopt.h... yes checking for sys/cdefs.h... yes checking for stdio_ext.h... yes checking for termios.h... (cached) yes checking for sys/time.h... (cached) yes checking for iconv.h... yes checking for limits.h... yes checking for wchar.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for crtdefs.h... no checking for langinfo.h... yes checking for xlocale.h... yes checking for sys/mman.h... yes checking for sys/select.h... (cached) yes checking for sys/param.h... yes checking for malloc.h... yes checking for spawn.h... yes checking for strings.h... (cached) yes checking for sys/file.h... yes checking for sys/ioctl.h... (cached) yes checking for sys/uio.h... yes checking for sys/wait.h... yes checking for utime.h... (cached) yes checking for stdlib.h... (cached) yes checking whether the preprocessor supports includenext... yes checking whether system header files limit the line length... no checking whether <sys/socket.h> is self-contained... yes checking for shutdown... yes checking whether <sys/socket.h> defines the SHUT macros... yes checking for struct sockaddr_storage... yes checking for sa_family_t... yes checking for struct sockaddr_storage.ss_family... yes checking for working alloca.h... yes checking for alloca... yes checking for C/C++ restrict keyword... restrict checking whether uses 'inline' correctly... yes checking for btowc... yes checking for _set_invalid_parameter_handler... no checking for fcntl... yes checking for symlink... yes checking for flock... yes checking for fnmatch... yes checking for isblank... yes checking for iswctype... yes checking for mbsrtowcs... yes checking for mempcpy... yes checking for wmemchr... yes checking for wmemcpy... yes checking for wmempcpy... yes checking for fpurge... yes checking for fpurge... yes checking for freading... no checking for futimens... yes checking for getdelim... yes checking for getdtablesize... no checking for getpass... (cached) yes checking for fsetlocking... yes checking for getprogname... yes checking for getexecname... no checking for gettimeofday... yes checking for iswcntrl... yes checking for iswblank... yes checking for link... yes checking for lstat... yes checking for mbsinit... yes checking for mbrtowc... yes checking for mprotect... yes checking for mkostemp... yes checking for mkstemp... yes checking for tzset... yes checking for nl_langinfo... (cached) yes checking for pipe... yes checking for pipe2... yes checking for secure_getenv... no checking for getuid... yes checking for geteuid... yes checking for getgid... yes checking for getegid... yes checking for sigaction... yes checking for sigaltstack... yes checking for siginterrupt... yes checking for snprintf... yes checking for strdup... yes checking for strerror_r... yes checking for xpg_strerror_r... no checking for catgets... no checking for strndup... yes checking for strptime... yes checking for localtime_r... yes checking for timegm... yes checking for utime... yes checking for futimes... no checking for futimesat... no checking for utimensat... yes checking for lutimes... no checking for vasnprintf... no checking for wcrtomb... yes checking for wcwidth... yes checking for nl_langinfo and CODESET... yes checking for a traditional french locale... none checking whether linux/if_alg.h has struct sockaddr_alg.... yes checking whether byte ordering is bigendian... (cached) no checking whether // is distinct from /... unknown, assuming no checking if environ is properly declared... yes checking for complete errno.h... yes checking whether strerror_r is declared... yes checking for strerror_r... (cached) yes checking whether strerror_r returns char *... yes checking for sig_atomic_t... (cached) yes checking for working fcntl.h... (cached) yes checking for mode_t... yes checking for mbstate_t... yes checking whether stdin defaults to large file offsets... yes checking whether fseeko is declared... yes checking for fseeko... yes checking whether fflush works on input streams... cross checking whether stat file-mode macros are broken... no checking for nlink_t... yes checking whether ftello is declared... yes checking for ftello... yes checking whether ftello works... guessing yes checking for library containing gethostbyname... none required checking for gethostbyname... yes checking for library containing getservbyname... none required checking for getservbyname... yes checking for library containing inet_ntop... none required checking whether inet_ntop is declared... yes checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking whether getdelim is declared... yes checking whether getdtablesize is declared... no checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking whether getline is declared... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is POSIX compatible... guessing yes checking for working GNU getopt function... guessing no checking whether fflush_unlocked is declared... no checking whether flockfile is declared... yes checking whether fputs_unlocked is declared... no checking whether funlockfile is declared... yes checking whether putc_unlocked is declared... yes checking for struct timeval... yes checking for wide-enough struct timeval.tv_sec member... yes checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... no checking for wint_t... yes checking whether wint_t is too small... no checking for unsigned long long int... yes checking for long long int... yes checking whether stdint.h conforms to C99... guessing yes checking whether stdint.h predates C++11... no checking whether stdint.h has UINTMAX_WIDTH etc.... no checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking whether iswcntrl works... guessing yes checking for towlower... yes checking for wctype_t... yes checking for wctrans_t... yes checking whether included libunistring is requested... no checking for libunistring... yes checking how to link with libunistring... /data/data/studio.com.techriz.andronix/files/usr/lib/libunistring.so /data/data/studio.com.techriz.andronix/files/usr/lib/libiconv.so /data/data/studio.com.techriz.andronix/files/usr/lib/libandroid-support.so checking for libunistring version... 0.9.10 checking for wchar_t... yes checking for good max_align_t... yes checking whether NULL can be used in arbitrary expressions... yes checking whether imported symbols can be declared weak... guessing yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_kill in -lpthread... no checking for multithread API to use... posix checking whether lstat correctly handles trailing slash... (cached) yes checking for a sed that does not truncate output... /usr/bin/sed checking whether malloc, realloc, calloc are POSIX compliant... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for a traditional japanese locale... none checking for a transitional chinese locale... none checking for a french Unicode locale... none checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... (cached) yes checking whether memrchr is declared... yes checking whether defines MIN and MAX... no checking whether <sys/param.h> defines MIN and MAX... yes checking whether time_t is signed... yes checking whether alarm is declared... yes checking for working mktime... (cached) yes checking whether <sys/select.h> is self-contained... yes checking for library containing setsockopt... none needed checking whether select supports a 0 argument... guessing yes checking whether select detects invalid fds... (cached) yes checking for O_CLOEXEC... yes checking for promoted mode_t type... int checking for library containing posix_spawn... no checking for posix_spawn... (cached) no checking for sigset_t... yes checking for SIGPIPE... yes checking whether we are using the GNU C Library >= 2.1 or uClibc... no checking whether C symbols are prefixed with underscore at the linker level... no checking whether snprintf returns a byte count as in C99... (cached) yes checking whether snprintf is declared... yes checking whether strdup is declared... yes checking whether strerror(0) succeeds... (cached) yes checking for strerror_r with POSIX signature... no checking whether strerror_r is declared... (cached) yes checking whether strndup is declared... yes checking whether strnlen is declared... yes checking for struct tm.tm_gmtoff... yes checking whether strtok_r is declared... yes checking for struct timespec in ... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fgets_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getc_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether the utimes function works... guessing no checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking where to find the exponent in a 'double'... unknown checking for snprintf... (cached) yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... no checking whether vsnprintf is declared... yes checking for alloca as a compiler built-in... yes checking whether btowc(0) is correct... guessing yes checking whether btowc(EOF) is correct... guessing yes checking for builtin_expect... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for library containing clock_gettime... none required checking for clock_gettime... yes checking for clock_settime... yes checking whether // is distinct from /... (cached) unknown, assuming no checking whether dup2 works... (cached) yes checking for error_at_line... yes checking whether fcntl handles F_DUPFD correctly... (cached) yes checking whether fcntl understands F_DUPFD_CLOEXEC... (cached) yes checking whether fflush works on input streams... (cached) cross checking for flexible array member... yes checking whether conversion from 'int' to 'long double' works... guessing yes checking for working POSIX fnmatch... (cached) yes checking whether fopen recognizes a trailing slash... guessing yes checking whether fpurge is declared... yes checking whether fpurge works... guessing no checking for fseeko... (cached) yes checking whether fflush works on input streams... (cached) cross checking for _fseeki64... no checking for ftello... (cached) yes checking whether ftello works... (cached) guessing yes checking whether futimens works... guessing yes checking how to do getaddrinfo, freeaddrinfo and getnameinfo... checking for library containing getaddrinfo... none required checking for getaddrinfo... yes checking whether gai_strerror is declared... yes checking whether gai_strerrorA is declared... no checking for gai_strerror with POSIX signature... yes checking for struct sockaddr.sa_len... no checking whether getaddrinfo is declared... yes checking whether freeaddrinfo is declared... yes checking whether getnameinfo is declared... yes checking for struct addrinfo... yes checking for working getdelim function... (cached) yes checking for getgroups... yes checking for working getgroups... (cached) yes checking whether getgroups handles negative values... guessing no checking for getline... yes checking for working getline function... (cached) yes checking for getpass without length limitations... no checking whether fsetlocking is declared... yes checking for tcgetattr... yes checking for tcsetattr... yes checking whether program_invocation_name is declared... no checking whether program_invocation_short_name is declared... no checking whether argv is declared... no checking whether progname is defined in default libraries... yes checking whether gettimeofday clobbers localtime buffer... (cached) no checking for gettimeofday with POSIX signature... (cached) yes checking for group_member... no checking for library containing gethostbyname... (cached) none required checking for gethostbyname... (cached) yes checking for library containing inet_ntop... (cached) none required checking whether inet_ntop is declared... (cached) yes checking whether the compiler generally respects inline... yes checking whether INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... no checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... no checking for ioctl... yes checking for ioctl with POSIX signature... yes checking whether iswblank is declared... yes checking whether langinfo.h defines CODESET... yes checking whether langinfo.h defines T_FMT_AMPM... yes checking whether langinfo.h defines ALTMON_1... no checking whether langinfo.h defines ERA... yes checking whether langinfo.h defines YESEXPR... yes checking whether the compiler supports the inline keyword... yes checking whether to use the included libunistring... no checking whether link obeys POSIX... (cached) yes checking whether locale.h conforms to POSIX:2001... yes checking whether locale.h defines locale_t... yes checking whether struct lconv is properly defined... yes checking for pthread_rwlock_t... yes checking whether pthread_rwlock_rdlock prefers a writer to a reader... guessing yes checking whether lseek detects pipes... yes checking whether mbrtowc handles incomplete characters... guessing yes checking whether mbrtowc works as well as mbtowc... guessing yes checking whether mbrtowc handles a NULL pwc argument... guessing yes checking whether mbrtowc handles a NULL string argument... guessing yes checking whether mbrtowc has a correct return value... guessing yes checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes checking whether mbrtowc works on empty input... guessing yes checking whether the C locale is free of encoding errors... (cached) yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbsrtowcs works... guessing yes checking for mbtowc... yes checking for memrchr... yes checking whether mkdir handles trailing slash... (cached) yes checking whether mkdir handles trailing dot... (cached) yes checking for working mkstemp... (cached) yes checking for __mktime_internal... no checking for library containing nanosleep... none required checking for working nanosleep... guessing no (mishandles large arguments) checking whether <netinet/in.h> is self-contained... yes checking whether YESEXPR works... guessing yes checking whether open recognizes a trailing slash... guessing yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for confstr... no checking for sched_setparam... yes checking for sched_setscheduler... yes checking for setegid... yes checking for seteuid... yes checking for vfork... yes checking whether posix_spawn_file_actions_addclose works... guessing yes checking whether posix_spawn_file_actions_adddup2 works... guessing yes checking whether posix_spawn_file_actions_addopen works... guessing yes checking for paths.h... (cached) yes checking for confstr... (cached) no checking for sched_setparam... (cached) yes checking for sched_setscheduler... (cached) yes checking for setegid... (cached) yes checking for seteuid... (cached) yes checking for vfork... (cached) yes checking for raise... yes checking for sigprocmask... yes checking for rawmemchr... no checking for working re_compile_pattern... guessing no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking whether isblank is declared... yes checking for __secure_getenv... no checking for issetugid... no checking whether select supports a 0 argument... (cached) guessing yes checking whether select detects invalid fds... (cached) yes checking for library containing getservbyname... (cached) none required checking for getservbyname... (cached) yes checking for struct sigaction.sa_sigaction... yes checking for volatile sig_atomic_t... yes checking for sighandler_t... yes checking for sigprocmask... (cached) yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for snprintf... (cached) yes checking whether snprintf respects a size of 1... guessing yes checking whether printf supports POSIX/XSI format strings with positions... guessing yes checking for socklen_t... yes checking for posix_spawnattr_t... yes checking for posix_spawn_file_actions_t... yes checking for ssize_t... yes checking whether stat handles trailing slashes on files... (cached) yes checking for struct stat.st_atim.tv_nsec... yes checking whether struct stat.st_atim is of type struct timespec... yes checking for struct stat.st_birthtimespec.tv_nsec... no checking for struct stat.st_birthtimensec... no checking for struct stat.st_birthtim.tv_nsec... no checking for working stdalign.h... yes checking for good max_align_t... (cached) yes checking whether NULL can be used in arbitrary expressions... (cached) yes checking which flavor of printf attribute matches inttypes macros... system checking for strcasecmp... yes checking for strncasecmp... yes checking whether strncasecmp is declared... yes checking for strchrnul... yes checking whether strchrnul works... guessing yes checking for working strerror function... (cached) yes checking for working strndup... guessing yes checking for working strnlen... yes checking for strpbrk... yes checking for strtok_r... yes checking whether strtok_r works... guessing yes checking for strtol... yes checking for strtoll... yes checking whether symlink handles trailing slash correctly... (cached) yes checking whether <sys/ioctl.h> declares ioctl... no checking for nlink_t... (cached) yes checking whether localtime_r is declared... yes checking whether localtime_r is compatible with its POSIX signature... yes checking whether unlink honors trailing slashes... (cached) yes checking whether unlink of a parent directory fails as it should... guessing yes checking for ptrdiff_t... yes checking for vasprintf... yes checking for vsnprintf... yes checking whether snprintf respects a size of 1... (cached) guessing yes checking whether printf supports POSIX/XSI format strings with positions... (cached) guessing yes checking for waitid... yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether wcrtomb works in the C locale... guessing no checking whether iswcntrl works... (cached) guessing yes checking for towlower... (cached) yes checking for wctype_t... (cached) yes checking for wctrans_t... (cached) yes checking whether wcwidth is declared... yes checking whether wcwidth works reasonably in UTF-8 locales... (cached) yes checking for stdint.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking for _LARGEFILE_SOURCE value needed for large files... (cached) no checking for strptime... (cached) yes checking for timegm... (cached) yes checking for vsnprintf... (cached) yes checking for vasprintf... (cached) yes checking for drand48... yes checking for pathconf... yes checking for strtoll... (cached) yes checking for usleep... yes checking for ftello... yes checking for sigblock... yes checking for sigsetjmp... yes checking for memrchr... (cached) yes checking for wcwidth... (cached) yes checking for mbtowc... (cached) yes checking for sleep... yes checking for symlink... (cached) yes checking for utime... (cached) yes checking for strlcpy... yes checking for random... yes checking for fmemopen... yes checking pkg-config is at least version 0.9.0... yes checking for LIBPSL... no checking for library containing psl_builtin... no configure: WARNING: *** libpsl was not found. Fallback to builtin cookie checking. checking for ZLIB... yes checking for OPENSSL... yes configure: compiling in support for SSL via OpenSSL checking for RAND_egd... no checking for INET6 protocol support... yes checking for struct sockaddr_in6... yes checking for struct sockaddr_storage... (cached) yes checking for struct sockaddr_in6.sin6_scope_id... yes configure: Enabling support for IPv6. checking for makeinfo... ${SHELL} /home/builder/.termux-build/wget/src/build-aux/missing makeinfo checking for perl5... no checking for perl... /usr/bin/perl checking for pod2man... /usr/bin/pod2man configure: disabling IRIs at user request checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for library containing uuid_generate... -luuid checking for PCRE2... yes checking for gpgme-config... no checking for METALINK... no checking for fsetxattr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating util/Makefile config.status: creating po/Makefile.in config.status: creating tests/Makefile config.status: creating fuzz/Makefile config.status: creating lib/Makefile config.status: creating testenv/Makefile config.status: creating tests/certs/interca.conf config.status: creating tests/certs/rootca.conf config.status: creating src/config.h config.status: linking /home/builder/.termux-build/wget/src/GNUmakefile to GNUmakefile config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile configure: WARNING: unrecognized options: --disable-rpath-hack, --enable-shared, --enable-static configure: Summary of build options:

Version: 1.20.3 Host OS: linux-androideabi Install prefix: /data/data/studio.com.techriz.andronix/files/usr Compiler: arm-linux-androideabi-clang CFlags: -I/data/data/studio.com.techriz.andronix/files/usr/include -I/data/data/studio.com.techriz.andronix/files/usr/include -DHAVE_LIBSSL -I/data/data/studio.com.techriz.andronix/files/usr/include -DNDEBUG -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fstack-protector-strong -Oz -I/data/data/studio.com.techriz.andronix/files/usr/include LDFlags: -L/data/data/studio.com.techriz.andronix/files/usr/lib -march=armv7-a -Wl,-rpath=/data/data/studio.com.techriz.andronix/files/usr/lib,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support Libs: -L/data/data/studio.com.techriz.andronix/files/usr/lib -lpcre2-8 -luuid -L/data/data/studio.com.techriz.andronix/files/usr/lib -lssl -lcrypto -L/data/data/studio.com.techriz.andronix/files/usr/lib -lz SSL: openssl Zlib: yes PSL: no PCRE: yes, via libpcre2 Digest: yes NTLM: yes OPIE: yes POSIX xattr: yes Debugging: yes Assertions: no Valgrind: Valgrind testing not enabled Metalink: no Resolver: libc, --bind-dns-address and --dns-servers not available GPGME: no IRI: no Fuzzing build: no,

make all-recursive make[1]: Entering directory '/home/builder/.termux-build/wget/build' Making all in lib make[2]: Entering directory '/home/builder/.termux-build/wget/build/lib' GEN alloca.h GEN fcntl.h GEN getopt.h GEN arpa/inet.h GEN getopt-cdefs.h GEN inttypes.h GEN langinfo.h GEN limits.h GEN locale.h GEN netdb.h GEN spawn.h GEN signal.h GEN stdint.h GEN stdio.h GEN stdlib.h GEN string.h GEN strings.h GEN sys/file.h GEN sys/ioctl.h GEN sys/select.h GEN sys/socket.h GEN sys/stat.h GEN sys/time.h GEN sys/types.h GEN sys/uio.h GEN sys/wait.h GEN time.h GEN unistd.h GEN unicase/special-casing.h GEN wchar.h GEN wctype.h make all-recursive make[3]: Entering directory '/home/builder/.termux-build/wget/build/lib' make[4]: Entering directory '/home/builder/.termux-build/wget/build/lib' CC base32.o CC binary-io.o CC c-ctype.o CC c-strcasecmp.o CC c-strncasecmp.o CC c-strcasestr.o CC cloexec.o CC af_alg.o CC md2.o CC md4.o CC md5.o CC sha1.o CC sha256.o CC sha512.o CC dirname.o CC basename.o CC dirname-lgpl.o CC basename-lgpl.o CC stripslash.o CC exitfail.o CC fatal-signal.o CC fd-hook.o CC fd-safer-flag.o CC dup-safer-flag.o CC freading.o CC getprogname.o CC gettime.o CC hard-locale.o CC localcharset.o CC malloca.o CC mbchar.o CC mbiter.o CC pipe2.o CC pipe2-safer.o CC quotearg.o CC sig-handler.o CC sockets.o CC spawn-pipe.o In file included from /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:52: ./spawn.h:670:19: error: conflicting types for 'posix_spawn' _GL_FUNCDECL_SYS (posix_spawn, int, ^ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:53:5: note: previous declaration is here int posix_spawn(pid_t __pid, const char path, const posix_spawn_file_actions_t* actions, const posix_spawnattr_t __attr, char const argv[], char* const env[]) INTRODUCED_IN(28); ^ In file included from /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:52: ./spawn.h:718:19: error: conflicting types for 'posix_spawnp' _GL_FUNCDECL_SYS (posix_spawnp, int, ^ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:54:5: note: previous declaration is here int posix_spawnp(pid_t* pid, const char __file, const posix_spawn_file_actions_t actions, const posix_spawnattr_t* attr, char const __argv[], char const env[]) INTRODUCED_IN(28); ^ In file included from /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:52: ./spawn.h:752:19: error: conflicting types for 'posix_spawnattr_init' _GL_FUNCDECL_SYS (posix_spawnattr_init, int, (posix_spawnattr_t __attr) ^ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:56:5: note: previous declaration is here int posix_spawnattr_init(posix_spawnattr_t attr) INTRODUCED_IN(28); ^ In file included from /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:52: ./spawn.h:777:19: error: conflicting types for 'posix_spawnattr_destroy' _GL_FUNCDECL_SYS (posix_spawnattr_destroy, int, (posix_spawnattr_t __attr) ^ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:57:5: note: previous declaration is here int posix_spawnattr_destroy(posix_spawnattr_t attr) INTRODUCED_IN(28); ^ In file included from /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:52: ./spawn.h:910:19: error: conflicting types for 'posix_spawnattr_setsigmask' _GL_FUNCDECL_SYS (posix_spawnattr_setsigmask, int, ^ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:65:5: note: previous declaration is here int posix_spawnattr_setsigmask(posix_spawnattr_t __attr, const sigset_t mask) INTRODUCED_IN(28); ^ In file included from /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:52: ./spawn.h:976:19: error: conflicting types for 'posix_spawnattr_setflags' _GL_FUNCDECL_SYS (posix_spawnattr_setflags, int, ^ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:59:5: note: previous declaration is here int posix_spawnattr_setflags(posix_spawnattr_t attr, short flags) __INTRODUCED_IN(28); ^ In file included from /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:52: ./spawn.h:1203:19: error: conflicting types for 'posix_spawn_file_actions_init' _GL_FUNCDECL_SYS (posix_spawn_file_actions_init, int, ^ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:81:5: note: previous declaration is here int posix_spawn_file_actions_init(posix_spawn_file_actions_t actions) INTRODUCED_IN(28); ^ In file included from /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:52: ./spawn.h:1233:19: error: conflicting types for 'posix_spawn_file_actions_destroy' _GL_FUNCDECL_SYS (posix_spawn_file_actions_destroy, int, ^ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:82:5: note: previous declaration is here int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t actions) INTRODUCED_IN(28); ^ In file included from /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:52: ./spawn.h:1268:19: error: conflicting types for 'posix_spawn_file_actions_addopen' _GL_FUNCDECL_SYS (posix_spawn_file_actions_addopen, int, ^ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:84:5: note: previous declaration is here int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t actions, int fd, const char path, int flags, mode_t mode) INTRODUCED_IN(28); ^ In file included from /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:52: ./spawn.h:1303:19: error: conflicting types for 'posix_spawn_file_actions_addclose' _GL_FUNCDECL_SYS (posix_spawn_file_actions_addclose, int, ^ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:85:5: note: previous declaration is here int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t actions, int fd) INTRODUCED_IN(28); ^ In file included from /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:52: ./spawn.h:1336:19: error: conflicting types for 'posix_spawn_file_actions_adddup2' _GL_FUNCDECL_SYS (posix_spawn_file_actions_adddup2, int, ^ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:86:5: note: previous declaration is here int posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t* actions, int fd, int new_fd) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:285:45: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'posix_spawn_file_actions_t ' (aka 'struct posix_spawn_file_actions ') [-Wincompatible-pointer-types] if ((err = posix_spawn_file_actions_init (&actions)) != 0 ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:81:63: note: passing argument to parameter 'actions' here int posix_spawn_file_actions_init(posix_spawn_file_actions_t* actions) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:288:56: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'posix_spawn_file_actions_t ' (aka 'struct posix_spawn_file_actions *') [-Wincompatible-pointer-types] && (err = posix_spawn_file_actions_adddup2 (&actions, ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:86:66: note: passing argument to parameter '__actions' here int posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t actions, int fd, int __new_fd) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:292:59: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'posix_spawn_file_actions_t ' (aka 'struct posix_spawn_file_actions ') [-Wincompatible-pointer-types] && (err = posix_spawn_file_actions_adddup2 (&actions, ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:86:66: note: passing argument to parameter 'actions' here int posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t* actions, int fd, int new_fd) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:296:60: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'posix_spawn_file_actions_t ' (aka 'struct posix_spawn_file_actions ') [-Wincompatible-pointer-types] && (err = posix_spawn_file_actions_addclose (&actions, ofd[0])) ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:85:67: note: passing argument to parameter 'actions' here int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t* actions, int fd) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:299:60: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'posix_spawn_file_actions_t ' (aka 'struct __posix_spawn_file_actions *') [-Wincompatible-pointer-types] && (err = posix_spawn_file_actions_addclose (&actions, ifd[1])) ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:85:67: note: passing argument to parameter '__actions' here int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t actions, int fd) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:302:60: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'posix_spawn_file_actions_t ' (aka 'struct posix_spawn_file_actions ') [-Wincompatible-pointer-types] && (err = posix_spawn_file_actions_addclose (&actions, ofd[1])) ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:85:67: note: passing argument to parameter 'actions' here int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t* actions, int fd) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:305:60: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'posix_spawn_file_actions_t ' (aka 'struct posix_spawn_file_actions *') [-Wincompatible-pointer-types] && (err = posix_spawn_file_actions_addclose (&actions, ifd[0])) ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:85:67: note: passing argument to parameter '__actions' here int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t actions, int fd) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:308:59: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'posix_spawn_file_actions_t ' (aka 'struct posix_spawn_file_actions **') [-Wincompatible-pointer-types] && (err = posix_spawn_file_actions_addopen (&actions, ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:84:66: note: passing argument to parameter 'actions' here int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t actions, int fd, const char path, int flags, mode_t mode) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:315:59: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'posix_spawn_file_actions_t ' (aka 'struct posix_spawn_file_actions *') [-Wincompatible-pointer-types] && (err = posix_spawn_file_actions_addopen (&actions, ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:84:66: note: passing argument to parameter '__actions' here int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t actions, int fd, const char* path, int flags, mode_t mode) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:322:59: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'posix_spawn_file_actions_t ' (aka 'struct posix_spawn_file_actions ') [-Wincompatible-pointer-types] && (err = posix_spawn_file_actions_addopen (&actions, ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:84:66: note: passing argument to parameter 'actions' here int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t* actions, int fd, const char* path, int __flags, mode_t mode) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:328:48: warning: incompatible pointer types passing 'rpl_posix_spawnattr_t ' to parameter of type 'posix_spawnattr_t ' (aka 'struct __posix_spawnattr ') [-Wincompatible-pointer-types] && ((err = posix_spawnattr_init (&attrs)) != 0 ^~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:56:45: note: passing argument to parameter 'attr' here int posix_spawnattr_init(posix_spawnattr_t* attr) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:330:58: warning: incompatible pointer types passing 'rpl_posix_spawnattr_t ' to parameter of type 'posix_spawnattr_t ' (aka 'struct posix_spawnattr ') [-Wincompatible-pointer-types] (err = posix_spawnattr_setsigmask (&attrs, ^~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:65:51: note: passing argument to parameter 'attr' here int posix_spawnattr_setsigmask(posix_spawnattr_t* attr, const sigset_t mask) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:333:59: warning: incompatible pointer types passing 'rpl_posix_spawnattr_t ' to parameter of type 'posix_spawnattr_t *' (aka 'struct __posix_spawnattr ') [-Wincompatible-pointer-types] || (err = posix_spawnattr_setflags (&attrs, ^~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:59:49: note: passing argument to parameter 'attr' here int posix_spawnattr_setflags(posix_spawnattr_t* attr, short flags) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:336:54: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'const posix_spawn_file_actions_t ' (aka 'struct posix_spawn_file_actions const ') [-Wincompatible-pointer-types] || (err = posix_spawnp (&child, prog_path, &actions, ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:54:86: note: passing argument to parameter 'actions' here int posix_spawnp(pid_t* pid, const char __file, const posix_spawn_file_actions_t actions, const posix_spawnattr_t* attr, char const __argv[], char const env[]) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:337:35: warning: incompatible pointer types passing 'rpl_posix_spawnattr_t ' to parameter of type 'const posix_spawnattr_t ' (aka 'struct __posix_spawnattr const ') [-Wincompatible-pointer-types] attrs_allocated ? &attrs : NULL, prog_argv, ^~~~~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:54:122: note: passing argument to parameter 'attr' here int posix_spawnp(pid_t __pid, const char file, const posix_spawn_file_actions_t* actions, const posix_spawnattr_t __attr, char const argv[], char* const env[]) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:342:43: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'posix_spawn_file_actions_t ' (aka 'struct posix_spawn_file_actions ') [-Wincompatible-pointer-types] posix_spawn_file_actions_destroy (&actions); ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:82:66: note: passing argument to parameter 'actions' here int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t* actions) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:344:34: warning: incompatible pointer types passing 'rpl_posix_spawnattr_t ' to parameter of type 'posix_spawnattr_t ' (aka 'struct posix_spawnattr *') [-Wincompatible-pointer-types] posix_spawnattr_destroy (&attrs); ^~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:57:48: note: passing argument to parameter '__attr' here int posix_spawnattr_destroy(posix_spawnattr_t attr) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:363:37: warning: incompatible pointer types passing 'rpl_posix_spawn_file_actions_t ' to parameter of type 'posix_spawn_file_actions_t ' (aka 'struct __posix_spawn_file_actions ') [-Wincompatible-pointer-types] posix_spawn_file_actions_destroy (&actions); ^~~~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:82:66: note: passing argument to parameter 'actions' here int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t* actions) INTRODUCED_IN(28); ^ /home/builder/.termux-build/wget/src/lib/spawn-pipe.c:365:30: warning: incompatible pointer types passing 'rpl_posix_spawnattr_t ' to parameter of type 'posix_spawnattr_t ' (aka 'struct posix_spawnattr ') [-Wincompatible-pointer-types] posix_spawnattr_destroy (&attrs); ^~ /data/data/studio.com.techriz.andronix/files/usr/include/spawn.h:57:48: note: passing argument to parameter 'attr' here int posix_spawnattr_destroy(posix_spawnattr_t* attr) __INTRODUCED_IN(28); ^ 19 warnings and 11 errors generated. make[4]: * [Makefile:2317: spawn-pipe.o] Error 1 make[4]: Waiting for unfinished jobs.... make[4]: Leaving directory '/home/builder/.termux-build/wget/build/lib' make[3]: [Makefile:2334: all-recursive] Error 1 make[3]: Leaving directory '/home/builder/.termux-build/wget/build/lib' make[2]: [Makefile:1960: all] Error 2 make[2]: Leaving directory '/home/builder/.termux-build/wget/build/lib' make[1]: [Makefile:1531: all-recursive] Error 1 make[1]: Leaving directory '/home/builder/.termux-build/wget/build' make: *** [Makefile:1483: all] Error 2

`

P.S - We are trying to integrate Termux into Andronix.

ghost commented 4 years ago

You seems have built the libandroid-spawn which provides spawn.h. That causes issues with certain packages.

Commit https://github.com/termux/termux-packages/commit/d6b9ea60b188a9464fbf1d3dd9fc675ac00f8e1a should fix the error you have with wget.