Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922098 - media-sound/musescore-4.0.2 doesn't compile ‘QGuiApplication’ has not been declared and 85 | int titleBarHeight = QApplication::style()->pixelMetric(QStyle::PM_TitleBarHeight); | ^~~~~
Summary: media-sound/musescore-4.0.2 doesn't compile ‘QGuiApplication’ has not been de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-14 09:51 UTC by Silvio
Modified: 2024-09-14 09:37 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,390.83 KB, text/plain)
2024-01-14 16:21 UTC, Silvio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio 2024-01-14 09:51:10 UTC
Here the error, soon build.log and emerge --info

 mu::uicomponents::DialogView::resolveScreen() const’:
/var/tmp/portage/media-sound/musescore-4.0.2/MuseScore-4.0.2/src/framework/uicomponents/view/dialogview.cpp:61:28: error: ‘QGuiApplication’ has not been declared
   61 |         mainWindowScreen = QGuiApplication::primaryScreen();
      |                            ^~~~~~~~~~~~~~~
/var/tmp/portage/media-sound/musescore-4.0.2/work/MuseScore-4.0.2/src/framework/uicomponents/view/dialogview.cpp: In member function ‘virtual void mu::uicomponents::DialogView::updatePosition()’:
/var/tmp/portage/media-sound/musescore-4.0.2/work/MuseScore-4.0.2/src/framework/uicomponents/view/dialogview.cpp:85:40: error: incomplete type ‘QApplication’ used in nested name specifier
   85 |     int titleBarHeight = QApplication::style()->pixelMetric(QStyle::PM_TitleBarHeight);
      |                                        ^~~~~


Reproducible: Always
Comment 1 Silvio 2024-01-14 16:21:06 UTC
Created attachment 882275 [details]
build.log
Comment 2 Silvio 2024-01-14 16:21:18 UTC
emerge --info
Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.38-r9, 6.6.8-gentoo x86_64)
=================================================================
System uname: Linux-6.6.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-8565U_CPU_@_1.80GHz-with-glibc2.38
KiB Mem:    16238472 total,   7257064 free
KiB Swap:   16777212 total,  15654908 free
Timestamp of repository gentoo: Sat, 13 Jan 2024 11:00:01 +0000
Head commit of repository gentoo: bafae16c1d86a4da14ddbbfc588bc9cf7cda4fb0
Head commit of repository jgenco: 8fdb39feebe7c861382702e1fba68eaa156f23b4

Timestamp of repository nelson-graca: Wed, 10 Jan 2024 11:18:31 +0000
Head commit of repository nelson-graca: ededf6b16fa98348fb26f8288ef3a7d8bd2950cd

Timestamp of repository rion: Wed, 10 Jan 2024 11:18:22 +0000
Head commit of repository rion: 12e53590451144e38d4ba376ae0f052526715e99

Timestamp of repository steam-overlay: Wed, 10 Jan 2024 11:18:22 +0000
Head commit of repository steam-overlay: 5a5cfb1e6df6deb54c87a2f3ed61d85b2b849d68

sh bash 5.2_p21-r2
ld ld di GNU (Gentoo 2.41 p4) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21-r2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust:             1.74.1::gentoo
dev-util/cmake:            3.28.1-r1::gentoo
dev-util/meson:            1.3.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             11.4.1_p20231214::gentoo, 13.2.1_p20231216::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r2::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
sys-libs/libselinux:       3.5-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

jgenco
    location: /var/db/repos/jgenco
    sync-type: git
    sync-uri: https://github.com/jgenco/jgenco-overlay
    masters: gentoo
    volatile: False

local
    location: /usr/portage.local
    masters: gentoo
    volatile: True

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    volatile: False

nelson-graca
    location: /var/db/repos/nelson-graca
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/nelson-graca.git
    masters: gentoo
    volatile: False

rion
    location: /var/db/repos/rion
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/rion.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="it en it_IT en_US"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dri3 dts dvd dvdr elogind encode exif ffmpeg fftw flac fortran gdbm gif gles2 gpm gtk gui hidpi iconv icu id3tag ipv6 javafx jpeg kde kdesu kwallet lcms libinput libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls ntfs objc ogg opengl openmp opus pam pango pcre pcsc-lite pdf pipewire plasma png policykit ppds pulseaudio python qml qt5 readline s3tc samba screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust theora tiff touchpad truetype udev udisks unicode upower usb uxa v4l vaapi vdpau vorbis vpx vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid xvmc zlib" ABI_X86="64 32" ADA_TARGET="gnat_2021" ALSA_CARDS="snd_hda_intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3 glamor" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="joystick wacom synaptics evdev libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_7 python3_8" RUBY_TARGETS="ruby31 ruby23 ruby25 ruby26" SANE_BACKENDS="*" VIDEO_CARDS="intel i965 i915 nvidia vesa v4l v4l2 modesetting fbdev iris" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 3 Silvio 2024-01-20 10:43:36 UTC
Any news?
Comment 4 Larry the Git Cow gentoo-dev 2024-08-04 11:16:08 UTC
The bug has been closed via the following commit(s):

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

commit 8ca909496214ef0f4b7bc78eee1876100fc61caf
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-08-04 11:15:47 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-08-04 11:16:04 +0000

    media-sound/musescore: dropped obsolete 4.0.2-r1
    
    Closes: https://bugs.gentoo.org/922327
    Closes: https://bugs.gentoo.org/922098
    Closes: https://bugs.gentoo.org/921963
    Closes: https://bugs.gentoo.org/909150
    Closes: https://bugs.gentoo.org/908480
    Closes: https://bugs.gentoo.org/908481
    Closes: https://bugs.gentoo.org/908482
    Closes: https://bugs.gentoo.org/907956
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/musescore/Manifest                     |   1 -
 .../files/musescore-4.0.2-unbundle-deps.patch      | 121 ------------------
 .../musescore-4.0.2-uncompressed-man-pages.patch   |  29 -----
 media-sound/musescore/musescore-4.0.2-r1.ebuild    | 139 ---------------------
 4 files changed, 290 deletions(-)