Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585494 - [kde overlay] kde-frameworks/knewstuff-9999 fails to build (in gcc 6.1.0, gcc 5.3.0, gcc 4.93, and clang 3.9)
Summary: [kde overlay] kde-frameworks/knewstuff-9999 fails to build (in gcc 6.1.0, gcc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 21:05 UTC by myopetz
Modified: 2016-07-09 18:48 UTC (History)
1 user (show)

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


Attachments
Output of `emerge --info '=kde-frameworks/knewstuff-9999::kde' (j,7.18 KB, text/plain)
2016-06-09 21:05 UTC, myopetz
Details
complete build log (kde-frameworks%3Aknewstuff-9999%3A20160609-201722.log,83.01 KB, text/plain)
2016-06-09 21:10 UTC, myopetz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description myopetz 2016-06-09 21:05:07 UTC
Created attachment 437024 [details]
Output of `emerge --info '=kde-frameworks/knewstuff-9999::kde'

[ 34%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/engine.cpp.o
cd /var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999_build/src && /usr/bin/clang++  -DKCOREADDONS_LIB -DKDE_DEFAULT_DEBUG_AREA=550 -DKF5NewStuff_EXPORTS -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"knewstuff5\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999_build/src -I/var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999/src -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KTextWidgets -isystem /usr/include/KF5/SonnetUi   -DQT_NO_DEBUG -DNDEBUG -march=sandybridge -g -Ofast -pipe -fstack-protector-strong  -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -pedantic -Wno-gnu-zero-variadic-macro-arguments -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -std=gnu++11 -o CMakeFiles/KF5NewStuff.dir/core/engine.cpp.o -c /var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999/src/core/engine.cpp
[ 36%] Building CXX object src/CMakeFiles/KF5NewStuff.dir/core/entryinternal.cpp.o
cd /var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999_build/src && /usr/bin/clang++  -DKCOREADDONS_LIB -DKDE_DEFAULT_DEBUG_AREA=550 -DKF5NewStuff_EXPORTS -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"knewstuff5\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999_build/src -I/var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999/src -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KTextWidgets -isystem /usr/include/KF5/SonnetUi   -DQT_NO_DEBUG -DNDEBUG -march=sandybridge -g -Ofast -pipe -fstack-protector-strong  -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -pedantic -Wno-gnu-zero-variadic-macro-arguments -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -std=gnu++11 -o CMakeFiles/KF5NewStuff.dir/core/entryinternal.cpp.o -c /var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999/src/core/entryinternal.cpp
In file included from /var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999/src/core/engine.cpp:22:
In file included from /var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999/src/core/engine_p.h:27:
In file included from /usr/include/qt5/QtCore/QSharedPointer:1:
In file included from /usr/include/qt5/QtCore/qsharedpointer.h:45:
In file included from /usr/include/qt5/QtCore/qshareddata.h:46:
/usr/include/qt5/QtCore/qhash.h:152:7: error: field has incomplete type 'Attica::Content'
    T value;
      ^
/usr/include/qt5/QtCore/qhash.h:533:19: note: in instantiation of template class 'QHashNode<QString, Attica::Content>' requested here
    concrete(node)->~Node();
                  ^
/usr/include/qt5/QtCore/qhash.h:573:20: note: in instantiation of member function 'QHash<QString, Attica::Content>::deleteNode2' requested here
    x->free_helper(deleteNode2);
                   ^
/usr/include/qt5/QtCore/qhash.h:252:37: note: in instantiation of member function 'QHash<QString, Attica::Content>::freeData' requested here
    ~QHash() { if (!d->ref.deref()) freeData(d); }
                                    ^
/var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999/src/attica/atticaprovider_p.h:47:7: note: in instantiation of member function
      'QHash<QString, Attica::Content>::~QHash' requested here
class AtticaProvider: public Provider
      ^
/usr/include/qt5/QtCore/qsharedpointer_impl.h:217:29: note: in instantiation of member function 'QtSharedPointer::CustomDeleter<KNS3::AtticaProvider,
      QtSharedPointer::NormalDeleter>::execute' requested here
            realself->extra.execute();
                            ^
/usr/include/qt5/QtCore/qsharedpointer_impl.h:532:65: note: in instantiation of member function
      'QtSharedPointer::ExternalRefCountWithCustomDeleter<KNS3::AtticaProvider, QtSharedPointer::NormalDeleter>::deleter' requested here
        typename Private::DestroyerFn actualDeleter = &Private::deleter;
                                                                ^
/usr/include/qt5/QtCore/qsharedpointer_impl.h:322:7: note: in instantiation of function template specialization
      'QSharedPointer<KNS3::Provider>::internalConstruct<KNS3::AtticaProvider, QtSharedPointer::NormalDeleter>' requested here
    { internalConstruct(ptr, QtSharedPointer::NormalDeleter()); }
      ^
/var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999/src/core/engine.cpp:193:24: note: in instantiation of function template specialization
      'QSharedPointer<KNS3::Provider>::QSharedPointer<KNS3::AtticaProvider>' requested here
            provider = QSharedPointer<KNS3::Provider> (new AtticaProvider(m_categories));
                       ^
/usr/include/KF5/Attica/attica/provider.h:62:7: note: forward declaration of 'Attica::Content'
class Content;
      ^
1 error generated.
make[2]: *** [src/CMakeFiles/KF5NewStuff.dir/build.make:267: src/CMakeFiles/KF5NewStuff.dir/core/engine.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999_build'
make[1]: *** [CMakeFiles/Makefile2:137: src/CMakeFiles/KF5NewStuff.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/kde-frameworks/knewstuff-9999/work/knewstuff-9999_build'
make: *** [Makefile:128: all] Error 2
 * ERROR: kde-frameworks/knewstuff-9999::kde failed (compile phase):
 *   emake failed
Comment 1 myopetz 2016-06-09 21:06:42 UTC
Portage 2.3.0_rc1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-5.3.0, glibc-2.23-r2, 4.7.0-rc2+ x86_64)
=================================================================
System uname: Linux-4.7.0-rc2+-x86_64-Intel-R-_Core-TM-_i5-4210U_CPU_@_1.70GHz-with-gentoo-2.2
KiB Mem:     3878188 total,    766596 free
KiB Swap:    4194300 total,   4162840 free
Timestamp of repository gentoo: Wed, 08 Jun 2016 13:00:01 +0000
Timestamp of repository poly-c: Wed, 08 Jun 2016 07:36:27 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake:           3.6.0_rc1::poly-c
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo, 6.1.0::hardened-development
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2-r2::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

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

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

ShyPixie
    location: /var/lib/layman/ShyPixie
    sync-type: laymansync
    sync-uri: https://github.com/ShyPixie/Overlays.git
    masters: gentoo
    priority: 50

gnome
    location: /var/lib/layman/gnome
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gnome.git
    masters: gentoo
    priority: 50

hardened-development
    location: /var/lib/layman/hardened-development
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/hardened-dev.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/mozilla.git
    masters: gentoo
    priority: 50

poly-c
    location: /var/lib/layman/poly-c
    sync-type: laymansync
    sync-uri: rsync://gentoofan.no-ip.org/poly-c
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/x11
    masters: gentoo
    priority: 50

xfce-dev
    location: /var/lib/layman/xfce-dev
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/xfce.git
    masters: gentoo
    priority: 50

Installed sets: @kde-frameworks-live, @kde-plasma-live, @qt5-addons, @qt5-essentials, @qt5-tools
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
CXXFLAGS="-O2 -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 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_US.ISO-8859-1"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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 alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl seccomp session spell sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 myopetz 2016-06-09 21:10:37 UTC
Created attachment 437026 [details]
complete build log
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-06-15 12:09:33 UTC
When was kde-frameworks/attica last rebuilt, and which version of Qt 5 is installed?
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2016-07-09 13:23:16 UTC
(In reply to Michael Palimaka (kensington) from comment #3)
> When was kde-frameworks/attica last rebuilt, and which version of Qt 5 is
> installed?
Comment 5 myopetz 2016-07-09 18:48:58 UTC
I had this problem with qt 5.9999. I switched to 5.7.9999 and the problem is gone.