[haiku-bugs] [Haiku] #14834: Compiling: HAIKU_REVISION in UserBuildConfig is disregarded by jam

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 16 Jan 2019 12:37:59 -0000

#14834: Compiling: HAIKU_REVISION in UserBuildConfig is disregarded by jam
--------------------------+------------------------------
 Reporter:  rrobgill      |        Owner:  bonefish
     Type:  bug           |       Status:  new
 Priority:  low           |    Milestone:  Unscheduled
Component:  Build System  |      Version:  R1/Development
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 The HAIKU_REVISION= workaround in UserBuildConfig for source trees lacking
 tags is presently not working on on either x86 and x86_64 nightly.

 I've rated this as low priority as it is not an issue when using source
 trees from git.haiku-os.org (which contain tags), but it seems there may
 be something amiss in the build system.

 Steps to replicate:

 Download and clean-install either nightly x86 or x86_64

 Update via SoftwareUpdater
 git clone https://github.com/haiku/haiku.git
 add HAIKU_REVISION=hrev98765; to UserBuildConfig in HAIKU_TOP/ and or
 HAIKU_TOP/build/jam
 ./configure
 run any of:
 jam @image, jam @nightly-raw, or jam @nightly-anyboot

 Error message:

 {{{
 AddTargetVariableToScript1 <unique!target>_target_553
 fatal: No names found, cannot describe anything.
 Error: you are using a Haiku clone without tags, please set
        the revision tag to use (e.g. HAIKU_REVISION=hrev43210)
 ./build/scripts/determine_haiku_revision . generated/build/haiku-revision
 ...failed DetermineHaikuRevision1 generated/build/haiku-revision ...
 }}}

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14834>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: