bugmake - Bugs: bug #66915, Avoid rebuilding existing...

 
 

bug #66915: Avoid rebuilding existing order-only prerequisites.

Submitter:  Dmitry Goncharov <dgoncharov>
Submitted:  Sat 15 Mar 2025 12:18:34 PM UTC
   
 
Severity:  3 - Normal Item Group:  Enhancement
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  SCM Operating System:  Any
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 15 Mar 2025 12:25:49 PM UTC, comment #1: 

Suggested by Britton Kerin here
https://lists.gnu.org/archive/html/bug-make/2025-03/msg00006.html.
This is an excerpt from that email.
"What confuses me is that since the explicitly requested foo exists and isn't out of date with respect to any non-order-only prereqs (in the example it doesn't have any) and therefore isn't getting rebuilt, I wouldn't expect there to be any need to rebuild it's order-only prereqs either.  I would think "order-only" would only impose an order constraint on the execution of the recipes, and since foo's recipe isn't happening why should bar's need to?  There's no order violation if it doesn't, and in fact it's a bit of a misuse of the term "order" to describe the current behavior since (in the example) only one recipe is executing.  Make is building slightly too much here which is contrary to its purpose."

Dmitry Goncharov <dgoncharov>
Sat 15 Mar 2025 12:18:34 PM UTC, original submission:  

.

Dmitry Goncharov <dgoncharov>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #57021:  sv66915.diff added by dgoncharov (5KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dgoncharov (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-03-15 dgoncharov Attached File- Added sv66915.diff, #57021

    Back to the top

    Powered by Savane 3.15-26b0.
    Corresponding source code