Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
khelpcenter fails to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1435
Location: indiana

PostPosted: Sun Apr 01, 2018 9:54 am    Post subject: khelpcenter fails to compile Reply with quote

before i fill out a bug report i hope you can help me finding the problem. i looked up gentoo forums as well as google but could not find anything helpful.
i switched to older gcc(6.x), to see if it is an issue with my currently used unstable gcc(7.3.0). but that did not help.

i have no errors reported after updating world. this is the error khelpcenter reports :
Code:
[ 95%] Linking CXX shared library libkdeinit5_khelpcenter.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/kdeinit_khelpcenter.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -march=ivybridge -O2 -pipe -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libkdeinit5_khelpcenter.so -o libkdeinit5_khelpcenter.so CMakeFiles/kdeinit_khelpcenter.dir/khc_debug.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/navigator.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/navigatoritem.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/navigatorappitem.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/navigatorappgroupitem.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/view.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/searchwidget.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/searchengine.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/docmetainfo.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/docentrytraverser.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/grantleeformatter.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/glossary.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/toc.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/mainwindow.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/docentry.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/history.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/application.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/treebuilder.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/infotree.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/fontdialog.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/plugintraverser.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/scrollkeepertreebuilder.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/bookmarkowner.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/searchhandler.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/prefs.cpp.o CMakeFiles/kdeinit_khelpcenter.dir/kdeinit_khelpcenter_autogen/mocs_compilation.cpp.o /usr/lib64/libKF5KHtml.so.5.43.0 /usr/lib64/libKF5Bookmarks.so.5.43.0 /usr/lib64/libGrantlee_Templates.so.5.1.0 /usr/lib64/libKF5DocTools.so.5.43.0 /usr/lib64/libKF5JS.so.5.43.0 /usr/lib64/libKF5Parts.so.5.43.0 /usr/lib64/libKF5XmlGui.so.5.43.0 /usr/lib64/libKF5TextWidgets.so.5.43.0 /usr/lib64/libKF5SonnetUi.so.5.43.0 /usr/lib64/libKF5KIOWidgets.so.5.43.0 /usr/lib64/libKF5WindowSystem.so.5.43.0 /usr/lib64/libKF5KIOCore.so.5.43.0 /usr/lib64/libKF5Service.so.5.43.0 /usr/lib64/libKF5DBusAddons.so.5.43.0 /usr/lib64/libKF5JobWidgets.so.5.43.0 /usr/lib64/libQt5Network.so.5.9.4 /usr/lib64/libKF5Completion.so.5.43.0 /usr/lib64/libKF5ConfigWidgets.so.5.43.0 /usr/lib64/libKF5ConfigGui.so.5.43.0 /usr/lib64/libQt5Xml.so.5.9.4 /usr/lib64/libKF5ConfigCore.so.5.43.0 /usr/lib64/libKF5I18n.so.5.43.0 /usr/lib64/libKF5Codecs.so.5.43.0 /usr/lib64/libKF5WidgetsAddons.so.5.43.0 /usr/lib64/libKF5Auth.so.5.43.0 /usr/lib64/libKF5CoreAddons.so.5.43.0 /usr/lib64/libQt5DBus.so.5.9.4 /usr/lib64/libQt5Widgets.so.5.9.4 /usr/lib64/libQt5Gui.so.5.9.4 /usr/lib64/libQt5Core.so.5.9.4
make[2]: Leaving directory '/var/tmp/portage/kde-apps/khelpcenter-17.12.3/work/khelpcenter-17.12.3_build'
[ 95%] Built target kdeinit_khelpcenter
make[1]: Leaving directory '/var/tmp/portage/kde-apps/khelpcenter-17.12.3/work/khelpcenter-17.12.3_build'
make: *** [Makefile:141: all] Error 2
 * ERROR: kde-apps/khelpcenter-17.12.3::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=kde-apps/khelpcenter-17.12.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-apps/khelpcenter-17.12.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-apps/khelpcenter-17.12.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-apps/khelpcenter-17.12.3/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-apps/khelpcenter-17.12.3/work/khelpcenter-17.12.3_build'
 * S: '/var/tmp/portage/kde-apps/khelpcenter-17.12.3/work/khelpcenter-17.12.3'


thanks in advance

i removed older khelpcenter, rebuild kinit,qtcore5,qtgui,qtwidgets but to no avail
_________________
I do not have a Superman complex, for I am God not Superman :D


Last edited by Mgiese on Sun Apr 01, 2018 10:18 am; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6822
Location: Austria

PostPosted: Sun Apr 01, 2018 10:10 am    Post subject: Reply with quote

There's no error in that output (it almost never is in the last few lines), you need to pastebin the full build.log. Plus, no report would be complete without `emerge --info`.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1435
Location: indiana

PostPosted: Sun Apr 01, 2018 10:19 am    Post subject: Reply with quote

Code:
emerge --info
Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.25-r11, 4.15.0-gentoo x86_64)
=================================================================
System uname: Linux-4.15.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-3470_CPU_@_3.20GHz-with-gentoo-2.4.1
KiB Mem:    16383964 total,  12231392 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 31 Mar 2018 23:00:01 +0000
Head commit of repository gentoo: 2ea0d6a6b0414c7df16076f732650ce4dbb59fa8
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::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.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.12.6-r1::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.3.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.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=ivybridge -O2 -pipe "
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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=ivybridge -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="acl alsa amd64 avi berkdb bindist bzip2 cli crypt cuda cups cxx dbus dri flv fortran gdbm gstreamer iconv ipv6 jpeg jpg lm_sensors mkv modules mp2 mp3 mp4 mpeg mplayer mtp multilib ncurses nls nptl openmp pam pcm pcre png pulseaudio readline seccomp speech ssl tcpd udev unicode usb xattr zlib" ABI_X86="32 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 mmxext" 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="libinput keyboard mouse" 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-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" 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, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
I do not have a Superman complex, for I am God not Superman :D
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1435
Location: indiana

PostPosted: Sun Apr 01, 2018 10:20 am    Post subject: Reply with quote

removed
_________________
I do not have a Superman complex, for I am God not Superman :D


Last edited by Mgiese on Sun Apr 01, 2018 10:29 am; edited 1 time in total
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1435
Location: indiana

PostPosted: Sun Apr 01, 2018 10:22 am    Post subject: Reply with quote

removed
_________________
I do not have a Superman complex, for I am God not Superman :D


Last edited by Mgiese on Sun Apr 01, 2018 10:29 am; edited 1 time in total
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1435
Location: indiana

PostPosted: Sun Apr 01, 2018 10:23 am    Post subject: Reply with quote

is that enough ? as i see i am not allowed to post full build log.... i have no possibility to upload somewhere...
_________________
I do not have a Superman complex, for I am God not Superman :D
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6822
Location: Austria

PostPosted: Sun Apr 01, 2018 10:24 am    Post subject: Reply with quote

asturm wrote:
you need to pastebin the full build.log.

Do you know what a pastebin is?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1435
Location: indiana

PostPosted: Sun Apr 01, 2018 10:28 am    Post subject: Reply with quote

asturm wrote:
asturm wrote:
you need to pastebin the full build.log.

Do you know what a pastebin is?


i knew it, i never registred though. now i did :

https://pastebin.com/L6x8Nq4F
_________________
I do not have a Superman complex, for I am God not Superman :D
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6822
Location: Austria

PostPosted: Sun Apr 01, 2018 10:51 am    Post subject: Reply with quote

Code:
xapiansearch.cpp:(.text.startup+0x9c0): undefined reference to `Xapian::Query::Query(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
xapiansearch.cpp:(.text.startup+0xafb): undefined reference to `Xapian::Query::get_description[abi:cxx11]() const'
xapiansearch.cpp:(.text.startup+0xfaf): undefined reference to `Xapian::Document::get_value[abi:cxx11](unsigned int) const'
xapiansearch.cpp:(.text.startup+0x12dd): undefined reference to `Xapian::Error::get_description[abi:cxx11]() const'
xapiansearch.cpp:(.text.startup+0x158b): undefined reference to `Xapian::Error::get_description[abi:cxx11]() const'

You switched from GCC-4 to GCC-5 without rebuilding (at least) xapian. There was a news item about the ABI breakage and necessary rebuilds with >=GCC-5.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1435
Location: indiana

PostPosted: Sun Apr 01, 2018 12:08 pm    Post subject: Reply with quote

thanks for pointing that out, that did the trick :)
_________________
I do not have a Superman complex, for I am God not Superman :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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