Package Details: git-buildpackage 0.9.34-1

Git Clone URL: https://aur.archlinux.org/git-buildpackage.git (read-only, click to copy)
Package Base: git-buildpackage
Description: Tools from Debian to integrate the package build system with Git
Upstream URL: https://honk.sigxcpu.org/piki/projects/git-buildpackage/
Licenses: GPL-2.0-or-later
Submitter: nirnakinho
Maintainer: harmathy
Last Packager: harmathy
Votes: 5
Popularity: 0.000000
First Submitted: 2015-08-20 15:46 (UTC)
Last Updated: 2024-07-08 17:51 (UTC)

Latest Comments

1 2 Next › Last »

SwooshyCueb commented on 2024-04-25 02:08 (UTC)

Please replace the man-db dependency with man, so that mandoc can satisfy it.

denisse commented on 2024-03-22 15:01 (UTC)

It seems like sensible-utils 0.0.21-1 is no longer available at the specified address.

curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading http://ftp.debian.org/debian/pool/main/s/sensible-utils/sensible-utils_0.0.21.tar.xz
    Aborting...
error: failed to download sources for 'sensible-utils-0.0.21-1 (sensible-utils-data sensible-browser sensible-editor)':
error: can't build devscripts-2.23.7-1, deps not satisfied: sensible-browser  sensible-editor
error: packages failed to build: sensible-utils-0.0.21-1 (sensible-utils-data sensible-browser sensible-editor)  devscripts-2.23.7-1

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: Patrick McCarty <pnorcks at gmail dot com>

 pkgname=git-buildpackage
-pkgver=0.9.25
+pkgver=0.9.30
 pkgrel=1
 pkgdesc="Tools from Debian to integrate the package build system with Git"
 arch=(any)
@@ -51,5 +51,4 @@ package() {
   python setup.py 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/__init__.py", line 563, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

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/__init__.py", line 981, in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", 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"