BrightcoveOS / Diamond

1.18k stars 384 forks source link

Building deb package from source #883

Closed dolobanko closed 7 years ago

dolobanko commented 7 years ago

When trying to build a deb package on Ubuntu 14.04 with make deb get this stacktrace:

mkdir -p build tar -C build -zxf dist/diamond-4.0.0-github_archive.tar.gz (cd build/diamond-4.0.0-github_archive && debuild -S -sa -v4.0.0-github_archive) parsechangelog/debian: warning: debian/changelog(l1): version '4.0.0-githubarchive~precise' is >invalid: version number contains illegal character `' LINE: diamond (4.0.0-github_archive~precise) precise; urgency=medium dpkg-buildpackage -rfakeroot -d -us -uc -S -sa -v4.0.0-github_archive> dpkg-buildpackage: warning: using a gain-root-command while being root parsechangelog/debian: warning: debian/changelog(l1): version '4.0.0-githubarchive~precise' is >invalid: version number contains illegal character ' LINE: diamond (4.0.0-githubarchive~precise) precise; urgency=medium dpkg-buildpackage: error: version number contains illegal character ' dpkg-buildpackage: source package diamond dpkg-buildpackage: source version 4.0.0-github_archive~precise debuild: fatal error at line 1364: dpkg-buildpackage -rfakeroot -d -us -uc -S -sa -v4.0.0-github_archive failed make: *** [buildsourcedeb] Error 29

Issue occur with v4.0.515 and v4.0.501 releases. Was able to reproduce on a couple of nodes.

dolobanko commented 7 years ago

Opened on a new GitHub repo: https://github.com/python-diamond/Diamond/issues/587