Re: [bug-gettext] [platform-testers] gettext pretest 0.19.6.44-a2e0a

2015-12-14 Thread Daiki Ueno
Assaf Gordon  writes:

> 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:

Thanks for testing.  I was too lazy and only tested it with
--with-included-libxml on my work environment.

The latter 3 failures are due to missing -lm, which I'm going to address
with this commit:
http://git.sv.gnu.org/cgit/gettext.git/commit/?id=19ce4c30

I have no idea about the first one, as the relevant code hasn't been
touched for a while.  Does it happen only on ARM?

Regards,
-- 
Daiki Ueno




Re: [bug-gettext] [platform-testers] gettext pretest 0.19.6.44-a2e0a

2015-12-14 Thread Assaf Gordon

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