Hi!

> Le 20 juil. 2017 à 09:57, Dengke Du <[email protected]> a écrit :
> 
> From: Robert Yang <[email protected]>
> 
> Fixed:
> rm -f src/yacc src/yacc.tmp
> echo '#! /bin/sh' >src/yacc.tmp
> /bin/bash: src/yacc.tmp: No such file or directory
> Makefile:6670: recipe for target 'src/yacc' failed
> 
> Signed-off-by: Robert Yang <[email protected]>
> Signed-off-by: Dengke Du <[email protected]>
> ---
> src/local.mk | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/src/local.mk b/src/local.mk
> index 573ad00..28bfae4 100644
> --- a/src/local.mk
> +++ b/src/local.mk
> @@ -119,6 +119,7 @@ MOSTLYCLEANFILES += src/yacc
> 
> src/yacc:
>       $(AM_V_GEN)rm -f $@ [email protected]
> +     $(AM_V_at)$(MKDIR_P) src
>       $(AM_V_at)echo '#! /bin/sh' >[email protected]
>       $(AM_V_at)echo "exec '$(bindir)/bison' -y "'"$$@"' >>[email protected]
>       $(AM_V_at)chmod a+x [email protected]

Thanks!  I installed this:

commit b17d98b62489c28ee2dfc7e0e11af21777a5dc94
Author: Akim Demaille <[email protected]>
Date:   Sat Aug 18 15:17:06 2018 +0200

    build: fix concurrent build failure
    
    Reported by Dengke Du and Robert Yang.
    https://lists.gnu.org/archive/html/bison-patches/2017-07/msg00000.html
    
    * src/local.mk (src/yacc): Make sure the directory exists.

diff --git a/THANKS b/THANKS
index 92c9a2cd..33f23ed7 100644
--- a/THANKS
+++ b/THANKS
@@ -41,6 +41,7 @@ Daniel Hagerty            [email protected]
 David J. MacKenzie        [email protected]
 David Kastrup             [email protected]
 David Michael             [email protected]
+Dengke Du                 [email protected]
 Dennis Clarke             [email protected]
 Derek Clegg               [email protected]
 Derek M. Jones            [email protected]
@@ -137,6 +138,7 @@ Rici Lake                 [email protected]
 Rob Conde                 [email protected]
 Rob Vermaas               [email protected]
 Robert Anisko             [email protected]
+Robert Yang               [email protected]
 Roland Levillain          [email protected]
 Satya Kiran Popuri        [email protected]
 Sebastian Setzer          [email protected]
diff --git a/src/local.mk b/src/local.mk
index 88d9e9d0..ff864158 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -119,6 +119,7 @@ MOSTLYCLEANFILES += src/yacc
 
 src/yacc:
        $(AM_V_GEN)rm -f $@ [email protected]
+       $(AM_V_at)$(MKDIR_P) src
        $(AM_V_at)echo '#! /bin/sh' >[email protected]
        $(AM_V_at)echo "exec '$(bindir)/bison' -y "'"$$@"' >>[email protected]
        $(AM_V_at)chmod a+x [email protected]



Reply via email to