Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[AUTO-SOLVED] Qt5, Qt-creator @qt5-essentials @qt5-addons...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Skirmitch
Apprentice
Apprentice


Joined: 15 Jun 2013
Posts: 207

PostPosted: Sun Feb 07, 2016 3:34 am    Post subject: [AUTO-SOLVED] Qt5, Qt-creator @qt5-essentials @qt5-addons... Reply with quote

Hey guys,

In order to program for android with qt, I just added the qt overlay and did an emerge @qt5-essentials @qt5-addons (had to add --backtrack=99 for it to work). This emerge failed at the element number 19 qtdeclarative of 26 with the following output:

Code:
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_BUILD_QML_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DNDEBUG -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/QtQml -I../../include/QtQml/5.4.2 -I../../include/QtQml/5.4.2/QtQml -Icompiler -I. -I../3rdparty/masm/jit -I../3rdparty/masm/assembler -I../3rdparty/masm/runtime -I../3rdparty/masm/wtf -I../3rdparty/masm/stubs -I../3rdparty/masm/stubs/wtf -I../3rdparty/masm -I../3rdparty/masm/disassembler -I../3rdparty/masm/disassembler/udis86 -Ijit -I. -I.generated -Ijsruntime -I. -I../3rdparty/double-conversion -Idebugger -Ianimations -isystem /usr/include/qt5/QtCore/5.6.0 -isystem /usr/include/qt5/QtCore/5.6.0/QtCore -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/qqmlpropertyvaluesource.o qml/qqmlpropertyvaluesource.cpp
qml/qqmlengine.cpp: In member function ‘void QQmlEnginePrivate::registerInternalCompositeType(QQmlCompiledData*)’:
qml/qqmlengine.cpp:2249:54: error: ‘Delete’ is not a member of ‘QtMetaTypePrivate::QMetaTypeFunctionHelper<QObject*>’
                                                      QtMetaTypePrivate::QMetaTy
                                                      ^
qml/qqmlengine.cpp:2250:54: error: ‘Create’ is not a member of ‘QtMetaTypePrivate::QMetaTypeFunctionHelper<QObject*>’
                                                      QtMetaTypePrivate::QMetaTy
                                                      ^
qml/qqmlengine.cpp:2257:54: error: ‘Delete’ is not a member of ‘QtMetaTypePrivate::QMetaTypeFunctionHelper<QQmlListProperty<QObject> >’
                                                      QtMetaTypePrivate::QMetaTy
                                                      ^
qml/qqmlengine.cpp:2258:54: error: ‘Create’ is not a member of ‘QtMetaTypePrivate::QMetaTypeFunctionHelper<QQmlListProperty<QObject> >’
                                                      QtMetaTypePrivate::QMetaTy
                                                      ^
Makefile:11035: recipe for target '.obj/qqmlengine.o' failed
make[2]: *** [.obj/qqmlengine.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtdeclarative-5.4.2-r1/work/qtdeclarative-opensource-src-5.4.2/src/qml'
Makefile:49: recipe for target 'sub-qml-make_first-ordered' failed
make[1]: *** [sub-qml-make_first-ordered] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtdeclarative-5.4.2-r1/work/qtdeclarative-opensource-src-5.4.2/src'
Makefile:45: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
 * ERROR: dev-qt/qtdeclarative-5.4.2-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtdeclarative-5.4.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtdeclarative-5.4.2-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtdeclarative-5.4.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtdeclarative-5.4.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtdeclarative-5.4.2-r1/work/qtdeclarative-opensource-src-5.4.2'
 * S: '/var/tmp/portage/dev-qt/qtdeclarative-5.4.2-r1/work/qtdeclarative-opensource-src-5.4.2'

>>> Failed to emerge dev-qt/qtdeclarative-5.4.2-r1, Log file:

>>>  '/var/tmp/portage/dev-qt/qtdeclarative-5.4.2-r1/temp/build.log'

 * Messages for package dev-qt/qtdeclarative-5.4.2-r1:

 * ERROR: dev-qt/qtdeclarative-5.4.2-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtdeclarative-5.4.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtdeclarative-5.4.2-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtdeclarative-5.4.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtdeclarative-5.4.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtdeclarative-5.4.2-r1/work/qtdeclarative-opensource-src-5.4.2'
 * S: '/var/tmp/portage/dev-qt/qtdeclarative-5.4.2-r1/work/qtdeclarative-opensource-src-5.4.2'



After that, I tried to reemerge qt creator which is failing now as well with the following errors:

Code:
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-z,origin '-Wl,-rpath,$ORIGIN/../../lib64/qtcreator:$ORIGIN/../../lib64/qtcreator/plugins:$ORIGIN:$ORIGIN/..:$ORIGIN/../lib64/qtcreator' -o ../../../libexec/qtcreator/sdktool .obj/release-shared/main.o .obj/release-shared/adddebuggeroperation.o .obj/release-shared/adddeviceoperation.o .obj/release-shared/addkeysoperation.o .obj/release-shared/addkitoperation.o .obj/release-shared/addqtoperation.o .obj/release-shared/addtoolchainoperation.o .obj/release-shared/findkeyoperation.o .obj/release-shared/findvalueoperation.o .obj/release-shared/getoperation.o .obj/release-shared/operation.o .obj/release-shared/rmdebuggeroperation.o .obj/release-shared/rmdeviceoperation.o .obj/release-shared/rmkeysoperation.o .obj/release-shared/rmkitoperation.o .obj/release-shared/rmqtoperation.o .obj/release-shared/rmtoolchainoperation.o .obj/release-shared/settings.o   -L/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999/lib64/qtcreator -lUtils -lQt5Concurrent -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
make[3]: Leaving directory '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999/src/tools/sdktool'
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999/src/tools'
Makefile:174: recipe for target 'sub-tools-make_first-ordered' failed
make[1]: *** [sub-tools-make_first-ordered] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999/src'
Makefile:43: recipe for target 'sub-src-make_first-ordered' failed
make: *** [sub-src-make_first-ordered] Error 2
 * ERROR: dev-qt/qt-creator-9999::qt failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qt-creator-9999::qt'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qt-creator-9999::qt'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qt-creator-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qt-creator-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999'
 * S: '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999'

>>> Failed to emerge dev-qt/qt-creator-9999, Log file:

>>>  '/var/tmp/portage/dev-qt/qt-creator-9999/temp/build.log'

 * Messages for package dev-qt/qt-creator-9999:

 * ERROR: dev-qt/qt-creator-9999::qt failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qt-creator-9999::qt'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qt-creator-9999::qt'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qt-creator-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qt-creator-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999'
 * S: '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999'



Some info that might be useful:

I did manually modify the file /etc/xdg/qtchooser/default.conf

Code:
cat /etc/xdg/qtchooser/default.conf
/usr/lib64/qt5/bin
/usr/lib64/qt5


Some more info:

Code:
qmake -query
QT_SYSROOT:
QT_INSTALL_PREFIX:/usr
QT_INSTALL_ARCHDATA:/usr/lib64/qt5
QT_INSTALL_DATA:/usr/share/qt5
QT_INSTALL_DOCS:/usr/share/doc/qt-5.6.0_beta
QT_INSTALL_HEADERS:/usr/include/qt5
QT_INSTALL_LIBS:/usr/lib64
QT_INSTALL_LIBEXECS:/usr/lib64/qt5/libexec
QT_INSTALL_BINS:/usr/lib64/qt5/bin
QT_INSTALL_TESTS:/usr/share/qt5/tests
QT_INSTALL_PLUGINS:/usr/lib64/qt5/plugins
QT_INSTALL_IMPORTS:/usr/lib64/qt5/imports
QT_INSTALL_QML:/usr/lib64/qt5/qml
QT_INSTALL_TRANSLATIONS:/usr/share/qt5/translations
QT_INSTALL_CONFIGURATION:/etc/xdg
QT_INSTALL_EXAMPLES:/usr/share/qt5/examples
QT_INSTALL_DEMOS:/usr/share/qt5/examples
QT_HOST_PREFIX:/usr
QT_HOST_DATA:/usr/lib64/qt5
QT_HOST_BINS:/usr/lib64/qt5/bin
QT_HOST_LIBS:/usr/lib64
QMAKE_SPEC:linux-g++
QMAKE_XSPEC:linux-g++
QMAKE_VERSION:3.0
QT_VERSION:5.6.0


Packages pulled by the emerge @qt5-essentials @qt5-addons --backtrack=99 command

Code:
emerge @qt5-essentials @qt5-addons --backtrack=99 -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] dev-qt/qtcore-5.6.0_beta:5/5.6::qt  USE="icu systemd -debug {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtnetwork-5.6.0_beta:5/5.6::qt  USE="ssl -bindist -connman -debug -libproxy -networkmanager {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtsql-5.6.0_beta:5/5.6::qt  USE="mysql sqlite -debug -freetds -oci8 -odbc -postgres {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qttest-5.6.0_beta:5/5.6::qt  USE="-debug {-test}" 0 KiB
[ebuild   R    ] dev-qt/qtscript-5.4.2-r1:5::gentoo  USE="jit -debug -scripttools {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtdbus-5.6.0_beta:5/5.6::qt  USE="-debug {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtconcurrent-5.6.0_beta:5/5.6::qt  USE="-debug {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtpositioning-5.6.0_beta:5/5.6::qt  USE="-debug -geoclue -qml {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtserialport-5.6.0_beta:5/5.6::qt  USE="-debug {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtxml-5.6.0_beta:5/5.6::qt  USE="-debug {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtsensors-5.6.0_beta:5/5.6::qt  USE="-debug -qml {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtgui-5.6.0_beta:5/5.6::qt  USE="dbus gif jpeg png udev xcb -accessibility -debug -egl -eglfs -evdev -gles2 -gtkstyle -ibus -libinput {-test} -tslib -tuio" 0 KiB
[ebuild   R    ] dev-qt/qtxmlpatterns-5.4.2:5::gentoo  USE="-debug {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtwebsockets-5.6.0_beta:5/5.6::qt  USE="-debug -qml {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtwidgets-5.6.0_beta:5/5.6::qt  USE="png xcb -debug -gles2 -gtkstyle {-test}" 0 KiB
[ebuild   R    ] dev-qt/qtmultimedia-5.4.2-r1:5::gentoo  USE="alsa gstreamer opengl pulseaudio -debug -openal -qml {-test} -widgets" 0 KiB
[ebuild   R   ~] dev-qt/qtx11extras-5.6.0_beta:5/5.6::qt  USE="-debug {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtimageformats-5.6.0_beta:5/5.6::qt  USE="-debug {-test}" 0 KiB
[ebuild   R    ] dev-qt/qtdeclarative-5.4.2-r1:5::gentoo  USE="jit widgets xml -debug -gles2 -localstorage {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtopengl-5.6.0_beta:5/5.6::qt  USE="-debug -gles2 {-test}" 0 KiB
[ebuild   R   ~] dev-qt/qtprintsupport-5.6.0_beta:5/5.6::qt  USE="cups -debug -gles2 {-test}" 0 KiB
[ebuild   R    ] dev-qt/qtsvg-5.4.2:5::gentoo  USE="-debug {-test}" 0 KiB
[ebuild   R    ] dev-qt/qtquickcontrols-5.4.2:5::gentoo  USE="widgets -debug {-test}" 0 KiB
[ebuild   R    ] dev-qt/qtquick1-5.4.2:5::gentoo  USE="opengl xml -debug -designer {-test} -webkit" 0 KiB
[ebuild   R    ] dev-qt/qtwebkit-5.4.2:5::gentoo  USE="gstreamer opengl udev -debug -gstreamer010 -multimedia -printsupport -qml {-test} -webp" 0 KiB
[ebuild   R    ] dev-qt/qtgraphicaleffects-5.4.2:5::gentoo  USE="-debug {-test}" 0 KiB

Total: 26 packages (26 reinstalls), Size of downloads: 0 KiB


And some standard info:

Code:
emerge --info
Portage 2.2.26 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.9.3, glibc-2.21-r1, 4.1.15-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.1.15-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-4700HQ_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:    12196376 total,   4116524 free
KiB Swap:    4218872 total,   4218872 free
Timestamp of repository gentoo: Sat, 06 Feb 2016 23:15:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.3.5-r2::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

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

sublime-text
    location: /var/lib/layman/sublime-text
    masters: gentoo
    priority: 0

vaca
    location: /var/lib/layman/vaca
    masters: gentoo
    priority: 1

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 2

qt
    location: /var/lib/layman/qt
    masters: gentoo
    priority: 3

MSP430
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 4

Installed sets: @qt5-addons, @qt5-essentials
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 /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /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"
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="ja_JP.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 android apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cuda cups cxx dbus doc dri dts dvd dvdr eds emboss encode evo examples exif fam firefox flac fontconfig fortran freerdp gdal gdbm geos gif gimp glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk hpcups iconv icu immqt-bc introspection iodbc ipafont ipv6 java jpeg lcms ldap libnotify libsecret lm_sensors mad mmx mmxext mng modules mp3 mp4 mpeg multilib mysql nautilus ncurses nls nptl nsplugin nvidia ogg opengl openmp pam pango pcre pdf php5 png policykit ppds proj pulseaudio python qt3support qt5 readline samba sdl seccomp session snmp spell sse sse2 ssl startup-notification svg symlink systemd tcpd tidy tiff tinfo tracker truetype udev udisks unicode upower usb vorbis webstart wifi winbind wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" 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" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ja es es_LA en" 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="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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Last edited by Skirmitch on Sun Feb 07, 2016 6:59 am; edited 1 time in total
Back to top
View user's profile Send private message
Skirmitch
Apprentice
Apprentice


Joined: 15 Jun 2013
Posts: 207

PostPosted: Sun Feb 07, 2016 4:55 am    Post subject: Reply with quote

UPDATE

Tried with -j1 and this time qt-creator at least failed in a more intelligible way:

Code:
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DIDE_LIBRARY_BASENAME=\"lib64\" -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../../src -I../../../libs -I/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999/tools -I../../../plugins -I../../../../share/qtcreator/qml/qmlpuppet/instances -I../../../../share/qtcreator/qml/qmlpuppet/qml2puppet/instances -I../../../../share/qtcreator/qml/qmlpuppet/commands -I../../../../share/qtcreator/qml/qmlpuppet/container -I../../../../share/qtcreator/qml/qmlpuppet/interfaces -I../../../../share/qtcreator/qml/qmlpuppet/types -I../../../../share/qtcreator/qml/qmlpuppet/qmlprivategate -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtQuick/5.4.2 -isystem /usr/include/qt5/QtQuick/5.4.2/QtQuick -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtGui/5.6.0 -isystem /usr/include/qt5/QtGui/5.6.0/QtGui -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtQml/5.4.2 -isystem /usr/include/qt5/QtQml/5.4.2/QtQml -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore/5.6.0 -isystem /usr/include/qt5/QtCore/5.6.0/QtCore -isystem /usr/include/qt5/QtCore -I.moc/release-shared -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/release-shared/qt5nodeinstanceserver.o ../../../../share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceserver.cpp
In file included from ../../../../share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceserver.h:32:0,
                 from ../../../../share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceserver.cpp:26:
../../../../share/qtcreator/qml/qmlpuppet/qmlprivategate/designersupportdelegate.h:27:45: fatal error: private/qquickdesignersupport_p.h: No such file or directory
 #include <private/qquickdesignersupport_p.h>
                                             ^
compilation terminated.
Makefile:869: recipe for target '.obj/release-shared/qt5nodeinstanceserver.o' failed
make[4]: *** [.obj/release-shared/qt5nodeinstanceserver.o] Error 1
make[4]: Leaving directory '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999/src/tools/qml2puppet/qml2puppet'
Makefile:42: recipe for target 'sub-qml2puppet-make_first' failed
make[3]: *** [sub-qml2puppet-make_first] Error 2
make[3]: Leaving directory '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999/src/tools/qml2puppet'
Makefile:173: recipe for target 'sub-qml2puppet-make_first' failed
make[2]: *** [sub-qml2puppet-make_first] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999/src/tools'
Makefile:174: recipe for target 'sub-tools-make_first-ordered' failed
make[1]: *** [sub-tools-make_first-ordered] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999/src'
Makefile:43: recipe for target 'sub-src-make_first-ordered' failed
make: *** [sub-src-make_first-ordered] Error 2
 * ERROR: dev-qt/qt-creator-9999::qt failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qt-creator-9999::qt'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qt-creator-9999::qt'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qt-creator-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qt-creator-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999'
 * S: '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999'

>>> Failed to emerge dev-qt/qt-creator-9999, Log file:

>>>  '/var/tmp/portage/dev-qt/qt-creator-9999/temp/build.log'

 * Messages for package dev-qt/qt-creator-9999:

 * ERROR: dev-qt/qt-creator-9999::qt failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qt-creator-9999::qt'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qt-creator-9999::qt'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qt-creator-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qt-creator-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999'
 * S: '/var/tmp/portage/dev-qt/qt-creator-9999/work/qt-creator-9999'



The problem is that the .h this thing is missing seems to be in the qtquick1 package and that one fails cuz is missing the declarative package which keeps on failing in the same way :( Halp pliiiiiz


SOLUTION

Seems that QMetaTypeFunctionHelper::Delete which should be causing the problem is not present in qt5.5 and so I should try to use qtdeclarative above 5.5 as well and now I have tons of blocks trying to update to qt 5.6.
as I'm not that gentleman, my solution was to simply unmerge all the blockers =D quite neanderthal and there was probably a more elegant solution but I' m an assembler programmer so dont expect more from me, th epackages blocking qtcore 5.6.9999 were unmerged as folllows:

Code:
emerge --unmerge qtdbus qtnetwork qtwidgets qtserialport qtx11extras qtsql qtwebsockets qtopengl


After that I managed to emerge qtcore-5.6.9999:

Code:
skirmitch # emerge -av =dev-qt/qtcore-5.6.9999


Then went for my old nemesis which worked flawlessly this time:

Code:
emerge =dev-qt/qtdeclarative-5.6.9999


This last code reemerged some of the packages I so elegantly unmerged and so I just needed to reemerge the rest of the packages:

Code:
emerge -av =dev-qt/qtx11extras-5.6.9999 =dev-qt/qtsql-5.6.9999 =dev-qt/qtwebsockets-5.6.9999 =dev-qt/qtopengl-5.6.9999 =dev-qt/qtimageformats-5.6.9999 =dev-qt/qtxml-5.6.9999 =dev-qt/qtsensors-5.6.9999 =dev-qt/qtprintsupport-5.6.9999 =dev-qt/qdoc-5.6.9999 =dev-qt/qtpositioning-5.6.9999 =dev-qt/qtconcurrent-5.6.9999


All of them working, again, flawleslly. After this some classic

Code:
skirmitch # emerge @preserved-rebuild -a


which brought up LOADS of packages and finally emerging qt-creator worked. I' m not sure if my environment is finally set as I want it but at least the problems listed in this thread are solved. I hope this is of help to some other ppl and I beg the devs pardon for doin this so horribly, there was probably a 2 lines code solution for all of this but well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum