Opened 9 years ago

Closed 9 years ago

#6611 closed defect (fixed)

Firefox-38.0.5, SeaMonkey-2.33.1 and Thunderbird-38.0.1 won't build with FreeType-2.6

Reported by: Wayne Blaszczyk Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.8
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

I get the following error:

    INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")

../../gfx/skia/SkFontHost_FreeType.o: In function `SkTypeface_FreeType::onGetAdvancedTypefaceMetrics(SkAdvancedTypefaceMetrics::PerGlyphInfo, unsigned int const*, unsigned int) const':
/opt/sources/mozilla-release/gfx/skia/trunk/src/ports/SkFontHost_FreeType.cpp:560: undefined reference to `FT_Get_X11_Font_Format'
collect2: error: ld returned 1 exit status
make[5]: *** [libxul.so] Error 1
make[4]: *** [toolkit/library/target] Error 2
make[3]: *** [compile] Error 2
make[2]: *** [default] Error 2
make[1]: *** [realbuild] Error 2
make: *** [build] Error 2

Change History (8)

comment:2 by Fernando de Oliveira, 9 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

Thanks, Wayne.

I knew that header was needed (from the same problem with Thunderbird).

I didn't know where to include it.

comment:3 by Fernando de Oliveira, 9 years ago

Will fix also Thunderbird (remove the workaround) and probably Seamonkey. Tomorrow morning.

Bruce, please, would you test Seamonkey?

comment:4 by bdubbs@…, 9 years ago

OK, I'll do SM. I've started a complete new build, but it's going OK. I've got X up. I then need to do XFCE and then I can try SM. Probably I'll be able to do it Monday.

comment:5 by Wayne Blaszczyk, 9 years ago

I've confirmed that the following fixes the issue:

sed -i '/^ftcache.h/a ftfntfmt.h' config/system-headers

comment:6 by Fernando de Oliveira, 9 years ago

Thanks, that was great, Wayne!!!

Thanks, Bruce. The same sed (below, not above) fixes TB and SM, most certainly.

And

sed -i '/^ftglyph.h/ i ftfntfmt.h' mozilla/config/system-headers

fixes Thunderbird and, almost certainly also, Seamonkey.

Statistics change very little:

Estimated disk space required: 3.8 GB (72 MB installed) - previous 3.9 73

Estimated build time: 8.5 SBU (with -j4) - previous 8.7

Also, with in-tree-freetype did not use harfbuzz, and looked strange. Now, it has a more familiar look (RE icons).

This last observation may finally answer a question by Ken to me, ages ago (if you don't know already the answer, Ken): it looks good using freetype built with harfbuzz support, i.e., it is worth to go the circular dependency.

comment:7 by Fernando de Oliveira, 9 years ago

Summary: Firefox 38.0.5 won't build with FreeType 2.6Firefox-38.0.5, SeaMonkey-2.33.1 and Thunderbird-38.0.1 won't build with FreeType-2.6

Just confirmed problem and solution with Seamonkey.

Changing the title, for future searches sake.

comment:8 by Fernando de Oliveira, 9 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r16130.

Thanks, Wayne and Bruce.

Note: See TracTickets for help on using tickets.