Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922881 - media-sound/musescore-4.2.1: missing build dependency gtest
Summary: media-sound/musescore-4.2.1: missing build dependency gtest
Status: RESOLVED DUPLICATE of bug 922748
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-25 05:14 UTC by Ryan Wong
Modified: 2024-01-25 05:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=media-sound/musescore-4.2.1::gentoo' (file_922881.txt,9.22 KB, text/plain)
2024-01-25 05:16 UTC, Ryan Wong
Details
emerge -pqv '=media-sound/musescore-4.2.1::gentoo' (file_922881.txt,64 bytes, text/plain)
2024-01-25 05:18 UTC, Ryan Wong
Details
build.log (file_922881.txt,169.15 KB, text/plain)
2024-01-25 05:21 UTC, Ryan Wong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Wong 2024-01-25 05:14:54 UTC
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
Comment 1 Ryan Wong 2024-01-25 05:16:38 UTC
Created attachment 883066 [details]
emerge --info '=media-sound/musescore-4.2.1::gentoo'
Comment 2 Ryan Wong 2024-01-25 05:18:44 UTC
Created attachment 883067 [details]
emerge -pqv '=media-sound/musescore-4.2.1::gentoo'
Comment 3 Ryan Wong 2024-01-25 05:21:51 UTC
Created attachment 883068 [details]
build.log

see line 848 and line 857 for the exact error occured
Comment 4 Ryan Wong 2024-01-25 05:35:02 UTC

*** This bug has been marked as a duplicate of bug 922748 ***