configure:57405: checking for vsnprintf configure:57405: result: yes configure:57405: checking for snprintf configure:57405: result: yes configure:57414: checking if trio library is needed configure:57455: /usr/bin/clang -o conftest -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -Wall -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c -lcurses -lresolv -lidn2 >&5 conftest.c:425:6: error: implicitly declaring library function 'sscanf' with type 'int (const char *restrict, const char *restrict, ...)' [-Werror,-Wimplicit-function-declaration] sscanf("0","%llu",&x); ^ conftest.c:425:6: note: include the header or explicitly provide a declaration for 'sscanf' conftest.c:433:6: error: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Werror,-Wimplicit-function-declaration] sprintf(buf,"%lld %llu",y,x); ^ conftest.c:433:6: note: include the header or explicitly provide a declaration for 'sprintf' 2 errors generated. configure:57455: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "lftp" | #define PACKAGE_TARNAME "lftp" | #define PACKAGE_VERSION "4.9.2" | #define PACKAGE_STRING "lftp 4.9.2" | #define PACKAGE_BUGREPORT "lftp-bugs@lftp.yar.ru" | #define PACKAGE_URL "" | #define PACKAGE "lftp" | #define VERSION "4.9.2" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _DARWIN_C_SOURCE 1 | #define _GNU_SOURCE 1 | #define _NETBSD_SOURCE 1 | #define _OPENBSD_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 | #define __STDC_WANT_LIB_EXT2__ 1 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 | #define _TANDEM_SOURCE 1 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 | #define HAVE_FSEEKO 1 | #define HAVE_CXX_BOOL 1 | #define __STDC_LIMIT_MACROS 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define HAVE_CFPREFERENCESCOPYAPPVALUE 1 | #define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1 | #define HAVE_ICONV 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define DEFAULT_PAGER "exec more" | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_FNMATCH_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_SYS_CDEFS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_GLOB_H 1 | #define HAVE_ICONV_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_XLOCALE_H 1 | #define HAVE_MATH_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WCTYPE_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_BTOWC 1 | #define HAVE_CHOWN 1 | #define HAVE_FCHOWN 1 | #define HAVE_FCNTL 1 | #define HAVE_SYMLINK 1 | #define HAVE_FNMATCH 1 | #define HAVE_MBSRTOWCS 1 | #define HAVE_FPURGE 1 | #define HAVE_GETDTABLESIZE 1 | #define HAVE_GETLOGIN_R 1 | #define HAVE_GETPROGNAME 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_GLOB 1 | #define HAVE_GETPWNAM_R 1 | #define HAVE_ISBLANK 1 | #define HAVE_LCHMOD 1 | #define HAVE_LSTAT 1 | #define HAVE_MBSINIT 1 | #define HAVE_MBRTOWC 1 | #define HAVE_ISASCII 1 | #define HAVE_MPROTECT 1 | #define HAVE_TZSET 1 | #define HAVE_NL_LANGINFO 1 | #define HAVE_RECVMSG 1 | #define HAVE_SENDMSG 1 | #define HAVE_READLINK 1 | #define HAVE_ISWCTYPE 1 | #define HAVE_SETENV 1 | #define HAVE_STRDUP 1 | #define HAVE_STRPTIME 1 | #define HAVE_STRTOUMAX 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_TIMEGM 1 | #define HAVE_SNPRINTF 1 | #define HAVE_WCRTOMB 1 | #define HAVE_ISWCNTRL 1 | #define HAVE_WCWIDTH 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_UNISTD_H 1 | #define HAVE_CHOWN 1 | #define CHOWN_TRAILING_SLASH_BUG 1 | #define restrict __restrict | #define HAVE_SHUTDOWN 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SA_FAMILY_T 1 | #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1 | #define USE_LINUX_CRYPTO_API 0 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_WORKING_O_NOATIME 1 | #define HAVE_WORKING_O_NOFOLLOW 1 | #define HAVE_DECL_STRMODE 1 | #define HAVE_MBSTATE_T 1 | #define HAVE_DECL_ALARM 1 | #define _USE_STD_STAT 1 | #define HAVE_DECL_FSEEKO 1 | #define FUNC_FFLUSH_STDIN 0 | #define HAVE_DECL_FTELLO 1 | #define HAVE_DECL_GETDTABLESIZE 1 | #define HAVE_DECL_GETLOGIN_R 1 | #define HAVE_DECL_GETLOGIN 1 | #define HAVE_GETOPT_H 1 | #define HAVE_GETOPT_LONG_ONLY 1 | #define HAVE_PTHREAD_API 1 | #define SETLOCALE_NULL_ALL_MTSAFE 0 | #define SETLOCALE_NULL_ONE_MTSAFE 1 | #define HAVE_IPV4 1 | #define HAVE_IPV6 1 | #define HAVE_WINT_T 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define DBL_EXPBIT0_WORD 1 | #define DBL_EXPBIT0_BIT 20 | #define FLT_EXPBIT0_WORD 0 | #define FLT_EXPBIT0_BIT 23 | #define HAVE_WCHAR_T 1 | #define USE_POSIX_THREADS 1 | #define HAVE_UNSIGNED_LONG_LONG_INT 1 | #define HAVE_LONG_LONG_INT 1 | #define HAVE_STDLIB_H 1 | #define MALLOC_0_IS_NONNULL 1 | #define HAVE_MAP_ANONYMOUS 1 | #define HAVE_DECL_MEMMEM 1 | #define HAVE_MEMMEM 1 | #define HAVE_MINMAX_IN_SYS_PARAM_H 1 | #define TIME_T_IS_SIGNED 1 | #define HAVE_STRUCT_TM_TM_ZONE 1 | #define HAVE_TM_ZONE 1 | #define HAVE_TM_GMTOFF 1 | #define PROMOTED_MODE_T int | #define HAVE__BOOL 1 | #define HAVE_COMPOUND_LITERALS 1 | #define HAVE_DECL_SETENV 1 | #define HAVE_SEARCH_H 1 | #define HAVE_TSEARCH 1 | #define HAVE_SIGSET_T 1 | #define HAVE_DECL_STRDUP 1 | #define REPLACE_STRERROR_0 1 | #define HAVE_DECL_STRNLEN 1 | #define HAVE_DECL_STRTOK_R 1 | #define HAVE_DECL_STRTOUMAX 1 | #define HAVE_DECL_UNSETENV 1 | #define HAVE_INTTYPES_H_WITH_UINTMAX 1 | #define HAVE_STDINT_H_WITH_UINTMAX 1 | #define HAVE_INTMAX_T 1 | #define HAVE_SNPRINTF 1 | #define HAVE_STRNLEN 1 | #define HAVE_WCSLEN 1 | #define HAVE_WCSNLEN 1 | #define HAVE_MBRTOWC 1 | #define HAVE_WCRTOMB 1 | #define HAVE_DECL__SNPRINTF 0 | #define HAVE_SNPRINTF_RETVAL_C99 1 | #define HAVE_DECL_VSNPRINTF 1 | #define CHECK_PRINTF_SAFE 1 | #define HAVE_ALLOCA 1 | #define GNULIB_TEST_BTOWC 1 | #define HAVE___BUILTIN_EXPECT 1 | #define GNULIB_TEST_CHOWN 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_CLOCK_SETTIME 1 | #define GNULIB_TEST_CLOEXEC 1 | #define GNULIB_TEST_CLOSE 1 | #define HAVE_CLOSEDIR 1 | #define GNULIB_TEST_CLOSEDIR 1 | #define GL_COMPILE_CRYPTO_STREAM 1 | #define HAVE_OPENSSL_MD5_H 1 | #define HAVE_OPENSSL_MD5 1 | #define GL_COMPILE_CRYPTO_STREAM 1 | #define HAVE_OPENSSL_SHA_H 1 | #define HAVE_OPENSSL_SHA1 1 | #define HAVE_STRUCT_DIRENT_D_TYPE 1 | #define HAVE_DIRFD 1 | #define HAVE_DECL_DIRFD 1 | #define GNULIB_TEST_DIRFD 1 | #define GNULIB_TEST_DUP2 1 | #define GNULIB_TEST_ENVIRON 1 | #define GNULIB_TEST_FCNTL 1 | #define FUNC_FFLUSH_STDIN 0 | #define GNULIB_FFLUSH 1 | #define GNULIB_TEST_FFLUSH 1 | #define FLEXIBLE_ARRAY_MEMBER /**/ | #define GNULIB_TEST_FNMATCH 1 | #define GNULIB_FNMATCH_GNU 1 | #define HAVE_DECL_FPURGE 1 | #define GNULIB_TEST_FPURGE 1 | #define HAVE_FREXP_IN_LIBC 1 | #define GNULIB_TEST_FREXP 1 | #define HAVE_FREXPL_IN_LIBC 1 | #define GNULIB_TEST_FREXPL 1 | #define GNULIB_TEST_FSEEK 1 | #define FUNC_FFLUSH_STDIN 0 | #define GNULIB_TEST_FSEEKO 1 | #define GNULIB_TEST_FSTAT 1 | #define GNULIB_TEST_FTELL 1 | #define GNULIB_TEST_FTELLO 1 | #define GNULIB_TEST_GETDTABLESIZE 1 | #define GNULIB_TEST_GETLOGIN_R 1 | #define __GETOPT_PREFIX rpl_ | #define GNULIB_TEST_GETOPT_POSIX 1 | #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0 | #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0 | #define HAVE_DECL___ARGV 0 | #define HAVE_VAR___PROGNAME 1 | #define GETTIMEOFDAY_TIMEZONE void | #define GNULIB_TEST_GETTIMEOFDAY 1 | #define GNULIB_TEST_GLOB 1 | #define HAVE_DECL_INET_PTON 1 | #define HAVE_INLINE 1 | #define GNULIB_ISBLANK 1 | #define HAVE_ISNAND_IN_LIBC 1 | #define HAVE_ISNANF_IN_LIBC 1 | #define HAVE_ISNANL_IN_LIBC 1 | #define HAVE_LCHOWN 1 | #define GNULIB_TEST_LCHOWN 1 | #define HAVE___INLINE 1 | #define GNULIB_TEST_LOCALECONV 1 | #define HAVE_PTHREAD_RWLOCK 1 | #define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1 | #define HAVE_PTHREAD_MUTEX_RECURSIVE 1 | #define GNULIB_LOCK 1 | #define GNULIB_TEST_LSEEK 1 | #define GNULIB_TEST_LSTAT 1 | #define HAVE_MALLOC_POSIX 1 | #define GNULIB_TEST_MALLOC_POSIX 1 | #define GNULIB_TEST_MBRTOWC 1 | #define GNULIB_TEST_MBSINIT 1 | #define GNULIB_TEST_MBSRTOWCS 1 | #define HAVE_DECL_MBSWIDTH_IN_WCHAR_H 0 | #define HAVE_MBSTATE_T 1 | #define HAVE_MBTOWC 1 | #define GNULIB_TEST_MBTOWC 1 | #define GNULIB_TEST_MEMCHR 1 | #define HAVE_MEMMEM 1 | #define GNULIB_TEST_MEMMEM 1 | #define GNULIB_TEST_MEMPCPY 1 | #define NEED_MKTIME_WORKING 1 | #define GNULIB_TEST_MKTIME 1 | #define NEED_MKTIME_INTERNAL 1 | #define GNULIB_MSVC_NOTHROW 1 | #define FUNC_NL_LANGINFO_YESEXPR_WORKS 1 | #define REPLACE_NL_LANGINFO 1 | #define GNULIB_TEST_NL_LANGINFO 1 | #define my_strftime nstrftime | #define OPEN_TRAILING_SLASH_BUG 1 | #define GNULIB_TEST_OPEN 1 | #define HAVE_OPENDIR 1 | #define GNULIB_TEST_OPENDIR 1 | #define HAVE_STRUCT_TM_TM_ZONE 1 | #define HAVE_TM_ZONE 1 | #define _LINUX_SOURCE_COMPAT 1 | #define GNULIB_TEST_POLL 1 | #define HAVE_FREXP_IN_LIBC 1 | #define HAVE_LDEXP_IN_LIBC 1 | #define HAVE_FREXPL_IN_LIBC 1 | #define HAVE_LDEXPL_IN_LIBC 1 | #define HAVE_READDIR 1 | #define GNULIB_TEST_READDIR 1 | #define READLINK_TRAILING_SLASH_BUG 1 | #define GNULIB_TEST_READLINK 1 | #define _REGEX_INCLUDE_LIMITS_H 1 | #define _REGEX_LARGE_OFFSETS 1 | #define re_syntax_options rpl_re_syntax_options | #define re_set_syntax rpl_re_set_syntax | #define re_compile_pattern rpl_re_compile_pattern | #define re_compile_fastmap rpl_re_compile_fastmap | #define re_search rpl_re_search | #define re_search_2 rpl_re_search_2 | #define re_match rpl_re_match | #define re_match_2 rpl_re_match_2 | #define re_set_registers rpl_re_set_registers | #define re_comp rpl_re_comp | #define re_exec rpl_re_exec | #define regcomp rpl_regcomp | #define regexec rpl_regexec | #define regerror rpl_regerror | #define regfree rpl_regfree | #define HAVE_LIBINTL_H 1 | #define HAVE_DECL_ISBLANK 1 | #define GNULIB_TEST_SELECT 1 | #define GNULIB_TEST_SETENV 1 | #define SETLOCALE_NULL_ALL_MTSAFE 0 | #define SETLOCALE_NULL_ONE_MTSAFE 1 | #define HAVE_VISIBILITY 1 | #define GNULIB_TEST_SETLOCALE_NULL 1 | #define GNULIB_TEST_SIGNBIT 1 | #define HAVE_STDINT_H 1 | #define REPLACE_FUNC_STAT_FILE 1 | #define GNULIB_TEST_STAT 1 | #define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1 | #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC 1 | #define __USE_MINGW_ANSI_STDIO 1 | #define GNULIB_FSCANF 1 | #define GNULIB_SCANF 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_DECL_STRNCASECMP 1 | #define GNULIB_TEST_STRDUP 1 | #define GNULIB_STRERROR 1 | #define GNULIB_TEST_STRERROR 1 | #define GNULIB_TEST_STRNLEN 1 | #define GNULIB_TEST_STRPTIME 1 | #define GNULIB_TEST_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define GNULIB_TEST_STRTOK_R 1 | #define HAVE_STRTOULL 1 | #define GNULIB_TEST_STRTOULL 1 | #define HAVE_DECL_LOCALTIME_R 1 | #define GNULIB_TEST_TIME_R 1 | #define GNULIB_TEST_TIME_RZ 1 | #define GNULIB_TEST_TIMEGM 1 | #define GNULIB_TEST_TZSET 1 | #define GNULIB_UNISTR_U8_MBTOUCR 1 | #define GNULIB_UNISTR_U8_UCTOMB 1 | #define HAVE_UNSETENV 1 | #define GNULIB_TEST_UNSETENV 1 | #define HAVE_VSNPRINTF 1 | #define GNULIB_TEST_VSNPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define NEED_PRINTF_DIRECTIVE_A 1 | #define HAVE_NL_LANGINFO 1 | #define GNULIB_TEST_WCRTOMB 1 | #define HAVE_TOWLOWER 1 | #define HAVE_DECL_WCWIDTH 1 | #define GNULIB_TEST_WCWIDTH 1 | #define GNULIB_TEST_WMEMCHR 1 | #define GNULIB_TEST_WMEMPCPY 1 | #define HAVE_STDINT_H 1 | #define REPLACE_WCWIDTH 1 | #define HAVE_DLOPEN 1 | #define HAVE_RES_9_SEARCH 1 | #define HAVE_RES_SEARCH 1 | #define HAVE_DECL_RES_SEARCH 1 | #define HAVE_CURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_TERMCAP_H 1 | #define HAVE_TIGETSTR 1 | #define HAVE_TGETSTR 1 | #define USE_OPENSSL 1 | #define HAVE_DEV_PTMX 1 | #define HAVE_UTIL_H 1 | #define HAVE_OPENPTY 1 | #define LIBIDN2 1 | #define HAVE_DIRENT_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_LIBINTL_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_TERMCAP_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_RESOLV_H 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_EXPAT_H 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_SNPRINTF 1 | /* end confdefs.h. */ | | int main() | { | unsigned long long x=0,x1; | long long y=0,y1; | char buf[128]; | | x=~x; | sscanf("0","%llu",&x); | if(x!=0) return 1; | | y=~y; | sscanf("0","%lld",&y); | if(y!=0) return 1; | | x=~x; | sprintf(buf,"%lld %llu",y,x); | sscanf (buf,"%lld %llu",&y1,&x1); | if(x!=x1 || y!=y1) | return 1; | | return 0; | } configure:57468: result: yes (because %lld fails)