Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 642354

Summary: app-text/enchant-1.6.1::gentoo fails to compile without hunspell
Product: Gentoo Linux Reporter: ta2002 <throw_away_2002>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: build log

Description ta2002 2017-12-26 21:46:46 UTC
# emerge -p enchant 

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

 Calculating dependencies... done! 
 [ebuild     U  ] app-text/enchant-1.6.1::gentoo [1.6.0::gentoo] USE="aspell -hunspell -static-libs {-test%} -zemberek" 0 KiB 

 Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Note -hunspell (which was not required in prior versions, and according to the web site is still not required)

>>> Emerging (1 of 1) app-text/enchant-1.6.1::gentoo 
  * enchant-1.6.1.tar.gz BLAKE2B SHA512 size ;-) ...                                                                          [ ok ] 
 >>> Unpacking source... 
 >>> Unpacking enchant-1.6.1.tar.gz to /var/tmp/portage/app-text/enchant-1.6.1/work 
 >>> Source unpacked in /var/tmp/portage/app-text/enchant-1.6.1/work 
 >>> Preparing source in /var/tmp/portage/app-text/enchant-1.6.1/work/enchant-1.6.1 ... 
  * Applying enchant-1.6.0-hunspell150_fix.patch ...                                                                          [ ok ] 
 >>> Source prepared. 
 >>> Configuring source in /var/tmp/portage/app-text/enchant-1.6.1/work/enchant-1.6.1 ... 
  * econf: updating enchant-1.6.1/config.sub with /usr/share/gnuconfig/config.sub 
  * econf: updating enchant-1.6.1/config.guess with /usr/share/gnuconfig/config.guess 
 ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/enchant-1.6.1 --htmldir=/usr/share/doc/enchant-1.6.1/html --libdir=/usr/lib64 --enable-aspell --disable-myspell --disable-static --disable-zemberek --disable-hspell --disable-ispell --disable-uspell --disable-voikko --with-myspell-dir=/usr/share/myspell/ 
 ./configure: line 2535: 1.6.1: command not found 
 checking for a BSD-compatible install... /usr/bin/install -c 


 checking for LC_MESSAGES... yes 
 checking for MYSPELL... no 
 configure: error: Package requirements (hunspell) were not met: 

 No package 'hunspell' found 

 Consider adjusting the PKG_CONFIG_PATH environment variable if you 
 installed software in a non-standard prefix. 

 Alternatively, you may set the environment variables MYSPELL_CFLAGS 
 and MYSPELL_LIBS to avoid the need to call pkg-config. 
 See the pkg-config man page for more details. 

 !!! Please attach the following file when seeking support: 
 !!! /var/tmp/portage/app-text/enchant-1.6.1/work/enchant-1.6.1/config.log 
  * ERROR: app-text/enchant-1.6.1::gentoo failed (configure phase): 
  *   econf failed 
  * Call stack: 
  *     , line  124:  Called src_configure 
  *             environment, line 2135:  Called econf '--enable-aspell' '--disable-myspell' '--disable-static' '--disable-zemberek' '--disable-hspell' '--disable-ispell' '--disable-uspell' '--disable-voikko' '--with-myspell-dir=/usr/share/myspell/' 
  *, line  665:  Called __helpers_die 'econf failed' 
  *, line  117:  Called die 
  * The specific snippet of code: 
  *              die "$@" 
  * If you need support, post the output of `emerge --info '=app-text/enchant-1.6.1::gentoo'`, 
  * the complete build log and the output of `emerge -pqv '=app-text/enchant-1.6.1::gentoo'`. 
  * The complete build log is located at '/var/log/portage/app-text:enchant-1.6.1:20171226-042915.log'. 
  * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/enchant-1.6.1/temp/build.log'. 
  * The ebuild environment file is located at '/var/tmp/portage/app-text/enchant-1.6.1/temp/environment'. 
  * Working directory: '/var/tmp/portage/app-text/enchant-1.6.1/work/enchant-1.6.1' 
  * S: '/var/tmp/portage/app-text/enchant-1.6.1/work/enchant-1.6.1' 

 >>> Failed to emerge app-text/enchant-1.6.1, Log file: 

 >>>  '/var/log/portage/app-text:enchant-1.6.1:20171226-042915.log' 

  * Regenerating GNU info directory index... 
  * Processed 109 info files.
Comment 1 Jonas Stein gentoo-dev 2018-01-03 21:28:00 UTC
Thank you for the report. Please *attach* the logfiles,
and reopen this ticket (Status:unconfirmed).
Comment 2 ta2002 2018-01-05 11:58:15 UTC
Created attachment 513388 [details]
build log

# emerge --info app-text/enchant
Portage 2.3.13 (python 3.4.5-final-0, default/linux/amd64/17.0/no-multilib, gcc-6.4.0, glibc-2.25-r9, 4.9.16-gentoo x86_64)
                         System Settings
System uname: Linux-4.9.16-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.4.1
KiB Mem:     4017512 total,   1103064 free
KiB Swap:    1047548 total,   1047052 free
Timestamp of repository gentoo: Thu, 04 Jan 2018 18:00:01 +0000
Head commit of repository gentoo: 94bb49a9a28a2531bab1062e258c2d7b43b51663
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-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.10-r4::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            6.4.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-r9::gentoo

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

CFLAGS="-O2 -fomit-frame-pointer -pipe -march=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mfpmath=sse"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -fomit-frame-pointer -pipe -march=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mfpmath=sse"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="64bit R X a52 aac aalib accessibility acoustid acpi additions adobe-cff aio alsa amd64 ap arcade asf aspell audio audiofile avcodec avformat blksha1 bookmarks bwscheduler bzip2 cacert cairo caps cdda cdio cdr chm chroot classic cli client consolekit cpumining cracklib crypt cryptsetup css cups cxx dbus device-mapper dga directfb display-manager djvu downloadorder dri dri3 drm dvbpsi dvd dvdnav dvdr ebook egl eigen encode espeak exceptions exif expat fam fbcon ffmpeg filecaps flac fluidsynth fontconfig fortran gbm gcj gcrypt ggi gif glamor glib glibc-omitfp gmp gpg gphoto2 gpm gsm gstreamer gtk handbook hardcoded-tables harfbuzz hddtemp hpn iconv idea imap infowidget inotify iostats ipc ipfilter ipv6 jabber jbig jit joystick jpeg jsbsim kdcraw kmod kscreen lame lcms less libass libkms libmpv libsamplerate libwww live lm_sensors logviewer lzma mad matroska mbox mdns-bundled memlimit midi mime minizip mmx mmxext mp3 mp4 mpeg mta mudflap nas ncurses net network nls no-old-linux nodrm npm nptl ntfsprogs ntp ocamlopt offensive offlinehelp ofx ogg okular opengl openmedia openmp opus oscar osdmenu p2p pcre pdf pie pm-utils png policykit portmon postproc ps qml qt3support quotes raptor readline real recursion-limit redland rtc rtmp savedconfig scanfolder scanner scrypt sdl search seccomp secure-delete sensord shared-glapi shm silc smbclient smtp snapshot sndfile sound speex spell sse sse2 sse2_4way sse2check sse4 ssl ssse3 stats subversion svc svg swscale sysfs taglib tcmalloc tcpd theora threads threadsafe tiff tinfo tls-heartbeat truetype udev udisks unicode upower urandom usb userlocales utils v4l2 video vorbis vtv wav webdav-neon webinterface widgets x264 xcb xinerama xml xmp xpdf-headers xslt xv xvid zlib zrtp" ABI_X86="64" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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="evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4" USERLAND="GNU" VIDEO_CARDS="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"

                        Package Settings

app-text/enchant-1.6.0::gentoo was built with the following:
USE="aspell -hunspell -static-libs -zemberek"
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2018-02-07 23:03:28 UTC
The configure does indeed not make this check conditional. It should be easy to patch but maybe it would be more interesting to push 2.* series forward which does have a fix for this already.
Comment 4 ta2002 2019-06-14 10:15:01 UTC
Looks like 1.6.1 will remain for a while, so I would ask that someone make that patch, especially after the removal of 1.6.0 from the tree.