Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719308 - media-video/vlc-9999[qt5] w/ Qt 5.15: plugins.cpp:1167:22: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
Summary: media-video/vlc-9999[qt5] w/ Qt 5.15: plugins.cpp:1167:22: error: aggregate ‘...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qt-5.15
  Show dependency tree
 
Reported: 2020-04-24 22:13 UTC by cyrillic
Modified: 2020-05-30 08:08 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.xz,50.70 KB, application/x-xz)
2020-04-24 22:18 UTC, cyrillic
Details
vlc-4.0.0-qt-5.15.patch (vlc-4.0.0-qt-5.15.patch,359 bytes, patch)
2020-04-24 23:58 UTC, cyrillic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cyrillic 2020-04-24 22:13:04 UTC
media-video/vlc-9999[qt5] fails to compile with Qt 5.15.0 beta3 or beta4 , but compiles fine with Qt 5.14

Reproducible: Always

Actual Results:  
gui/qt/dialogs/plugins/plugins.cpp: In member function ‘virtual void AddonItemDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’:
gui/qt/dialogs/plugins/plugins.cpp:1167:22: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined



# emerge --info
Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.3.0, glibc-2.31-r2, 5.7.0-050700rc2-lowlatency x86_64)
=================================================================
System uname: Linux-5.7.0-050700rc2-lowlatency-x86_64-AMD_Ryzen_Threadripper_2970WX_24-Core_Processor-with-gentoo-2.7
KiB Mem:    65892048 total,  58875756 free
KiB Swap:          0 total,         0 free
Head commit of repository qt: 4e8e5fef694482ada7f984cd0757778a2f0bce25

Head commit of repository gentoo: c5ca3930413e85a54529c2f5d2ddbf0ebaa89574

sh bash 5.0_p16
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash:          5.0_p16::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.2::gentoo
dev-lang/python:          2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/cmake:           3.17.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r2::gentoo
Repositories:

newstuff
    location: /mnt/repos/newstuff
    masters: gentoo
    priority: -1030
    eclass-overrides: fixes

qt
    location: /mnt/repos/qt
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: -1020
    eclass-overrides: fixes

gnomelive
    location: /mnt/repos/gnomelive
    masters: gentoo
    priority: -1010
    eclass-overrides: fixes

gentoo
    location: /mnt/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000
    eclass-overrides: fixes

crossdev
    location: /mnt/repos/crossdev
    masters: gentoo
    eclass-overrides: fixes

fixes
    location: /mnt/repos/fixes
    masters: gentoo
    priority: 10
    eclass-overrides: fixes

Installed sets: @clang, @system
ACCEPT_KEYWORDS="* amd64 ~*"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/mnt/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j48"
PKGDIR="/var/tmp/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="/tmp"
USE="X a52 aac acl alsa amd64 berkdb bluetooth bluray boost brotli bzip2 cairo caps cdr colord cpudetection cracklib css cups curl custom-cflags cxx dbus drm dts dvd eds egl encode exif expat fbcon ffmpeg flac flickr fontconfig gdbm gif glamor glib gnome gnome-keyring gpm graphite gssapi gstreamer gtk gtk3 harfbuzz ibus icu imagemagick introspection ipv6 jpeg kmod kms lcms libass libinput libnotify libsamplerate lzma mp3 nautilus ncurses networkmanager nls nptl nss numa ogg openexr opengl openmp openssl opus orc pam pango pcre pdf png policykit postproc postscript pulseaudio python qml readline samba speex spell split-usr ssl ssp svg systemd tcl theora threads tiff tk tools tracker truetype udev unicode upnp-av usb user-session utils v4l vala vorbis vpx vulkan wayland webp x264 x265 xcb xmp xscreensaver xv xvmc zlib zstd" ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" CURL_SSL="nss" ELIBC="glibc" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en" LLVM_TARGETS="AMDGPU BPF X86" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu intel nouveau radeon radeonsi"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 cyrillic 2020-04-24 22:18:01 UTC
Created attachment 634446 [details]
build.log
Comment 2 Andreas Sturmlechner gentoo-dev 2020-04-24 22:24:54 UTC
vlc-9999 is very broken anyway as far as I am aware.

Both 3.0.8 and 3.0.9999 are patched to build successfully against Qt 5.15.
Comment 3 Andreas Sturmlechner gentoo-dev 2020-04-24 22:25:51 UTC
You can help by checking if upstream is aware of that and if not, file that bug.
Comment 4 cyrillic 2020-04-24 23:22:35 UTC
(In reply to Andreas Sturmlechner from comment #2)
> Both 3.0.8 and 3.0.9999 are patched to build successfully against Qt 5.15.

Thanks for the tip. I was not paying attention when you added that patch.
Comment 5 cyrillic 2020-04-24 23:58:19 UTC
Created attachment 634452 [details, diff]
vlc-4.0.0-qt-5.15.patch

vlc-3.0.8-qt-5.15.patch does not apply cleanly to vlc-9999 , but when I saw how simple the patch was, I made one that does work.

I also needed to add dev-qt/qtquickcontrols2:5 to RDEPEND
Comment 6 Andreas Sturmlechner gentoo-dev 2020-05-27 20:14:36 UTC
Was it fixed upstream meanwhile?
Comment 7 cyrillic 2020-05-29 22:33:17 UTC
Yes, upstream just fixed it.
https://git.videolan.org/?p=vlc.git;a=commit;h=0e88143ed2fe8eedfa4d3afdafcd0df901644c1d