Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 815031 - dev-vcs/git-pw-2.1.1 fails tests
Summary: dev-vcs/git-pw-2.1.1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2021-09-26 17:46 UTC by Agostino Sarubbo
Modified: 2021-09-30 01:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,56.15 KB, text/plain)
2021-09-26 17:46 UTC, Agostino Sarubbo
Details
Patch to fix tests (git-pw-2.1.1-testenv.patch,1.02 KB, patch)
2021-09-26 18:58 UTC, Matthew Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-09-26 17:46:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-vcs/git-pw-2.1.1 fails tests.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-09-26 17:46:06 UTC
CC'ing also the author of the commit (b3a791ce4d2681f2c5e93809ad01a413daf99684)
Comment 2 Agostino Sarubbo gentoo-dev 2021-09-26 17:46:07 UTC
Created attachment 741549 [details]
build.log

build log and emerge --info
Comment 3 Matthew Smith gentoo-dev 2021-09-26 18:50:33 UTC
The test passes with `PAGER=less ebuild git-pw-2.1.1.ebuild test` but fails with `PAGER=/usr/bin/less`.

All of the other tests patch os.environ but this one does not. I'll send a patch upstream.
Comment 4 Matthew Smith gentoo-dev 2021-09-26 18:58:03 UTC
Created attachment 741552 [details, diff]
Patch to fix tests
Comment 5 Larry the Git Cow gentoo-dev 2021-09-30 01:29:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c092ede25d5a926be067fbf53f5b3c17143f965

commit 2c092ede25d5a926be067fbf53f5b3c17143f965
Author:     Yixun Lan <dlan@gentoo.org>
AuthorDate: 2021-09-30 01:27:33 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2021-09-30 01:27:33 +0000

    dev-vcs/git-pw: fix tests error
    
    Thanks Matt Smith for contribution
    
    Closes: https://bugs.gentoo.org/815031
    Package-Manager: Portage-3.0.23, Repoman-3.0.3
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 dev-vcs/git-pw/files/git-pw-2.1.1-test.patch | 28 ++++++++++++++++++++++++++++
 dev-vcs/git-pw/git-pw-2.1.1.ebuild           |  2 ++
 2 files changed, 30 insertions(+)