Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331325 - mail-client/thunderbird-3.1.1-r2: dictionaries are missing
Summary: mail-client/thunderbird-3.1.1-r2: dictionaries are missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-08-05 15:06 UTC by Sven
Modified: 2010-08-30 07:40 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 Sven 2010-08-05 15:06:58 UTC
In FireFox, spell checking works and all system-wide installed dictionaries are shown. In Thunderbird, the are all missing.

Please fix.

Reproducible: Always

Steps to Reproduce:
Comment 1 Rafał Mużyło 2010-08-05 22:23:31 UTC
That may just be an inconsistency between ebuilds.
Your 'emerge --info' ?
Comment 2 Sven 2010-08-05 22:37:45 UTC
# emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35 x86_64)
=================================================================
System uname: Linux-2.6.35-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 05 Aug 2010 14:30:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 1.3.7-r1, 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
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.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 sun-bcla-java-vm skype-eula googleearth Q3AEULA AdobeFlash-10 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -pipe -mtune=nocona"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests distlocks fixpackages news preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS=" 	http://de-mirror.org/distro/gentoo/ "
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3"
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="/usr/local/portage/temp /usr/local/portage/private /usr/local/portage/skoehler /usr/local/portage/tinyos-2-overlay /var/lib/layman/jokey /var/lib/layman/science /var/lib/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adplug aften alsa amd64 amr amrnb amrwb ao apache2 bash-completion berkdb binfilter bluetooth branding bzip2 cairo cdda cdr cdrkit cjk cli consolekit context cracklib crypt css ctype cue cups cxx dbus dhcpcd dirac dri dtmf dts dv dvd dvdnav dvdr dvipdfm eds emboss emerald encode evo exif extra faac faad fam fat ffmpeg fftw filter firefox flac fortran fts3 fuse gconf gdbm gdu gif glitz gnome gnome-keyring gphoto2 gpm graphics gs gstreamer gtk h224 h281 h323 hal hddtemp hybrid-auth ia32 iax iconv iproute2 ipv6 java5 jce jpeg jpeg2k kpathsea kqemu kvm lame latex lcms libcaca libnotify libsamplerate lm_sensors logrotate lzma mad mikmod mmx mng modplug modules mp2 mp3 mp4 mpeg mudflap multilib musepack mysql mysqli nautilus ncurses networkmanager nls nptl nptlonly nsplugin ntfs nvidia ogg openal opengl openmp pam pango pch pcre pdf pdo perl pipechan plotutils png pnm policykit postgres pppd python qt-bundled qt-static qt3-static qt3support readline reflection resolvconf rfc4175 rtc samba sbc science sdl secure-delete session sid sip sipim sndfile speex spell spl sse sse2 sse3 ssl ssse3 startup-notification svg swat sysfs system-sqlite tcpd tex4ht theora tiff timidity truetype tta twolame unicode usb vdpau vorbis wav wavpack wma wmp x264 xanim xattr xcb xcomposite xetex xinerama xml xorg xulrunner xv xvid xvmc zip zlib" 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" 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" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64 arm" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia nouveau" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


# emerge firefox thunderbird -vp

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

Calculating dependencies... done!
[ebuild   R   ] www-client/firefox-3.6.8-r1  USE="alsa cups dbus gnome ipc libnotify startup-notification system-sqlite -bindist -custom-optimization -java -wifi" LINGUAS="de en -af -ar -as -be -bg -bn -bn_BD -bn_IN -ca -cs -cy -da -el -en_GB -en_US -eo -es -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy -fy_NL -ga -ga_IE -gl -gu -gu_IN -he -hi -hi_IN -hr -hu -id -is -it -ja -ka -kk -kn -ko -ku -lt -lv -mk -ml -mr -nb -nb_NO -nl -nn -nn_NO -oc -or -pa -pa_IN -pl -pt -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -sq -sr -sv -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW" 0 kB
[ebuild   R   ] mail-client/thunderbird-3.1.1-r2  USE="alsa crypt cups dbus gnome libnotify lightning startup-notification system-sqlite -bindist -custom-optimization -ldap -mozdom -wifi" LINGUAS="de en -af -ar -be -bg -bn -bn_BD -ca -cs -da -el -en_GB -en_US -es -es_AR -es_ES -et -eu -fi -fr -fy -fy_NL -ga -ga_IE -he -hu -id -is -it -ja -ko -lt -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -si -sk -sl -sq -sv -sv_SE -tr -uk -zh -zh_CN -zh_TW" 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
Comment 3 Jory A. Pratt gentoo-dev 2010-08-29 17:50:47 UTC
Well as 3.1.1-r2 is ~arch masked you had to unmask it. Can you reproduce this bug with 3.1.2?
Comment 4 Sven 2010-08-29 18:07:45 UTC
(In reply to comment #3)
> Well as 3.1.1-r2 is ~arch masked you had to unmask it.

Yes. Is there some compatibility problem?

> Can you reproduce this bug with 3.1.2?

Yes, I'm using thunderboird 3.1.2 right now. The system dictionaries don't show up.
Comment 5 Sven 2010-08-29 18:13:20 UTC
I did an strace -f  for both firefox and thunderbird.
Most interestingly, the trace of firefox indicates that libhunspell.so is loaded and that the dictionaries are access.

In the trace of thunderbird, this is all missing. Instead of libhunspell, it seems to load its own spell checker.

$ cat firefox.trace |grep -i spell
32493 open("/usr/lib64/libhunspell-1.2.so.0", O_RDONLY) = 4
32493 access("/usr/share/myspell", F_OK) = 0
32493 stat("/usr/share/myspell", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
32493 open("/usr/share/myspell", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 60
32493 access("/usr/share/myspell/hyph_de_DE.aff", F_OK) = -1 ENOENT (No such file or directory)
32493 access("/usr/share/myspell/de_CH_frami.aff", F_OK) = 0
32493 access("/usr/share/myspell/en_US.aff", F_OK) = 0
32493 access("/usr/share/myspell/de_DE_frami.aff", F_OK) = 0
32493 access("/usr/share/myspell/hyph_en_GB.aff", F_OK) = -1 ENOENT (No such file or directory)
32493 access("/usr/share/myspell/en_ZA.aff", F_OK) = 0
32493 access("/usr/share/myspell/hyph_de_CH.aff", F_OK) = -1 ENOENT (No such file or directory)
32493 access("/usr/share/myspell/en_AU.aff", F_OK) = 0
32493 access("/usr/share/myspell/de_AT_frami.aff", F_OK) = 0
32493 access("/usr/share/myspell/en_GB.aff", F_OK) = 0
32493 access("/usr/share/myspell/en_NZ.aff", F_OK) = 0
32493 access("/usr/share/myspell/en_CA.aff", F_OK) = 0
32493 access("/usr/share/myspell/en_GB-oed.aff", F_OK) = 0
32493 open("/usr/share/myspell/de_DE_frami.aff", O_RDONLY) = 60
32493 open("/usr/share/myspell/de_DE_frami.dic", O_RDONLY) = 60
32493 open("/usr/share/myspell/de_DE_frami.aff", O_RDONLY) = 60

$ cat thunderbird.trace |grep -i spell
32444 open("/usr/lib64/thunderbird/components/libspellchecker.so", O_RDONLY) = 16
32444 lstat("/usr/share/icons/gnome/24x24/actions/tools-check-spelling.png", {st_mode=S_IFREG|0644, st_size=1073, ...}) = 0
32444 lstat("/usr/share/icons/gnome/24x24/actions/gtk-spell-check.png", {st_mode=S_IFLNK|0777, st_size=24, ...}) = 0
32444 stat("/usr/share/icons/gnome/24x24/actions/gtk-spell-check.png", {st_mode=S_IFREG|0644, st_size=1073, ...}) = 0
32444 readlink("/usr/share/icons/gnome/24x24/actions/gtk-spell-check.png", "tools-check-spelling.png"..., 256) = 24
Comment 6 Sven 2010-08-29 18:16:20 UTC
Just did a quick grep over the firefox and thunderbird ebuilds.

Is it possible, that "--with-system-hunspell" in the thunderbird ebuilds should be replaced by "--enable-system-hunspell". I will do a test and report back whether it works.
Comment 7 Sven 2010-08-29 18:48:37 UTC
Actually the trace has changed after changing "--with-system-hunspell" to "--enable-system-hunspell". But the installed system dictionaries are not listed yet.

$ cat thunderbird2.trace |grep -i spell
12356 open("/usr/lib64/thunderbird/components/libspellchecker.so", O_RDONLY) = 16
12356 open("/usr/lib64/thunderbird/libhunspell-1.2.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
12356 open("/usr/lib64/libhunspell-1.2.so.0", O_RDONLY) = 16
12356 lstat("/usr/share/icons/gnome/24x24/actions/tools-check-spelling.png", {st_mode=S_IFREG|0644, st_size=1073, ...}) = 0
12356 lstat("/usr/share/icons/gnome/24x24/actions/gtk-spell-check.png", {st_mode=S_IFLNK|0777, st_size=24, ...}) = 0
12356 stat("/usr/share/icons/gnome/24x24/actions/gtk-spell-check.png", {st_mode=S_IFREG|0644, st_size=1073, ...}) = 0
12356 readlink("/usr/share/icons/gnome/24x24/actions/gtk-spell-check.png", "tools-check-spelling.png"..., 256) = 24
Comment 8 Jory A. Pratt gentoo-dev 2010-08-29 19:41:53 UTC
(In reply to comment #7)
> Actually the trace has changed after changing "--with-system-hunspell" to
> "--enable-system-hunspell". But the installed system dictionaries are not
> listed yet.

Actually I see what is wrong and will be fixing it here in a bit. I will also fix the error of with-system which should be --enable-system which you have pointed out.


Comment 9 Jory A. Pratt gentoo-dev 2010-08-29 20:14:11 UTC
I have just pushed the fix to cvs rsync should get it shortly. Please feel free to reopen if bug is not totally fixed for you after upgrade.
Comment 10 Sven 2010-08-30 07:40:28 UTC
(In reply to comment #9)
> I have just pushed the fix to cvs rsync should get it shortly. Please feel free
> to reopen if bug is not totally fixed for you after upgrade.

Everything's fine. Good work. Thanks!