When emerging media-sound/musescore-4.2.1 without dev-cpp/gtest-1.13.0 installed, the build process will fail, with the following message: In file included from /var/tmp/portage/media-sound/musescore-4.2.1/work/MuseScore-4.2.1/src/framework/global/logremover.cpp:22, from /var/tmp/portage/media-sound/musescore-4.2.1/work/MuseScore-4.2.1_build/src/framework/global/CMakeFiles/global.dir/Unity/unity_0_cxx.cxx:25: /var/tmp/portage/media-sound/musescore-4.2.1/work/MuseScore-4.2.1/src/framework/global/logremover.h:25:10: fatal error: gtest/gtest_prod.h: No such file or directory 25 | #include <gtest/gtest_prod.h> | ^~~~~~~~~~~~~~~~~~~~ To workaround this, install gtest before emerging musescore. Removing gtest after installation doesn't seem to affect the usage of program. Reproducible: Always Steps to Reproduce: 1. Make sure dev-cpp/gtest is not installed 2. emerge media-sound/musescore Actual Results: Compilation fails (see attatchments) Expected Results: Compilation success without any problems
Created attachment 883066 [details] emerge --info '=media-sound/musescore-4.2.1::gentoo'
Created attachment 883067 [details] emerge -pqv '=media-sound/musescore-4.2.1::gentoo'
Created attachment 883068 [details] build.log see line 848 and line 857 for the exact error occured
*** This bug has been marked as a duplicate of bug 922748 ***