Bug 1215465 - [Build 20230917] groff / "man -P cat docker build | grep … => troff:<standard input>:80: warning: cannot select font 'C'
Summary: [Build 20230917] groff / "man -P cat docker build | grep … => troff:<standard...
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Aleksa Sarai
QA Contact: E-mail List
URL: https://openqa.opensuse.org/tests/358...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-19 06:28 UTC by Dominique Leuenberger
Modified: 2023-10-10 07:36 UTC (History)
3 users (show)

See Also:
Found By: openQA
Services Priority:
Business Priority:
Blocker: Yes
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2023-09-19 06:28:33 UTC
## Observation

The test code runs:

man -P cat docker build | grep 'docker-build - Build'; echo 4Kdp0-$?-

this then returns

troff:<standard input>:80: warning: cannot select font 'C'
…
troff:<standard input>:511: warning: cannot select font 'C'
troff:<standard input>:513: warning: cannot select font 'C'
troff:<standard input>:518: warning: cannot select font 'C'
troff:<standard input>:518: warning: cannot select font 'C'
4Kdp0-1-

i.e error spewn out and the grep fails (the actual search string not found)


openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-containers_host_docker@64bit fails in
[docker](https://openqa.opensuse.org/tests/3584565/modules/docker/steps/212)

## Test suite description
Maintainer: dheidler. Extra tests about CLI software in container module
2023-08-10/dimstar: added QEMURAM=2048 (boo#1212824)


## Reproducible

Fails since (at least) Build [20230917](https://openqa.opensuse.org/tests/3583658)


## Expected result

Last good: [20230915](https://openqa.opensuse.org/tests/3580146) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=containers_host_docker&version=Tumbleweed)
Comment 1 Felix Niederwanger 2023-10-03 09:45:21 UTC
Looks like a issue with man itself to me:

 $ man -P cat docker-build > 123
 troff:<standard input>:80: warning: cannot select font 'C'
 ...

 $ man docker-build > 123
 troff:<standard input>:80: warning: cannot select font 'C'
 ...
Comment 2 Felix Niederwanger 2023-10-10 07:36:35 UTC
I think the underlying issue is that the man output consists of non-ascii characters now. When comparing the output of man podman-build between Tumbleweed and SLES 15-SP4 it becomes apparent that e.g. the dash character on Tumbleweed is not the '-' dash character:

> phoenix@tumbleweed:~ $ man podman-build
> NAME
>        podman‐build ‐ Build a container image using a Containerfile
>
> phoenix@sles15sp5:~ $ man podman-build
> NAME
>        podman-build - Build a container image using a Containerfile

Visually they are not really different, but when copying to a text editor or looking at the encoding it becomes clear that on Tumbleweed the output is different.

This causes also openQA to stumble, e.g. here: https://openqa.opensuse.org/tests/3628637#step/docker/221

Can perhaps the man maintainer have a look if there were some recent changes that would explain this behaviour?