-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed troff warning in versions above groff-1.23 #416
Conversation
Hi, @GitHubGDong . Thanks for the patch! Please add some information about the issue and a fix to the commit message directly. Here is what FAQ says about that:
If you plan to submit patches regularly, then you should try our main process for submitting patches via OVS development mailing list: https://docs.openvswitch.org/en/latest/internals/contributing/submitting-patches/ . We do not use GitHub PRs normally, but it's fine to create PRs once in a while. |
Ok, I've tweaked the code and provided the Signed-off-by tag. |
Hi, thanks for the update! The code looks good to me. I see you added 2 sign-off tags, that is causing a checkpatch warning:
It should be one sign-off per person. If you want to add a co-author, you should also add a Co-authored-by tag for that person. Also, please, squash all the patches into one and force-push. We do not do merges, rebase only. |
@igsilya |
Hi, @GitHubGDong. Thanks for the update! There is still one issue with the patch:
As I said before, it should be one sign-off per person, so we need Signed-off-by tag from a Co-author as well. Also, nicknames in tags are not generally accepted. Real names should be used whenever possible, since it is a form of a legal agreement. |
…-1.23 Signed-off-by: gordonwwang <[email protected]> Signed-off-by: Xiaojie Chen <[email protected]> Co-authored-by: Xiaojie Chen <[email protected]>
@igsilya I updated the signature and now check the result as follows:
|
When the compilation dependency is groff-1.23, the following message is displayed in the compilation log, and the compilation fails: troff:vswitchd/ovs-vswitchd.8:1298: warning: cannot select font 'CW' make[1]: *** [Makefile:6761: manpage-check] Error 1 CW font was removed and and now groff warns about non-existent font: https://git.savannah.gnu.org/cgit/groff.git/commit/?id=d75ea8b2e283e37bd560e821fa4597065f36725f) Fix that by replacing CW with CR. CW supposed to be an alias of CR anyway. Submitted-at: #416 Co-authored-by: Xiaojie Chen <[email protected]> Signed-off-by: Xiaojie Chen <[email protected]> Signed-off-by: gordonwwang <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
When the compilation dependency is groff-1.23, the following message is displayed in the compilation log, and the compilation fails: troff:vswitchd/ovs-vswitchd.8:1298: warning: cannot select font 'CW' make[1]: *** [Makefile:6761: manpage-check] Error 1 CW font was removed and and now groff warns about non-existent font: https://git.savannah.gnu.org/cgit/groff.git/commit/?id=d75ea8b2e283e37bd560e821fa4597065f36725f) Fix that by replacing CW with CR. CW supposed to be an alias of CR anyway. Submitted-at: #416 Co-authored-by: Xiaojie Chen <[email protected]> Signed-off-by: Xiaojie Chen <[email protected]> Signed-off-by: gordonwwang <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
When the compilation dependency is groff-1.23, the following message is displayed in the compilation log, and the compilation fails: troff:vswitchd/ovs-vswitchd.8:1298: warning: cannot select font 'CW' make[1]: *** [Makefile:6761: manpage-check] Error 1 CW font was removed and and now groff warns about non-existent font: https://git.savannah.gnu.org/cgit/groff.git/commit/?id=d75ea8b2e283e37bd560e821fa4597065f36725f) Fix that by replacing CW with CR. CW supposed to be an alias of CR anyway. Submitted-at: #416 Co-authored-by: Xiaojie Chen <[email protected]> Signed-off-by: Xiaojie Chen <[email protected]> Signed-off-by: gordonwwang <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
When the compilation dependency is groff-1.23, the following message is displayed in the compilation log, and the compilation fails: troff:vswitchd/ovs-vswitchd.8:1298: warning: cannot select font 'CW' make[1]: *** [Makefile:6761: manpage-check] Error 1 CW font was removed and and now groff warns about non-existent font: https://git.savannah.gnu.org/cgit/groff.git/commit/?id=d75ea8b2e283e37bd560e821fa4597065f36725f) Fix that by replacing CW with CR. CW supposed to be an alias of CR anyway. Submitted-at: #416 Co-authored-by: Xiaojie Chen <[email protected]> Signed-off-by: Xiaojie Chen <[email protected]> Signed-off-by: gordonwwang <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
When the compilation dependency is groff-1.23, the following message is displayed in the compilation log, and the compilation fails: troff:vswitchd/ovs-vswitchd.8:1298: warning: cannot select font 'CW' make[1]: *** [Makefile:6761: manpage-check] Error 1 CW font was removed and and now groff warns about non-existent font: https://git.savannah.gnu.org/cgit/groff.git/commit/?id=d75ea8b2e283e37bd560e821fa4597065f36725f) Fix that by replacing CW with CR. CW supposed to be an alias of CR anyway. Submitted-at: #416 Co-authored-by: Xiaojie Chen <[email protected]> Signed-off-by: Xiaojie Chen <[email protected]> Signed-off-by: gordonwwang <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
Thanks! Applied as commit 0945e1a. Also backported to all branches down to 2.17. |
When the compilation dependency is groff-1.23, the following message is displayed in the compilation log, and the compilation fails: troff:vswitchd/ovs-vswitchd.8:1298: warning: cannot select font 'CW' make[1]: *** [Makefile:6761: manpage-check] Error 1 CW font was removed and and now groff warns about non-existent font: https://git.savannah.gnu.org/cgit/groff.git/commit/?id=d75ea8b2e283e37bd560e821fa4597065f36725f) Fix that by replacing CW with CR. CW supposed to be an alias of CR anyway. Submitted-at: openvswitch#416 Co-authored-by: Xiaojie Chen <[email protected]> Signed-off-by: Xiaojie Chen <[email protected]> Signed-off-by: gordonwwang <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
When the compilation dependency is groff-1.23, the following message is displayed in the compilation log, and the compilation fails:
The full build log is here:https://build.stream.opencloudos.tech/kojifiles/work/tasks/5893/35893/build.log
Install groff-1.23.0 and perform the make operation on the Makefile.
I found this problem during the %build process when compiling openvswitch.spec.
I check submitted records of groff (https://git.savannah.gnu.org/cgit/groff.git/commit/?id=d75ea8b2e283e37bd560e821fa4597065f36725f), and found out they removed the "CW" font.
openvswitch is still using "CW" here, so I think it needs to be tweaked here. You can substitute ".ft CR" or ".ft R", depending on which font you want to use.
I temporarily use ".ft R "here. If you need, I can adjust my code.