Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637928 - www-client/firefox-57 build fails with app-text/hunspell-1.6.1
Summary: www-client/firefox-57 build fails with app-text/hunspell-1.6.1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-17 11:43 UTC by gentoo.nlhowell
Modified: 2017-11-18 05:57 UTC (History)
1 user (show)

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


Attachments
full build log, xz-compressed (build.log.xz,140.07 KB, application/x-xz)
2017-11-17 11:43 UTC, gentoo.nlhowell
Details
emerge --info (emerge-info,6.97 KB, text/plain)
2017-11-17 11:43 UTC, gentoo.nlhowell
Details

Note You need to log in before you can comment on or make changes to this bug.
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