[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ui: fix potential compile error.

From: 潘睿
Subject: ui: fix potential compile error.
Date: Wed, 2 Sep 2020 03:04:24 +0000

We compiled the upstream qemu and result in this GEN code error:



GEN     ui/input-keymap-atset1-to-qcode.c

usage: keymap-gen [-h]



keymap-gen: error: invalid choice: 'glib2' (choose from 'code-map', 'code-table', 'name-map', 'name-table', 'code-docs', 'name-docs')



My environment:

1.     CentOS7 with Python 2.7.5

2.     upstream's keycodemapdb

3.     argparse 1.1


Root cause is my argparse and python version. But change the invoking order can adapt both new and old argparse.



Attachment: 0001-ui-fix-potential-compile-error.patch
Description: 0001-ui-fix-potential-compile-error.patch

reply via email to

[Prev in Thread] Current Thread [Next in Thread]