bugmake - Bugs: bug #43901, Stop on error when build -include

 
 

bug #43901: Stop on error when build -include

Submitted by:  Andrii <andigor>
Submitted on:  Mon Dec 29 12:44:32 2014  
 
Severity: 3 - NormalItem Group: Enhancement
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: 4.1Operating System: Any
Fixed Release: NoneTriage Status: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon Dec 29 12:44:32 2014, original submission:

Hi guys

Currently I stucked on such problem:

We have a build system based on GNU make. It has a lot of generated headers, files, xml's etc. Also it generates makefile includes:

-include a.mk

a.mk:
touch a.mk

It is a cool thing that gnu make ignores missed prerequisites for for files which were included using -include directive:

-include a.mk

a.mk: b.txt
touch a.mk

because b.txt does not exist yet but will be generated later.

But on the other hand in next example we need to stop because the error in build was encountered

-include a.mk

a.mk: b.txt
some-inappropriate-operation
touch a.mk

To deal with it we temporaly removed #13216 bugfix

Maybe it is a good reason to add something like +include feature or something similar to fix the problem ?

Andrii <andigor>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by andigor (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1