Hi, cone gets linked to the aspell dictionnary if aspell is installed on the system, whatever the spell USE is set or not. The USE only triggers a DEPEND on app-text/aspell mail-client/cone-0.79 was built with the following: USE="crypt -fam -spell" spiti ~ # readelf -d /usr/libexec/cone | grep aspell 0x00000001 (NEEDED) Shared library: [libaspell.so.15] spiti ~ # emerge --info --ignore-default-opts mail-client/cone Portage 2.2.0_alpha3_p4 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.32-hardened-r9 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-hardened-r9-i686-Intel-R-_Celeron-R-_CPU_3.20GHz-with-gentoo-1.12.13 Timestamp of tree: Tue, 02 Nov 2010 19:15:03 +0000 app-shells/bash: 4.1_p7 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) Repositories: gentoo lisp fulax ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --keep-going --verbose" FEATURES="assume-digests binpkg-logs distlocks fail-clean fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.osuosl.org/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/lisp /home/cnicolas/indes/packages/gentoo/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="aac aalib acl acpi alsa amr apache2 apm archive avahi bash-completion berkdb bluetooth branding bzip2 caps cli cracklib crypt curl cvs cxx dbus directfb dri dts dv enca encode exif fbcon ffmpeg flac fortran ftp fuse gdbm gif git gnutls gpg gstreamer gzip iconv icu id3 idn imap ipv6 javascript jbig jpeg latex ldap libcaca libwww live lzma lzo mad mercurial mmx mng modules mp3 mpeg mudflap musepack mysql ncurses network-cron nls nptl nptlonly nss ogg openal openmp pam pcre pmu png pnm policykit pppd quicktime radio rar readline rtc samba sasl schroedinger sdl session smp speex sql sqlite sqlite3 sse sse2 ssl ssse3 subversion suexec svg svga sysfs syslog system-sqlite tcpd tga theora threads tiff truetype unicode v4l v4l2 vidix vorbis win32codecs wmf x264 x86 xml xorg xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev intel vesa" 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: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS AFAICS, there is no option (in ${S}/cone/configure) to disable spell checking, ./configure disables it iff no aspell nor pspell is available.
BTW, it also gets linked against libldap and libncursesw, a RDEPEND against >=sys-libs/ncurses-5.2 should be sufficient for the latter. ${S}/ldapaddressbook/configure --help reported that --without-ldapaddressbook exists so econf $(use_with ldap ldapaddressbook) should be enough
automagic dependency on aspell?
(In reply to comment #1) > BTW, it also gets linked against libldap and libncursesw, a RDEPEND against > >=sys-libs/ncurses-5.2 should be sufficient for the latter. > > ${S}/ldapaddressbook/configure --help reported that --without-ldapaddressbook > exists > > so econf $(use_with ldap ldapaddressbook) should be enough These are already added to the latest cone ebuild so I'd rather get it marked stable and drop the old version since there are several other fixes I don't want to backport to the old version. In addition, I can reproduce the aspell automagic bug with the latest version so it will need to patched.
I've added a patch to fix this issue for the most recent version of cone in the tree. I think I'll close this bug since I'd rather get the new version stabilized and drop the old one instead of maintaining the old version. Please update to the latest version or wait for it to be stabilized in bug #345187.
(In reply to comment #3) > > These are already added to the latest cone ebuild so I'd rather get it marked > stable and drop the old version since there are several other fixes I don't > want to backport to the old version. > I didn't checked the last recent ebuild. I noticed it when trying to remove all spell/ldap related packages from my (now) server box. Thanks to preserved-libs features ;-) (In reply to comment #4) > I've added a patch to fix this issue for the most recent version of cone in the > tree. > > I think I'll close this bug since I'd rather get the new version stabilized and > drop the old one instead of maintaining the old version. > > Please update to the latest version or wait for it to be stabilized in bug > #345187. > Yes, I agree. Thank you very much :)