Skip to content

Failed to get version when building charm with version 3.0.7 #673

@dosaboy

Description

@dosaboy

Using charm-tools 3.0.7 (+git-0-b7128ec)

Getting the following error building the ovn-central charm:

:: charmtools.build.tactics: Copying Interface prometheus_scrape: /root/parts/charm/build/ovn-central/hooks/relations/prometheus_scrape
:: charmtools.build.tactics: Trying to determine version with: git
:: utils: b'fatal: not a git repository (or any of the parent directories): .git\n'
:: utils: process: git describe --dirty --always (128)
:: charmtools.build.tactics: Failed to get version
:: charmtools.build.tactics: Trying to determine version with: bzr
:: charmtools.build.tactics: [Errno 2] No such file or directory: 'bzr'
:: charmtools.build.tactics: Trying to determine version with: hg
:: charmtools.build.tactics: [Errno 2] No such file or directory: 'hg'
:: build:
:: build: ---------------------------------------
:: build: Build Report
:: build: ---------------------------------------
:: build: New build; all files were modified.
:: build: Cleaning up /root/.cache/charm/977
:: proof: I: display-name not provided, add for custom naming in the UI
:: proof: I: DEPRECATED: series parameter is ignored by charmcraft,use bases in charmcraft.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions