help-libidn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3 failed tests for libidn2-2.1.1


From: Dennis Clarke
Subject: Re: 3 failed tests for libidn2-2.1.1
Date: Sun, 12 May 2019 12:00:16 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Thunderbird/67.0

On 5/12/19 7:21 AM, Tim Rühsen wrote:
Hi Dennis,

ld.so.1: test-lookup: fatal: relocation error: file test-lookup: symbol
idn2_to_ascii_4i2: referenced symbol not found
FAIL test-lookup (exit status: 137)

That symbol has been flagged 'deprecated' but it wasn't removed. Do you
have some compiler/linker settings to remove deprecated symbols ?


I don't think Oracle Studio 12.6 does that.  Not sure really.


The other issues may result from incomplete or missing locale and or
iconv support. E.g. we experience such on some versions of Solaris, but
we can't do much except suggesting to use a recent GNU environment.

Well, I certainly have GNU libiconv installed just fine.


Anyways, maybe you can send your config.log to answer questions about
your environment. Send it via PM if you don't want to expose it to the
public. I then might come up with more detailed questions.

Sure, let's at least try.

beta$ uname -a
SunOS beta 5.10 Generic_150400-65 sun4u sparc SUNW,SPARC-Enterprise
beta$
beta$ psrinfo -pv
The physical processor has 8 virtual processors (0-7)
  SPARC64-VII+ (portid 1024 impl 0x7 ver 0xa1 clock 2860 MHz)
beta$
beta$ env | sort
AR=/usr/ccs/bin/ar
AS=/usr/ccs/bin/as
AUTOCONF=/usr/local/bin/autoconf
AUTOHEADER=/usr/local/bin/autoheader
AUTOMAKE=/usr/local/bin/automake
AWK=/usr/local/bin/gawk
CC=/opt/developerstudio12.6/bin/cc
CFLAGS=-m64 -xarch=sparc -g -Xa -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO
CONFIG_SHELL=/usr/local/bin/bash
CPPFLAGS=-I/usr/local/include -D_EXTENSIONS_ -D__EXTENSIONS__ -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
CXX=/opt/developerstudio12.6/bin/CC
EDITOR=/usr/xpg6/bin/vi
GREP=/usr/local/bin/grep
HOME=/export/home/dclarke
JAVA_HOME=/usr/jdk/latest
JRE_HOME=/usr/jdk/latest/jre
LANG=C
LC_COLLATE=C
LC_CTYPE=C
LC_MESSAGES=C
LC_MONETARY=C
LC_NUMERIC=C
LC_TIME=C
LD=/usr/ccs/bin/sparcv9/ld
LD_OPTIONS=-64 -R/usr/local/lib -L/usr/local/lib
LD_RUN_PATH=/usr/local/lib
LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4
LINES=43
LOGNAME=dclarke
M4=/usr/local/bin/m4
MACHTYPE=sparc-sun-solaris
MAIL=/usr/mail/dclarke
MAKE=/usr/local/bin/gmake
MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/X11/share/man
NM=/usr/ccs/bin/sparcv9/nm -p
OSTYPE=solaris
PAGER=/usr/xpg4/bin/more
PATH=/usr/local/bin:/usr/local/sbin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/jdk/latest/bin:/opt/developerstudio12.6/bin:/sbin:/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/X11/bin:/opt/schily/bin
PCRE_CONFIG=/usr/local/bin/pcre-config
PERL=/usr/local/bin/perl
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
PWD=/usr/local/build/libidn2-2.1.1_SunOS5.10_sparc64vii+.001
SED=/usr/local/bin/sed
SHELL=/usr/local/bin/bash
TERM=xterm
TMPDIR=/var/tmp/dclarke
TZ=GMT0
USER=dclarke
VISUAL=/usr/xpg4/bin/vi
XTERM_LOCALE=C
YACC=/usr/local/bin/bison
_=/usr/xpg4/bin/env
beta$

Some of that may not be necessary but I have been having great success with it.

Built and installed libiconv today :

beta$ /usr/local/bin/iconv --version
iconv (GNU libiconv 1.16)
Copyright (C) 2000-2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Bruno Haible.
beta$

beta$
beta$ ls -lapb /usr/local/bin/iconv
-rwxr-xr-x   1 root     root      127960 May 12 10:18 /usr/local/bin/iconv
beta$

Every locale you can shake a stick at is installed here.

beta$ pwd
/usr/local/build/libidn2-2.1.1a_SunOS5.10_sparc64vii+.001
beta$

beta$ ./configure --prefix=/usr/local --disable-silent-rules \
> --enable-dependency-tracking --enable-shared --enable-static \
> --without-gnu-ld --with-libiconv-prefix=/usr/local \
> --with-libintl-prefix=/usr/local
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... /usr/local/bin/gawk
checking whether /usr/local/bin/gmake sets $(MAKE)... yes
checking whether /usr/local/bin/gmake supports nested variables... yes
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for gcc... /opt/developerstudio12.6/bin/cc
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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether /opt/developerstudio12.6/bin/cc accepts -g... yes
checking for /opt/developerstudio12.6/bin/cc option to accept ISO C89... none needed checking whether /opt/developerstudio12.6/bin/cc understands -c and -o together... yes checking whether /usr/local/bin/gmake supports the include directive... yes (GNU style)
checking dependency style of /opt/developerstudio12.6/bin/cc... dashXmstdout
checking how to run the C preprocessor... /opt/developerstudio12.6/bin/cc -E
checking for gcc... no
checking for cc... cc
checking whether we are using the GNU C compiler... (cached) no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... (cached) none needed
checking whether cc understands -c and -o together... (cached) yes
checking dependency style of cc... (cached) dashXmstdout
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/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 the archiver (/usr/ccs/bin/ar) interface... ar
checking for ar... /usr/ccs/bin/ar
checking for ranlib... ranlib
checking for /opt/developerstudio12.6/bin/cc option to accept ISO C99... -D_STDC_C99= checking for /opt/developerstudio12.6/bin/cc -D_STDC_C99= option to accept ISO Standard C... (cached) -D_STDC_C99=
checking the archiver (/usr/ccs/bin/ar) interface... (cached) ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for fgrep... /usr/local/bin/grep -F
checking for non-GNU ld... /usr/ccs/bin/sparcv9/ld
checking if the linker (/usr/ccs/bin/sparcv9/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/sparcv9/nm -p
checking the name lister (/usr/ccs/bin/sparcv9/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert sparc-sun-solaris2.10 file names to sparc-sun-solaris2.10 format... func_convert_file_noop checking how to convert sparc-sun-solaris2.10 file names to toolchain format... func_convert_file_noop
checking for /usr/ccs/bin/sparcv9/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/ccs/bin/sparcv9/nm -p output from /opt/developerstudio12.6/bin/cc -D_STDC_C99= object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking for /opt/developerstudio12.6/bin/cc -D_STDC_C99= option to produce PIC... -KPIC -DPIC checking if /opt/developerstudio12.6/bin/cc -D_STDC_C99= PIC flag -KPIC -DPIC works... yes checking if /opt/developerstudio12.6/bin/cc -D_STDC_C99= static flag -Bstatic works... yes checking if /opt/developerstudio12.6/bin/cc -D_STDC_C99= supports -c -o file.o... yes checking if /opt/developerstudio12.6/bin/cc -D_STDC_C99= supports -c -o file.o... (cached) yes checking whether the /opt/developerstudio12.6/bin/cc -D_STDC_C99= linker (/usr/ccs/bin/sparcv9/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether // is distinct from /... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking whether getdelim is declared... no
checking for getdelim... no
checking for getprogname... no
checking for getexecname... yes
checking for _set_invalid_parameter_handler... no
checking whether getline is declared... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/cdefs.h usability... no
checking sys/cdefs.h presence... no
checking for sys/cdefs.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... no
checking for inline... inline
checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... no
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wchar_t... yes
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... no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
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... 64
checking for bit size of size_t... 64
checking for bit size of sig_atomic_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... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... l
checking for size_t integer literal suffix... ul
checking for sig_atomic_t integer literal suffix...
checking for wchar_t integer literal suffix...
checking for wint_t integer literal suffix...
checking whether strerror(0) succeeds... yes
checking for C/C++ restrict keyword... __restrict
checking for pid_t... yes
checking for mode_t... yes
checking whether // is distinct from /... (cached) no
checking for error_at_line... no
checking for flockfile... yes
checking for funlockfile... yes
checking whether getc_unlocked is declared... yes
checking for getline... no
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...
checking whether the compiler generally respects inline... yes
checking if LD -Wl,--version-script works... no
checking whether program_invocation_name is declared... (cached) no
checking whether program_invocation_short_name is declared... (cached) no
checking for rawmemchr... no
checking for ssize_t... yes
checking for va_copy... yes
checking for good max_align_t... no
checking whether NULL can be used in arbitrary expressions... yes
checking which flavor of printf attribute matches inttypes macros... system
checking for strchrnul... no
checking for working strerror function... yes
checking for strverscmp... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for non-GNU ld... /usr/ccs/bin/sparcv9/ld -64
checking if the linker (/usr/ccs/bin/sparcv9/ld -64) is GNU ld... no
checking for shared library run path origin... done
checking for 64-bit host... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -R/usr/local/lib
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for libunistring... yes
checking how to link with libunistring... /usr/local/lib/libunistring.so /usr/local/lib/libiconv.so -R/usr/local/lib
checking for libunistring version... 0.9.9
checking for nl_langinfo and CODESET... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for alloca as a compiler built-in... no
checking whether the compiler generally respects inline... (cached) yes
checking for ssize_t... (cached) yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk-doc... no
configure: WARNING:
  You will not be able to create source packages with 'make dist'
  because gtk-doc >= 1.14 is not found.
checking for gtkdoc-check... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /bin/gmsgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... (cached) yes
checking for working iconv... (cached) yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -R/usr/local/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/libintl.so -L/usr/local/lib/sparcv9 /usr/local/lib/libiconv.so -R/usr/local/lib -R/usr/local/lib/sparcv9
checking whether to build with code coverage support... no
checking whether /usr/local/bin/gmake supports nested variables... (cached) yes
checking max safe object size... 9223372036854775807
checking whether C compiler handles -Werror -Wunknown-warning-option... yes
checking whether C compiler handles -fno-common... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -W... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Waddress... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Waggressive-loop-optimizations... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wall... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wattribute-alias... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wattributes... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wbad-function-cast... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wbool-compare... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wbool-operation... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wbuiltin-declaration-mismatch... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wbuiltin-macro-redefined... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wcast-align... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wcast-align=strict... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wcast-function-type... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wchar-subscripts... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wclobbered... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wcomment... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wcomments... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wcoverage-mismatch... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wcpp... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wdangling-else... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wdate-time... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wdeprecated... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wdeprecated-declarations... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wdesignated-init... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wdisabled-optimization... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wdiscarded-array-qualifiers... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wdiscarded-qualifiers... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wdiv-by-zero... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wdouble-promotion... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wduplicated-branches... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wduplicated-cond... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wduplicate-decl-specifier... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wempty-body... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wendif-labels... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wenum-compare... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wexpansion-to-defined... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wextra... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wformat-contains-nul... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wformat-extra-args... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wformat-nonliteral... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wformat-security... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wformat-signedness... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wformat-y2k... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wformat-zero-length... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wframe-address... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wfree-nonheap-object... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Whsa... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wif-not-aligned... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wignored-attributes... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wignored-qualifiers... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wimplicit... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wimplicit-function-declaration... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wimplicit-int... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wincompatible-pointer-types... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Winit-self... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Winline... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wint-conversion... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wint-in-bool-context... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wint-to-pointer-cast... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Winvalid-memory-model... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Winvalid-pch... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wlogical-not-parentheses... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wlogical-op... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmain... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmaybe-uninitialized... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmemset-elt-size... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmemset-transposed-args... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmisleading-indentation... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmissing-attributes... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmissing-braces... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmissing-declarations... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmissing-include-dirs... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmissing-parameter-type... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmissing-prototypes... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmultichar... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wmultistatement-macros... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wnarrowing... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wnested-externs... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wnonnull... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wnonnull-compare... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wnull-dereference... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wodr... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wold-style-declaration... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wold-style-definition... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wopenmp-simd... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Woverflow... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Woverlength-strings... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Woverride-init... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wpacked... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wpacked-bitfield-compat... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wpacked-not-aligned... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wparentheses... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wpointer-arith... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wpointer-compare... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wpointer-sign... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wpointer-to-int-cast... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wpragmas... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wpsabi... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wrestrict... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wreturn-local-addr... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wreturn-type... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wscalar-storage-order... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsequence-point... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wshadow... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wshift-count-negative... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wshift-count-overflow... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wshift-negative-value... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsizeof-array-argument... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsizeof-pointer-div... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsizeof-pointer-memaccess... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wstack-protector... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wstrict-aliasing... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wstrict-overflow... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wstrict-prototypes... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wstringop-truncation... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsuggest-attribute=cold... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsuggest-attribute=const... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsuggest-attribute=format... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsuggest-attribute=malloc... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsuggest-attribute=noreturn... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsuggest-attribute=pure... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsuggest-final-methods... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsuggest-final-types... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wswitch... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wswitch-bool... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wswitch-unreachable... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wsync-nand... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wtautological-compare... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wtrampolines... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wtrigraphs... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wtype-limits... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wuninitialized... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunknown-pragmas... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunsafe-loop-optimizations... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunused... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunused-but-set-parameter... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunused-but-set-variable... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunused-function... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunused-label... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunused-local-typedefs... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunused-macros... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunused-parameter... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunused-result... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunused-value... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunused-variable... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wvarargs... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wvariadic-macros... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wvector-operation-performance... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wvla... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wvolatile-register-var... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wwrite-strings... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes checking whether C compiler handles -Walloc-size-larger-than=9223372036854775807... yes checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Warray-bounds=2... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wformat-overflow=2... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wformat-truncation=2... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wimplicit-fallthrough=5... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wnormalized=nfc... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wshift-overflow=2... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wstringop-overflow=2... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wunused-const-variable=2... yes
checking whether C compiler handles -Werror -Wunknown-warning-option... (cached) yes
checking whether C compiler handles -Wvla-larger-than=4031... yes
checking whether C compiler handles -fdiagnostics-show-option... no
checking whether C compiler handles -fdiagnostics-color=always... no
checking whether C compiler handles -Wno-missing-field-initializers... yes
checking for library containing uc_joining_type... -lunistring
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating doc/reference/version.xml
config.status: creating Makefile
config.status: creating examples/Makefile
config.status: creating lib/idn2.h
config.status: creating lib/Makefile
config.status: creating unistring/Makefile
config.status: creating gl/Makefile
config.status: creating libidn2.pc
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating fuzz/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: Summary of build options:

  Version:           2.1.1
  Host OS:           solaris2.10
  Install prefix:    /usr/local
  Compiler:          /opt/developerstudio12.6/bin/cc -D_STDC_C99=
Warning flags: -fno-common -W -Waddress -Waggressive-loop-optimizations -Wall -Wattribute-alias -Wattributes -Wbad-function-cast -Wbool-compare -Wbool-operation -Wbuiltin-declaration-mismatch -Wbuiltin-macro-redefined -Wcast-align -Wcast-align=strict -Wcast-function-type -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdangling-else -Wdate-time -Wdeprecated -Wdeprecated-declarations -Wdesignated-init -Wdisabled-optimization -Wdiscarded-array-qualifiers -Wdiscarded-qualifiers -Wdiv-by-zero -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wduplicate-decl-specifier -Wempty-body -Wendif-labels -Wenum-compare -Wexpansion-to-defined -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-signedness -Wformat-y2k -Wformat-zero-length -Wframe-address -Wfree-nonheap-object -Whsa -Wif-not-aligned -Wignored-attributes -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wincompatible-pointer-types -Winit-self -Winline -Wint-conversion -Wint-in-bool-context -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wlogical-not-parentheses -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmemset-elt-size -Wmemset-transposed-args -Wmisleading-indentation -Wmissing-attributes -Wmissing-braces -Wmissing-declarations -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wmultistatement-macros -Wnarrowing -Wnested-externs -Wnonnull -Wnonnull-compare -Wnull-dereference -Wodr -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked -Wpacked-bitfield-compat -Wpacked-not-aligned -Wparentheses -Wpointer-arith -Wpointer-compare -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wpsabi -Wrestrict -Wreturn-local-addr -Wreturn-type -Wscalar-storage-order -Wsequence-point -Wshadow -Wshift-count-negative -Wshift-count-overflow -Wshift-negative-value -Wsizeof-array-argument -Wsizeof-pointer-div -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-overflow -Wstrict-prototypes -Wstringop-truncation -Wsuggest-attribute=cold -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsuggest-final-methods -Wsuggest-final-types -Wswitch -Wswitch-bool -Wswitch-unreachable -Wsync-nand -Wtautological-compare -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-macros -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla -Wvolatile-register-var -Wwrite-strings -Walloc-size-larger-than=9223372036854775807 -Warray-bounds=2 -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wnormalized=nfc -Wshift-overflow=2 -Wstringop-overflow=2 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-missing-field-initializers CFLAGS: -m64 -xarch=sparc -g -Xa -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO -I/usr/local/include -D_EXTENSIONS_ -D__EXTENSIONS__ -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
  LDFlags:           -L/usr/local/lib
  Documentation:     yes
  Library types:     Shared=yes, Static=yes
  Libiconv:          yes -L/usr/local/lib -liconv -R/usr/local/lib
Libunistring: yes 0.9.9 -L/usr/local/lib -lunistring -L/usr/local/lib -liconv -R/usr/local/lib
  Valgrind:
  Version script:    no

beta$

Running GNU make is quite uneventful and wonderfully verbose.

Then we have gmake check :

PASS: test-punycode
../build-aux/test-driver: line 107: 20737 Killed "$@" > $log_file 2>&1
FAIL: test-lookup
FAIL: test-register
PASS: test-strerror
FAIL: test-tounicode
============================================================================
Testsuite summary for libidn2 2.1.1
============================================================================
# TOTAL: 5
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0
============================================================================

The real problem may be the pre-existance of :

beta$
beta$ ls -lapb /usr/local/lib/*idn*
-rw-r--r-- 1 root root 617944 Apr 1 2018 /usr/local/lib/libidn.a -rwxr-xr-x 1 root root 1021 Apr 1 2018 /usr/local/lib/libidn.la lrwxrwxrwx 1 root root 17 Apr 1 2018 /usr/local/lib/libidn.so -> libidn.so.11.6.18* lrwxrwxrwx 1 root root 17 Apr 1 2018 /usr/local/lib/libidn.so.11 -> libidn.so.11.6.18* -rwxr-xr-x 1 root root 455192 Apr 1 2018 /usr/local/lib/libidn.so.11.6.18 -rw-r--r-- 1 root root 480928 Mar 22 2018 /usr/local/lib/libidn2.a -rwxr-xr-x 1 root root 1053 Mar 22 2018 /usr/local/lib/libidn2.la lrwxrwxrwx 1 root root 16 Mar 22 2018 /usr/local/lib/libidn2.so -> libidn2.so.0.3.3* lrwxrwxrwx 1 root root 16 Mar 22 2018 /usr/local/lib/libidn2.so.0 -> libidn2.so.0.3.3* -rwxr-xr-x 1 root root 358816 Mar 22 2018 /usr/local/lib/libidn2.so.0.3.3
beta$

Possible conflict between versions ?

beta$ LD_LIBRARY_PATH=`pwd`/lib/.libs /usr/local/bin/gmake check
.
.
.
gmake[4]: Entering directory '/usr/local/build/libidn2-2.1.1a_SunOS5.10_sparc64vii+.001/tests'
PASS: test-punycode
FAIL: test-lookup
PASS: test-register
PASS: test-strerror
PASS: test-tounicode
============================================================================
Testsuite summary for libidn2 2.1.1
============================================================================
# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to address@hidden
============================================================================

OKay that is better.

Still a failure there of course.


--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional



reply via email to

[Prev in Thread] Current Thread [Next in Thread]