Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562280 - mail-client/thunderbird, www-client/firefox, www-client/seamonkey fail to compile with "undefined reference to `FT_Get_X11_Font_Format'" when media-libs/freetype-2.6.1 is installed
Summary: mail-client/thunderbird, www-client/firefox, www-client/seamonkey fail to com...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 562368 (view as bug list)
Depends on:
Blocks: freetype-2.6.1
  Show dependency tree
 
Reported: 2015-10-05 06:14 UTC by Sam Jorna (wraeth)
Modified: 2015-10-07 19:13 UTC (History)
4 users (show)

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


Attachments
Build log (build.log.gz,185.95 KB, application/gzip)
2015-10-05 06:17 UTC, Sam Jorna (wraeth)
Details
Emerge info (emerge.info,18.58 KB, application/x-info)
2015-10-05 06:17 UTC, Sam Jorna (wraeth)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Jorna (wraeth) gentoo-dev 2015-10-05 06:14:48 UTC
Updating thunderbird from 38.2.0 to 38.3.0 on hardened profile, build fails with

../../gfx/skia/SkFontHost_FreeType.o: In function `SkTypeface_FreeType::onGetAdvancedTypefaceMetrics(SkAdvancedTypefaceMetrics::PerGlyphInfo, unsigned int const*, unsigned int) const':
SkFontHost_FreeType.cpp:(.text+0x3179): undefined reference to `FT_Get_X11_Font_Format'
collect2: error: ld returned 1 exit status
/var/tmp/portage/mail-client/thunderbird-38.3.0/work/comm-esr38/mozilla/config/rules.mk:812: recipe for target 'libxul.so' failed
make[4]: *** [libxul.so] Error 1
make[4]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-38.3.0/work/comm-esr38/tbird/toolkit/library'
/var/tmp/portage/mail-client/thunderbird-38.3.0/work/comm-esr38/mozilla/config/recurse.mk:74: recipe for target 'toolkit/library/target' failed
make[3]: *** [toolkit/library/target] Error 2
make[3]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-38.3.0/work/comm-esr38/tbird'
/var/tmp/portage/mail-client/thunderbird-38.3.0/work/comm-esr38/mozilla/config/recurse.mk:36: recipe for target 'compile' failed
make[2]: *** [compile] Error 2
make[2]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-38.3.0/work/comm-esr38/tbird'
/var/tmp/portage/mail-client/thunderbird-38.3.0/work/comm-esr38/mozilla/config/rules.mk:541: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-38.3.0/work/comm-esr38/tbird'
/var/tmp/portage/mail-client/thunderbird-38.3.0/work/comm-esr38/client.mk:404: recipe for target 'build' failed
make: *** [build] Error 2

Reproducible: Always

Steps to Reproduce:
1. Update thunderbird to 38.3.0
Actual Results:  
Build fails

Expected Results:  
Successful build
Comment 1 Sam Jorna (wraeth) gentoo-dev 2015-10-05 06:17:11 UTC
Created attachment 413762 [details]
Build log
Comment 2 Sam Jorna (wraeth) gentoo-dev 2015-10-05 06:17:39 UTC
Created attachment 413764 [details]
Emerge info
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-10-05 06:22:13 UTC
Any chance you upgraded to freetype-2.6.1? If yes downgrad to freetype-2.6 and try again. Oh and please report either success or failure to this bug :)
Comment 4 Sam Jorna (wraeth) gentoo-dev 2015-10-05 07:16:11 UTC
You are correct, I had freetype-2.6.1 installed. Downgrading to freetype-2.6 and retrying the thunderbird build succeeded.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-10-05 12:54:26 UTC
www-client/firefox and www-client/seamonkey are also affected by this.
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2015-10-05 14:25:46 UTC
Didn't we already fix this bug, two or three versions ago??  I thought it was even included upstream already..  ok, i'll build-test to confirm which 38.x are affected here and adjust the patchset accordingly.
Comment 7 Jory A. Pratt gentoo-dev 2015-10-06 00:42:07 UTC
(In reply to Ian Stakenvicius from comment #6)
> Didn't we already fix this bug, two or three versions ago??  I thought it
> was even included upstream already..  ok, i'll build-test to confirm which
> 38.x are affected here and adjust the patchset accordingly.

I can confirm it isnt effected here with latest ~arch build.
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-10-06 08:21:01 UTC
*** Bug 562368 has been marked as a duplicate of this bug. ***
Comment 9 Ian Stakenvicius (RETIRED) gentoo-dev 2015-10-06 13:50:24 UTC
(In reply to Jory A. Pratt from comment #7)
> (In reply to Ian Stakenvicius from comment #6)
> > Didn't we already fix this bug, two or three versions ago??  I thought it
> > was even included upstream already..  ok, i'll build-test to confirm which
> > 38.x are affected here and adjust the patchset accordingly.

The issue is that freetype-2.6.1 changed header locations, and the previous fix (for freetype-2.6.0) only fixed headers in their original locations.  There's an upstream patch that lands in mozilla-43.  I'm rolling new patchsets now with this included and the updates to ebuilds will be in the tree within a couple of hours.
Comment 10 Ian Stakenvicius (RETIRED) gentoo-dev 2015-10-06 19:41:06 UTC
fixes for all mozilla packages are in repo.
Comment 11 Ian Stakenvicius (RETIRED) gentoo-dev 2015-10-07 19:13:04 UTC
*** Bug 562492 has been marked as a duplicate of this bug. ***