Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704626 - media-gfx/opentoonz-1.3.0-r1 - In file included from .../work/opentoonz-1.3.0/toonz/sources/common/tfx/tfx.cpp:10: .../work/opentoonz-1.3.0/toonz/sources/include/tfxattributes.h:34:18: error: field ‘m_motionPoints’ has incomplete type ‘QList<TPointT<do...
Summary: media-gfx/opentoonz-1.3.0-r1 - In file included from .../work/opentoonz-1.3.0...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: otakuto.gentoo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-03 07:57 UTC by Anton Bernatskiy
Modified: 2020-01-08 06:48 UTC (History)
2 users (show)

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


Attachments
full build log (build.log.gz,29.23 KB, application/gzip)
2020-01-03 07:59 UTC, Anton Bernatskiy
Details
environment (environment.gz,29.24 KB, application/gzip)
2020-01-03 07:59 UTC, Anton Bernatskiy
Details
qt-5.13-fix.patch (qt-5.13-fix.patc,590 bytes, patch)
2020-01-08 06:47 UTC, Marco Genasci
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bernatskiy 2020-01-03 07:57:10 UTC
=media-gfx/opentoonz-1.3.0-r1 fails to build with stable Qt (5.13.2).

Reproducible: Always

Steps to Reproduce:
1. emerge =media-gfx/opentoonz-1.3.0-r1

Actual Results:  
Compilation fails with the following message:

...
[  8%] Building CXX object tnzbase/CMakeFiles/tnzbase.dir/__/common/tfx/tfx.cpp.o
cd /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0_build/tnzbase && /usr/bin/x86_64-pc-linux-gnu-g++ -DLINUX -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SHARED -DQT_WIDGETS_LIB -DTAPPTOOLS_EXPORTS -DTFX_EXPORTS -DTNZBASE_EXPORTS -DTNZ_LITTLE_ENDIAN=1 -DTPARAM_EXPORTS -DTTEST_EXPORTS -DTXSHEET_EXPORTS -Dtnzbase_EXPORTS -I/var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0_build/tnzbase -I/var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/tnzbase -I/var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/include -isystem /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/BEFORE -isystem /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/thirdparty/tiff-4.0.3/libtiff -isystem /usr/include/libusb-1.0 -isystem /usr/include/superlu -isystem /usr/include/libmypaint -isystem /usr/include/json-c -isystem /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/tnzbase/../common/flash -isystem /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/thirdparty/libusb/libusb-1.0.9/include -isystem /usr/include/SDL2 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtMultimedia   -DNDEBUG -Wwrite-strings -Wundef -Wmissing-declarations -O2 -pipe -march=core2 -msse2 -fpermissive -lstdc++ -std=c++11 -fPIC   -fPIC -std=gnu++11 -o CMakeFiles/tnzbase.dir/__/common/tfx/tfx.cpp.o -c /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/common/tfx/tfx.cpp
In file included from /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/common/tfx/tfx.cpp:10:
/var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/include/tfxattributes.h:34:18: error: field ‘m_motionPoints’ has incomplete type ‘QList<TPointT<double> >’
   34 |   QList<TPointD> m_motionPoints;
      |                  ^~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qglobal.h:1218,
                 from /usr/include/qt5/QtCore/qchar.h:43,
                 from /usr/include/qt5/QtCore/qstring.h:48,
                 from /usr/include/qt5/QtCore/QString:1,
                 from /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/include/tstream.h:13,
                 from /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/common/tfx/tfx.cpp:6:
/usr/include/qt5/QtCore/qtypeinfo.h:212:1: note: declaration of ‘class QList<TPointT<double> >’
  212 | Q_DECLARE_MOVABLE_CONTAINER(QList);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/common/tfx/tfx.cpp:10:
/var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/include/tfxattributes.h:60:39: error: ‘motionPoints’ has incomplete type
   60 |   void setMotionPoints(QList<TPointD> motionPoints) {
      |                        ~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qglobal.h:1218,
                 from /usr/include/qt5/QtCore/qchar.h:43,
                 from /usr/include/qt5/QtCore/qstring.h:48,
                 from /usr/include/qt5/QtCore/QString:1,
                 from /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/include/tstream.h:13,
                 from /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/common/tfx/tfx.cpp:6:
/usr/include/qt5/QtCore/qtypeinfo.h:212:1: note: declaration of ‘class QList<TPointT<double> >’
  212 | Q_DECLARE_MOVABLE_CONTAINER(QList);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/common/tfx/tfx.cpp:10:
/var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/include/tfxattributes.h:63:36: error: return type ‘class QList<TPointT<double> >’ is incomplete
   63 |   QList<TPointD> getMotionPoints() { return m_motionPoints; }
      |                                    ^


Error message points to incomplete definition of type QList<TPoint<double>> at /var/tmp/portage/portage/media-gfx/opentoonz-1.3.0-r1/work/opentoonz-1.3.0/toonz/sources/include/tfxattributes.h. The application compiles normally if the line "#include <QList>" is added to the top of this header.

$ emerge --info '=media-gfx/opentoonz-1.3.0-r1::gentoo'
Portage 2.3.79 (python 3.6.9-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.29-r7, 4.19.86-gentoo-iriomote x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.86-gentoo-iriomote-x86_64-AMD_FX-tm-8310_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:    16416336 total,   3078024 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 01 Jan 2020 07:30:01 +0000
Head commit of repository gentoo: e973ab39f5c06e4497b7e8766467ae5557194618
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            7.4.0-r2::gentoo, 9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -msse2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/tomoyo/conf /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core2 -msse2"
DISTDIR="/usr/portage/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 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://cosmos.illinois.edu/pub/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://cosmos.illinois.edu/pub/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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/portage"
USE="X aac acl alsa amd64 bash-completion berkdb bluetooth bzip2 cjk cli crypt cups cxx dbus djvu dri dvd dvdr ffmpeg flac fortran gdbm gif ibus iconv ipv6 jpeg jpeg2k kde libtirpc lm_sensors mmx mmx2 mp3 multilib ncurses nls nptl ogg opengl openmp pam pcre plasma png postscript pulseaudio readline samba sdl seccomp split-usr sse sse2 ssl ssse3 svg tcpd threads tiff truetype unicode usb v4l vdpau vorbis wavpack webm x264 xattr xinerama xv xvid zip zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev wacom joystick synaptics" KERNEL="linux" L10N="en ru ja zh-CN" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vesa nvidia modesetting radeon intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
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

$ emerge -pqv '=media-gfx/opentoonz-1.3.0-r1::gentoo'
[ebuild  N    ] media-gfx/opentoonz-1.3.0-r1
Comment 1 Anton Bernatskiy 2020-01-03 07:59:32 UTC
Created attachment 602352 [details]
full build log
Comment 2 Anton Bernatskiy 2020-01-03 07:59:55 UTC
Created attachment 602354 [details]
environment
Comment 3 Marco Genasci 2020-01-08 06:47:59 UTC
Created attachment 602768 [details, diff]
qt-5.13-fix.patch

Upstream bug https://github.com/opentoonz/opentoonz/pull/2665 fixed in 1.4 version