Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922748 - media-sound/musescore-4.2.1-r2 - /.../logremover.h: fatal error: gtest/gtest_prod.h: No such file or directory
Summary: media-sound/musescore-4.2.1-r2 - /.../logremover.h: fatal error: gtest/gtest_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PullRequest
: 922881 (view as bug list)
Depends on:
Blocks: 926328
  Show dependency tree
 
Reported: 2024-01-23 08:12 UTC by Toralf Förster
Modified: 2024-04-13 07:27 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.46 KB, text/plain)
2024-01-23 08:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,77.61 KB, text/plain)
2024-01-23 08:12 UTC, Toralf Förster
Details
environment (environment,114.44 KB, text/plain)
2024-01-23 08:12 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.15 KB, application/x-xz)
2024-01-23 08:12 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.30 KB, application/x-xz)
2024-01-23 08:12 UTC, Toralf Förster
Details
media-sound:musescore-4.2.0:20240122-233824.log (media-sound:musescore-4.2.0:20240122-233824.log,137.63 KB, text/plain)
2024-01-23 08:12 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,146.40 KB, text/plain)
2024-01-23 08:12 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.83 KB, application/x-xz)
2024-01-23 08:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-01-23 08:12:22 UTC
too long lines were shrinked:

[20/783] cd /var/tmp/portage/media-sound/musescore-4.2.0/work/MuseScore-4.2.0_build/src/framework/fonts && /usr/lib64/qt5/bin/rcc --name fonts_FreeSerif --pass 1 --output /var/tmp/portage/media-sound/musescore-4.2.0/work/MuseScore-4.2.0_build/src/framework/fonts/qrc_fonts_FreeSeriftmp.cpp /var/tmp/p
[21/783] /usr/bin/x86_64-pc-linux-gnu-g++ -DKORS_LOGGER_QT_SUPPORT -DKORS_PROFILER_ENABLED -DMUE_BUILD_ACCESSIBILITY_MODULE -DMUE_BUILD_APPSHELL_MODULE -DMUE_BUILD_AUDIO_MODULE -DMUE_BUILD_AUTOBOT_MODULE -DMUE_BUILD_BRAILLE_MODULE -DMUE_BUILD_CLOUD_MODULE -DMUE_BUILD_CONVERTER_MODULE -DMUE_BUILD_DIA
FAILED: src/framework/global/CMakeFiles/global.dir/Unity/unity_3_cxx.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DKORS_LOGGER_QT_SUPPORT -DKORS_PROFILER_ENABLED -DMUE_BUILD_ACCESSIBILITY_MODULE -DMUE_BUILD_APPSHELL_MODULE -DMUE_BUILD_AUDIO_MODULE -DMUE_BUILD_AUTOBOT_MODULE -DMUE_BUILD_BRAILLE_MODULE -DMUE_BUILD_CLOUD_MODULE -DMUE_BUILD_CONVERTER_MODULE -DMUE_BUILD_DIAGNOSTICS_
In file included from /var/tmp/portage/media-sound/musescore-4.2.0/work/MuseScore-4.2.0/src/framework/global/globalmodule.cpp:28,
                 from /var/tmp/portage/media-sound/musescore-4.2.0/work/MuseScore-4.2.0_build/src/framework/global/CMakeFiles/global.dir/Unity/unity_3_cxx.cxx:13:
/var/tmp/portage/media-sound/musescore-4.2.0/work/MuseScore-4.2.0/src/framework/global/logremover.h:25:10: fatal error: gtest/gtest_prod.h: No such file or directory
   25 | #include <gtest/gtest_prod.h>
      |          ^~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20240121-171505

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.6 linux/amd64

  HEAD of ::gentoo
commit f5e58d6c91aba342237e4b6c3a2cde456ce27d2f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 22 21:35:19 2024 +0000

    2024-01-22 21:35:19 UTC

emerge -qpvO media-sound/musescore
[ebuild  N    ] media-sound/musescore-4.2.0  USE="-test -video"
Comment 1 Toralf Förster gentoo-dev 2024-01-23 08:12:23 UTC
Created attachment 882928 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-23 08:12:25 UTC
Created attachment 882929 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-01-23 08:12:26 UTC
Created attachment 882930 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-23 08:12:26 UTC
Created attachment 882931 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-23 08:12:27 UTC
Created attachment 882932 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-23 08:12:29 UTC
Created attachment 882933 [details]
media-sound:musescore-4.2.0:20240122-233824.log
Comment 7 Toralf Förster gentoo-dev 2024-01-23 08:12:31 UTC
Created attachment 882934 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-01-23 08:12:32 UTC
Created attachment 882935 [details]
temp.tar.xz
Comment 9 Agostino Sarubbo gentoo-dev 2024-01-24 16:16:01 UTC
ci has reproduced this issue with version 4.2.1 - Updating summary.
Comment 10 Xavier Miller 2024-01-24 18:19:28 UTC
compiles fine if dev-cpp/gtest is installed

This bug already happened before, see bug #907955
Comment 11 Ryan Wong 2024-01-25 05:35:02 UTC
*** Bug 922881 has been marked as a duplicate of this bug. ***
Comment 12 Agostino Sarubbo gentoo-dev 2024-01-25 07:44:19 UTC
ci has reproduced this issue with version 4.2.1-r1 - Updating summary.
Comment 13 Xavier Miller 2024-01-25 08:25:11 UTC
see comment of musescore-4.0.2-r1.ebuild: 

# dev-cpp/gtest is required even when tests are disabled!
DEPEND="
        ${RDEPEND}

        dev-cpp/gtest
"


but in 4.2:
DEPEND="
        ${RDEPEND}
        test? ( dev-cpp/gtest )
"

This is why it fails
Comment 14 Agostino Sarubbo gentoo-dev 2024-02-07 07:55:16 UTC
ci has reproduced this issue with version 4.2.1-r2 - Updating summary.
Comment 15 Silvio 2024-03-16 22:18:57 UTC
Any news?
Comment 16 Silvio 2024-04-06 10:21:55 UTC
Sorry but I don't understand why the package is not yet fixed as it seems to me that it is enough to add the dependency on

dev-cpp/gtest

let me know.
Comment 17 Larry the Git Cow gentoo-dev 2024-04-13 07:27:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d9464cb6477b35c364d0f8ab15fafb7c090e43c

commit 8d9464cb6477b35c364d0f8ab15fafb7c090e43c
Author:     Violet Purcell <vimproved@inventati.org>
AuthorDate: 2024-04-12 14:00:05 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-04-13 07:27:35 +0000

    media-sound/musescore: unconditionally BDEPEND on dev-cpp/gtest
    
    This was the case in 4.0.2-r1, but for some reason got dropped during
    the 4.2.1 bump.
    
    Closes: https://bugs.gentoo.org/922748
    Signed-off-by: Violet Purcell <vimproved@inventati.org>
    Closes: https://github.com/gentoo/gentoo/pull/36226
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/musescore/musescore-4.2.1-r2.ebuild | 3 ++-
 media-sound/musescore/musescore-9999.ebuild     | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)