Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583486 - app-text/enchant-1.6.0[hunspell] build fails with >=app-text/hunspell-1.4.0
Summary: app-text/enchant-1.6.0[hunspell] build fails with >=app-text/hunspell-1.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.abisource.com/show_bu...
Whiteboard:
Keywords:
: 591448 (view as bug list)
Depends on:
Blocks: hunspell-1.4
  Show dependency tree
 
Reported: 2016-05-19 09:57 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2016-08-17 11:21 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,38.63 KB, text/plain)
2016-05-19 09:57 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-05-19 09:57:35 UTC
Created attachment 434690 [details]
build.log

libtool: compile:  x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME
=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPA
CKAGE_URL=\"\" -DPACKAGE=\"enchant\" -DVERSION=\"1.6.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FLOCK=1 -DHAVE_LOCKF=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -I. -I../../src -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DENCHANT_PREFIX_DIR=\"/usr\" -DENCHANT_MYSPELL_DICT_DIR=\"/usr/share/myspell/\" -Wall -Wextra -Wsign-compare -Wpointer-arith -Wwrite-strings -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -DWITH_SYSTEM_MYSPELL -D_ENCHANT_BUILD=1 -march=native -mtune=native -O2 -pipe -c myspell_checker.cpp  -fPIC -DPIC -o .libs/myspell_checker.o
myspell_checker.cpp: In member function ‘bool MySpellChecker::checkWord(const char*, size_t)’:
myspell_checker.cpp:154:12: error: ‘MAXWORDLEN’ was not declared in this scope
  if (len > MAXWORDLEN || !g_iconv_is_valid(m_translate_in))
            ^
myspell_checker.cpp:160:13: error: ‘MAXWORDLEN’ was not declared in this scope
  char word8[MAXWORDLEN + 1];
             ^
myspell_checker.cpp:161:14: error: ‘word8’ was not declared in this scope
  char *out = word8;
              ^
myspell_checker.cpp: In member function ‘char** MySpellChecker::suggestWord(const char*, size_t, size_t*)’:
myspell_checker.cpp:178:12: error: ‘MAXWORDLEN’ was not declared in this scope
  if (len > MAXWORDLEN 
            ^
myspell_checker.cpp:186:13: error: ‘MAXWORDLEN’ was not declared in this scope
  char word8[MAXWORDLEN + 1];
             ^
myspell_checker.cpp:187:14: error: ‘word8’ was not declared in this scope
  char *out = word8;
              ^
myspell_checker.cpp: In member function ‘bool MySpellChecker::checkWord(const char*, size_t)’:
myspell_checker.cpp:173:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
Makefile:552: recipe for target 'myspell_checker.lo' failed
make[2]: *** [myspell_checker.lo] Error 1
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-07-27 06:45:32 UTC
commit 4ab0cec0468c36f8e91eb4b731c54d2b7924ea71
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Wed Jul 27 08:44:39 2016

    app-text/enchant: Fixed compilation with hunspell-1.4 (bug #583486).
    
    Bumped to EAPI-6.
    
    Package-Manager: portage-2.3.0
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Comment 2 Coacher 2016-08-17 11:17:44 UTC
*** Bug 591448 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Caban 2016-08-17 11:21:42 UTC
I am still getting this error in enchant-1.6.0.

My emerge --info:

emerge --info
Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r2, 4.7.1-gentoo x86_64)
=================================================================
System uname: Linux-4.7.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-2670QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     8139456 total,    946496 free
KiB Swap:    8388604 total,   8386084 free
Timestamp of repository gentoo: Wed, 17 Aug 2016 08:30:01 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
ccache version 3.2.7 [disabled]
app-shells/bash:          4.3_p46::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.7::gentoo
dev-util/cmake:           3.6.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2-r1::gentoo
sys-apps/openrc:          0.21.3::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.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::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

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

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

soft
    location: /var/lib/layman/soft
    sync-type: laymansync
    sync-uri: https://bitbucket.org/Soft/overlay
    masters: gentoo
    priority: 50

my
    location: /var/lib/layman/my
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
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="-mtune=native -march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs compressdebug 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.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--sort-common"
MAKEOPTS="-j4"
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="/tmp"
USE="X a52 aac acl acpi aes alsa amd64 avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif facebook fam ffmpeg firefox firmware flac fortran gdbm gif git google gpm grub iconv icu ipv6 jpeg kde kdepim kipi kontact lcms ldap libinput mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp optimized-qmake pam pango pcre pdf phonon php plasma pm-utils png policykit popcnt ppds pulseaudio python3 qml qt3support qt4 qt5 readline scanner sdl seccomp semantic-desktop session spell sse sse2 sse3 sse4 sse4_1 sse4_2 sse4_4way ssl ssse3 ssse4 startup-notification svg system-ffmpeg system-icu system-jpeg system-sqlite tcpd tiff touchpad truetype udev udisks unicode upower usb v4l v4ls vdpau vim-syntax vorbis wayland widgets wifi wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xvmc 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="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="libinput evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_us en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="nouveau 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"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS