File: parallel-ftbfs.patch

package info (click to toggle)
libace-perl 1.92-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,120 kB
  • sloc: perl: 7,763; ansic: 7,420; makefile: 81
file content (22 lines) | stat: -rw-r--r-- 590 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Fix parallel FTBFS
 Only run rpcgen once, not several times in parallel.
Author: Adrian Bunk <bunk@debian.org>
Last-Update: 2017-11-21
Bug-Debian: https://bugs.debian.org/882313
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=169601

--- a/acelib/Makefile
+++ b/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