Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
master
-
None
Description
In https://testresults.qt.io/logs/qt/qtbase/cef8ac635c9117991509cabf39c92216ee106405/LinuxUbuntu_22_04x86_64QNXQNX_710x86_64GCCqtci-linux-Ubuntu-22.04-x86_64-51-2282e8UseConfigure/e84c03e05ff94c9559abc9314f654d9c0f05693a/build_1690284720/log.txt.gz, the CI bot failed to find the error message. The error message is a few hundred lines up from the bottom:
FAILED: tests/auto/corelib/kernel/qeventloop/tst_qeventloop : && /opt/qnx710/host/linux/x86_64/usr/bin/q++ -Vgcc_ntox86_64 -Wc,-isysroot,/opt/qnx710/target/qnx7 -lang-c++ -g -DNDEBUG -g -DNDEBUG -O2 -fPIE -pie tests/auto/corelib/kernel/qeventloop/CMakeFiles/tst_qeventloop.dir/tst_qeventloop_autogen/mocs_compilation.cpp.o tests/auto/corelib/kernel/qeventloop/CMakeFiles/tst_qeventloop.dir/tst_qeventloop.cpp.o -o tests/auto/corelib/kernel/qeventloop/tst_qeventloop -Wl,-rpath,/home/qt/work/install/target/lib /home/qt/work/install/target/lib/libQt6Test.so.6.6.0 /home/qt/work/install/target/lib/libQt6Network.so.6.6.0 -lsocket /home/qt/work/install/target/lib/libQt6Core.so.6.6.0 && : /opt/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-ld: /home/qt/work/install/target/lib/libQt6Network.so.6.6.0: undefined reference to `__res_nmkquery'
Please capture those errors. This took me over 24 hours of trying different things to realise what the problem was.
Suggestion: look for Ninja's "FAILED:" label and extract until the next line starting with "[" as the output as candidate.