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

Quanah Gibson-Mount quanah at symas.com
Wed Apr 28 22:53:49 CEST 2021


When installing with pip, gbp defaults to the wrong path for commands like 
gbp-builder-mock:

gbp buildpackage-rpm

/bin/sh: /usr/share/git-buildpackage/gbp-builder-mock: No such file or 
directory
gbp:error: '/usr/share/git-buildpackage/gbp-builder-mock -ba --define 
'_topdir /home/build/git/symas/rpmbuild' --define '_specdir %_topdir/SPECS' 
--define '_sourcedir %_topdir/SOURCES' openssl.spec' failed: it exited with 
127


ls /usr/local/bin/
gbp  gbp-builder-mock  git-pbuilder

Also, the man pages seem to be missing:

find . -name "*gbp*"
./share/git-buildpackage/gbp.conf
./bin/gbp
./bin/gbp-builder-mock
./lib/python3.6/site-packages/gbp
./lib/python3.6/site-packages/gbp-0.9.22-py3.6.egg-info

find . -name "*rpm*"
./lib/python3.6/site-packages/gbp/rpm
./lib/python3.6/site-packages/gbp/rpm/lib_rpm.py
./lib/python3.6/site-packages/gbp/rpm/__pycache__/lib_rpm.cpython-36.pyc
./lib/python3.6/site-packages/gbp/scripts/rpm_ch.py
./lib/python3.6/site-packages/gbp/scripts/buildpackage_rpm.py
./lib/python3.6/site-packages/gbp/scripts/import_srpm.py
./lib/python3.6/site-packages/gbp/scripts/pq_rpm.py
./lib/python3.6/site-packages/gbp/scripts/__pycache__/rpm_ch.cpython-36.pyc
./lib/python3.6/site-packages/gbp/scripts/__pycache__/pq_rpm.cpython-36.pyc
./lib/python3.6/site-packages/gbp/scripts/__pycache__/import_srpm.cpython-36.pyc
./lib/python3.6/site-packages/gbp/scripts/__pycache__/buildpackage_rpm.cpython-36.pyc


I.e., the man page for buildpackage-rpm is not present. :/

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