Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659730 - www-client/firefox-61.0 US English spell check non-functional
Summary: www-client/firefox-61.0 US English spell check non-functional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal trivial with 1 vote (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 660312 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-07-01 02:46 UTC by Kenton Groombridge
Modified: 2018-09-27 20:35 UTC (History)
8 users (show)

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


Attachments
Screenshot of words underlined with red, wavy line mingdao@workstation ~ $ eix www-client/firefox [I] www-client/firefox Available versions: 52.6.0^d 52.8.0^d (~)52.9.0^d (~)60.1.0^d (~)61.0^d {bindist custom-cflags custom-optimization dbus deb (Screenshot-659730.png,22.91 KB, image/png)
2018-07-01 03:20 UTC, Bruce Hill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenton Groombridge 2018-07-01 02:46:32 UTC
I can only speak for US English spell check, but it is broken on www-client/firefox-61.0.  Every word I type in web forms is underlined.  Verified settings in preferences, and right clicked->Languages->Engiish(United States) is selected. Reverted to www-client/firefox-60.1.0 and spell check is fully functional.

emerge --info
Portage 2.3.41 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.27-r5, 4.17.3-gentoo x86_64)
=================================================================
System uname: Linux-4.17.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.6
KiB Mem:    16344252 total,  10329692 free
KiB Swap:    1637372 total,   1637372 free
Timestamp of repository gentoo: Sun, 01 Jul 2018 00:26:28 +0000
Head commit of repository gentoo: 7f25bbe63660c6d2abe71021da086d94e93e7d9b

sh bash 4.4_p23
ld GNU ld (Gentoo 2.30 p3) 2.30.0
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5-r1::gentoo
dev-util/cmake:           3.11.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6::gentoo
sys-apps/openrc:          0.38.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r3::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ace
    location: /var/lib/layman/ace
    masters: gentoo
    priority: 50

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
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 /etc/vmware-installer"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://192.168.1.115/ ftp://192.168.1.100/ http://104.25.4.23/gentoo/ http://mirrors.evowise.com/gentoo/ http://[2400:cb00:2048:1::6819:417]/gentoo/ http://104.25.5.23/gentoo/ http://[2600:3402:200:227::2]/"
LANG="en_US.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 aacplus acpi activities afpacket alsa alsa-plugin amd64 bbswitch berkdb binary-drivers bluetooth branding bzip2 cairo caps-ng cdda cddb cdr cli client consolekit crypt cups cxx dbus declarative dhcpcd dri3 dts dvb dvd dvdr efi efiemu emboss encode evdev exif external-fuse fam ffmpeg file-inspect flac fortran gdbm gif git glamor gles gpm gstreamer gtk gtk3 hex hpcups iconv icu ipv6 java javafx javascript jit jpeg kipi kwallet large-pcap-64bit lcms ldap legacy-systray libnotify libtirpc lightdm mad maxminddb mjpeg mng modules mp3 mp4 mpeg mtp multilib ncurses nfs nfsv4 nls nptl nsplugin nss ntfsprogs ntp nvidia offensive ogg openal opencl opengl openmp openssl ovftool pam pango pcap pcre pcsc-lite pdf phonon pkcs11 plasma png policykit ppapi ppds prelink projectm proprietary-codecs pulseaudio python qemu qml qt5 rar rdp readline realtime samba sdl sdl2 seccomp semantic-desktop shm smartcard sna spell sqlite ssl startup-notification svc svg taglib tcpd theora threads tiff touchpad truetype udev udisks unicode upower usb uvm uxa v4l2 vaapi vdpau vix vorbis vpx wayland widevine widgets wifi winbind wma wxwidgets x264 x265 xattr xcb xcomposite xine xml xnest xorg xv xvid xvmc zip 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboard evdev synaptics void" KERNEL="linux" L10N="en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Salas 2018-07-01 02:56:30 UTC
I have the same problem on firefox-61.
Comment 2 Bruce Hill 2018-07-01 03:20:47 UTC
Created attachment 537944 [details]
Screenshot of words underlined with red, wavy line

mingdao@workstation ~ $ eix www-client/firefox
[I] www-client/firefox
     Available versions:  52.6.0^d 52.8.0^d (~)52.9.0^d (~)60.1.0^d (~)61.0^d {bindist custom-cflags custom-optimization dbus deb
Comment 3 Jory A. Pratt gentoo-dev 2018-07-01 04:00:18 UTC
This is known breakage and not likely to be fixed in gentoo. I have already included 62.0_beta* ebuild in the mozilla overlay which works as you are expecting it to.
Comment 4 boxcars 2018-07-01 07:08:43 UTC
See upstream bug https://bugzilla.mozilla.org/show_bug.cgi?id=1469740
Comment 5 Jory A. Pratt gentoo-dev 2018-07-01 08:55:12 UTC
(In reply to boxcars from comment #4)
> See upstream bug https://bugzilla.mozilla.org/show_bug.cgi?id=1469740

As I stated before this is known breakage and will not be fixed most likely. If the issue is that big of a problem I suggest you downgrade to 60.x or upgrade to 62.0_beta* from the mozilla overlay.
Comment 6 Mart Raudsepp gentoo-dev 2018-07-03 22:23:14 UTC
*** Bug 660312 has been marked as a duplicate of this bug. ***
Comment 7 Daniel Harding 2018-07-08 11:45:50 UTC
The actual issue is that support for building against the system hunspell library was removed in Firefox 61.  See upstream bug https://bugzilla.mozilla.org/show_bug.cgi?id=1460600 for more information.  Gentoo unconditionally builds firefox against the system hunspell library, hence the breakage.
Comment 8 Jory A. Pratt gentoo-dev 2018-07-08 14:41:15 UTC
(In reply to Daniel Harding from comment #7)
> The actual issue is that support for building against the system hunspell
> library was removed in Firefox 61.  See upstream bug
> https://bugzilla.mozilla.org/show_bug.cgi?id=1460600 for more information. 
> Gentoo unconditionally builds firefox against the system hunspell library,
> hence the breakage.

Your assumptions are all wrong. It was Version 62 that drop'd system hunspell support not 61.
Comment 9 Jory A. Pratt gentoo-dev 2018-07-08 16:07:47 UTC
commit c8c2d2878c4b4a732ba2b581ed6b6737d8f1b2a0 (HEAD -> master, origin/master, origin/HEAD)
Author: Jory A. Pratt <anarchy@gentoo.org>
Date:   Sun Jul 8 11:05:20 2018 -0500

    www-client/firefox: Work around broken system-hunspell support, bug
    659730
Comment 10 Daniel Harding 2018-07-08 17:53:30 UTC
Perhaps I could have been more clear, but I *do* know what I am talking about.  All that happened in Firefox 62 was that the --enable-system-hunspell flag was removed.  However, --enable-system-hunspell became broken in Firefox 61, and the issue I linked to notes that --enable-system-hunspell was removed in Firefox 62 *because it was no longer supported* in Firefox 61.  See https://bugzilla.mozilla.org/show_bug.cgi?id=1460600#c2, which links to https://bugzilla.mozilla.org/show_bug.cgi?id=1410214, the change that actually broke system hunspell, which landed in Firefox 61.

For more references to spelling breakage in Firefox 61 due to using --enable-system-hunspell see:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900469#43
https://forum.voidlinux.eu/t/solved-firefox-61-0-spellchecking-not-working-musl/6064/8
https://github.com/void-linux/void-packages/pull/487
Comment 11 Gino McCarty 2018-07-08 19:25:19 UTC
I'm not sure how constructive this conversation is, seems their are 3 ways to fix this


1. file a patch against 61
2. wait until 62

according to the bug upstream this isn't a hunspell issue are far as I can see, firefox is adding file:// so IO requests do the disk, so naturally they all fail.

I fixed this with (as commented uptream) i did an `ln -s / file:` in my home directory.
Comment 12 Jan Vesely 2018-07-08 21:03:22 UTC
(In reply to Jory A. Pratt from comment #9)
> commit c8c2d2878c4b4a732ba2b581ed6b6737d8f1b2a0 (HEAD -> master,
> origin/master, origin/HEAD)
> Author: Jory A. Pratt <anarchy@gentoo.org>
> Date:   Sun Jul 8 11:05:20 2018 -0500
> 
>     www-client/firefox: Work around broken system-hunspell support, bug
>     659730

the r1 version does not compile for me:

28:17.04 In file included from /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/spellcheck/hunspell/src/filemgr.hxx:75:0,
28:17.04                  from /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/spellcheck/hunspell/src/hashmgr.hxx:79,
28:17.04                  from /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/spellcheck/hunspell/src/affixmgr.hxx:81,
28:17.04                  from /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/spellcheck/hunspell/src/affentry.hxx:76,
28:17.04                  from /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/spellcheck/hunspell/src/affentry.cxx:76,
28:17.04                  from /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/ff/extensions/spellcheck/hunspell/src/Unified_cpp_hunspell_src0.cpp:2:
28:17.04 /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/spellcheck/hunspell/glue/mozHunspellFileMgr.h:42:3: error: 'nsCOMPtr' does not name a type
28:17.04    nsCOMPtr<nsIInputStream> mStream;
28:17.04    ^~~~~~~~
Comment 13 Daniel Salas 2018-07-08 21:05:30 UTC
(In reply to Jan Vesely from comment #12)
> (In reply to Jory A. Pratt from comment #9)
> > commit c8c2d2878c4b4a732ba2b581ed6b6737d8f1b2a0 (HEAD -> master,
> > origin/master, origin/HEAD)
> > Author: Jory A. Pratt <anarchy@gentoo.org>
> > Date:   Sun Jul 8 11:05:20 2018 -0500
> > 
> >     www-client/firefox: Work around broken system-hunspell support, bug
> >     659730
> 
> the r1 version does not compile for me:
> 
> 28:17.04 In file included from
> /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/
> spellcheck/hunspell/src/filemgr.hxx:75:0,
> 28:17.04                  from
> /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/
> spellcheck/hunspell/src/hashmgr.hxx:79,
> 28:17.04                  from
> /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/
> spellcheck/hunspell/src/affixmgr.hxx:81,
> 28:17.04                  from
> /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/
> spellcheck/hunspell/src/affentry.hxx:76,
> 28:17.04                  from
> /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/
> spellcheck/hunspell/src/affentry.cxx:76,
> 28:17.04                  from
> /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/ff/extensions/
> spellcheck/hunspell/src/Unified_cpp_hunspell_src0.cpp:2:
> 28:17.04
> /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/
> spellcheck/hunspell/glue/mozHunspellFileMgr.h:42:3: error: 'nsCOMPtr' does
> not name a type
> 28:17.04    nsCOMPtr<nsIInputStream> mStream;
> 28:17.04    ^~~~~~~~

That has nothing to do with this bug. The bug you are looking for is this one: https://bugs.gentoo.org/660726
Comment 14 Thomas Deutschmann (RETIRED) gentoo-dev 2018-09-27 20:35:22 UTC
This bug should be fixed. Please re-open if you still experience this bug with either >=firefox-60.2.1-r1 or >=firefox-62.0.2.