Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614178 - kde-frameworks/sonnet-5.32.0 fails to build: hunspell plugin-related
Summary: kde-frameworks/sonnet-5.32.0 fails to build: hunspell plugin-related
Status: RESOLVED DUPLICATE of bug 614098
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-29 05:08 UTC by fuse809
Modified: 2017-03-29 07:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fuse809 2017-03-29 05:08:40 UTC
I have tried to compile kde-frameworks/sonnet-5.32.0 (drawn in by kde-plasma/plasma-meta) and it failed giving the error:

make[2]: Leaving directory '/var/tmp/portage/kde-frameworks/sonnet-5.32.0/work/sonnet-5.32.0_build'
make[1]: *** [CMakeFiles/Makefile2:4081: src/plugins/hunspell/CMakeFiles/sonnet_hunspell.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 99%] Linking CXX shared library libKF5SonnetUi.so
cd /var/tmp/portage/kde-frameworks/sonnet-5.32.0/work/sonnet-5.32.0_build/src/ui && /usr/bin/cmake -E cmake_link_script CMakeFiles/KF5SonnetUi.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -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 -pedantic -Wsuggest-override -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libKF5SonnetUi.so.5 -o libKF5SonnetUi.so.5.32.0 CMakeFiles/KF5SonnetUi.dir/configdialog.cpp.o CMakeFiles/KF5SonnetUi.dir/configwidget.cpp.o CMakeFiles/KF5SonnetUi.dir/dialog.cpp.o CMakeFiles/KF5SonnetUi.dir/dictionarycombobox.cpp.o CMakeFiles/KF5SonnetUi.dir/highlighter.cpp.o CMakeFiles/KF5SonnetUi.dir/spellcheckdecorator.cpp.o CMakeFiles/KF5SonnetUi.dir/ui_debug.cpp.o CMakeFiles/KF5SonnetUi.dir/ECMQmLoader-sonnet5_qt.cpp.o CMakeFiles/KF5SonnetUi.dir/KF5SonnetUi_automoc.cpp.o -Wl,-rpath,/var/tmp/portage/kde-frameworks/sonnet-5.32.0/work/sonnet-5.32.0_build/src/core: /usr/lib64/libQt5Widgets.so.5.7.1 ../core/libKF5SonnetCore.so.5.32.0 /usr/lib64/libQt5Gui.so.5.7.1 /usr/lib64/libQt5Core.so.5.7.1 
cd /var/tmp/portage/kde-frameworks/sonnet-5.32.0/work/sonnet-5.32.0_build/src/ui && /usr/bin/cmake -E cmake_symlink_library libKF5SonnetUi.so.5.32.0 libKF5SonnetUi.so.5 libKF5SonnetUi.so
make[2]: Leaving directory '/var/tmp/portage/kde-frameworks/sonnet-5.32.0/work/sonnet-5.32.0_build'
[ 99%] Built target KF5SonnetUi
make[1]: Leaving directory '/var/tmp/portage/kde-frameworks/sonnet-5.32.0/work/sonnet-5.32.0_build'
make: *** [Makefile:128: all] Error 2
 * ERROR: kde-frameworks/sonnet-5.32.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=kde-frameworks/sonnet-5.32.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-frameworks/sonnet-5.32.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-frameworks/sonnet-5.32.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-frameworks/sonnet-5.32.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-frameworks/sonnet-5.32.0/work/sonnet-5.32.0_build'
 * S: '/var/tmp/portage/kde-frameworks/sonnet-5.32.0/work/sonnet-5.32.0'

I have seen this related bug report https://bugs.gentoo.org/show_bug.cgi?id=543590 but given that it's marked as fixed I thought this bug was separate.

emerge -pqv output is:

[ebuild  N    ] kde-frameworks/sonnet-5.32.0  USE="hunspell nls -aspell -debug {-test}"
Comment 1 fuse809 2017-03-29 05:11:13 UTC
build log is coming I kind of decided to switch USE flags to get passed this build error and it destroyed the log. I changed USE flags as I was having trouble submitting this bug report in Chrome (which I mentioned at the #gentoo IRC channel).
Comment 2 fuse809 2017-03-29 05:17:29 UTC
attachment.cgi is having difficulty (see this screenshot showing what error I get in Firefox) that's why I couldn't submit this bug report in Chrome! http://imgur.com/7PYryWc.png. http://paste2.org/wYLdxPBe
Comment 3 fuse809 2017-03-29 05:19:32 UTC
That paste was my build log (and don't whinge that it isn't attached to this bug as I can't attach it that's the problem I just described!). emerge --info gives:

Portage 2.3.5 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.24-r1, 4.9.17-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.17-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.3
KiB Mem:    16375812 total,   2120620 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 28 Mar 2017 00:45:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo
dev-util/cmake:           3.7.2-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.24.2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.27::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
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 -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="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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 branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam firefox flac fortran gdbm gif glamor gles gles2 gpm gtk iconv ipv6 jpeg kde kipi kms kwallet lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl nvidia ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wayland widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xwayland 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" 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 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" L10N="en en_AU en_GB en_US en-AU en-GB" 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" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

kde-frameworks/sonnet-5.32.0::gentoo was built with the following:
USE="nls -aspell -debug -hunspell -test" ABI_X86="64"

the final line is only because I switched the USE flag to force the build to work, but since then I switched the USE flag to +hunspell but that build failed so that's why this last lime still shows the previous USE flag setting I used.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-03-29 06:24:35 UTC
Please upgrade to =app-text/hunspell-1.6.1-r1

*** This bug has been marked as a duplicate of bug 614098 ***
Comment 5 fuse809 2017-03-29 07:45:06 UTC
That fixed the bug, thanks.