Public bug reported: Package: git-buildpackage Version: 0.6.9
v0.6.9 is the latest stable version in the Ubuntu 14.04 repo. python --version: 2.7.6 For the last few years we've packaged a php application using git- buildpackage. However, since upgrading the build machine OS from Ubuntu 12.10 to Ubuntu 14.04 the build command fails. Command that now fails: git-buildpackage -b -us -uc --git-tag gbp.conf: [DEFAULT] # this is the upstream-branch for git-buildpackage. It's commented out # because we don't use it for binary-only packages. #upstream-branch=deploy debian-branch=debian-package [git-buildpackage] # use a build area relative to the git repository export-dir=debFiles submodules=True [git-dch] # use the username and email address from .gitconfig instead of host details git-author=true Error: Traceback (most recent call last): File "/usr/bin/git-buildpackage", line 5, in <module> sys.exit(main(sys.argv)) File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 534, in main output_dir) File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 96, in prepare_upstream_tarball upstream_tree = git_archive_build_orig(repo, cp, output_dir, options) File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 270, in git_archive_build_orig upstream_tree = get_upstream_tree(repo, cp, options) File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 245, in get_upstream_tree cp['Upstream-Version']) File "/usr/lib/python2.7/dist-packages/gbp/deb/git.py", line 107, in version_to_tag return format % dict(version=DebianGitRepository._sanitize_version(version)) File "/usr/lib/python2.7/dist-packages/gbp/deb/git.py", line 122, in _sanitize_version return version.replace('~', '_').replace(':', '%') AttributeError: 'NoneType' object has no attribute 'replace' Thanks, James. ** Affects: git-buildpackage (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1316992 Title: buildpackage fails after upgrade to 0.6.9 (Ubuntu 14.04) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git-buildpackage/+bug/1316992/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs