URL: <https://savannah.gnu.org/bugs/?67168>
Summary: `ifeq` nested within the `else` of another `ifeq`
causes "missing endif" error.
Group: make
Submitter: None
Submitted: Thu 29 May 2025 07:33:50 PM UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: SCM
Operating System: None
Fixed Release: None
Triage Status: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 29 May 2025 07:33:50 PM UTC By: Anonymous
When attempting to emerge NSS on Gentoo Linux with a build of Make compiled
from the latest commit, I discovered that compilation was unable to begin due
to an error in Make. This issue doesn't occur with Make 4.4.1 installed.
I looked at the source code of the NSS, and managed to create a minimal
reproduction of the issue, which I have attached.
On 4.4.1, using this Makefile simply prints "This works" to the console, but
on the latest commit it produces the following error:
```
Makefile:11: *** missing 'endif'. Stop.
```
This is the Gentoo issue tracker thread which lead to this issue being
created: https://bugs.gentoo.org/956806
_______________________________________________________
File Attachments:
-------------------------------------------------------
Name: Makefile Size: 83B
<https://file.savannah.gnu.org/file/Makefile?file_id=57253>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-94dd2677b584d748ae0b054d8e3d88d725d2736f.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67168>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
