www-client/firefox-61.0-r1::gentoo compilation fails with the following error: * ERROR: www-client/firefox-61.0-r1::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 5096: Called die * The specific snippet of code: * MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ./mach build --verbose || die emerge --info and build.log with the full build info are attached.
Created attachment 538832 [details] emerge --info output
Created attachment 538834 [details] end of build.log The entire build.log is big (5MB) so I couldn't attach it. The ending of build.log with the error message and some preceding info is attached.
(In reply to Dudu Edri from comment #2) > Created attachment 538834 [details] > end of build.log > > The entire build.log is big (5MB) so I couldn't attach it. The ending of > build.log with the error message and some preceding info is attached. Compress, then attach.
33:59.70 /usr/bin/x86_64-pc-linux-gnu-g++ -o Unified_cpp_hunspell_src0.o -c -I/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/ff/dist/stl_wrappers -I/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/ff/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DHUNSPELL_STATIC -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/spellcheck/hunspell/src -I/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/ff/extensions/spellcheck/hunspell/src -I/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/spellcheck/hunspell/glue -I/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/ff/ipc/ipdl/_ipdlheaders -I/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/ipc/chromium/src -I/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/ipc/glue -I/var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/ff/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/ff/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -march=native -pipe -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns -fno-schedule-insns2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer -MD -MP -MF .deps/Unified_cpp_hunspell_src0.o.pp -fdiagnostics-color /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/ff/extensions/spellcheck/hunspell/src/Unified_cpp_hunspell_src0.cpp 34:00.39 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, 34:00.39 from /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/spellcheck/hunspell/src/hashmgr.hxx:79, 34:00.39 from /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/spellcheck/hunspell/src/affixmgr.hxx:81, 34:00.39 from /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/spellcheck/hunspell/src/affentry.hxx:76, 34:00.39 from /var/tmp/portage/www-client/firefox-61.0-r1/work/firefox-61.0/extensions/spellcheck/hunspell/src/affentry.cxx:76, 34:00.39 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: 34:00.39 /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 34:00.39 nsCOMPtr<nsIInputStream> mStream;
Created attachment 538850 [details] full build log compressed
Created attachment 538854 [details, diff] firefox-61.0-hunspell.patch Patch adds an include for nsCOMPtr.h to firefox-61.0/extensions/spellcheck/hunspell/glue/mozHunspellFileMgr.h.
Can you please reattach the patch as a patch file and not html?
Created attachment 538858 [details, diff] firefox-61.0-hunspell.patch made an error in first upload. This is the actual patch.
confirming build failure. now testing the patch.
I can confirm this error. And I can confirm that nvinson234's patch fixes it.
yup, patch worked. and spellcheck works as well.
This issue also seems to be present in the firefox-61.0.1 release (see bug 660730), but the above patch doesn't apply cleanly.
(In reply to nvinson234 from comment #8) > Created attachment 538858 [details, diff] [details, diff] > firefox-61.0-hunspell.patch > > made an error in first upload. This is the actual patch. I have pushed the patch, refer to how mozilla project creates patches. We must have a way to track author and need it signed off please. (In reply to Mike Auty from comment #12) > This issue also seems to be present in the firefox-61.0.1 release (see bug > 660730), but the above patch doesn't apply cleanly. We will not push 61.0.1.
My bad, the patch applies to 61.0.1 too (I didn't get a clean copy of the patch first time around).