Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913364 - sys-apps/bat-0.23.0 fails tests (PYTHON-3.12-SYSTEM): error: expect test failed
Summary: sys-apps/bat-0.23.0 fails tests (PYTHON-3.12-SYSTEM): error: expect test failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2023-08-31 07:37 UTC by Agostino Sarubbo
Modified: 2024-02-15 13:56 UTC (History)
0 users

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


Attachments
build.log (build.log,310.13 KB, text/plain)
2023-08-31 07:37 UTC, Agostino Sarubbo
Details

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

Issue: sys-apps/bat-0.23.0 fails tests (PYTHON-3.12-SYSTEM).
Discovered on: amd64 (internal ref: python-3.12_tinderbox)

NOTE:
(PYTHON-3.12-SYSTEM) in the summary means that the bug was found on a machine that runs python-3.12 but this bug MAY or MAY NOT BE related to the new python version
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-31 07:37:50 UTC
Created attachment 869076 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-02-15 13:56:17 UTC
The bug has been closed via the following commit(s):

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

commit a253c8cd69808373fa7ec69b70903fecd73f7e12
Author:     Violet Purcell <vimproved@inventati.org>
AuthorDate: 2024-02-14 17:41:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-15 13:52:59 +0000

    sys-apps/bat: export COLUMNS in src_test for deterministic help output
    
    When the clap crate is built with the wrap_help feature, it will
    automatically detect the current terminal size and wrap help text based
    on that. This breaks bat's tests if your terminal is below a certain
    size. Set the COLUMNS environment variable in src_test to override this.
    
    Closes: https://bugs.gentoo.org/913364
    Closes: https://bugs.gentoo.org/914914
    Signed-off-by: Violet Purcell <vimproved@inventati.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/bat/bat-0.23.0-r1.ebuild | 7 +++++++
 sys-apps/bat/bat-0.24.0.ebuild    | 7 +++++++
 2 files changed, 14 insertions(+)