Control: tags -1 patch

On Mon, Feb 19, 2018 at 06:38:54AM -0500, Thomas Dickey wrote:
> On Sun, Feb 18, 2018 at 10:45:51PM -0800, Daniel Schepler wrote:
>...
> >    dh_auto_build
> >        make -j8
> 
> take out the -j8, for a start.
>...

Debian packages default to parallel building,
a fix for this build failure is attached.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Description: po/makefile.inn: Use unique names for temporary files
 Fixes parallel build FTBFS.
Author: Adrian Bunk <b...@debian.org>
Bug-Debian: https://bugs.debian.org/890811

--- lynx-2.8.9dev16.orig/po/makefile.inn
+++ lynx-2.8.9dev16/po/makefile.inn
@@ -89,23 +89,23 @@ INSTOBJ		= $(NLS_TEXTDOMAIN)$(INSTOBJEXT
 	@echo "translating $< to $@"
 	@$(SHELL) -c 'LC_ALL=C \
 	sed	-e s,http://lynx.browser.org/,@HOMEPAGE_URL@,g \
-		-e s,http://lynx.isc.org/,@HOMEPAGE_URL@,g $< >pass1.tmp;\
-	if cmp -s $< pass1.tmp; \
+		-e s,http://lynx.isc.org/,@HOMEPAGE_URL@,g $< >pass1.$@.tmp;\
+	if cmp -s $< pass1.$@.tmp; \
 	then \
 		echo ...no change made to homepage URL; \
 	else \
 		echo ...updated homepage URL;\
 	fi; \
-	if $(MSGMERGE) -w 132 pass1.tmp $(srcdir)/$(PACKAGE).pot -o pass2.tmp; \
+	if $(MSGMERGE) -w 132 pass1.$@.tmp $(srcdir)/$(PACKAGE).pot -o pass2.$@.tmp; \
 	then \
 		echo "...merged against $(srcdir)/$(PACKAGE).pot";\
 	else \
 		echo "...workaround without merging against $(srcdir)/$(PACKAGE).pot";\
-		cat  $< >pass2.tmp; \
+		cat  $< >pass2.$@.tmp; \
 	fi '
 	@ECHO_CC@file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
-	  && rm -f $$file && $(GMSGFMT) -o $$file pass2.tmp
-	@-rm -f pass*.tmp
+	  && rm -f $$file && $(GMSGFMT) -o $$file pass2.$@.tmp
+	@-rm -f pass*.$@.tmp
 
 .po.cat:
 	@echo "translating $< to $@"

Reply via email to