Skip to content

[BUG] gitversion: Clean ubutntu install does not have python but has python3 #220

@bozzzzo

Description

@bozzzzo

Describe the bug
cmake fails with failing to execute python

To Reproduce

  1. cmake ..
Defining simavr location as /home/foo/Projects/MK404/3rdParty/simavr/simavr/obj-x86_64-linux-gnu/libsimavr.a
/usr/bin/env: ‘python’: No such file or directory
CMake Error at 3rdParty/gitversion/cmake.cmake:18 (MESSAGE):
  Error running messmer/git-version tool.  Return code is: 127
Call Stack (most recent call first):
  3rdParty/gitversion/cmake.cmake:39 (_CREATE_GIT_VERSION_FILE)
  CMakeLists.txt:217 (TARGET_GIT_VERSION_INIT)


-- Configuring incomplete, errors occurred!

Expected behavior
A working build script

Desktop (please complete the following information):
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal

I made a PR smessmer/gitversion#9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamSomething that should be fixed or submitted upstream

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions