Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923748 - media-sound/musescore-4.2.1-r1: src/importexport/musicxml/internal/musicxml/musicxmlsupport.cpp:343:9: error: invalid use of incomplete type ‘const class QXmlStreamReader’
Summary: media-sound/musescore-4.2.1-r1: src/importexport/musicxml/internal/musicxml/m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-02-03 23:13 UTC by Silvio
Modified: 2024-02-06 20:03 UTC (History)
7 users (show)

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


Attachments
build.log (buildlog.zip,49.72 KB, application/zip)
2024-02-03 23:14 UTC, Silvio
Details
Small patch adding missing #includes (qtxml.patch,972 bytes, patch)
2024-02-05 18:58 UTC, Bernd Feige
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio 2024-02-03 23:13:29 UTC
It fails to compile with this error:
FAILED: src/importexport/musicxml/CMakeFiles/iex_musicxml.dir/Unity/unity_1_cxx.cxx.o

# emerge --info

Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.38-r10, 6.7.1-gentoo-r1 x86_64)
=================================================================
System uname: Linux-6.7.1-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-8565U_CPU_@_1.80GHz-with-glibc2.38
KiB Mem:    16238424 total,   6284268 free
KiB Swap:   16777212 total,  16209660 free
Timestamp of repository steam-overlay: Wed, 31 Jan 2024 14:07:10 +0000
Head commit of repository steam-overlay: c872878fa2b1fec44985e08a3c20938221eb7ecf

Timestamp of repository rion: Sat, 27 Jan 2024 17:35:06 +0000
Head commit of repository rion: 4629dad171b814cf5780d3431506ddee3d659205

Head commit of repository jgenco: e03191e8e86f57a43c0844409fd8ec4368a30c6b

Timestamp of repository nelson-graca: Sat, 27 Jan 2024 17:35:18 +0000
Head commit of repository nelson-graca: 54f2b8292c6b400dbe215cccacc1c3cf6843518a

Timestamp of repository gentoo: Sat, 03 Feb 2024 07:00:01 +0000
Head commit of repository gentoo: 7761ac78d9d8ca732e86e70304e401edef29bfd2
Timestamp of repository kzd: Fri, 02 Feb 2024 06:33:13 +0000
Head commit of repository kzd: 9e3cd99f09bd96a0e94c35915a21621bc7882235

sh bash 5.2_p26
ld ld di GNU (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.2::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1-r1::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
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 17.0.6::gentoo
sys-devel/gcc:             12.3.1_p20240112::gentoo, 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
sys-libs/libselinux:       3.6::gentoo
Repositories:

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

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

jgenco
    location: /var/db/repos/jgenco
    sync-type: git
    sync-uri: https://github.com/jgenco/jgenco-overlay
    masters: gentoo
    priority: -1002
    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
    priority: -1001
    volatile: False

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

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

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

localrepo
    location: /var/db/repos/localrepo
    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



Reproducible: Always
Comment 1 Silvio 2024-02-03 23:14:47 UTC
Created attachment 884158 [details]
build.log
Comment 2 Adrian Bassett 2024-02-04 17:06:43 UTC
(In reply to Silvio from comment #1)
> Created attachment 884158 [details]
> build.log

This fails for me when rebuilding musescore after the upgrade of dev-libs/tinyxml2 from 9.0.0-r1 to 10.0.0
Comment 3 Xavier Miller 2024-02-04 18:06:52 UTC
(In reply to Adrian Bassett from comment #2)
> (In reply to Silvio from comment #1)
> > Created attachment 884158 [details]
> > build.log
> 
> This fails for me when rebuilding musescore after the upgrade of
> dev-libs/tinyxml2 from 9.0.0-r1 to 10.0.0

The tinyxml2 version bump forced MuseScore to rebuild, but the error happens also with tinyxml2-9 (same error message)

The error seems related to QtXml, which has also been updated recently.
Comment 4 Adrian Bassett 2024-02-04 20:08:29 UTC
(In reply to Xavier Miller from comment #3)
> (In reply to Adrian Bassett from comment #2)
> > (In reply to Silvio from comment #1)
> > > Created attachment 884158 [details]
> > > build.log
> > 
> > This fails for me when rebuilding musescore after the upgrade of
> > dev-libs/tinyxml2 from 9.0.0-r1 to 10.0.0
> 
> The tinyxml2 version bump forced MuseScore to rebuild, but the error happens
> also with tinyxml2-9 (same error message)
> 
> The error seems related to QtXml, which has also been updated recently.

OK, I hadn't experienced that;  obviously hadn't rebuilt MuseScore in a while (although it was otherwise up-to-date).
Comment 5 Bernd Feige 2024-02-05 18:58:28 UTC
Created attachment 884304 [details, diff]
Small patch adding missing #includes

Got it to compile by adding #include's in two files.
Since all includes refer to QtCore, I'm not sure about the relationship to a qtxml upgrade. Maybe default #includes were tightened on the Qt side?
Comment 6 Xavier Miller 2024-02-05 20:47:02 UTC
(In reply to Bernd Feige from comment #5)
> Created attachment 884304 [details, diff] [details, diff]
> Small patch adding missing #includes
> 
> Got it to compile by adding #include's in two files.
> Since all includes refer to QtCore, I'm not sure about the relationship to a
> qtxml upgrade. Maybe default #includes were tightened on the Qt side?

Thank you, this fixes for me :-)
Comment 7 Jason A. Donenfeld gentoo-dev 2024-02-06 19:52:13 UTC
Sorry I didn't see this prior to fixing on my own. But fixed now:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=178e455e0d340ab8b4b79273a80acde620df6653