git-buildpackage incorrectly handles --notify command line parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-buildpackage (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Sample run:
$ git-buildpackage --git-verbose --notify=off --git-upstream-
gbp:debug: ['git', 'rev-parse', '--show-cdup']
gbp:debug: ['git', 'rev-parse', '--is-bare-
gbp:debug: debuild -d clean [] []
dh clean
dh_testdir
debian/rules override_
make[1]: Вход в каталог `/var/www/
dh_auto_clean
phpize5 --clean
Cleaning..
rm -rf debian/chuid.ini tmp-php.ini
make[1]: Выход из каталога `/var/www/
dh_clean
gbp:debug: ['git', 'status']
gbp:debug: ['git', 'symbolic-ref', 'HEAD']
gbp:debug: ['git', 'show-ref', 'refs/heads/
gbp:debug: ['git', 'show-ref', 'refs/heads/
gbp:debug: ['git', 'ls-tree', 'master']
gbp:info: php-chuid_
gbp:debug: Building upstream tarball with compression 'gzip -9'
gbp:debug: debuild -i -I ['--notify=off', '-S', '-sa'] []
debuild: unknown dpkg-buildpacka
In this case "--notify=off" is incorrectly passed to dpkg-buildpackage.
Moreover, after the build fails (due to "unknown dpkg-buildpacka
$ apt-cache policy git-buildpackage
git-buildpackage:
Installed: 0.6.0~git20120601
Candidate: 0.6.0~git20120601
Version table:
*** 0.6.0~git20120601 0
500 http://
100 /var/lib/
That's actually a bug in the manpage. It's missing the --git- prefix:
https:/ /honk.sigxcpu. org/gitweb/ ?p=git- buildpackage. git;a=commit; h=80b5c649a62a9 fc1297e2345654f 94ef762572b3