<div dir="ltr">Rebuilding 0.8.15 with the most recent git version (2.13.0) solves the last issues (except for the strange "cannot create ../rpmbuild/SOURCES/gbp-test-native-1.0.zip: Permission denied").<div>You may want to put some version constraint regarding git.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 21, 2017 at 4:10 PM, jean-christophe manciot <span dir="ltr"><<a href="mailto:actionmystique@gmail.com" target="_blank">actionmystique@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div># git help -m branch</div><span class=""><div>No manual entry for git-branch</div><div><br></div></span><div>Rebuilding git 2.9.4 with "make man" and "make install-man" leads to</div><div><br></div><div><div># git help -m branch</div><div>GIT-BRANCH(1) Git Manual GIT-BRANCH(1)</div><div><br></div><div>NAME</div><div> git-branch - List, create, or delete branches</div><div><br></div><div>SYNOPSIS</div><div> git branch [--color[=<when>] | --no-color] [-r | -a]</div></div><div>...</div><div><br></div><div>and rebuilding git-buildpackage shows that most test issues are solved, except a few:</div><div><span class=""><div>..............................<wbr>..............................<wbr>......debchange warning: New package version is Debian native whilst previous version was not</div></span><div>............S..SSFSFS......S..<wbr>.............sh: 1: cannot create ../rpmbuild/SOURCES/gbp-test-<wbr>native-1.0.zip: Permission denied</div><div>..............................<wbr>..............................<wbr>..............................<wbr>..............................<wbr>..............................<wbr>..............................<wbr>..............................<wbr>..............................<wbr>..............................<wbr>..............................<wbr>..............................<wbr>........SS....................<wbr>............</div><div>==============================<wbr>==============================<wbr>==========</div><div>FAIL: Test if importing into bare repository</div><span class=""><div>------------------------------<wbr>------------------------------<wbr>----------</div><div>Traceback (most recent call last):</div></span><div> File "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/<wbr>component/deb/test_import_dsc.<wbr>py", line 243, in test_bare</div><div> ok_("gbp: Import Debian changes" in reflog[1])</div><div>AssertionError: None</div><div>-------------------- >> begin captured logging << --------------------</div><div>gbp: DEBUG: ['git', 'rev-parse', '--show-cdup']</div><div>gbp: DEBUG: Upstream version: 2.6</div><div>gbp: DEBUG: Debian version: 2</div><div>gbp: DEBUG: Upstream tarball: /home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/<wbr>component/deb/data/dsc-3.0/<wbr>hello-debhelper_2.6.orig.tar.<wbr>gz</div><div>gbp: DEBUG: Debian patch: /home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/<wbr>component/deb/data/dsc-3.0/<wbr>hello-debhelper_2.6-2.debian.<wbr>tar.gz</div><div>gbp: INFO: No git repository found, creating one.</div><div>gbp: DEBUG: ['git', 'init']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--show-cdup']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--is-bare-repository']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--git-dir']</div><div>gbp: DEBUG: tar ['-C', '/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp_<wbr>TestImportDsc_At_4uC/tmp_test_<wbr>bare_xvJAZ_/tmpguCdRw', '-a', '-xf', '/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/<wbr>component/deb/data/dsc-3.0/<wbr>hello-debhelper_2.6.orig.tar.<wbr>gz'] []</div><div>gbp: DEBUG: ['git', 'tag', '-l', 'debian/2.6-2']</div><div>gbp: DEBUG: ['git', 'tag', '-l', 'debian/2.6-2']</div><div>gbp: DEBUG: ['git', 'tag', '-l', 'upstream/2.6']</div><div>gbp: DEBUG: ['git', 'tag', '-l', 'upstream/2.6']</div><div>gbp: INFO: Tag upstream/2.6 not found, importing Upstream tarball</div><div>gbp: DEBUG: ['git', 'add', '-f', '.']</div><div>gbp: DEBUG: ['git', 'write-tree']</div><div>gbp: DEBUG: ['git', 'commit-tree', '<wbr>f0d937337d292c3b3763d98d1a8234<wbr>8a946865fd']</div><div>gbp: DEBUG: ['git', 'update-ref', '-m', 'gbp: Import Upstream version 2.6', 'refs/heads/master', '<wbr>b2327d5146d3b47ad9ae34528424b0<wbr>a0b2b4afab']</div><div>gbp: DEBUG: ['git', 'tag', '-m', 'Upstream version 2.6', 'upstream/2.6', '<wbr>b2327d5146d3b47ad9ae34528424b0<wbr>a0b2b4afab']</div><div>gbp: DEBUG: ['git', 'branch', 'upstream', '<wbr>b2327d5146d3b47ad9ae34528424b0<wbr>a0b2b4afab']</div><div>gbp: DEBUG: ['git', 'show-ref', 'refs/heads/master']</div><div>gbp: DEBUG: tar ['-C', '.', '-a', '-xf', '/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/<wbr>component/deb/data/dsc-3.0/<wbr>hello-debhelper_2.6-2.debian.<wbr>tar.gz'] []</div><div>gbp: DEBUG: ['git', 'rev-parse', '--quiet', '--verify', 'upstream/2.6^{commit}']</div><div>gbp: DEBUG: ['git', 'branch', '--contains', '<wbr>b2327d5146d3b47ad9ae34528424b0<wbr>a0b2b4afab']</div><div>gbp: DEBUG: ['git', 'add', '-f', '.']</div><div>gbp: DEBUG: ['git', 'write-tree']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--quiet', '--verify', 'master']</div><div>gbp: DEBUG: ['git', 'commit-tree', '<wbr>8380c1680fd8fdfa0e3cf098a88da2<wbr>855672ade9', '-p', '<wbr>b2327d5146d3b47ad9ae34528424b0<wbr>a0b2b4afab']</div><div>gbp: DEBUG: ['git', 'update-ref', '-m', 'gbp: Import Debian changes 2.6-2', 'refs/heads/master', '<wbr>232795e54ebd6cc4010bfdfd091070<wbr>9d5ed942c8', '<wbr>b2327d5146d3b47ad9ae34528424b0<wbr>a0b2b4afab']</div><div>gbp: DEBUG: ['git', 'tag', '-m', 'Debian release 2.6-2', 'debian/2.6-2', '<wbr>232795e54ebd6cc4010bfdfd091070<wbr>9d5ed942c8']</div><div>gbp: DEBUG: ['git', 'symbolic-ref', 'HEAD']</div><div>gbp: DEBUG: ['git', 'show-ref', 'refs/heads/master']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--quiet', '--verify', 'master']</div><div>gbp: DEBUG: ['git', 'reset', '--quiet', '--hard', '<wbr>232795e54ebd6cc4010bfdfd091070<wbr>9d5ed942c8', '--']</div><div>gbp: DEBUG: ['git', 'ls-tree', '-z', 'upstream', '--']</div><div>gbp: DEBUG: ['git', 'mktree', '-z']</div><div>gbp: DEBUG: /usr/bin/pristine-tar [] ['commit', '/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/<wbr>component/deb/data/dsc-3.0/<wbr>hello-debhelper_2.6.orig.tar.<wbr>gz', '<wbr>f0d937337d292c3b3763d98d1a8234<wbr>8a946865fd']</div><div>gbp: DEBUG: rm ['-rf', '/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp_<wbr>TestImportDsc_At_4uC/tmp_test_<wbr>bare_xvJAZ_/tmpguCdRw'] []</div><div>gbp: INFO: Version '2.6-2' imported under '/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp_<wbr>TestImportDsc_At_4uC/tmp_test_<wbr>bare_xvJAZ_/hello-debhelper'</div><div>gbp: DEBUG: ['git', 'rev-parse', '--show-cdup']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--is-bare-repository']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--git-dir']</div><div>gbp: DEBUG: ['git', 'log', '--pretty=format:%H', '--']</div><div>gbp: DEBUG: ['git', 'reflog']</div><div>--------------------- >> end captured logging << ---------------------</div><div><br></div><div>==============================<wbr>==============================<wbr>==========</div><div>FAIL: Test if creating missing branches works</div><span class=""><div>------------------------------<wbr>------------------------------<wbr>----------</div><div>Traceback (most recent call last):</div></span><div> File "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/<wbr>component/deb/test_import_dsc.<wbr>py", line 116, in test_create_branches</div><div> ok_("gbp: Import Debian changes" in reflog[1])</div><div>AssertionError: None</div><div>-------------------- >> begin captured logging << --------------------</div><div>gbp: DEBUG: ['git', 'rev-parse', '--show-cdup']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--show-cdup']</div><div>gbp: DEBUG: Upstream version: 2.6</div><div>gbp: DEBUG: Debian version: 2</div><div>gbp: DEBUG: Upstream tarball: /home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/<wbr>component/deb/data/dsc-3.0/<wbr>hello-debhelper_2.6.orig.tar.<wbr>gz</div><div>gbp: DEBUG: Debian patch: /home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/<wbr>component/deb/data/dsc-3.0/<wbr>hello-debhelper_2.6-2.debian.<wbr>tar.gz</div><div>gbp: INFO: No git repository found, creating one.</div><div>gbp: DEBUG: ['git', 'init']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--show-cdup']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--is-bare-repository']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--git-dir']</div><div>gbp: DEBUG: tar ['-C', '/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp_<wbr>TestImportDsc_At_4uC/tmp_test_<wbr>create_branches_Y8qVyb/<wbr>tmpfQchft', '-a', '-xf', '/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/<wbr>component/deb/data/dsc-3.0/<wbr>hello-debhelper_2.6.orig.tar.<wbr>gz'] []</div><div>gbp: DEBUG: ['git', 'tag', '-l', 'debian/2.6-2']</div><div>gbp: DEBUG: ['git', 'tag', '-l', 'debian/2.6-2']</div><div>gbp: DEBUG: ['git', 'tag', '-l', 'upstream/2.6']</div><div>gbp: DEBUG: ['git', 'tag', '-l', 'upstream/2.6']</div><div>gbp: INFO: Tag upstream/2.6 not found, importing Upstream tarball</div><div>gbp: DEBUG: ['git', 'add', '-f', '.']</div><div>gbp: DEBUG: ['git', 'write-tree']</div><div>gbp: DEBUG: ['git', 'commit-tree', '<wbr>f0d937337d292c3b3763d98d1a8234<wbr>8a946865fd']</div><div>gbp: DEBUG: ['git', 'update-ref', '-m', 'gbp: Import Upstream version 2.6', 'refs/heads/master', '<wbr>08bd9e226a8ac8e11daa9f00097e1c<wbr>ed5cc89cf0']</div><div>gbp: DEBUG: ['git', 'tag', '-m', 'Upstream version 2.6', 'upstream/2.6', '<wbr>08bd9e226a8ac8e11daa9f00097e1c<wbr>ed5cc89cf0']</div><div>gbp: DEBUG: ['git', 'branch', 'upstream', '<wbr>08bd9e226a8ac8e11daa9f00097e1c<wbr>ed5cc89cf0']</div><div>gbp: DEBUG: ['git', 'show-ref', 'refs/heads/master']</div><div>gbp: DEBUG: tar ['-C', '.', '-a', '-xf', '/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/<wbr>component/deb/data/dsc-3.0/<wbr>hello-debhelper_2.6-2.debian.<wbr>tar.gz'] []</div><div>gbp: DEBUG: ['git', 'rev-parse', '--quiet', '--verify', 'upstream/2.6^{commit}']</div><div>gbp: DEBUG: ['git', 'branch', '--contains', '<wbr>08bd9e226a8ac8e11daa9f00097e1c<wbr>ed5cc89cf0']</div><div>gbp: DEBUG: ['git', 'add', '-f', '.']</div><div>gbp: DEBUG: ['git', 'write-tree']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--quiet', '--verify', 'master']</div><div>gbp: DEBUG: ['git', 'commit-tree', '<wbr>8380c1680fd8fdfa0e3cf098a88da2<wbr>855672ade9', '-p', '<wbr>08bd9e226a8ac8e11daa9f00097e1c<wbr>ed5cc89cf0']</div><div>gbp: DEBUG: ['git', 'update-ref', '-m', 'gbp: Import Debian changes 2.6-2', 'refs/heads/master', '<wbr>6a9c1415ec51a9cbd0cabfd785b107<wbr>3fe3f1357c', '<wbr>08bd9e226a8ac8e11daa9f00097e1c<wbr>ed5cc89cf0']</div><div>gbp: DEBUG: ['git', 'tag', '-m', 'Debian release 2.6-2', 'debian/2.6-2', '<wbr>6a9c1415ec51a9cbd0cabfd785b107<wbr>3fe3f1357c']</div><div>gbp: DEBUG: ['git', 'symbolic-ref', 'HEAD']</div><div>gbp: DEBUG: ['git', 'show-ref', 'refs/heads/master']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--quiet', '--verify', 'master']</div><div>gbp: DEBUG: ['git', 'reset', '--quiet', '--hard', '<wbr>6a9c1415ec51a9cbd0cabfd785b107<wbr>3fe3f1357c', '--']</div><div>gbp: DEBUG: ['git', 'ls-tree', '-z', 'upstream', '--']</div><div>gbp: DEBUG: ['git', 'mktree', '-z']</div><div>gbp: DEBUG: /usr/bin/pristine-tar [] ['commit', '/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/<wbr>component/deb/data/dsc-3.0/<wbr>hello-debhelper_2.6.orig.tar.<wbr>gz', '<wbr>f0d937337d292c3b3763d98d1a8234<wbr>8a946865fd']</div><div>gbp: DEBUG: rm ['-rf', '/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp_<wbr>TestImportDsc_At_4uC/tmp_test_<wbr>create_branches_Y8qVyb/<wbr>tmpfQchft'] []</div><div>gbp: INFO: Version '2.6-2' imported under '/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp_<wbr>TestImportDsc_At_4uC/tmp_test_<wbr>create_branches_Y8qVyb/hello-<wbr>debhelper'</div><div>gbp: DEBUG: ['git', 'rev-parse', '--show-cdup']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--is-bare-repository']</div><div>gbp: DEBUG: ['git', 'rev-parse', '--git-dir']</div><div>gbp: DEBUG: ['git', 'log', '--pretty=format:%H', '--']</div><div>gbp: DEBUG: ['git', 'reflog']</div><div>--------------------- >> end captured logging << ---------------------</div><div><div class="h5"><div><br></div><div>Name Stmts Miss Cover Missing</div><div>------------------------------<wbr>------------------------------<wbr>------</div><div>gbp/__init__.py 1 0 100%</div><div>gbp/command_wrappers.py 161 11 93% 102, 129, 229, 295-299, 308, 311-312</div><div>gbp/config.py 242 22 91% 30-31, 51-52, 70, 438-442, 488, 490-491, 537-540, 607, 670-672, 701, 703, 750-751</div><div>gbp/dch.py 79 16 80% 33-34, 44-45, 88, 96-100, 114, 116, 127, 130-131, 135</div><div>gbp/deb/__init__.py 49 7 86% 36, 57-59, 81, 106-107</div><div>gbp/deb/changelog.py 138 5 96% 83, 102, 121-122, 280</div><div>gbp/deb/control.py 29 3 90% 53-54, 66</div><div>gbp/deb/dscfile.py 94 8 91% 69, 105, 108, 110, 112, 129, 135-136</div><div>gbp/deb/format.py 34 2 94% 118-119</div><div>gbp/deb/git.py 102 11 89% 61, 87-95, 121, 298</div><div>gbp/deb/policy.py 18 0 100%</div><div>gbp/deb/pristinetar.py 14 0 100%</div><div>gbp/deb/source.py 49 2 96% 79, 115</div><div>gbp/deb/upstreamsource.py 24 1 96% 51</div><div>gbp/deb/uscan.py 71 21 70% 73-81, 93, 96-103, 175-187</div><div>gbp/errors.py 3 0 100%</div><div>gbp/format.py 9 0 100%</div><div>gbp/git/__init__.py 15 0 100%</div><div>gbp/git/args.py 30 1 97% 66</div><div>gbp/git/commit.py 6 0 100%</div><div>gbp/git/errors.py 3 0 100%</div><div>gbp/git/fastimport.py 53 6 89% 43-46, 108, 141</div><div>gbp/git/modifier.py 77 2 97% 81, 96</div></div></div><div>gbp/git/repository.py 853 50 94% 44, 49, 85, 93, 484, 523, 623, 630, 675-676, 736, 807, 845, 895, 914, 1053, 1067, 1090, 1164, 1173, 1314, 1316, 1373-1377, 1399, 1426, 1517, 1535, 1609-1610, 1674, 1690, 1735, 1770, 1786, 1811, 1838, 1979-1980, 1982, 1992, 2045-2046, 2053-2054, 2059, 2062-2065</div><div><div class="h5"><div>gbp/git/vfs.py 31 1 97% 65</div><div>gbp/log.py 94 7 93% 72, 77, 88-89, 119-120, 150</div><div>gbp/notifications.py 31 7 77% 32-33, 51-53, 64, 68</div><div>gbp/patch_series.py 107 10 91% 78-79, 83, 177-184</div><div>gbp/pkg/__init__.py 163 18 89% 121, 192, 224, 234, 236-237, 284, 319, 325, 338, 346-347, 367-369, 383, 389, 398-400</div><div>gbp/pkg/pristinetar.py 31 0 100%</div><div>gbp/rpm/__init__.py 581 29 95% 197-201, 250, 307, 416, 429, 438, 640, 647-648, 654-656, 667-669, 674-679, 751, 762-769, 806-807, 856-857</div><div>gbp/rpm/changelog.py 156 3 98% 188-189, 236</div><div>gbp/rpm/git.py 26 2 92% 47-48</div><div>gbp/rpm/lib_rpm.py 19 8 58% 27-31, 42-46</div><div>gbp/rpm/linkedlist.py 80 0 100%</div><div>gbp/rpm/policy.py 72 11 85% 123-130, 172, 195-198</div><div>gbp/scripts/__init__.py 1 0 100%</div><div>gbp/scripts/buildpackage.py 480 113 76% 55-56, 70-80, 104-110, 112, 118, 123-132, 147, 153, 173-175, 182, 189-191, 196-219, 228-229, 241, 258-260, 274-275, 287, 303-309, 332, 375, 379, 389, 399-400, 428-429, 438, 448, 497-498, 500, 502, 520-523, 661, 664-666, 669-670, 674-675, 678-679, 699-701, 708-711, 715-716, 735, 749, 764, 824-825, 827, 832-835, 847-848, 854</div><div>gbp/scripts/buildpackage_rpm.<wbr>py 359 21 94% 54-55, 172-173, 246, 269-279, 514, 522, 613-614, 646</div><div>gbp/scripts/clone.py 144 28 81% 40-45, 73-74, 96, 158-159, 163, 168-169, 186-191, 195, 201, 213-214, 218-221, 227</div><div>gbp/scripts/common/__init__.py 11 0 100%</div><div>gbp/scripts/common/<wbr>buildpackage.py 104 16 85% 90-91, 96, 114-115, 142, 158-167</div><div>gbp/scripts/common/hook.py 10 0 100%</div><div>gbp/scripts/common/import_<wbr>orig.py 85 50 41% 34-35, 53-56, 64-65, 72, 81-92, 100-111, 123, 136-139, 152-179</div><div>gbp/scripts/common/pq.py 192 21 89% 102, 107, 122-126, 136-137, 150, 165-166, 172-173, 193-198, 257, 289-290, 345</div><div>gbp/scripts/common/repo_setup.<wbr>py 9 0 100%</div><div>gbp/scripts/config.py 75 6 92% 96, 127-128, 130-131, 140</div><div>gbp/scripts/create_remote_<wbr>repo.py 221 102 54% 174-191, 195-198, 202-204, 273-274, 284-358, 370-377, 387-402, 406</div><div>gbp/scripts/dch.py 330 51 85% 54-55, 66-67, 71-72, 103, 168-169, 177-178, 254, 264, 268, 275, 296, 430-431, 435-438, 441-442, 448, 456, 462, 465, 474-487, 511, 529, 534, 549, 560-570, 577</div></div></div><div>gbp/scripts/import_dsc.py 316 78 75% 48-67, 83-87, 95, 107, 118-119, 121, 135-136, 139-141, 152, 155, 185-188, 195-197, 205, 209, 214-217, 222-224, 300, 339-340, 356-357, 379-380, 387, 395, 411, 425-430, 440-446, 476, 482, 491-492, 494, 496-497, 502-503, 517</div><span class=""><div>gbp/scripts/import_dscs.py 110 43 61% 43, 46, 51-70, 78-81, 85, 107, 111-112, 116-122, 130-131, 134-135, 144-146, 149-151, 161-162, 169, 178</div><div>gbp/scripts/import_orig.py 388 80 79% 50-52, 55, 74, 91-92, 131, 142-144, 146, 167-174, 196, 200, 213-214, 239, 242, 249, 253, 256, 263, 293-308, 320-321, 334, 361-362, 378-379, 391-398, 416, 438-443, 527, 547-548, 553, 557-558, 562, 566, 581, 592-594, 622, 643, 657-659, 663, 674</div><div>gbp/scripts/import_srpm.py 291 18 94% 65-66, 75, 80, 109-110, 208, 236-238, 300, 446, 471-472, 474, 476-477, 497</div><div>gbp/scripts/pq.py 291 74 75% 57-61, 75, 106, 138-140, 185, 211, 254-264, 288-294, 299-302, 315, 322, 326-327, 331-340, 344-346, 349-350, 431-432, 438-446, 450-452, 471-485, 491</div><div>gbp/scripts/pq_rpm.py 278 21 92% 55-56, 69, 74-77, 83, 115-119, 136, 237, 299-300, 318, 453-454, 456, 458-459, 471</div><div>gbp/scripts/pull.py 122 43 65% 49-50, 58-77, 114-115, 138-140, 146-152, 159, 163-165, 171, 174-176, 179-187, 193</div><div>gbp/scripts/rpm_ch.py 249 8 97% 83, 121, 128-129, 174, 254, 259, 454</div><div>gbp/scripts/supercommand.py 78 13 83% 57-61, 126-127, 129-130, 132-133, 147, 151</div><div>gbp/tmpfile.py 21 0 100%</div><div>gbp/tristate.py 45 4 91% 37, 50, 101, 105</div><div>gbp/version.py 1 0 100%</div><div>------------------------------<wbr>------------------------------<wbr>------</div></span><div>TOTAL 7756 1054 86%</div><div>------------------------------<wbr>------------------------------<wbr>----------</div><div>Ran 481 tests in 100.525s</div><div><br></div><div>FAILED (SKIP=8, failures=2)</div><span class=""><div>Makefile:11: recipe for target 'test' failed</div><div>make[2]: *** [test] Error 1</div><div>make[2]: Leaving directory '/home/actionmystique/src/Git/<wbr>git-git-buildpackage'</div><div>debian/rules:21: recipe for target 'override_dh_auto_test' failed</div><div>make[1]: *** [override_dh_auto_test] Error 2</div><div>make[1]: Leaving directory '/home/actionmystique/src/Git/<wbr>git-git-buildpackage'</div><div>debian/rules:17: recipe for target 'build' failed</div></span><div>make: *** [build] Error 2</div><div>dpkg-buildpackage: error: debian/rules build gave error exit status 2</div></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Sun, May 21, 2017 at 1:19 PM, Guido Günther <span dir="ltr"><<a href="mailto:agx@sigxcpu.org" target="_blank">agx@sigxcpu.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span>On Sun, May 21, 2017 at 10:57:49AM +0200, jean-christophe manciot wrote:<br>
> Hello Guido Günther,<br>
><br>
</span>> Building git-buildpackage from the git sources on the tag *debian/0.8.15<br>
> (same issue with debian/<a href="http://0.8.12.2" rel="noreferrer" target="_blank">0.8.12.2</a> <<a href="http://0.8.12.2" rel="noreferrer" target="_blank">http://0.8.12.2</a>>*) with:<br>
<span>> dpkg-buildpackage --build=binary -m"Jean-Christophe Manciot <<br>
> <a href="mailto:manciot.jeanchristophe@gmail.com" target="_blank">manciot.jeanchristophe@gmail.c<wbr>om</a>>"<br>
</span>> It has been run on *Ubuntu 17.04 with dpkg-buildpackage version 1.18.10*.<br>
<span>><br>
> It leads to many issues, including the first<br>
> "/rpmbuild/SOURCES/gbp-test-na<wbr>tive-1.0.zip: Permission denied".<br>
> It is very strange because:<br>
> - the name suggests rpm is involved in a debian build?<br>
> - the previous command has been launched with (and without) root<br>
> privileges.<br>
><br>
> The full log is attached. The following is an excerpt pointing out the<br>
> issues:<br>
<br>
</span>This is odd:<br>
<div><div class="m_4519703355138163406h5"><br>
> ...<br>
> running nosetests<br>
> running egg_info<br>
> creating gbp.egg-info<br>
> writing gbp.egg-info/PKG-INFO<br>
> writing top-level names to gbp.egg-info/top_level.txt<br>
> writing dependency_links to gbp.egg-info/dependency_links.<wbr>txt<br>
> writing entry points to gbp.egg-info/entry_points.txt<br>
> writing manifest file 'gbp.egg-info/SOURCES.txt'<br>
> reading manifest file 'gbp.egg-info/SOURCES.txt'<br>
> writing manifest file 'gbp.egg-info/SOURCES.txt'<br>
> ..............................<wbr>..............................<wbr>......debchange<br>
> warning: New package version is Debian native whilst previous version was<br>
> not<br>
> ............S..SS.S.S......S..<wbr>.............sh: 1: cannot create<br>
> ../rpmbuild/SOURCES/gbp-test-n<wbr>ative-1.0.zip: Permission denied<br>
> ..............................<wbr>..............................<wbr>..............................<wbr>.....................FF.......<wbr>........F.......Ffatal:<br>
> bad revision 'ff...master'<br>
> fatal: bad revision 'master...ff'<br>
> F.F...F.......................<wbr>..............................<wbr>..............................<wbr>..............................<wbr>..............................<wbr>..............................<wbr>.....................SS.......<wbr>.........................<br>
> ==============================<wbr>==============================<wbr>==========<br>
> FAIL: Doctest: tests.doctests.test_GitReposit<wbr>ory.test_set_upstream_branch<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 2226, in runTest<br>
> raise self.failureException(self.for<wbr>mat_failure(new.getvalue()))<br>
> AssertionError: Failed doctest test for test_set_upstream_branch<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 234, in test_set_upstream_branch<br>
><br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 244, in test_set_upstream_branch<br>
> Failed example:<br>
> repo.set_upstream_branch('mas<wbr>ter', 'origin/master')<br>
> Exception raised:<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 1315, in __run<br>
> compileflags, 1) in test.globs<br>
> File "<doctest test_set_upstream_branch[6]>", line 1, in <module><br>
> repo.set_upstream_branch('mas<wbr>ter', 'origin/master')<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 620, in set_upstream_branch<br>
> if self._cmd_has_feature('branch'<wbr>, 'set-upstream-to'):<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 263, in _cmd_has_feature<br>
> % (command, stderr[:-1]))<br>
> GitRepositoryError: Invalid git command 'branch': No manual entry for<br>
> git-branch<br>
> See 'man 7 undocumented' for help when manual pages are not available.<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 245, in test_set_upstream_branch<br>
> Failed example:<br>
> repo.get_upstream_branch('mas<wbr>ter')<br>
> Expected:<br>
> 'origin/master'<br>
> Got:<br>
> ''<br>
<br>
</div></div>To detect some git features gbp invokes<br>
<br>
git help -m <subcommand><br>
<br>
to detect some features. In this case<br>
<br>
git help -m branch<br>
<br>
fails. Can you check why this fails on your systems?<br>
<br>
(cc:'ing the mailing list so we have some record for this type of<br>
problem).<br>
<br>
Cheers,<br>
-- Guido<br>
<div class="m_4519703355138163406HOEnZb"><div class="m_4519703355138163406h5">><br>
><br>
> ==============================<wbr>==============================<wbr>==========<br>
> FAIL: Doctest: tests.doctests.test_GitReposit<wbr>ory.test_get_upstream_branch<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 2226, in runTest<br>
> raise self.failureException(self.for<wbr>mat_failure(new.getvalue()))<br>
> AssertionError: Failed doctest test for test_get_upstream_branch<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 257, in test_get_upstream_branch<br>
><br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 263, in test_get_upstream_branch<br>
> Failed example:<br>
> repo.get_upstream_branch('mas<wbr>ter')<br>
> Expected:<br>
> 'origin/master'<br>
> Got:<br>
> ''<br>
><br>
><br>
> ==============================<wbr>==============================<wbr>==========<br>
> FAIL: Doctest: tests.doctests.test_GitReposit<wbr>ory.test_merge<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 2226, in runTest<br>
> raise self.failureException(self.for<wbr>mat_failure(new.getvalue()))<br>
> AssertionError: Failed doctest test for test_merge<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 678, in test_merge<br>
><br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 689, in test_merge<br>
> Failed example:<br>
> repo.merge('foo')<br>
> Exception raised:<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 1315, in __run<br>
> compileflags, 1) in test.globs<br>
> File "<doctest test_merge[3]>", line 1, in <module><br>
> repo.merge('foo')<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 481, in merge<br>
> if (self._cmd_has_feature('merge'<wbr>, 'edit')):<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 263, in _cmd_has_feature<br>
> % (command, stderr[:-1]))<br>
> GitRepositoryError: Invalid git command 'merge': No manual entry for<br>
> git-merge<br>
> See 'man 7 undocumented' for help when manual pages are not available.<br>
><br>
><br>
> ==============================<wbr>==============================<wbr>==========<br>
> FAIL: Doctest: tests.doctests.test_GitReposit<wbr>ory.test_grep_log<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 2226, in runTest<br>
> raise self.failureException(self.for<wbr>mat_failure(new.getvalue()))<br>
> AssertionError: Failed doctest test for test_grep_log<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 856, in test_grep_log<br>
><br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 866, in test_grep_log<br>
> Failed example:<br>
> len(repo.grep_log('foo')) == 2<br>
> Expected:<br>
> True<br>
> Got:<br>
> False<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 868, in test_grep_log<br>
> Failed example:<br>
> len(repo.grep_log('foo', 'master')) == 2<br>
> Expected:<br>
> True<br>
> Got:<br>
> False<br>
><br>
><br>
> ==============================<wbr>==============================<wbr>==========<br>
> FAIL: Doctest: tests.doctests.test_GitReposit<wbr>ory.test_is_ff<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 2226, in runTest<br>
> raise self.failureException(self.for<wbr>mat_failure(new.getvalue()))<br>
> AssertionError: Failed doctest test for test_is_ff<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 879, in test_is_ff<br>
><br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 888, in test_is_ff<br>
> Failed example:<br>
> repo.is_fast_forward('master'<wbr>, 'foo')<br>
> Expected:<br>
> (True, True)<br>
> Got:<br>
> (True, False)<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 890, in test_is_ff<br>
> Failed example:<br>
> repo.create_branch('ff', 'HEAD^')<br>
> Exception raised:<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 1315, in __run<br>
> compileflags, 1) in test.globs<br>
> File "<doctest test_is_ff[3]>", line 1, in <module><br>
> repo.create_branch('ff', 'HEAD^')<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 346, in create_branch<br>
> self._git_command("branch", args.args)<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 243, in _git_command<br>
> raise GitRepositoryError("Error running git %s: %s" % (command,<br>
> detail))<br>
> GitRepositoryError: Error running git branch: fatal: Not a valid object<br>
> name: 'HEAD^'.<br>
><br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 891, in test_is_ff<br>
> Failed example:<br>
> repo.is_fast_forward('ff', 'master')<br>
> Expected:<br>
> (True, False)<br>
> Got:<br>
> (True, True)<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 893, in test_is_ff<br>
> Failed example:<br>
> repo.is_fast_forward('master'<wbr>, 'ff')<br>
> Expected:<br>
> (False, True)<br>
> Got:<br>
> (True, True)<br>
><br>
><br>
> ==============================<wbr>==============================<wbr>==========<br>
> FAIL: Doctest: tests.doctests.test_GitReposit<wbr>ory.test_make_tree<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 2226, in runTest<br>
> raise self.failureException(self.for<wbr>mat_failure(new.getvalue()))<br>
> AssertionError: Failed doctest test for test_make_tree<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 913, in test_make_tree<br>
><br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 925, in test_make_tree<br>
> Failed example:<br>
> sha1<br>
> Expected:<br>
> '19af7398c894bc5e86e17259317e<wbr>4db519e9241f'<br>
> Got:<br>
> 'cb089cd89a7d7686d284d8761201<wbr>649346b5aa1c'<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 928, in test_make_tree<br>
> Failed example:<br>
> head<br>
> Expected:<br>
> [['100644', 'blob', '19af7398c894bc5e86e17259317e4<wbr>db519e9241f',<br>
> 'testfile']]<br>
> Got:<br>
> [['100644', 'blob', 'cb089cd89a7d7686d284d87612016<wbr>49346b5aa1c',<br>
> 'testfile']]<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 932, in test_make_tree<br>
> Failed example:<br>
> newtree<br>
> Expected:<br>
> '745951810c9e22fcc6de9b23f05e<wbr>fd6ab5512123'<br>
> Got:<br>
> 'dc47a169c61039cf61136cd66bbd<wbr>62968592c17b'<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 934, in test_make_tree<br>
> Failed example:<br>
> repo.list_tree(newtree, recurse=False, paths='testfile')<br>
> Expected:<br>
> [['100644', 'blob', '19af7398c894bc5e86e17259317e4<wbr>db519e9241f',<br>
> 'testfile']]<br>
> Got:<br>
> [['100644', 'blob', 'cb089cd89a7d7686d284d87612016<wbr>49346b5aa1c',<br>
> 'testfile']]<br>
><br>
><br>
> ==============================<wbr>==============================<wbr>==========<br>
> FAIL: Doctest: tests.doctests.test_GitReposit<wbr>ory.test_cmd_has_feature<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 2226, in runTest<br>
> raise self.failureException(self.for<wbr>mat_failure(new.getvalue()))<br>
> AssertionError: Failed doctest test for test_cmd_has_feature<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 999, in test_cmd_has_feature<br>
><br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 1006, in test_cmd_has_feature<br>
> Failed example:<br>
> repo._cmd_has_feature("<wbr>commit", "a")<br>
> Exception raised:<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 1315, in __run<br>
> compileflags, 1) in test.globs<br>
> File "<doctest test_cmd_has_feature[2]>", line 1, in <module><br>
> repo._cmd_has_feature("<wbr>commit", "a")<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 263, in _cmd_has_feature<br>
> % (command, stderr[:-1]))<br>
> GitRepositoryError: Invalid git command 'commit': No manual entry for<br>
> git-commit<br>
> See 'man 7 undocumented' for help when manual pages are not available.<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 1008, in test_cmd_has_feature<br>
> Failed example:<br>
> repo._cmd_has_feature("<wbr>commit", "reuse-message")<br>
> Exception raised:<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 1315, in __run<br>
> compileflags, 1) in test.globs<br>
> File "<doctest test_cmd_has_feature[3]>", line 1, in <module><br>
> repo._cmd_has_feature("<wbr>commit", "reuse-message")<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 263, in _cmd_has_feature<br>
> % (command, stderr[:-1]))<br>
> GitRepositoryError: Invalid git command 'commit': No manual entry for<br>
> git-commit<br>
> See 'man 7 undocumented' for help when manual pages are not available.<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 1010, in test_cmd_has_feature<br>
> Failed example:<br>
> repo._cmd_has_feature("merge"<wbr>, "n")<br>
> Exception raised:<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 1315, in __run<br>
> compileflags, 1) in test.globs<br>
> File "<doctest test_cmd_has_feature[4]>", line 1, in <module><br>
> repo._cmd_has_feature("merge"<wbr>, "n")<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 263, in _cmd_has_feature<br>
> % (command, stderr[:-1]))<br>
> GitRepositoryError: Invalid git command 'merge': No manual entry for<br>
> git-merge<br>
> See 'man 7 undocumented' for help when manual pages are not available.<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 1012, in test_cmd_has_feature<br>
> Failed example:<br>
> repo._cmd_has_feature("merge"<wbr>, "stat")<br>
> Exception raised:<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 1315, in __run<br>
> compileflags, 1) in test.globs<br>
> File "<doctest test_cmd_has_feature[5]>", line 1, in <module><br>
> repo._cmd_has_feature("merge"<wbr>, "stat")<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 263, in _cmd_has_feature<br>
> % (command, stderr[:-1]))<br>
> GitRepositoryError: Invalid git command 'merge': No manual entry for<br>
> git-merge<br>
> See 'man 7 undocumented' for help when manual pages are not available.<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 1014, in test_cmd_has_feature<br>
> Failed example:<br>
> repo._cmd_has_feature("<wbr>format-patch", "cc")<br>
> Exception raised:<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 1315, in __run<br>
> compileflags, 1) in test.globs<br>
> File "<doctest test_cmd_has_feature[6]>", line 1, in <module><br>
> repo._cmd_has_feature("<wbr>format-patch", "cc")<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 263, in _cmd_has_feature<br>
> % (command, stderr[:-1]))<br>
> GitRepositoryError: Invalid git command 'format-patch': No manual entry<br>
> for git-format-patch<br>
> See 'man 7 undocumented' for help when manual pages are not available.<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 1016, in test_cmd_has_feature<br>
> Failed example:<br>
> repo._cmd_has_feature("merge"<wbr>, "foobaroption")<br>
> Exception raised:<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 1315, in __run<br>
> compileflags, 1) in test.globs<br>
> File "<doctest test_cmd_has_feature[7]>", line 1, in <module><br>
> repo._cmd_has_feature("merge"<wbr>, "foobaroption")<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 263, in _cmd_has_feature<br>
> % (command, stderr[:-1]))<br>
> GitRepositoryError: Invalid git command 'merge': No manual entry for<br>
> git-merge<br>
> See 'man 7 undocumented' for help when manual pages are not available.<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 1022, in test_cmd_has_feature<br>
> Failed example:<br>
> repo._cmd_has_feature("show", "standard-notes")<br>
> Exception raised:<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 1315, in __run<br>
> compileflags, 1) in test.globs<br>
> File "<doctest test_cmd_has_feature[9]>", line 1, in <module><br>
> repo._cmd_has_feature("show", "standard-notes")<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 263, in _cmd_has_feature<br>
> % (command, stderr[:-1]))<br>
> GitRepositoryError: Invalid git command 'show': No manual entry for<br>
> git-show<br>
> See 'man 7 undocumented' for help when manual pages are not available.<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/tests/doc<wbr>tests/test_GitRepository.py",<br>
> line 1024, in test_cmd_has_feature<br>
> Failed example:<br>
> repo._cmd_has_feature("show", "no-standard-notes")<br>
> Exception raised:<br>
> Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/doctest.py<wbr>", line 1315, in __run<br>
> compileflags, 1) in test.globs<br>
> File "<doctest test_cmd_has_feature[10]>", line 1, in <module><br>
> repo._cmd_has_feature("show", "no-standard-notes")<br>
> File<br>
> "/home/actionmystique/src/Git/<wbr>git-git-buildpackage/gbp/git/r<wbr>epository.py",<br>
> line 263, in _cmd_has_feature<br>
> % (command, stderr[:-1]))<br>
> GitRepositoryError: Invalid git command 'show': No manual entry for<br>
> git-show<br>
> See 'man 7 undocumented' for help when manual pages are not available.<br>
><br>
><br>
> Name Stmts Miss Cover Missing<br>
> ------------------------------<wbr>------------------------------<wbr>------<br>
> gbp/__init__.py 1 0 100%<br>
> gbp/command_wrappers.py 161 11 93% 102, 129, 229,<br>
> 295-299, 308, 311-312<br>
> gbp/config.py 242 22 91% 30-31, 51-52,<br>
> 70, 438-442, 488, 490-491, 537-540, 607, 670-672, 701, 703, 750-751<br>
> gbp/dch.py 79 16 80% 33-34, 44-45,<br>
> 88, 96-100, 114, 116, 127, 130-131, 135<br>
> gbp/deb/__init__.py 49 7 86% 36, 57-59, 81,<br>
> 106-107<br>
> gbp/deb/changelog.py 138 5 96% 83, 102,<br>
> 121-122, 280<br>
> gbp/deb/control.py 29 3 90% 53-54, 66<br>
> gbp/deb/dscfile.py 94 8 91% 69, 105, 108,<br>
> 110, 112, 129, 135-136<br>
> gbp/deb/format.py 34 2 94% 118-119<br>
> gbp/deb/git.py 102 11 89% 61, 87-95, 121,<br>
> 298<br>
> gbp/deb/policy.py 18 0 100%<br>
> gbp/deb/pristinetar.py 14 0 100%<br>
> gbp/deb/source.py 49 2 96% 79, 115<br>
> gbp/deb/upstreamsource.py 24 1 96% 51<br>
> gbp/deb/uscan.py 71 21 70% 73-81, 93,<br>
> 96-103, 175-187<br>
> gbp/errors.py 3 0 100%<br>
> gbp/format.py 9 0 100%<br>
> gbp/git/__init__.py 15 0 100%<br>
> gbp/git/args.py 30 1 97% 66<br>
> gbp/git/commit.py 6 0 100%<br>
> gbp/git/errors.py 3 0 100%<br>
> gbp/git/fastimport.py 53 6 89% 43-46, 108, 141<br>
> gbp/git/modifier.py 77 2 97% 81, 96<br>
> gbp/git/repository.py 853 78 91% 44, 49, 85, 93,<br>
> 266-287, 482-487, 518, 523, 525, 621-630, 675-676, 736, 807, 845, 895, 914,<br>
> 1053, 1067, 1090, 1164, 1173, 1314, 1316, 1373-1377, 1399, 1426, 1517,<br>
> 1535, 1609-1610, 1674, 1735, 1770, 1786, 1811, 1838, 1979-1980, 1982, 1992,<br>
> 2045-2046, 2053-2054, 2059, 2062-2065<br>
> gbp/git/vfs.py 31 1 97% 65<br>
> gbp/log.py 94 7 93% 72, 77, 88-89,<br>
> 119-120, 150<br>
> gbp/notifications.py 31 7 77% 32-33, 51-53,<br>
> 64, 68<br>
> gbp/patch_series.py 107 10 91% 78-79, 83,<br>
> 177-184<br>
> gbp/pkg/__init__.py 163 18 89% 121, 192, 224,<br>
> 234, 236-237, 284, 319, 325, 338, 346-347, 367-369, 383, 389, 398-400<br>
> gbp/pkg/pristinetar.py 31 0 100%<br>
> gbp/rpm/__init__.py 581 29 95% 197-201, 250,<br>
> 307, 416, 429, 438, 640, 647-648, 654-656, 667-669, 674-679, 751, 762-769,<br>
> 806-807, 856-857<br>
> gbp/rpm/changelog.py 156 3 98% 188-189, 236<br>
> gbp/rpm/git.py 26 2 92% 47-48<br>
> gbp/rpm/lib_rpm.py 19 8 58% 27-31, 42-46<br>
> gbp/rpm/linkedlist.py 80 0 100%<br>
> gbp/rpm/policy.py 72 11 85% 123-130, 172,<br>
> 195-198<br>
> gbp/scripts/__init__.py 1 0 100%<br>
> gbp/scripts/buildpackage.py 480 113 76% 55-56, 70-80,<br>
> 104-110, 112, 118, 123-132, 147, 153, 173-175, 182, 189-191, 196-219,<br>
> 228-229, 241, 258-260, 274-275, 287, 303-309, 332, 375, 379, 389, 399-400,<br>
> 428-429, 438, 448, 497-498, 500, 502, 520-523, 661, 664-666, 669-670,<br>
> 674-675, 678-679, 699-701, 708-711, 715-716, 735, 749, 764, 824-825, 827,<br>
> 832-835, 847-848, 854<br>
> gbp/scripts/buildpackage_rpm.p<wbr>y 359 21 94% 54-55, 172-173,<br>
> 246, 269-279, 514, 522, 613-614, 646<br>
> gbp/scripts/clone.py 144 28 81% 40-45, 73-74,<br>
> 96, 158-159, 163, 168-169, 186-191, 195, 201, 213-214, 218-221, 227<br>
> gbp/scripts/common/__init__.<wbr>py 11 0 100%<br>
> gbp/scripts/common/buildpackag<wbr>e.py 104 16 85% 90-91, 96,<br>
> 114-115, 142, 158-167<br>
> gbp/scripts/common/hook.py 10 0 100%<br>
> gbp/scripts/common/import_orig<wbr>.py 85 50 41% 34-35, 53-56,<br>
> 64-65, 72, 81-92, 100-111, 123, 136-139, 152-179<br>
> gbp/scripts/common/pq.py 192 21 89% 102, 107,<br>
> 122-126, 136-137, 150, 165-166, 172-173, 193-198, 257, 289-290, 345<br>
> gbp/scripts/common/repo_setup.<wbr>py 9 0 100%<br>
> gbp/scripts/config.py 75 6 92% 96, 127-128,<br>
> 130-131, 140<br>
> gbp/scripts/create_remote_repo<wbr>.py 221 102 54% 174-191,<br>
> 195-198, 202-204, 273-274, 284-358, 370-377, 387-402, 406<br>
> gbp/scripts/dch.py 330 51 85% 54-55, 66-67,<br>
> 71-72, 103, 168-169, 177-178, 254, 264, 268, 275, 296, 430-431, 435-438,<br>
> 441-442, 448, 456, 462, 465, 474-487, 511, 529, 534, 549, 560-570, 577<br>
> gbp/scripts/import_dsc.py 316 70 78% 48-67, 83-87,<br>
> 95, 107, 118-119, 121, 135-136, 152, 155, 185-188, 195-197, 205, 209,<br>
> 214-217, 222-224, 300, 339-340, 379-380, 387, 395, 411, 425-430, 444-446,<br>
> 482, 491-492, 494, 496-497, 502-503, 517<br>
> gbp/scripts/import_dscs.py 110 43 61% 43, 46, 51-70,<br>
> 78-81, 85, 107, 111-112, 116-122, 130-131, 134-135, 144-146, 149-151,<br>
> 161-162, 169, 178<br>
> gbp/scripts/import_orig.py 388 80 79% 50-52, 55, 74,<br>
> 91-92, 131, 142-144, 146, 167-174, 196, 200, 213-214, 239, 242, 249, 253,<br>
> 256, 263, 293-308, 320-321, 334, 361-362, 378-379, 391-398, 416, 438-443,<br>
> 527, 547-548, 553, 557-558, 562, 566, 581, 592-594, 622, 643, 657-659, 663,<br>
> 674<br>
> gbp/scripts/import_srpm.py 291 18 94% 65-66, 75, 80,<br>
> 109-110, 208, 236-238, 300, 446, 471-472, 474, 476-477, 497<br>
> gbp/scripts/pq.py 291 74 75% 57-61, 75, 106,<br>
> 138-140, 185, 211, 254-264, 288-294, 299-302, 315, 322, 326-327, 331-340,<br>
> 344-346, 349-350, 431-432, 438-446, 450-452, 471-485, 491<br>
> gbp/scripts/pq_rpm.py 278 21 92% 55-56, 69,<br>
> 74-77, 83, 115-119, 136, 237, 299-300, 318, 453-454, 456, 458-459, 471<br>
> gbp/scripts/pull.py 122 43 65% 49-50, 58-77,<br>
> 114-115, 138-140, 146-152, 159, 163-165, 171, 174-176, 179-187, 193<br>
> gbp/scripts/rpm_ch.py 249 8 97% 83, 121,<br>
> 128-129, 174, 254, 259, 454<br>
> gbp/scripts/supercommand.py 78 13 83% 57-61, 126-127,<br>
> 129-130, 132-133, 147, 151<br>
> gbp/tmpfile.py 21 0 100%<br>
> gbp/tristate.py 45 4 91% 37, 50, 101, 105<br>
> gbp/version.py 1 0 100%<br>
> ------------------------------<wbr>------------------------------<wbr>------<br>
> TOTAL 7756 1074 86%<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> Ran 481 tests in 105.840s<br>
><br>
> FAILED (SKIP=8, failures=7)<br>
> Makefile:11: recipe for target 'test' failed<br>
> make[2]: *** [test] Error 1<br>
> make[2]: Leaving directory<br>
> '/home/actionmystique/src/Git/<wbr>git-git-buildpackage'<br>
> debian/rules:21: recipe for target 'override_dh_auto_test' failed<br>
> make[1]: *** [override_dh_auto_test] Error 2<br>
> make[1]: Leaving directory<br>
> '/home/actionmystique/src/Git/<wbr>git-git-buildpackage'<br>
> debian/rules:17: recipe for target 'build' failed<br>
><br>
> Regards.<br>
> --<br>
> Jean-Christophe<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_4519703355138163406gmail_signature" data-smartmail="gmail_signature">Jean-Christophe</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Jean-Christophe</div>
</div>