Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639736 - media-sound/Amarok 2.8.90-r4 - .../work/amarok-2.8.90_build/src/moc_AmarokEqualizerScript.cpp:141:68: error: invalid use of incomplete type ‘class QStringList’
Summary: media-sound/Amarok 2.8.90-r4 - .../work/amarok-2.8.90_build/src/moc_AmarokEqu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL:
Whiteboard:
Keywords:
: 639766 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-12-04 08:53 UTC by Steve Evans
Modified: 2017-12-06 20:53 UTC (History)
6 users (show)

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


Attachments
build log (build.log.bz2,22.39 KB, application/x-bzip)
2017-12-04 09:32 UTC, Steve Evans
Details
emerge --info (emerge.info,17.29 KB, text/plain)
2017-12-04 10:53 UTC, deepred
Details
build.log (build.log.bz2,34.65 KB, application/x-bzip)
2017-12-04 11:01 UTC, deepred
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Evans 2017-12-04 08:53:48 UTC
When building there are compile errors like this. The full build log is attached.

/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_AmarokEqualizerScript.cpp:141:68: error: invalid use of incomplete type ‘c
lass QStringList’
         case 3: *reinterpret_cast< QStringList*>(_v) = userPresets(); break;


Reproducible: Always

Steps to Reproduce:
1. Build amarok

Actual Results:  
Compile errors as described above.

Expected Results:  
Successful build.

Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-gentoo-2.4.1
KiB Mem:     8119316 total,    109984 free
KiB Swap:    2047996 total,   1445920 free
Timestamp of repository gentoo: Mon, 04 Dec 2017 07:15:01 +0000
Head commit of repository gentoo: c87195e4456ce3dba56aa7a6b63eac3758f16753
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

local-usr-local-portage
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/www/localhost/htdocs/owncloud"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build --autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned 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="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -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"
USE="X a52 aac acl acpi activities alsa amd64 bash-completion berkdb bluray branding bzip2 cairo cdda cdr cli clucene consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr ebook emacs embedded emboss encode exif facebook fam firefox flac fortran fts3 gdbm geolocation gif gimp glamor gpm gtk hyperestraier iconv ipv6 java jpeg kde kipi kwallet lastfm lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl nsplugin offensive ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt5 readline replaygain sdl seccomp semantic-desktop session spell sqlite ssl startup-notification svg tcpd tiff toolkit-scroll-bars truetype udev udisks uk_atlas uk_rt unicode upower usb vaapi vdpau vim-pager vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid zlib" ABI_X86="64" 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 proxy proxy_http" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Steve Evans 2017-12-04 09:02:14 UTC
Adding the build log as an attachment timed out. So this is the relevant part:

[ 16%] Generating CollectionAdaptor.moc
cd /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src && /usr/lib64/qt4/bin/moc -I/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90/shared -I/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/shared -I/usr/include -I/usr/include/KDE -I/usr/include/KDE -I/usr/include -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90/src -I/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src -I/usr/include/lastfm/.. -I/usr/include/lastfm -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_DEFAULT_SOURCE -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=50 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_STRICT_ITERATORS -o /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/CollectionAdaptor.moc /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/CollectionAdaptor.h
cd /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90 /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90/src /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/CMakeFiles/amaroklib.dir/DependInfo.cmake
Dependee "/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/CMakeFiles/amaroklib.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/CMakeFiles/amaroklib.dir/depend.internal".
Dependee "/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/CMakeFiles/amaroklib.dir/depend.internal".
Scanning dependencies of target amaroklib
make[2]: Leaving directory '/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build'
make -f src/CMakeFiles/amaroklib.dir/build.make src/CMakeFiles/amaroklib.dir/build
make[2]: Entering directory '/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build'
[ 16%] Building CXX object src/CMakeFiles/amaroklib.dir/amaroklib_automoc.cpp.o
cd /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src && /usr/bin/x86_64-pc-linux-gnu-g++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=50 -DKDE_DEPRECATED_WARNINGS -DMAKE_AMAROKLIB_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_STL -DQT_SCRIPTTOOLS_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_XML_LIB -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -I/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src -I/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90/src -I/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90/shared -I/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/shared -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -isystem /usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -isystem /usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtSql -isystem /usr/include/qt4/QtScriptTools -isystem /usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtNetwork -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -isystem /usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/usr/include/qt4/Qt -isystem /usr/share/qt4/mkspecs/default -isystem /usr/include/qt4 -I/usr/include/lastfm/.. -I/usr/include/lastfm -I/usr/include/taglib -I/usr/include/taglib-extras -I/usr/include/QtCrypto   -DQT_NO_DEBUG -DNDEBUG -march=native -O2 -pipe -fmessage-length=0 -Wl,--as-needed -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fPIC   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/taglib -I/usr/include/taglib-extras -o CMakeFiles/amaroklib.dir/amaroklib_automoc.cpp.o -c /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp
In file included from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp:6:0:
/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_AmarokEqualizerScript.cpp: In member function ‘virtual int AmarokScript::AmarokEqualizerScript::qt_metacall(QMetaObject::Call, int, void**)’:
/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_AmarokEqualizerScript.cpp:141:68: error: invalid use of incomplete type ‘class QStringList’
         case 3: *reinterpret_cast< QStringList*>(_v) = userPresets(); break;
                                                                    ^
In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
                 from /usr/include/qt4/QtCore/qiodevice.h:46,
                 from /usr/include/qt4/QtCore/qdatastream.h:46,
                 from /usr/include/qt4/QtCore/qmetatype.h:49,
                 from /usr/include/qt4/QtCore/qvariant.h:48,
                 from /usr/include/qt4/QtCore/qabstractitemmodel.h:45,
                 from /usr/include/qt4/QtCore/QModelIndex:1,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/../../amarok-2.8.90/src/statsyncing/Config.h:20,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_Config.cpp:9,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp:4:
/usr/include/qt4/QtCore/qstring.h:77:7: note: forward declaration of ‘class QStringList’
 class QStringList;
       ^
In file included from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp:6:0:
/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_AmarokEqualizerScript.cpp:142:83: error: invalid use of incomplete type ‘class QStringList’
         case 4: *reinterpret_cast< QStringList*>(_v) = translatedGlobalPresetList(); break;
                                                                                   ^
In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
                 from /usr/include/qt4/QtCore/qiodevice.h:46,
                 from /usr/include/qt4/QtCore/qdatastream.h:46,
                 from /usr/include/qt4/QtCore/qmetatype.h:49,
                 from /usr/include/qt4/QtCore/qvariant.h:48,
                 from /usr/include/qt4/QtCore/qabstractitemmodel.h:45,
                 from /usr/include/qt4/QtCore/QModelIndex:1,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/../../amarok-2.8.90/src/statsyncing/Config.h:20,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_Config.cpp:9,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp:4:
/usr/include/qt4/QtCore/qstring.h:77:7: note: forward declaration of ‘class QStringList’
 class QStringList;
       ^
In file included from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp:6:0:
/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_AmarokEqualizerScript.cpp:143:73: error: invalid use of incomplete type ‘class QStringList’
         case 5: *reinterpret_cast< QStringList*>(_v) = globalPresetList(); break;
                                                                         ^
In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
                 from /usr/include/qt4/QtCore/qiodevice.h:46,
                 from /usr/include/qt4/QtCore/qdatastream.h:46,
                 from /usr/include/qt4/QtCore/qmetatype.h:49,
                 from /usr/include/qt4/QtCore/qvariant.h:48,
                 from /usr/include/qt4/QtCore/qabstractitemmodel.h:45,
                 from /usr/include/qt4/QtCore/QModelIndex:1,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/../../amarok-2.8.90/src/statsyncing/Config.h:20,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_Config.cpp:9,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp:4:
/usr/include/qt4/QtCore/qstring.h:77:7: note: forward declaration of ‘class QStringList’
 class QStringList;
       ^
In file included from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp:6:0:
/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_AmarokEqualizerScript.cpp:144:84: error: invalid use of incomplete type ‘class QStringList’
         case 6: *reinterpret_cast< QStringList*>(_v) = translatedDefaultPresetList(); break;
                                                                                    ^
In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
                 from /usr/include/qt4/QtCore/qiodevice.h:46,
                 from /usr/include/qt4/QtCore/qdatastream.h:46,
                 from /usr/include/qt4/QtCore/qmetatype.h:49,
                 from /usr/include/qt4/QtCore/qvariant.h:48,
                 from /usr/include/qt4/QtCore/qabstractitemmodel.h:45,
                 from /usr/include/qt4/QtCore/QModelIndex:1,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/../../amarok-2.8.90/src/statsyncing/Config.h:20,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_Config.cpp:9,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp:4:
/usr/include/qt4/QtCore/qstring.h:77:7: note: forward declaration of ‘class QStringList’
 class QStringList;
       ^
In file included from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp:6:0:
/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_AmarokEqualizerScript.cpp:145:74: error: invalid use of incomplete type ‘class QStringList’
         case 7: *reinterpret_cast< QStringList*>(_v) = defaultPresetList(); break;
                                                                          ^
In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
                 from /usr/include/qt4/QtCore/qiodevice.h:46,
                 from /usr/include/qt4/QtCore/qdatastream.h:46,
                 from /usr/include/qt4/QtCore/qmetatype.h:49,
                 from /usr/include/qt4/QtCore/qvariant.h:48,
                 from /usr/include/qt4/QtCore/qabstractitemmodel.h:45,
                 from /usr/include/qt4/QtCore/QModelIndex:1,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/../../amarok-2.8.90/src/statsyncing/Config.h:20,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_Config.cpp:9,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp:4:
/usr/include/qt4/QtCore/qstring.h:77:7: note: forward declaration of ‘class QStringList’
 class QStringList;
       ^
In file included from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp:6:0:
/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_AmarokEqualizerScript.cpp:148:73: error: invalid use of incomplete type ‘class QStringList’
         case 10: *reinterpret_cast< QStringList*>(_v) = bandFrequencies(); break;
                                                                         ^
In file included from /usr/include/qt4/QtCore/qobject.h:48:0,
                 from /usr/include/qt4/QtCore/qiodevice.h:46,
                 from /usr/include/qt4/QtCore/qdatastream.h:46,
                 from /usr/include/qt4/QtCore/qmetatype.h:49,
                 from /usr/include/qt4/QtCore/qvariant.h:48,
                 from /usr/include/qt4/QtCore/qabstractitemmodel.h:45,
                 from /usr/include/qt4/QtCore/QModelIndex:1,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/../../amarok-2.8.90/src/statsyncing/Config.h:20,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_Config.cpp:9,
                 from /var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/amaroklib_automoc.cpp:4:
/usr/include/qt4/QtCore/qstring.h:77:7: note: forward declaration of ‘class QStringList’
 class QStringList;
       ^
make[2]: *** [src/CMakeFiles/amaroklib.dir/build.make:265: src/CMakeFiles/amaroklib.dir/amaroklib_automoc.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build'
make[1]: *** [CMakeFiles/Makefile2:1234: src/CMakeFiles/amaroklib.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build'
make: *** [Makefile:141: all] Error 2
 * ERROR: media-sound/amarok-2.8.90-r4::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-sound/amarok-2.8.90-r4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/amarok-2.8.90-r4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-sound/amarok-2.8.90-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/amarok-2.8.90-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build'
 * S: '/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90'
Comment 2 Steve Evans 2017-12-04 09:03:45 UTC
The output from emerge -pqv '=media-sound/amarok-2.8.90-r4::gentoo' is:

[ebuild     U ] media-sound/amarok-2.8.90-r4 [2.8.90-r3] USE="embedded handbook lastfm utils -debug -ipod -mp3tunes -mtp -ofa {-test} (-opengl%*)" L10N="(-bs%) (-ca%) (-ca-valencia%) (-cs%) (-da%) (-de%) (-el%) (-en-GB%*) (-es%) (-et%) (-eu%) (-fi%) (-fr%) (-ga%) (-gl%) (-hu%) (-it%) (-ja%) (-lt%) (-lv%) (-nb%) (-nl%) (-pa%) (-pl%) (-pt%) (-pt-BR%) (-ro%) (-ru%) (-sl%) (-sr%) (-sr-Latn%) (-sr-Latn-ijekavsk%) (-sr-ijekavsk%) (-sv%) (-tr%) (-uk%) (-zh-CN%) (-zh-TW%)"
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-04 09:15:55 UTC
Please attach the entire build log to this bug report.
Comment 4 Steve Evans 2017-12-04 09:32:06 UTC
Created attachment 507994 [details]
build log
Comment 5 Carsten Böcker 2017-12-04 10:33:09 UTC
same here, different line but same error:

/var/tmp/portage/media-sound/amarok-2.8.90-r4/work/amarok-2.8.90_build/src/moc_AmarokEqualizerScript.cpp:148:73: Fehler: falsche Benutzung des unvollständigen Typs »class QStringList«
         case 10: *reinterpret_cast< QStringList*>(_v) = bandFrequencies(); break;

system up2date and after profile-switch as announced in 
2017-11-30-new-17-profiles a complete emerge -e @world this weekend.

emerge --info:
Portage 2.3.13 (python 3.6.3-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-AMD_Phenom-tm-_II_X4_910e_Processor-with-gentoo-2.4.1
KiB Swap:   33554424 total,  33550576 free
Timestamp of repository gentoo: Mon, 04 Dec 2017 07:30:01 +0000
Head commit of repository gentoo: c87195e4456ce3dba56aa7a6b63eac3758f16753
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch protect-owned 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="de_DE.utf8@euro.UTF-8"
LC_ALL="de_DE.utf8@euro.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
USE="3dnow 3dnowext X a52 aac acl acpi activities alsa amd64 apm bash-completion berkdb branding bzip2 cairo caps cdb cdda cdparanoia cdr cli cracklib crypt cups cxx dbus declarative divx4linux dri dts dvd dvdr dvdread emboss encode exif fam fbcon ffmpeg filecaps firefox flac fortran ftp gd gdbm gif glamor gpm iconv ipv6 java jpeg kde kipi kvm kwallet lcms libnotify lm_sensors logrotate mad maildir mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl openmp pam pango pcre pdf perl phonon php plasma png policykit popcnt ppds pulseaudio python qml qt qt3support qt5 readline recode sdl seccomp session spell sse sse2 sse3 sse4a ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="snd-hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="de en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="radeon r600 vesa" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


If you also want to have the complete build-log give me a note.
Comment 6 deepred 2017-12-04 10:52:29 UTC
Same here. emerge --info and build.log are attached.

# emerge -pqv '=media-sound/amarok-2.8.90-r4::gentoo'
[ebuild     U ] media-sound/amarok-2.8.90-r4 [2.8.90-r3] USE="embedded handbook mtp utils -debug -ipod -lastfm -mp3tunes -ofa {-test} (-opengl%*)" L10N="(-bs%) (-ca%) (-ca-valencia%) (-cs%) (-da%) (-de%) (-el%) (-en-GB%) (-es%) (-et%) (-eu%) (-fi%) (-fr%) (-ga%) (-gl%) (-hu%) (-it%*) (-ja%) (-lt%) (-lv%) (-nb%) (-nl%) (-pa%) (-pl%) (-pt%) (-pt-BR%) (-ro%) (-ru%) (-sl%) (-sr%) (-sr-Latn%) (-sr-Latn-ijekavsk%) (-sr-ijekavsk%) (-sv%) (-tr%) (-uk%) (-zh-CN%) (-zh-TW%)"
Comment 7 deepred 2017-12-04 10:53:30 UTC
Created attachment 508004 [details]
emerge --info
Comment 8 deepred 2017-12-04 11:01:30 UTC
Created attachment 508010 [details]
build.log
Comment 9 Michael Palimaka (kensington) gentoo-dev 2017-12-04 12:26:05 UTC
We troubleshooted this on #gentoo-kde and found that, with an *identical ebuild*:
-r3: PASS
-r4: FAIL
-r5: PASS
Comment 10 Larry the Git Cow gentoo-dev 2017-12-04 12:29:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14e3890ce25c94da9c5d2a5964a2f372612a7a73

commit 14e3890ce25c94da9c5d2a5964a2f372612a7a73
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-12-04 12:20:50 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-12-04 12:29:15 +0000

    media-sound/amarok: Copy -r4 to -r5 fixes build...
    
    Stranger things. The same ebuild simply fails to build as -r4.
    
    Bug: https://bugs.gentoo.org/639736
    Package-Manager: Portage-2.3.13, Repoman-2.3.4

 media-sound/amarok/amarok-2.8.90-r5.ebuild | 132 +++++++++++++++++++++++++++++
 1 file changed, 132 insertions(+)}
Comment 11 Brian Evans (RETIRED) gentoo-dev 2017-12-04 14:05:37 UTC
*** Bug 639766 has been marked as a duplicate of this bug. ***
Comment 12 Steve Evans 2017-12-04 14:08:33 UTC
-r5 fixed the build for me