Source: libdfp Version: 1.0.13-1 Severity: serious Tags: sid buster Justification: fails to build from source
Hi,
libdfp FTBFS in a sid chroot on the s390x porterbox zelenka:
gcc -DSHARED -O2 -fpic -g -march=zEC12 -mzarch -MT printf_dfp.o -MD -MP -MF
printf_dfp.d -c ../printf_dfp.c -D__STDC_DEC_FP__=200704L
-D__STDC_WANT_DEC_FP__=1 -DOPTION_EGLIBC_LOCALE_CODE=1 -std=gnu99 -D_ISOC99_
SOURCE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -Wno-long-long -include
./config.h -include ../include/libdfp-symbols.h -I../include -I
../dfp -I../dfp/decimal -I../libdecnumber/dpd -I../libdecnumber
-I../sysdeps/s390/dfpu -I../sysdeps/s390/fpu -I../sysdeps/s390
-I../sysdeps/dpd -I../sysdeps/generic -I../decNumberMath/ -I../ieee754/ -I
../base-math/ -I.. -I. -o printf_dfp.o
In file included from ../sysdeps/s390/dfpu/numdigits.h:39,
from ../printf_dfp.c:52:
../sysdeps/dpd/dpd-private.h:307:14: warning: duplicate 'const' declaration
specifier [-Wduplicate-decl-specifier]
extern const const short int dpd_to_bcd[1024];
^~~~~
../sysdeps/dpd/dpd-private.h:308:14: warning: duplicate 'const' declaration
specifier [-Wduplicate-decl-specifier]
extern const const short int dpd_to_bin[1024];
^~~~~
../printf_dfp.c:120:20: error: unknown type name '_IO_size_t'; did you mean
'__ssize_t'?
#define size_t _IO_size_t
^~~~~~~~~~
../printf_dfp.c:308:44: note: in expansion of macro 'size_t'
__dfp_ais (const struct printf_info *info, size_t n __attribute__ ((unused)),
int *argtype, int *size)
^~~~~~
../printf_dfp.c:121:19: error: unknown type name '_IO_FILE'; did you mean
'__FILE'?
#define FILE _IO_FILE
^~~~~~~~
../printf_dfp.c:346:15: note: in expansion of macro 'FILE'
__printf_dfp (FILE *fp,
^~~~
In file included from <command-line>:
./../include/libdfp-symbols.h:95:26: error: '__EI___printf_dfp' aliased to
undefined symbol '__GI___printf_dfp'
extern __typeof (name) __EI_##name \
^~~~~
./../include/libdfp-symbols.h:100:41: note: in expansion of macro
'__hidden_ver1'
# define _hidden_def(name) __hidden_ver1(__GI_##name, name, name);
^~~~~~~~~~~~~
./../include/libdfp-symbols.h:99:41: note: in expansion of macro '_hidden_def'
# define hidden_def(name) _hidden_def(name)
^~~~~~~~~~~
../printf_dfp.c:888:1: note: in expansion of macro 'hidden_def'
hidden_def (__printf_dfp)
^~~~~~~~~~
./../include/libdfp-symbols.h:95:26: error: '__EI___dfp_ais' aliased to
undefined symbol '__GI___dfp_ais'
extern __typeof (name) __EI_##name \
^~~~~
./../include/libdfp-symbols.h:100:41: note: in expansion of macro
'__hidden_ver1'
# define _hidden_def(name) __hidden_ver1(__GI_##name, name, name);
^~~~~~~~~~~~~
./../include/libdfp-symbols.h:99:41: note: in expansion of macro '_hidden_def'
# define hidden_def(name) _hidden_def(name)
^~~~~~~~~~~
../printf_dfp.c:332:1: note: in expansion of macro 'hidden_def'
hidden_def(__dfp_ais)
^~~~~~~~~~
../printf_dfp.c:84:1: warning: 'padn' defined but not used [-Wunused-function]
padn (FILE *fp, int pad, int count)
^~~~
../printf_dfp.c:71:1: warning: 'wpadn' defined but not used [-Wunused-function]
wpadn (FILE *fp, wint_t pad, int count)
^~~~~
make[1]: *** [Makefile:241: printf_dfp.o] Error 1
make[1]: Leaving directory
'/home/anbe/rebuild/tmp_rebuild_libdfp_0Gyy4A4r/libdfp-1.0.13/build'
Cheers,
Andreas
libdfp_1.0.13-1.log.gz
Description: application/gzip

