generatorrunner failed to build from source in Fedora rawhide/f30 https://koji.fedoraproject.org/koji/taskinfo?taskID=32386512 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Please fix generatorrunner at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, generatorrunner will be orphaned. Before branching of Fedora 31, generatorrunner will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
Created attachment 1530089 [details] build.log file build.log too big, will only attach last 1024 bytes
Created attachment 1530090 [details] root.log file root.log too big, will only attach last 1024 bytes
Created attachment 1530091 [details] state.log
Here's the test output: 2/2 Testing: dummygentest 2/2 Test: dummygentest Command: "/builddir/build/BUILD/generatorrunner-0.6.16/x86_64-redhat-linux-gnu/tests/test_generator/dummygentest" Directory: /builddir/build/BUILD/generatorrunner-0.6.16/x86_64-redhat-linux-gnu/tests/test_generator "dummygentest" start time: Feb 14 08:43 CST Output: ---------------------------------------------------------- ********* Start testing of DummyGenTest ********* Config: Using QTest library 4.8.7, Qt 4.8.7 PASS : DummyGenTest::initTestCase() You must specify a Type System file. FAIL! : DummyGenTest::testCallGenRunnerWithFullPathToDummyGenModule() Compared values are not the same Actual (result): 1 Expected (0): 0 Loc: [/builddir/build/BUILD/generatorrunner-0.6.16/tests/test_generator/dummygentest.cpp(54)] generatorrunner: Error loading generator-set plugin: dummy_generator module not found. FAIL! : DummyGenTest::testCallGenRunnerWithNameOfDummyGenModule() Compared values are not the same Actual (result): 1 Expected (0): 0 Loc: [/builddir/build/BUILD/generatorrunner-0.6.16/tests/test_generator/dummygentest.cpp(72)] generatorrunner: Error loading generator-set plugin: dummy_generator module not found. FAIL! : DummyGenTest::testCallDummyGeneratorExecutable() Compared values are not the same Actual (result): 1 Expected (0): 0 Loc: [/builddir/build/BUILD/generatorrunner-0.6.16/tests/test_generator/dummygentest.cpp(89)] generatorrunner: Error loading generator-set plugin: dummy_generator module not found. FAIL! : DummyGenTest::testProjectFileArgumentsReading() Compared values are not the same Actual (result): 1 Expected (0): 0
I suspect this is more of a change in CMake and not related to GCC 9.0.X. The error suggests that it can't find the "module" dummy_generator.so My guess the fix needs to be implemented in the file "tests/test_generator/CMakeLists.txt" somewhere in the following section: set(ENV_PATH "${generatorrunner_BINARY_DIR}${PATH_SEP}${CMAKE_CURRENT_BINARY_DIR}${PATH_SEP}$ENV{PATH}${PATH_SEP}${APIEXTRACTOR_LIBRARY_DIRS}") set(ENV_QT_PLUGIN_PATH "${CMAKE_CURRENT_BINARY_DIR}${PATH_SEP}$ENV{QT_PLUGIN_PATH}") if(WIN32) string(REPLACE "\\;" ";" ENV_PATH "${ENV_PATH}") string(REPLACE ";" "\\;" ENV_PATH "${ENV_PATH}") string(REPLACE "\\;" ";" ENV_QT_PLUGIN_PATH "${ENV_QT_PLUGIN_PATH}") string(REPLACE ";" "\\;" ENV_QT_PLUGIN_PATH "${ENV_QT_PLUGIN_PATH}") endif() macro(m_add_test testname) if(CMAKE_VERSION VERSION_LESS 2.8) add_test(${testname} ${CMAKE_COMMAND} -DTEST=${testname} -DWORKDIR=${CMAKE_CURRENT_BINARY_DIR} -DENV_PATH=${ENV_PATH} -DENV_QT_PLUGIN_PATH=${ENV_QT_PLUGIN_PATH} -P ${CMAKE_CURRENT_SOURCE_DIR}/run_test.cmake) else() add_test(${testname} ${testname}) set_property(TEST ${testname} PROPERTY ENVIRONMENT "PATH=${ENV_PATH}" "QT_PLUGIN_PATH=${ENV_QT_PLUGIN_PATH}") endif() endmacro()
generatorrunner-0.6.16-17.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-864ab7449e
generatorrunner-0.6.16-17.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-864ab7449e
generatorrunner-0.6.16-17.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.