Skip to content

Docker builds fails if host doesn't have libparse-debianchangelog-perl installed #9

@ericriff

Description

@ericriff

As the title says, my host doesn't have libparse-debianchangelog-perl installed so I get

$ ./build.sh debian:buster
/bin/sh: 1: parsechangelog: not found
Traceback (most recent call last):
  File "./setup.py", line 41, in <module>
    pkg_version = subprocess.check_output("parsechangelog | grep ^Version:", shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'parsechangelog | grep ^Version:' returned non-zero exit status 1

This is because build.sh relies on some setup.py commands to get the package name and version.
We should update the instructions to include installing this tool first.

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