Re: [PATCH 0/3] fix clock skew and unlikely timestamp crashes

2023-05-11 Thread Paul Smith
On Wed, 2023-05-10 at 12:10 -0700, Paul Eggert wrote:
> This is a followup to my earlier patch "Two 'make -p' timestamp
> issues" 
> which hasn't been incorporated yet into the master branch.

Thanks Paul I'll look at it this weekend.



[bug #64185] *** only one 'else' per conditional. Stop. due to else in recipe

2023-05-11 Thread Harry Clauson
URL:
  

 Summary: *** only one 'else' per conditional.  Stop. due to
else in recipe
   Group: make
   Submitter: harryc
   Submitted: Fri 12 May 2023 02:04:16 AM UTC
Severity: 3 - Normal
  Item Group: Bug
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any
   Component Version: 4.4.1
Operating System: None
   Fixed Release: None
   Triage Status: None


___

Follow-up Comments:


---
Date: Fri 12 May 2023 02:04:16 AM UTC By: Harry Clauson 
Please see attached makefiles. As provided, they should work correctly as
follows:

cmd: make -fmakefile.start
makefile.start:1: including makefile.start ver 4.4.1 goals
makefile.blah:2: blah = 1 goals:
makefile.blah:6: begin blah pass
makefile.blah:30: end of blah
makefile.start:10: end of start
echo "target help"
target help

However, if you uncomment makefile.blah, line 15, make sees the else statement
in the 'junk' recipe as part of the conditional. This is odd as that line is
simply a $(warning ...) logging call.

These were complex makefile which worked find until the $(warning ...) call
was inserted ahead of the else statement. I simplified them as much as
possible and still reproduce the error.

This happens with make-4.4.1 build on aix:

cmd: make --version
GNU Make 4.4.1
Built for powerpc-ibm-aix7.2.5.0
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

My workaround is to comment out the particular $(warning ...) call.

Thank you for any assistance!






___
File Attachments:


---
Date: Fri 12 May 2023 02:04:16 AM UTC  Name: makefile.start  Size: 173B   By:
harryc


---
Date: Fri 12 May 2023 02:04:16 AM UTC  Name: makefile.blah  Size: 404B   By:
harryc



___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/