Package Details: git-buildpackage 0.9.30-1

Git Clone URL: (read-only, click to copy)
Package Base: git-buildpackage
Description: Tools from Debian to integrate the package build system with Git
Upstream URL:
Licenses: GPL
Submitter: nirnakinho
Maintainer: mezkov
Last Packager: mezkov
Votes: 5
Popularity: 0.000004
First Submitted: 2015-08-20 15:46 (UTC)
Last Updated: 2023-05-15 07:30 (UTC)

Latest Comments

1 2 Next › Last »

Excalibur commented on 2023-05-15 06:46 (UTC)

Installing 0.9.30 indeed fixed this issue for me. I have marked this package as out-of-date.

fixeria commented on 2023-05-08 15:46 (UTC)

Excalibur commented:

Currently getting this error when the command was working fine before: [...] Any idea what might be wrong?

Perhaps some incompatibility with Python 3.11. Version 0.9.25 is quite old (Nov 5, 2021), the 0.9.30 (Nov 25, 2022) seems to work fine. Here is a patch for the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 4556876..b9d5930 100644
@@ -2,7 +2,7 @@
 # Contributor: Patrick McCarty <pnorcks at gmail dot com>

 pkgdesc="Tools from Debian to integrate the package build system with Git"
@@ -51,5 +51,4 @@ package() {
   python install --root="$pkgdir" --prefix=/usr -O1
   install -m 644 -D -T "gbp.conf" "$pkgdir/etc/git-buildpackage/gbp.conf"
   install -m 644 -D -T debian/gbp.completion "$pkgdir/usr/share/bash-completion/completions/gbp"
-  install -m 644 -D -T debian/git-buildpackage.zsh-completion "$pkgdir/usr/share/zsh/site-functions/_gbp"

I had to remove the zsh-completion file, because it's not present in the repository anymore.

Excalibur commented on 2023-05-05 09:10 (UTC)

Currently getting this error when the command was working fine before:

[excalibur@excalibur 8852be]$ gbp dch --debian-branch=main
Traceback (most recent call last):
  File "/usr/lib/python3.11/importlib/metadata/", line 563, in from_name
    return next(

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/gbp", line 33, in <module>
    sys.exit(load_entry_point('gbp==0.9.25', 'console_scripts', 'gbp')())
  File "/usr/bin/gbp", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.11/importlib/metadata/", line 981, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.11/importlib/metadata/", line 565, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for gbp

Any idea what might be wrong?

SwooshyCueb commented on 2022-06-09 15:08 (UTC)

If git-buildpackage is not incompatible with mandoc, man-db should be replaced with man in depends.

nirnakinho commented on 2019-04-23 18:10 (UTC)

thx for the hint, fixed in 0.9.14-1

harmathy commented on 2019-04-23 14:16 (UTC)

dpkg-parsechangelog is provided by dpkg. Therefore dpkg should be in makedepends.

Ppjet6 commented on 2018-02-14 16:29 (UTC)

gbp:error: Failed to read changelog: [Errno 2] No such file or directory: 'dpkg-parsechangelog': 'dpkg-parsechangelog'

Is the package missing a dependency?

harmathy commented on 2017-08-09 10:59 (UTC)

Please install bash-completion file by adding to package() install -m 644 -D -T debian/gbp.completion "$pkgdir/usr/share/bash-completion/completions/gbp"

nirnakinho commented on 2017-08-08 14:32 (UTC)

Oops, sorry. Uploaded a fixed version.

kloetzl commented on 2017-08-08 11:40 (UTC)

The PKGBUILD contains two functions called `build`. I guess, the second one should have been `check`. ☺