[Debian-med-packaging] Bug#882313: libace-perl: sometimes parallel FTBFS
Adrian Bunk
bunk at debian.org
Tue Nov 21 11:11:24 UTC 2017
Source: libace-perl
Version: 1.92-5
Severity: important
Tags: patch
dh compat 10 defaults to parallel building,
which sometimes results in a FTBFS:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libace-perl.html
...
rpcgen -b -I -K -1 rpcace.x
x86_64-linux-gnu-gcc -c -I./acelib/wh -I../acelib/wh -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE" RPC.c
rpcgen -b -I -K -1 rpcace.x
gcc -g -Wall -O2 -DACEDB4 -fPIC -I. -I./wh -DLINUX -c -o rpcace_xdr.o rpcace_xdr.c
rpcace_xdr.c:8:1: error: unknown type name 'bool_t'
bool_t
^~~~~~
rpcace_xdr.c:9:15: error: unknown type name 'XDR'
xdr_ace_data (XDR *xdrs, ace_data *objp)
^~~
rpcace_xdr.c:9:26: error: unknown type name 'ace_data'
xdr_ace_data (XDR *xdrs, ace_data *objp)
^~~~~~~~
rpcace_xdr.c:91:1: error: unknown type name 'bool_t'
bool_t
^~~~~~
rpcace_xdr.c:92:18: error: unknown type name 'XDR'
xdr_ace_reponse (XDR *xdrs, ace_reponse *objp)
^~~
rpcace_xdr.c:92:29: error: unknown type name 'ace_reponse'
xdr_ace_reponse (XDR *xdrs, ace_reponse *objp)
^~~~~~~~~~~
<builtin>: recipe for target 'rpcace_xdr.o' failed
make[4]: *** [rpcace_xdr.o] Error 1
Fix attached.
-------------- next part --------------
Description: Fix parallel FTBFS
Only run rpcgen once, not several times in parallel.
Author: Adrian Bunk <bunk at debian.org>
--- libace-perl-1.92.orig/acelib/Makefile
+++ libace-perl-1.92/acelib/Makefile
@@ -96,7 +96,11 @@ libace.a : $(LIBACE_OBJS)
RPCGEN_PRODUCTS = rpcace.h rpcace_xdr.c rpcace_clnt.c rpcace_svc.c
-$(RPCGEN_PRODUCTS): rpcace.x
+.PHONY: rpcgen
+
+$(RPCGEN_PRODUCTS): rpcgen
+
+rpcgen: rpcace.x
rpcgen $(RPCGEN_FLAGS) rpcace.x
rpcace_sp.o: rpcace_sp.c rpcace_svc.c
More information about the Debian-med-packaging
mailing list