I just re-emerged x11-libs/qt-core and the /usr/include/qt4/Gentoo/gentoo-qconfig.h file seems corrupted. Here are the contents of that file: #define QT_ZLIB #define QT_DBUS #define QT_DECLARATIVE #define QT_ACCESSIBILITY #define QT_CUPS #define QT_FONTCONFIG #define QT_IMAGEFORMAT_JPEG #define QT_IMAGEFORMAT_PNG #define QT_IMAGEFORMAT_MNG #define QT_IMAGEFORMAT_TIFF #define QT_SESSIONMANAGER #define QT_SHAPE #define QT_XCURSOR #define QT_XFIXES #define QT_XINERAMA #define QT_XINPUT #define QT_XKB #define QT_XRANDR #define QT_XRENDER #define QT_XSYNC #define QT_XVIDEO [Seat /org/freedeskto#define QT_OPENGL #define QT_SCRIPT #define QT_SVG #define QT_WEBKIT #define QT_XMLPATTERNS
I am raising the severity as it breaks all Qt4 reverse dependencies
Did you re-emerge *only* qt-core? What's the content of /usr/include/qt4/Gentoo/gentoo-qt-gui-qconfig.h and /usr/include/qt4/Gentoo/gentoo-qt-opengl-qconfig.h ?
Are there any suspicious files in /usr/include/qt4/Gentoo/ ?
/usr/include/qt4/Gentoo/gentoo-qt-gui-qconfig.h looks good. So does gentoo-qt-opengl-qconfig.h. Yes, I re-emerged only qt-core. I even removed that file and emerged qt-core again. Same problem. Should I rebuild all Qt modules? Any idea why this file is corrupted? I had a brief look at the qt4-build eclass changes but I couldn't find anything suspicious.
Davide(pesa)suggested to rebuild x11-libs/qt-multimedia and that fixed my problem. We concluded that this was due to a filesystem corruption. Closing as INVALID