Bug 230324 - mail/thunderbird: 60.0 build fails with undefined references to hspell
Summary: mail/thunderbird: 60.0 build fails with undefined references to hspell
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-03 12:13 UTC by Julien Nadeau
Modified: 2018-08-06 09:26 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (gecko)


Attachments
Full make output (192.00 KB, application/octet-stream)
2018-08-04 12:08 UTC, Julien Nadeau
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Nadeau 2018-08-03 12:13:03 UTC
mail/thunderbird 60.0 build fails due to Hunspell undefined references:

../../../toolkit/library/libxul.so: undefined reference to `Hunspell::get_dict_encoding() const'
../../../toolkit/library/libxul.so: undefined reference to `Hunspell::spell(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)'
../../../toolkit/library/libxul.so: undefined reference to `Hunspell::suggest(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[5]: *** [/usr/ports/mail/thunderbird/work/thunderbird-60.0/config/rules.mk:558: xpcshell] Error 1
gmake[5]: Leaving directory '/usr/ports/mail/thunderbird/work/.build/js/xpconnect/shell'
gmake[4]: *** [/usr/ports/mail/thunderbird/work/thunderbird-60.0/config/recurse.mk:73: js/xpconnect/shell/target] Error 2
gmake[4]: Leaving directory '/usr/ports/mail/thunderbird/work/.build'
gmake[3]: *** [/usr/ports/mail/thunderbird/work/thunderbird-60.0/config/recurse.mk:33: compile] Error 2
gmake[3]: Leaving directory '/usr/ports/mail/thunderbird/work/.build'
gmake[2]: *** [/usr/ports/mail/thunderbird/work/thunderbird-60.0/config/rules.mk:434: all] Error 2
gmake[2]: Leaving directory '/usr/ports/mail/thunderbird/work/.build'
===> Compilation failed unexpectedly.

Options used were: BUNDLED_CAIRO DBUS OPTIMIZED_CFLAGS GTK3 ALSA

/etc/make.conf:

CPUTYPE?=corei7
BUILD_OPTIMIZED=yes
WITH_LIB32=YES
OPTIONS_UNSET=DOCS
OPTIONS_UNSET=NLS
WITH_DEBUG=yes
Comment 2 Julien Nadeau 2018-08-04 11:27:49 UTC
(In reply to Jan Beich from comment #1)

I had wiped /usr/local and built all ports from source. I forgot to mention, this is on a 11.2-STABLE system (20180714) with clang 6.0.1.
Comment 3 Julien Nadeau 2018-08-04 12:08:17 UTC
Created attachment 195834 [details]
Full make output
Comment 4 Julien Nadeau 2018-08-06 09:26:17 UTC
Updating and rebuilding ports fixed the problem. thunderbird-60.0_2 now builds successfully for me.