[git-buildpackage] Bad command paths when installing through pip

Guido G√ľnther agx at sigxcpu.org
Thu Apr 29 17:23:03 CEST 2021

Hi Quanah,
On Thu, Apr 29, 2021 at 08:06:47AM -0700, Quanah Gibson-Mount wrote:
> --On Thursday, April 29, 2021 11:52 AM +0200 Guido G√ľnther <agx at sigxcpu.org>
> wrote:
> > You should be able to override this via the `--git-builder` option. We
> > don't adjust these for the pip based installs atm.
> > 
> > > I.e., the man page for buildpackage-rpm is not present. :/
> > 
> > Yes, they're not being built atm. The egg is *mostly* for people wanting
> > to use gbp's python classes in other projects - i've not yet heard
> > that somebody using the command line tools from there (rather than
> > distro packaging or building a RPM with the provided spec file).
> > I'm happy to apply patches to make usage from pip better but currently
> > lack the bandwidth to do so myself, sorry.
> > Cheers,
> Ah, I was following the instructions from:
> <https://honk.sigxcpu.org/piki/projects/git-buildpackage/>
> Which states:
> If not on a Debian system you can fetch the package from pypi:
> pip install gbp

thanks, i'll update that.

> I would suggest an update to this page that for RPM based systems, it's
> advised to build your own RPM with the provided spec file.
> Additionally, it may be worthwhile setting up regular builds in the COPR
> system for current versions of RHEL/CentOS and Fedora. ;)  Then people could
> just dnf install it without having to build out the RPM themselves (although
> given what the tool is for, that may not be worth the effort).
> Thanks again! I'll go the RPM route moving forward.

As a general note: The rpm side has not seen lots of development since
quite some time so while i'm confident that the Debian side works
reasonably well (since that is in active usage) I can't say that for the
rpm side (of which I mostly know that tests still pass and that gbp can
build itself with the RPM version currently in Debian (4.16)) - just in
case you hit other things that look odd.

 -- Guido

> Regards,
> Quanah
> --
> Quanah Gibson-Mount
> Product Architect
> Symas Corporation
> Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
> <http://www.symas.com>

More information about the git-buildpackage mailing list