| Summary: | moc broken -- can't compile any Qt program (including Qt itself) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Tobias Leupold <tl> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
KGeoTag build console output
KPhotoAlbum build console output dev-qt/qtcore build log |
||
|
Description
Tobias Leupold
2022-07-22 16:29:47 UTC
Created attachment 793229 [details]
KGeoTag build console output
Created attachment 793232 [details]
KPhotoAlbum build console output
Created attachment 793235 [details]
dev-qt/qtcore build log
Even if I try to compile Qt directly from sources, without any patches, it fails as soon as moc is involved (the moc Qt builds itself during the build process): make[2]: Entering directory '/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/build/src/corelib' /home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/build/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQFLOAT16_INCLUDE_FAST -DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 --include /home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/build/src/corelib/.moc/moc_predefs.h -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/mkspecs/linux-g++ -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/src/corelib -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/src/3rdparty/zlib/src -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/build/src/corelib/global -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/src/3rdparty/md5 -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/src/3rdparty/md4 -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/src/3rdparty/sha3 -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/src/3rdparty/harfbuzz/src -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/src/3rdparty/forkfd -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/src/3rdparty/tinycbor/src -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/src/corelib/.rcc -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/include -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/include/QtCore -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/build/include -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/build/include/QtCore -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/include/QtCore/5.15.5 -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/include/QtCore/5.15.5/QtCore -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/build/include/QtCore/5.15.5 -I/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/build/include/QtCore/5.15.5/QtCore -I. -I/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11 -I/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu -I/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include-fixed -I/usr/include --output-json /home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/src/corelib/animation/qabstractanimation.h -o .moc/moc_qabstractanimation.cpp make[2]: *** [Makefile:10877: .moc/moc_qabstractanimation.cpp] Killed make[2]: Leaving directory '/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/build/src/corelib' make[1]: *** [Makefile:223: sub-corelib-make_first] Error 2 make[1]: Leaving directory '/home/tobias/tmp/1/qtbase-everywhere-src-5.15.5/build/src' make: *** [Makefile:51: sub-src-make_first] Error 2 Could you share dmesg output? It's being killed by something but I have no idea what. Now I'm about to lose my faith. I rebooted my machine and the error was gone. I never ever had something like this in my 18 years of gentoo until now. So ... whatever. Sorry for the noise. But I simply don't get this ... (In reply to Tobias Leupold from comment #6) > Now I'm about to lose my faith. I rebooted my machine and the error was gone. > > I never ever had something like this in my 18 years of gentoo until now. > > So ... whatever. Sorry for the noise. But I simply don't get this ... This sounds a lot like you might have failing memory. I recommend doing a memtest. I did so, and memtest yielded no errors. Very strange. |