← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Fixed a False BZR Version Number Built From Local Branch of GIT-Source-Mirror

 

Hi,

> Looks ok to me, except that the naming of the _git_LONG_HASH_ORIGIN
> variable does not match what it is, it should have been
> _git_LONG_HASH_LOCAL instead.

This completely fails to compile for me:

| [ 11%] Generating version string header
| -- Using Git to determine build version string.
| -- Found Git: /usr/bin/git (found version "2.1.4")
| fatal: ambiguous argument 'origin/HEAD': unknown revision or path not
in the working tree.
| Use '--' to separate paths from revisions, like this:
| 'git <command> [<revision>...] -- [<file>...]'
| fatal: ambiguous argument 'origin/HEAD': unknown revision or path not
in the working tree.
| Use '--' to separate paths from revisions, like this:
| 'git <command> [<revision>...] -- [<file>...]'
| -- Git hash: cc808569383a0a2909cd02fff8cada65d6d10a71
| CMake Error at
/home/geier/kicad/CMakeModules/CreateGitVersionHeader.cmake:122 (if):
|   if given arguments:
|
|     "cc80856" "EQUAL"
|
|   Unknown arguments specified
| Call Stack (most recent call first):
|   /home/geier/kicad/CMakeModules/WriteVersionHeader.cmake:41
(create_git_version_header)
|
|
| common/CMakeFiles/version_header.dir/build.make:49: recipe for target
| 'common/CMakeFiles/version_header' failed

My local copy is created using the git bzr plugin, with the command

    git clone bzr::lp:kicad

   Simon

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References