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

Bug#1059964: qmenu: FTBFS: qmenu.c compile failed(error: format not a string literal and no format arguments [-Werror=format-security])



Source: qmenu
Version: 5.0.2-2
Severity: normal
Tags: FTBFS, patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org

Dear qmenu Maintainer,

The qmenu compile failed on riscv64 caused by missing parameters in function " prtintw":
```
qmenu.c:2266:17: error: format not a string literal and no format arguments [-Werror=format-security]
```
The buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=qmenu&arch=riscv64&ver=5.0.2-2&stamp=1690573462&raw=0

My solution to this issue:
add a patch to complete the parameter of "printw".
The patch is in the attachment.

This solution has succeed in local, please let me know if here need more tests.

Gui-Yue
Best Regards

Attachment: fix_build_failure_on_riscv64.debdiff
Description: Binary data


Reply to: