View Issue Details

IDProjectCategoryView StatusLast Update
0001696Issue 8 draftsShell and Utilitiespublic2024-06-11 09:12
Reporterrillig Assigned To 
PrioritynormalSeverityEditorialTypeClarification Requested
Status ClosedResolutionAccepted As Marked 
Product VersionDraft 3 
NameRoland Illig
Organization
User Reference
Sectionmake
Page Number3107
Line Number104629
Final Accepted TextSee 0001696:0006339.
Summary0001696: Effect of -s when no work needs to be done
DescriptionLine 104629 says:
> If make is invoked without any work needing to be done, it shall write a message to standard output indicating that no action was taken.

The sentence above the cited sentence explicitly specifies what happens when the -s option is given, but the cited sentence doesn't.

Does the standard intentionally omit to specify the effect of the -s option?

When no work needs to be done and make is run with the -s option, GNU make is silent while BSD make writes the message.
Desired ActionIf intended, specify that the behavior of -s with no work to be done is unspecified.

If the currently specified behavior is intended, mention that -s has no effect in this case, to clearly distinguish it from the preceding sentence in the same paragraph.
Tagsapplied_after_i8d3, issue8

Activities

Don Cragun

2023-06-19 16:06

manager   bugnote:0006339

Last edited: 2023-06-22 15:11

Change in make STDOUT section on P3107, L104627-104633:
The make utility shall write all commands to be executed to standard output unless the −s option was specified, the command is prefixed with an at-sign, or the special target .SILENT has either the current target as a prerequisite or has no prerequisites. If make is invoked without any work needing to be done, it shall write a message to standard output indicating that no action was taken. If the −t option is present and a file is touched, make shall write to standard output a message of unspecified format indicating that the file was touched, including the filename of the file.
to:
If make is invoked without any work needing to be done, it may write a message to standard output indicating that no action was taken. Otherwise, the make utility shall write all commands to be executed (and the filenames of files touched for the -t option in a message of unspecified format) to standard output unless the −s option was specified, the command is prefixed with an at-sign, or the special target .SILENT has either the current target as a prerequisite or has no prerequisites.


Issue History

Date Modified Username Field Change
2023-05-07 12:16 rillig New Issue
2023-05-07 12:16 rillig Name => Roland Illig
2023-05-07 12:16 rillig Section => make
2023-05-07 12:16 rillig Page Number => 3107
2023-05-07 12:16 rillig Line Number => 104629
2023-06-19 16:06 Don Cragun Note Added: 0006339
2023-06-19 16:07 Don Cragun Final Accepted Text => See 0001696:0006339.
2023-06-19 16:07 Don Cragun Status New => Resolved
2023-06-19 16:07 Don Cragun Resolution Open => Accepted As Marked
2023-06-19 16:08 Don Cragun Tag Attached: issue8
2023-06-22 15:11 Don Cragun Note Edited: 0006339
2023-07-10 10:39 geoffclare Status Resolved => Applied
2023-07-10 10:39 geoffclare Tag Attached: applied_after_i8d3
2024-06-11 09:12 agadmin Status Applied => Closed