Re: BUG with 5.8.x and make xconfig

From: Ronald Warsow
Date: Thu Aug 20 2020 - 11:47:19 EST


On 20.08.20 13:33, Masahiro Yamada wrote:
On Thu, Aug 20, 2020 at 4:19 AM Ronald Warsow <rwarsow@xxxxxx> wrote:

...


I think you are using Qt4
(dnf install qt4-devel).

no, there is no qt4-devel in the Fedora repos:

rpm -qa|grep -i qt4

adwaita-qt4-1.1.3-2.fc32.x86_64



all qt relative currently installed, is this:

rpm -qa|grep -i qt|sort:


adwaita-qt4-1.1.3-2.fc32.x86_64
adwaita-qt5-1.1.3-2.fc32.x86_64
dbusmenu-qt-0.9.3-0.22.20160218.fc32.x86_64
gstreamer1-plugins-good-qt-1.16.2-2.fc32.x86_64
ibus-qt-1.3.3-24.fc32.x86_64
qt-4.8.7-55.fc32.x86_64
qt5-qtbase-5.14.2-5.fc32.x86_64
qt5-qtbase-common-5.14.2-5.fc32.noarch
qt5-qtbase-gui-5.14.2-5.fc32.x86_64
qt5-qtdeclarative-5.14.2-1.fc32.x86_64
qt5-qtmultimedia-5.14.2-1.fc32.x86_64
qt5-qtsvg-5.14.2-1.fc32.x86_64
qt5-qtwayland-5.14.2-4.fc32.x86_64
qt5-qtx11extras-5.14.2-1.fc32.x86_64
qt5-qtxmlpatterns-5.14.2-1.fc32.x86_64
qt5-srpm-macros-5.14.2-3.fc32.noarch
qt-common-4.8.7-55.fc32.noarch
qt-devel-4.8.7-55.fc32.x86_64
qt-settings-32.0-3.fc32.noarch
qt-x11-4.8.7-55.fc32.x86_64
quazip-qt5-0.7.6-6.fc32.x86_64
sni-qt-0.2.7-0.4.20170217.fc32.x86_64



If you install Qt5
(dnf install qt5-devel),
you will be able to do "make xconfig".

so I did dnf install qt5-devel


make xconfig runs now, but it gives:


UPD scripts/kconfig/qconf-cfg
HOSTCXX scripts/kconfig/qconf.o
scripts/kconfig/qconf.cc: In member function ‘void
ConfigInfoView::menuInfo()’:
scripts/kconfig/qconf.cc:1080:61: warning: ‘QString&
QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg()
or QTextStream instead [-Wdeprecated-declarations]
1080 | head += QString().sprintf("<a href=\"s%s\">", sym->name);
| ^
In file included from /usr/include/qt5/QtGui/qkeysequence.h:44,
from /usr/include/qt5/QtWidgets/qaction.h:44,
from /usr/include/qt5/QtWidgets/QAction:1,
from scripts/kconfig/qconf.cc:7:
/usr/include/qt5/QtCore/qstring.h:382:14: note: declared here
382 | QString &sprintf(const char *format, ...)
Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
scripts/kconfig/qconf.cc:1089:60: warning: ‘QString&
QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg()
or QTextStream instead [-Wdeprecated-declarations]
1089 | head += QString().sprintf("<a href=\"s%s\">", sym->name);
| ^
In file included from /usr/include/qt5/QtGui/qkeysequence.h:44,
from /usr/include/qt5/QtWidgets/qaction.h:44,
from /usr/include/qt5/QtWidgets/QAction:1,
from scripts/kconfig/qconf.cc:7:
/usr/include/qt5/QtCore/qstring.h:382:14: note: declared here
382 | QString &sprintf(const char *format, ...)
Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
scripts/kconfig/qconf.cc:1117:90: warning: ‘QString&
QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg()
or QTextStream instead [-Wdeprecated-declarations]
1117 | debug += QString().sprintf("defined at %s:%d<br><br>",
_menu->file->name, _menu->lineno);
|
^
In file included from /usr/include/qt5/QtGui/qkeysequence.h:44,
from /usr/include/qt5/QtWidgets/qaction.h:44,
from /usr/include/qt5/QtWidgets/QAction:1,
from scripts/kconfig/qconf.cc:7:
/usr/include/qt5/QtCore/qstring.h:382:14: note: declared here
382 | QString &sprintf(const char *format, ...)
Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
scripts/kconfig/qconf.cc: In member function ‘QString
ConfigInfoView::debug_info(symbol*)’:
scripts/kconfig/qconf.cc:1140:68: warning: ‘QString&
QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg()
or QTextStream instead [-Wdeprecated-declarations]
1140 | debug += QString().sprintf("prompt: <a href=\"m%s\">",
sym->name);
|
^
In file included from /usr/include/qt5/QtGui/qkeysequence.h:44,
from /usr/include/qt5/QtWidgets/qaction.h:44,
from /usr/include/qt5/QtWidgets/QAction:1,
from scripts/kconfig/qconf.cc:7:
/usr/include/qt5/QtCore/qstring.h:382:14: note: declared here
382 | QString &sprintf(const char *format, ...)
Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
scripts/kconfig/qconf.cc: In static member function ‘static void
ConfigInfoView::expr_print_help(void*, symbol*, const char*)’:
scripts/kconfig/qconf.cc:1215:59: warning: ‘QString&
QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg()
or QTextStream instead [-Wdeprecated-declarations]
1215 | *text += QString().sprintf("<a href=\"s%s\">", sym->name);
| ^
In file included from /usr/include/qt5/QtGui/qkeysequence.h:44,
from /usr/include/qt5/QtWidgets/qaction.h:44,
from /usr/include/qt5/QtWidgets/QAction:1,
from scripts/kconfig/qconf.cc:7:
/usr/include/qt5/QtCore/qstring.h:382:14: note: declared here
382 | QString &sprintf(const char *format, ...)
Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
MOC scripts/kconfig/qconf-moc.cc
HOSTCXX scripts/kconfig/qconf-moc.o
HOSTLD scripts/kconfig/qconf
scripts/kconfig/qconf Kconfig





I will consider what to do about this.



thanks Masahiro.


--
regards

Ronald