Source: libtirpc
Version: 1.0.2-0.2
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

libtirpc/experimental recently started to FTBFS:

/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
-I../tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe 
-Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_RPCSEC_GSS -isystem /us
r/include/mit-krb5 -g -O2 -fdebug-prefix-map=/build/libtirpc-1.0.2=. 
-fstack-protector-strong -Wformat -Werror=format-security -c -o 
libtirpc_la-xdr_sizeof.lo `test -f 'xdr_sizeof.c' || echo './'`xdr_sizeof.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../tirpc -include config.h 
-DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe -Wdate-time -D_FORTIFY_SOURCE=2 
-DHAVE_RPCSEC_GSS -isystem /usr/include/mit-krb5 -g -O2 -fde
bug-prefix-map=/build/libtirpc-1.0.2=. -fstack-protector-strong -Wformat 
-Werror=format-security -c xdr_sizeof.c  -fPIC -DPIC -o 
.libs/libtirpc_la-xdr_sizeof.o
xdr_sizeof.c: In function 'x_inline':
xdr_sizeof.c:93:13: error: 'uintptr_t' undeclared (first use in this function); 
did you mean '__intptr_t'?
  if (len < (uintptr_t)xdrs->x_base) {
             ^~~~~~~~~
             __intptr_t
xdr_sizeof.c:93:13: note: each undeclared identifier is reported only once for 
each function it appears in
xdr_sizeof.c:93:23: error: expected ')' before 'xdrs'
  if (len < (uintptr_t)xdrs->x_base) {
                       ^~~~
xdr_sizeof.c:105:38: error: expected ';' before 'len'
   xdrs->x_base = (caddr_t)(uintptr_t)len;
                                      ^~~
xdr_sizeof.c:109:1: warning: control reaches end of non-void function 
[-Wreturn-type]
 }
 ^
Makefile:977: recipe for target 'libtirpc_la-xdr_sizeof.lo' failed
make[3]: *** [libtirpc_la-xdr_sizeof.lo] Error 1


Andreas

Attachment: libtirpc_1.0.2-0.2.log.gz
Description: application/gzip

Reply via email to