[haiku-bugs] Re: [Haiku] #8558: [Build system] should abort on updating nonexistent target

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 15 May 2012 13:57:37 -0000

#8558: [Build system] should abort on updating nonexistent target
----------------------------+----------------------------
   Reporter:  diver         |      Owner:  bonefish
       Type:  bug           |     Status:  new
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by bonefish):

 That may be fixed by inserting
 {{{
 Depends $(buildTarget) : $(HAIKU_BUILD_PROFILE_PARAMETERS) ;
 }}}
 in [http://cgit.haiku-os.org/haiku/tree/build/jam/MiscRules#n395 the
 "update" case block in DefineBuildProfile] in build/jam/MiscRules. I don't
 have the time to test this ATM. Not sure when/how the missing target is
 reported with this solution. It may be nicer to explicitly check whether
 all update targets have been found after having processed the complete
 jamfile tree.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8558#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: