Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ericriff opened this issue Mar 3, 2022 · 0 comments

Comments

@ericriff
Copy link

ericriff commented Mar 3, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant