Summary: | qt5-core: qconfig.h missing include headerQtCore/modules/qconfig-multimedia.h | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Roger Leigh <rleigh> |
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | ||
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Roger Leigh
2018-01-12 09:02:58 UTC
Looking in more detail at qconfig-modules, the contents looks very wrong. Note the repetition of all the includes several times. They are all present except for qtconfig-multimedia.h. $ grep include /usr/local/include/qt5/QtCore/qconfig-modules.h #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-dbus.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-network.h> #include <QtCore/modules/qconfig-widgets.h> #include <QtCore/modules/qconfig-quick.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-opengl.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-concurrent.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-dbus.h> #include <QtCore/modules/qconfig-network.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-widgets.h> #include <QtCore/modules/qconfig-quick.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-opengl.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-concurrent.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-network.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-quick.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-widgets.h> #include <QtCore/modules/qconfig-opengl.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-dbus.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-dbus.h> #include <QtCore/modules/qconfig-network.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-widgets.h> #include <QtCore/modules/qconfig-quick.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-opengl.h> #include <QtCore/modules/qconfig-concurrent.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-widgets.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-network.h> #include <QtCore/modules/qconfig-dbus.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-widgets.h> #include <QtCore/modules/qconfig-quick.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-opengl.h> #include <QtCore/modules/qconfig-concurrent.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-network.h> #include <QtCore/modules/qconfig-dbus.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-widgets.h> #include <QtCore/modules/qconfig-quick.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-opengl.h> #include <QtCore/modules/qconfig-concurrent.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-network.h> #include <QtCore/modules/qconfig-dbus.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-widgets.h> #include <QtCore/modules/qconfig-quick.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-opengl.h> #include <QtCore/modules/qconfig-concurrent.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-network.h> #include <QtCore/modules/qconfig-dbus.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-widgets.h> #include <QtCore/modules/qconfig-quick.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-opengl.h> #include <QtCore/modules/qconfig-concurrent.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-network.h> #include <QtCore/modules/qconfig-dbus.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-widgets.h> #include <QtCore/modules/qconfig-quick.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-opengl.h> #include <QtCore/modules/qconfig-concurrent.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-network.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-dbus.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-widgets.h> #include <QtCore/modules/qconfig-quick.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-opengl.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-concurrent.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-multimedia.h> #include <QtCore/modules/qconfig-core.h> #include <QtCore/modules/qconfig-network.h> #include <QtCore/modules/qconfig-dbus.h> #include <QtCore/modules/qconfig-gui.h> #include <QtCore/modules/qconfig-widgets.h> #include <QtCore/modules/qconfig-quick.h> #include <QtCore/modules/qconfig-concurrent.h> #include <QtCore/modules/qconfig-printsupport.h> #include <QtCore/modules/qconfig-opengl.h> $ sort /usr/local/include/qt5/QtCore/qconfig-modules.h | uniq -c 10 #include <QtCore/modules/qconfig-concurrent.h> 18 #include <QtCore/modules/qconfig-core.h> 11 #include <QtCore/modules/qconfig-dbus.h> 19 #include <QtCore/modules/qconfig-gui.h> 14 #include <QtCore/modules/qconfig-multimedia.h> 11 #include <QtCore/modules/qconfig-network.h> 11 #include <QtCore/modules/qconfig-opengl.h> 13 #include <QtCore/modules/qconfig-printsupport.h> 11 #include <QtCore/modules/qconfig-quick.h> 12 #include <QtCore/modules/qconfig-widgets.h> A commit references this bug: Author: rakuco Date: Fri Jan 12 22:53:03 UTC 2018 New revision: 458882 URL: https://svnweb.freebsd.org/changeset/ports/458882 Log: Start setting QT_DEFINES again. The machinery in bsd.qt.mk's qt-post-install target does not seem to account for the case of a module no longer defining QT_DEFINES: the lines in qconfig-modules.h including said module's qconfig-<module>.h will remain. We did that to qt5-multimedia in r458338, and it results in build errors if qt5-multimedia had been previously installed. Set QT_DEFINES again to a dummy value until we figure out a proper solution. PR: 225100 Changes: head/multimedia/qt5-multimedia/Makefile |