control: tags -1 patch pending

Uploaded.

G.
On Sun, 22 May 2022 15:32:34 +0300 Adrian Bunk <b...@debian.org> wrote:
Control: retitle -1 openpace: frequent parallel FTBFS
Control: forwarded -1 https://github.com/frankmorgner/openpace/pull/56
Control: tags -1 patch

On Sat, May 21, 2022 at 07:22:29PM +0200, Sebastian Ramacher wrote:
> Source: openpace
> Version: 1.1.2+ds+git20220117+453c3d6b03a0-1
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> X-Debbugs-Cc: sramac...@debian.org
> > https://buildd.debian.org/status/fetch.php?pkg=openpace&arch=arm64&ver=1.1.2%2Bds%2Bgit20220117%2B453c3d6b03a0-1&stamp=1652780709&raw=0 > > > libtool: link: gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o .libs/cvc-print cvc_print-cvc-print.o cvc_print-read_file.o cvc_print-cvc-print-cmdline.o ./.libs/libeac.so ./.libs/libvc.a -lcrypto
> make[6]: Leaving directory '/<<PKGBUILDDIR>>/src'
> /usr/bin/help2man \
>    --output=cvc-print.1 \
>    --no-info \
>    --source='OpenPACE 1.1.2' \
>    ./cvc-print
> /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o cvc-print cvc_print-cvc-print.o cvc_print-read_file.o cvc_print-cvc-print-cmdline.o libeac.la libvc.la -lcrypto > help2man: can't get `--help' info from ./cvc-print
> Try `--no-discard-stderr' if option outputs to stderr
> make[5]: *** [Makefile:1532: cvc-print.1] Error 127
> make[5]: *** Waiting for unfinished jobs....
>...

This is not architecture specific, it is a parallel build failure.
Fix linked above.

> Cheers

cu
Adrian

diff -Nru openpace-1.1.2+ds+git20220117+453c3d6b03a0/debian/changelog 
openpace-1.1.2+ds+git20220117+453c3d6b03a0/debian/changelog
--- openpace-1.1.2+ds+git20220117+453c3d6b03a0/debian/changelog 2022-05-17 
11:17:33.000000000 +0200
+++ openpace-1.1.2+ds+git20220117+453c3d6b03a0/debian/changelog 2022-07-28 
13:17:25.000000000 +0200
@@ -1,3 +1,12 @@
+openpace (1.1.2+ds+git20220117+453c3d6b03a0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/7de0b27a3d5dfb3ffeb82c37ce7ba4e85f764314.patch:
+    - Add upstream patch from Adrian Bunk to fix a race condition in parallel
+      builds (Closes: #1011393).
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org>  Thu, 28 Jul 2022 
13:17:25 +0200
+
 openpace (1.1.2+ds+git20220117+453c3d6b03a0-1) unstable; urgency=medium
 
   * New upstream snapshot (Closes: #1006513).
diff -Nru 
openpace-1.1.2+ds+git20220117+453c3d6b03a0/debian/patches/7de0b27a3d5dfb3ffeb82c37ce7ba4e85f764314.patch
 
openpace-1.1.2+ds+git20220117+453c3d6b03a0/debian/patches/7de0b27a3d5dfb3ffeb82c37ce7ba4e85f764314.patch
--- 
openpace-1.1.2+ds+git20220117+453c3d6b03a0/debian/patches/7de0b27a3d5dfb3ffeb82c37ce7ba4e85f764314.patch
    1970-01-01 01:00:00.000000000 +0100
+++ 
openpace-1.1.2+ds+git20220117+453c3d6b03a0/debian/patches/7de0b27a3d5dfb3ffeb82c37ce7ba4e85f764314.patch
    2022-07-28 13:17:25.000000000 +0200
@@ -0,0 +1,39 @@
+From 7de0b27a3d5dfb3ffeb82c37ce7ba4e85f764314 Mon Sep 17 00:00:00 2001
+From: Adrian Bunk <b...@debian.org>
+Date: Sun, 22 May 2022 15:15:29 +0300
+Subject: [PATCH] src/Makefile.am: Fix race condition in parallel builds
+
+Calling "make" from a Makefile results in several make invocations
+in parallel that do not know about each other and might generate
+the same files in parallel:
+https://buildd.debian.org/status/logs.php?pkg=openpace&ver=1.1.2%2Bds%2Bgit20220117%2B453c3d6b03a0-1
+
+Just tell make about the correct dependencies and everything works
+automatically.
+---
+ src/Makefile.am | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 22338ba..1f17372 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -97,16 +97,14 @@ ENV = env \
+ 
+ endif
+ 
+-cvc-create.1: cvc-create.ggo.in
+-      make -C $(builddir) cvc-create$(EXEEXT)
++cvc-create.1: cvc-create$(EXEEXT)
+       $(ENV) $(HELP2MAN) \
+               --output=$@ \
+               --no-info \
+               --source='$(PACKAGE_STRING)' \
+               $(builddir)/cvc-create$(EXEEXT)
+ 
+-cvc-print.1: cvc-print.ggo.in
+-      make -C $(builddir) cvc-print$(EXEEXT)
++cvc-print.1: cvc-print$(EXEEXT)
+       $(ENV) $(HELP2MAN) \
+               --output=$@ \
+               --no-info \
diff -Nru openpace-1.1.2+ds+git20220117+453c3d6b03a0/debian/patches/series 
openpace-1.1.2+ds+git20220117+453c3d6b03a0/debian/patches/series
--- openpace-1.1.2+ds+git20220117+453c3d6b03a0/debian/patches/series    
1970-01-01 01:00:00.000000000 +0100
+++ openpace-1.1.2+ds+git20220117+453c3d6b03a0/debian/patches/series    
2022-07-28 13:15:15.000000000 +0200
@@ -0,0 +1 @@
+7de0b27a3d5dfb3ffeb82c37ce7ba4e85f764314.patch

Reply via email to