Hello, On 12/14/2015 12:44 AM, Daiki Ueno wrote:
I have updated the included libxml2 to the latest release 2.9.3 and uploaded a new tarball: http://alpha.gnu.org/gnu/gettext/gettext-0.19.6.44-a2e0a.tar.xz http://alpha.gnu.org/gnu/gettext/gettext-0.19.6.44-a2e0a.tar.xz.sig
Linking now fails in various ways: === Debian 7.8 === make[5]: Entering directory `/tmp/gettext-0.19.6.44-a2e0a.QdSlBD/gettext-0.19.6.44-a2e0a/gettext-runtime/libasprintf' cp ./autosprintf.in.h autosprintf.h /bin/bash ./libtool --tag=CC --mode=compile arm-linux-gnueabi-gcc -DIN_LIBASPRINTF -DHAVE_CONFIG_H -I. -g -O2 -c -o xsize.lo xsize.c libtool: compile: arm-linux-gnueabi-gcc -DIN_LIBASPRINTF -DHAVE_CONFIG_H -I. -g -O2 -c xsize.c -fPIC -DPIC -o .libs/xsize.o libtool: compile: arm-linux-gnueabi-gcc -DIN_LIBASPRINTF -DHAVE_CONFIG_H -I. -g -O2 -c xsize.c -o xsize.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CC --mode=compile arm-linux-gnueabi-gcc -DIN_LIBASPRINTF -DHAVE_CONFIG_H -I. -g -O2 -c -o lib-asprintf.lo lib-asprintf.c libtool: compile: arm-linux-gnueabi-gcc -DIN_LIBASPRINTF -DHAVE_CONFIG_H -I. -g -O2 -c lib-asprintf.c -fPIC -DPIC -o .libs/lib-asprintf.o libtool: compile: arm-linux-gnueabi-gcc -DIN_LIBASPRINTF -DHAVE_CONFIG_H -I. -g -O2 -c lib-asprintf.c -o lib-asprintf.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CXX --mode=compile g++ -DIN_LIBASPRINTF -DHAVE_CONFIG_H -I. -g -O2 -c -o autosprintf.lo autosprintf.cc libtool: compile: g++ -DIN_LIBASPRINTF -DHAVE_CONFIG_H -I. -g -O2 -c autosprintf.cc -fPIC -DPIC -o .libs/autosprintf.o libtool: compile: g++ -DIN_LIBASPRINTF -DHAVE_CONFIG_H -I. -g -O2 -c autosprintf.cc -o autosprintf.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -o libasprintf.la -rpath /usr/local/lib xsize.lo lib-asprintf.lo autosprintf.lo || \ /bin/bash ./libtool --tag=CC --mode=link arm-linux-gnueabi-gcc -g -O2 -o libasprintf.la -rpath /usr/local/lib xsize.lo lib-asprintf.lo autosprintf.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbeginS.o .libs/xsize.o .libs/lib-asprintf.o .libs/autosprintf.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o -g -O2 -Wl,-soname -Wl,libasprintf.so.0 -o .libs/libasprintf.so.0.0.0 /usr/bin/ld: .libs/xsize.o: Relocations in generic ELF (EM: 40) /usr/bin/ld: .libs/xsize.o: Relocations in generic ELF (EM: 40) /usr/bin/ld: .libs/xsize.o: Relocations in generic ELF (EM: 40) /usr/bin/ld: .libs/xsize.o: Relocations in generic ELF (EM: 40) /usr/bin/ld: .libs/xsize.o: Relocations in generic ELF (EM: 40) /usr/bin/ld: .libs/xsize.o: Relocations in generic ELF (EM: 40) .libs/xsize.o: could not read symbols: File in wrong format collect2: error: ld returned 1 exit status libtool: link: arm-linux-gnueabi-gcc -shared -fPIC -DPIC .libs/xsize.o .libs/lib-asprintf.o .libs/autosprintf.o -g -O2 -Wl,-soname -Wl,libasprintf.so.0 -o .libs/libasprintf.so.0.0.0 .libs/autosprintf.o: file not recognized: File format not recognized collect2: ld returned 1 exit status make[5]: *** [libasprintf.la] Error 1 make[5]: Leaving directory `/tmp/gettext-0.19.6.44-a2e0a.QdSlBD/gettext-0.19.6.44-a2e0a/gettext-runtime/libasprintf' make[4]: *** [all] Error 2 make[4]: Leaving directory `/tmp/gettext-0.19.6.44-a2e0a.QdSlBD/gettext-0.19.6.44-a2e0a/gettext-runtime/libasprintf' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/gettext-0.19.6.44-a2e0a.QdSlBD/gettext-0.19.6.44-a2e0a/gettext-runtime' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/gettext-0.19.6.44-a2e0a.QdSlBD/gettext-0.19.6.44-a2e0a/gettext-runtime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/gettext-0.19.6.44-a2e0a.QdSlBD/gettext-0.19.6.44-a2e0a' make: *** [all] Error 2 === Debian 8.1 ==== gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DUSEJAVA=0 -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/local/lib/gettext\" -DGETTEXTJAR=\"/usr/local/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/local/lib\" -DGETTEXTDATADIR=\"/usr/local/share/gettext\" -DPROJECTSDIR=\"/usr/local/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -DINSTALLDIR=\"/usr/local/bin\" -g -O2 -c -o ../../gettext-runtime/intl/msgfmt-hash-string.o `test -f '../../gettext-runtime/intl/hash-string.c' || echo './'`../../gettext-runtime/intl/hash-string.c /bin/bash ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o msgfmt msgfmt-msgfmt.o msgfmt-write-mo.o msgfmt-write-java.o msgfmt-write-csharp.o msgfmt-write-resources.o msgfmt-write-tcl.o msgfmt-write-qt.o msgfmt-write-desktop.o msgfmt-write-xml.o ../../gettext-runtime/intl/msgfmt-hash-string.o libgettextsrc.la libtool: link: gcc -std=gnu99 -g -O2 -o .libs/msgfmt msgfmt-msgfmt.o msgfmt-write-mo.o msgfmt-write-java.o msgfmt-write-csharp.o msgfmt-write-resources.o msgfmt-write-tcl.o msgfmt-write-qt.o msgfmt-write-desktop.o msgfmt-write-xml.o ../../gettext-runtime/intl/msgfmt-hash-string.o ./.libs/libgettextsrc.so /tmp/gettext-0.19.6.44-a2e0a.GA5Vjn/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so -lncurses -lc -fopenmp /tmp/gettext-0.19.6.44-a2e0a.GA5Vjn/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `__fpclassify' /tmp/gettext-0.19.6.44-a2e0a.GA5Vjn/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `fmod' /tmp/gettext-0.19.6.44-a2e0a.GA5Vjn/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `pow' /tmp/gettext-0.19.6.44-a2e0a.GA5Vjn/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `log10' collect2: error: ld returned 1 exit status Makefile:2480: recipe for target 'msgfmt' failed make[5]: *** [msgfmt] Error 1 make[5]: Leaving directory '/tmp/gettext-0.19.6.44-a2e0a.GA5Vjn/gettext-0.19.6.44-a2e0a/gettext-tools/src' Makefile:2271: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/tmp/gettext-0.19.6.44-a2e0a.GA5Vjn/gettext-0.19.6.44-a2e0a/gettext-tools/src' Makefile:1745: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/tmp/gettext-0.19.6.44-a2e0a.GA5Vjn/gettext-0.19.6.44-a2e0a/gettext-tools' Makefile:1611: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/tmp/gettext-0.19.6.44-a2e0a.GA5Vjn/gettext-0.19.6.44-a2e0a/gettext-tools' Makefile:413: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/gettext-0.19.6.44-a2e0a.GA5Vjn/gettext-0.19.6.44-a2e0a' Makefile:369: recipe for target 'all' failed make: *** [all] Error 2 === CentOS 7.0 === gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DUSEJAVA=0 -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/local/lib/gettext\" -DGETTEXTJAR=\"/usr/local/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/local/lib\" -DGETTEXTDATADIR=\"/usr/local/share/gettext\" -DPROJECTSDIR=\"/usr/local/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -DINSTALLDIR=\"/usr/local/bin\" -g -O2 -c -o ../../gettext-runtime/intl/msgfmt-hash-string.o `test -f '../../gettext-runtime/intl/hash-string.c' || echo './'`../../gettext-runtime/intl/hash-string.c /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o msgfmt msgfmt-msgfmt.o msgfmt-write-mo.o msgfmt-write-java.o msgfmt-write-csharp.o msgfmt-write-resources.o msgfmt-write-tcl.o msgfmt-write-qt.o msgfmt-write-desktop.o msgfmt-write-xml.o ../../gettext-runtime/intl/msgfmt-hash-string.o libgettextsrc.la libtool: link: gcc -std=gnu99 -g -O2 -o .libs/msgfmt msgfmt-msgfmt.o msgfmt-write-mo.o msgfmt-write-java.o msgfmt-write-csharp.o msgfmt-write-resources.o msgfmt-write-tcl.o msgfmt-write-qt.o msgfmt-write-desktop.o msgfmt-write-xml.o ../../gettext-runtime/intl/msgfmt-hash-string.o ./.libs/libgettextsrc.so /tmp/gettext-0.19.6.44-a2e0a.ZGC52W/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so -lncurses -lc -fopenmp -Wl,-rpath -Wl,/usr/local/lib /tmp/gettext-0.19.6.44-a2e0a.ZGC52W/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `__fpclassify' /tmp/gettext-0.19.6.44-a2e0a.ZGC52W/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `fmod' /tmp/gettext-0.19.6.44-a2e0a.ZGC52W/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `pow' /tmp/gettext-0.19.6.44-a2e0a.ZGC52W/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `log10' collect2: error: ld returned 1 exit status make[5]: *** [msgfmt] Error 1 make[5]: Leaving directory `/tmp/gettext-0.19.6.44-a2e0a.ZGC52W/gettext-0.19.6.44-a2e0a/gettext-tools/src' make[4]: *** [all] Error 2 make[4]: Leaving directory `/tmp/gettext-0.19.6.44-a2e0a.ZGC52W/gettext-0.19.6.44-a2e0a/gettext-tools/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/gettext-0.19.6.44-a2e0a.ZGC52W/gettext-0.19.6.44-a2e0a/gettext-tools' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/gettext-0.19.6.44-a2e0a.ZGC52W/gettext-0.19.6.44-a2e0a/gettext-tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/gettext-0.19.6.44-a2e0a.ZGC52W/gettext-0.19.6.44-a2e0a' make: *** [all] Error 2 === OpenBSD 5.7 === gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DBISON_LOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DUSEJAVA=0 -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/local/lib/gettext\" -DGETTEXTJAR=\"/usr/local/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/local/lib\" -DGETTEXTDATADIR=\"/usr/local/share/gettext\" -DPROJECTSDIR=\"/usr/local/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -DINSTALLDIR=\"/usr/local/bin\" -I/usr/local/include -g -O2 -c -o ../../gettext-runtime/intl/msgfmt-hash-string.o `test -f '../../gettext-runtime/intl/hash-string.c' || echo './'`../../gettext-runtime/intl/hash-string.c /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -o msgfmt msgfmt-msgfmt.o msgfmt-write-mo.o msgfmt-write-java.o msgfmt-write-csharp.o msgfmt-write-resources.o msgfmt-write-tcl.o msgfmt-write-qt.o msgfmt-write-desktop.o msgfmt-write-xml.o ../../gettext-runtime/intl/msgfmt-hash-string.o libgettextsrc.la libtool: link: gcc -std=gnu99 -g -O2 -o .libs/msgfmt msgfmt-msgfmt.o msgfmt-write-mo.o msgfmt-write-java.o msgfmt-write-csharp.o msgfmt-write-resources.o msgfmt-write-tcl.o msgfmt-write-qt.o msgfmt-write-desktop.o msgfmt-write-xml.o ../../gettext-runtime/intl/msgfmt-hash-string.o -L/tmp/gettext-0.19.6.44-a2e0a.kcRIEd/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs -L/tmp/gettext-0.19.6.44-a2e0a.kcRIEd/gettext-0.19.6.44-a2e0a/gettext-tools/intl/.libs -L./.libs -lgettextsrc -L/usr/local/lib -lgettextlib -lncurses -lintl -liconv -Wl,-rpath,/usr/local/lib msgfmt-msgfmt.o(.text+0x890): In function `add_mo_suffix': /tmp/gettext-0.19.6.44-a2e0a.kcRIEd/gettext-0.19.6.44-a2e0a/gettext-tools/src/msgfmt.c:1112: warning: stpcpy() is dangerous; do not use it msgfmt-write-mo.o(.text+0x1de): In function `write_table': /tmp/gettext-0.19.6.44-a2e0a.kcRIEd/gettext-0.19.6.44-a2e0a/gettext-tools/src/write-mo.c:197: warning: strcpy() is almost always misused, please use strlcpy() ./.libs/libgettextsrc.so: warning: strcat() is almost always misused, please use strlcat() msgfmt-write-csharp.o(.text+0xfa8): In function `msgdomain_write_csharp': /tmp/gettext-0.19.6.44-a2e0a.kcRIEd/gettext-0.19.6.44-a2e0a/gettext-tools/src/write-csharp.c:722: warning: sprintf() is often misused, please use snprintf() /usr/bin/ld: warning: libintl.so.6.0, needed by /tmp/gettext-0.19.6.44-a2e0a.kcRIEd/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so, may conflict with libintl.so.9.4 /tmp/gettext-0.19.6.44-a2e0a.kcRIEd/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `fmod' /tmp/gettext-0.19.6.44-a2e0a.kcRIEd/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `pow' /tmp/gettext-0.19.6.44-a2e0a.kcRIEd/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `log10' /tmp/gettext-0.19.6.44-a2e0a.kcRIEd/gettext-0.19.6.44-a2e0a/gettext-tools/gnulib-lib/.libs/libgettextlib.so: undefined reference to `nan' collect2: ld returned 1 exit status *** Error 1 in gettext-tools/src (Makefile:2481 'msgfmt') *** Error 1 in gettext-tools/src (Makefile:2271 'all') *** Error 1 in gettext-tools (Makefile:1770 'all-recursive') *** Error 1 in gettext-tools (Makefile:1611 'all') *** Error 1 in . (Makefile:438 'all-recursive') *** Error 1 in /tmp/gettext-0.19.6.44-a2e0a.kcRIEd/gettext-0.19.6.44-a2e0a (Makefile:369 'all')