making iconv optional on Android

Hans of Guardian hans at guardianproject.info
Sun Mar 2 18:41:51 CET 2014


It looks like iconv has become required by configure in gnupg.  Can this be optional for Android?  Android is UTF-8 throughout, and iconv is not currently used.

.hc

Begin forwarded message:

> From: jenkins on debeater <root at guardianproject.info>
> Date: March 2, 2014 11:24:50 AM EST
> To: hans at guardianproject.info
> Subject: Build failed in Jenkins: gnupg-for-android-eighthave-git-release-branches #46
> 
> See <http://localhost:18080/job/gnupg-for-android-eighthave-git-release-branches/46/>
> 
> ------------------------------------------
> [...truncated 6857 lines...]
> checking for ld used by GCC... /opt/android-ndk-r9b/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/arm-linux-androideabi/bin/ld
> checking if the linker (/opt/android-ndk-r9b/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/arm-linux-androideabi/bin/ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking for iconv... no, consider installing GNU libiconv
> configure: checking for gettext
> checking whether NLS is requested... yes
> 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 CFPreferencesCopyAppValue... no
> checking for CFLocaleCopyCurrent... no
> checking for GNU gettext in libc... no
> checking for iconv... (cached) no, consider installing GNU libiconv
> checking for GNU gettext in libintl... no
> checking whether to use NLS... no
> checking for strchr... yes
> checking for nl_langinfo and CODESET... no
> checking for LC_MESSAGES... yes
> configure: checking for header files
> checking for ANSI C header files... (cached) yes
> checking for string.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking langinfo.h usability... no
> checking langinfo.h presence... no
> checking for langinfo.h... no
> checking termio.h usability... yes
> checking termio.h presence... yes
> checking for termio.h... yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking getopt.h usability... yes
> checking getopt.h presence... yes
> checking for getopt.h... yes
> checking pty.h usability... no
> checking pty.h presence... no
> checking for pty.h... no
> checking utmp.h usability... yes
> checking utmp.h presence... yes
> checking for utmp.h... yes
> checking pwd.h usability... yes
> checking pwd.h presence... yes
> checking for pwd.h... yes
> checking for inttypes.h... (cached) yes
> checking signal.h usability... yes
> checking signal.h presence... yes
> checking for signal.h... yes
> checking whether time.h and sys/time.h may both be included... yes
> configure: checking for system characteristics
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking for working volatile... yes
> checking for size_t... yes
> checking for mode_t... yes
> checking return type of signal handlers... void
> checking whether sys_siglist is declared... yes
> checking for sys/socket.h... yes
> checking for sys/time.h... yes
> checking for unistd.h... (cached) yes
> checking for wchar.h... yes
> checking for stdint.h... (cached) yes
> checking for socklen_t... yes
> checking for library containing inet_addr... none required
> checking endianess... big (assumed)
> checking for byte typedef... no
> checking for ushort typedef... no
> checking for ulong typedef... no
> checking for u16 typedef... no
> checking for u32 typedef... no
> checking size of unsigned short... 2
> checking size of unsigned int... 4
> checking size of unsigned long... 4
> checking size of unsigned long long... 8
> checking whether time.h and sys/time.h may both be included... (cached) yes
> checking size of time_t... 4
> checking whether time_t is unsigned... no
> configure: checking for library functions
> checking whether getpagesize is declared... yes
> checking for _LARGEFILE_SOURCE value needed for large files... no
> checking for vprintf... yes
> checking for _doprnt... no
> checking for pid_t... yes
> checking vfork.h usability... no
> checking vfork.h presence... no
> checking for vfork.h... no
> checking for fork... yes
> checking for vfork... yes
> checking for working fork... cross
> configure: WARNING: result yes guessed because of cross compilation
> checking for working vfork... (cached) yes
> checking for strerror... yes
> checking for strlwr... no
> checking for tcgetattr... no
> checking for mmap... yes
> checking for canonicalize_file_name... no
> checking for strcasecmp... yes
> checking for strncasecmp... yes
> checking for ctermid... no
> checking for times... yes
> checking for gmtime_r... yes
> checking for strtoull... yes
> checking for unsetenv... yes
> checking for fcntl... yes
> checking for ftruncate... yes
> checking for canonicalize_file_name... (cached) no
> checking for gettimeofday... yes
> checking for getrusage... yes
> checking for getrlimit... yes
> checking for setrlimit... yes
> checking for clock_gettime... yes
> checking for atexit... yes
> checking for raise... yes
> checking for getpagesize... no
> checking for strftime... yes
> checking for nl_langinfo... no
> checking for setlocale... yes
> checking for waitpid... yes
> checking for wait4... no
> checking for sigaction... yes
> checking for sigprocmask... yes
> checking for pipe... yes
> checking for getaddrinfo... yes
> checking for ttyname... yes
> checking for rand... no
> checking for ftello... yes
> checking for fsync... yes
> checking for stat... yes
> checking for lstat... yes
> checking for struct sigaction... yes
> checking for sigset_t... yes
> checking for signal.h... (cached) yes
> checking for memicmp... no
> checking for stpcpy... no
> checking for strsep... yes
> checking for strlwr... (cached) no
> checking for strtoul... yes
> checking for memmove... yes
> checking for stricmp... no
> checking for strtol... yes
> checking for memrchr... yes
> checking for isascii... yes
> checking for timegm... no
> checking for getrusage... (cached) yes
> checking for setrlimit... (cached) yes
> checking for stat... (cached) yes
> checking for setlocale... (cached) yes
> checking for flockfile... yes
> checking for funlockfile... yes
> checking for fopencookie... no
> checking for funopen... yes
> checking for getpwnam... yes
> checking for getpwuid... yes
> checking for getenv... yes
> checking for inet_pton... yes
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for stdlib.h... (cached) yes
> checking for GNU libc compatible malloc... (cached) yes
> checking for long long int... yes
> checking for long double... yes
> checking whether stat file-mode macros are broken... no
> checking for unsigned long long int... yes
> checking for mkdtemp... yes
> checking for setenv... yes
> checking for unsetenv... (cached) yes
> checking for unsetenv() return type... int
> checking for stdint.h... (cached) yes
> checking for SIZE_MAX... yes
> checking absolute name of <stdint.h>... ///opt/android-ndk-r9b/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.8/include/stdint.h
> checking whether stdint.h conforms to C99... no
> checking sys/inttypes.h usability... no
> checking sys/inttypes.h presence... no
> checking for sys/inttypes.h... no
> checking sys/bitypes.h usability... no
> checking sys/bitypes.h presence... no
> checking for sys/bitypes.h... no
> checking for bit size of ptrdiff_t... 32
> checking for bit size of sig_atomic_t... 32
> checking for bit size of size_t... 32
> checking for bit size of wchar_t... 32
> checking for bit size of wint_t... 32
> checking whether sig_atomic_t is signed... yes
> checking whether wchar_t is signed... no
> checking whether wint_t is signed... no
> checking for ptrdiff_t integer literal suffix... 
> checking for sig_atomic_t integer literal suffix... 
> checking for size_t integer literal suffix... u
> checking for wchar_t integer literal suffix... u
> checking for wint_t integer literal suffix... u
> checking for strpbrk... yes
> checking for unistd.h... (cached) yes
> checking for stdint.h... (cached) yes
> checking for sys/stat.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking direct.h usability... no
> checking direct.h presence... no
> checking for direct.h... no
> checking if mkdir takes one argument... no
> checking whether regular expression support is requested... yes
> checking for library containing regcomp... none required
> checking for regcomp... yes
> configure: WARNING: cross compiling; assuming regexp libray is not broken
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking for deflateInit2_ in -lz... yes
> checking for bzlib.h... no
> checking whether readline via "-lreadline" is present and sane... no
> checking whether readline via "-lreadline -ltermcap" is present and sane... no
> checking whether readline via "-lreadline -lcurses" is present and sane... no
> checking whether readline via "-lreadline -lncurses" is present and sane... no
> configure: checking for cc features
> checking if gcc ignores unknown -Wno-* options... yes
> checking if gcc supports -Wdeclaration-after-statement... yes
> checking if gcc supports -Wpointer-arith... yes
> configure: checking system features for estream-printf
> checking for stdint.h... (cached) yes
> checking for long long int... (cached) yes
> checking for long double... yes
> checking for intmax_t... yes
> checking for uintmax_t... yes
> checking for ptrdiff_t... yes
> checking size of unsigned long... (cached) 4
> checking size of void *... 4
> checking for nl_langinfo and THOUSANDS_SEP... no
> configure: checking system features for estream
> configure:
> ***
> *** The system does not provide a working iconv function.  Please
> *** install a suitable library; for example GNU Libiconv which is
> *** available at:
> ***   http://ftp.gnu.org/gnu/libiconv/
> ***
> configure: error: 
> ***
> *** Required libraries not found. Please consult the above messages
> *** and install them before running configure again.
> ***
> make: *** [gnupg/Makefile] Error 1
> make: Leaving directory `<http://localhost:18080/job/gnupg-for-android-eighthave-git-release-branches/ws/external'>
> Build step 'Execute shell' marked build as failure
> $ /opt/android-sdk/platform-tools/adb disconnect localhost:33510
> [android] Stopping Android emulator
> [android] Archiving emulator log
> $ /opt/android-sdk/platform-tools/adb kill-server
> Terminating xvnc.
> $ vncserver -kill :57
> Killing Xvnc4 process ID 29027




More information about the Gnupg-devel mailing list