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

Bug 637928

Summary: www-client/firefox-57 build fails with app-text/hunspell-1.6.1
Product: Gentoo Linux Reporter: gentoo.nlhowell
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full build log, xz-compressed
emerge --info

Description gentoo.nlhowell 2017-11-17 11:43:03 UTC
Created attachment 504558 [details]
full build log, xz-compressed

build fails with 

../../extensions/spellcheck/hunspell/glue/Unified_cpp_hunspell_glue0.o: In function `mozHunspell::SetDictionary(char16_t const*)':
Unified_cpp_hunspell_glue0.cpp:(.text._ZN11mozHunspell13SetDictionaryEPKDs+0x3da): undefined reference to `Hunspell::get_dict_encoding[abi:cxx11]() const'
../../extensions/spellcheck/hunspell/glue/Unified_cpp_hunspell_glue0.o: In function `mozHunspell::Check(char16_t const*, bool*)':
Unified_cpp_hunspell_glue0.cpp:(.text._ZN11mozHunspell5CheckEPKDsPb+0x7e): undefined reference to `Hunspell::spell(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)'
../../extensions/spellcheck/hunspell/glue/Unified_cpp../../extensions/spellcheck/hunspell/glue/Unified_cpp_hunspell_glue0.o: In function `mozHunspell::SetDictionary(char16_t const*)':
_hunspell_glue0.o: In function `mozHunspell::Suggest(char16_t const*, char16_t***,unsigned int*)':
Unified_cpp_hunspell_glue0.cpp:(.text._ZN11mozHunspell7SuggestEPKDsPPPDsPj+0xa7): undefined reference to `Hunspell::suggest(std::__cxx11::basic_string<char, Unified_cpp_hunspell_glue0.cpp:(.text._ZN11mozHunspell13SetDictionaryEPKDs+0x3da): undefined reference to `Hunspell::get_dict_encoding[abi:cxx11]() const'
std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
../../extensions/spellcheck/hunspell/glue/Unified_cpp_hunspell_glue0.o: In function `mozHunspell::Check(char16_t const*, bool*)':
Unified_cpp_hunspell_glue0.cpp:(.text._ZN11mozHunspell5CheckEPKDsPb+0x7e): undefined reference to `Hunspell::spell(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)'
../../extensions/spellcheck/hunspell/glue/Unified_cpp_hunspell_glue0.o: In function `mozHunspell::Suggest(char16_t const*, char16_t***,unsigned int*)':
Unified_cpp_hunspell_glue0.cpp:(.text._ZN11mozHunspell7SuggestEPKDsPPPDsPj+0xa7): undefined reference to `Hunspell::suggest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status

fixed by upgrading to =app-text/hunspell-1.6.2
Comment 1 gentoo.nlhowell 2017-11-17 11:43:56 UTC
Created attachment 504560 [details]
emerge --info
Comment 2 Ben Kohler gentoo-dev 2017-11-17 18:20:28 UTC
Looks kinda like a gcc-5 abi problem (https://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html), it might have just been a rebuild of hunspell which fixed this.  Can you downgrade back to 1.6.1-r1 and test again?
Comment 3 gentoo.nlhowell 2017-11-18 05:57:42 UTC
yup, sorry for the spam