Trying to emerge MPlayer with ass and truetype USE flags, the configure script fails to properly detect freetype: ... Checking for libcdio ... yes Checking for bitmap font support ... yes Checking for freetype >= 2.0.9 ... ./configure: line 96: 30158 Segmentation fault "$TMPEXE" >> "$TMPLOG" 2>&1 no Checking for fontconfig ... no (FreeType support needed) Checking for SSA/ASS support ... no (FreeType support needed) ... When looking into configure.log, I see the following: ============ Checking for freetype >= 2.0.9 ============ #include <stdio.h> #include <ft2build.h> #include FT_FREETYPE_H #if ((FREETYPE_MAJOR < 2) || ((FREETYPE_MINOR == 0) && (FREETYPE_PATCH < 9))) #error "Need FreeType 2.0.9 or newer" #endif int main(void) { FT_Library library; FT_Int major=-1,minor=-1,patch=-1; int err=FT_Init_FreeType(&library); if (err) { printf("Couldn't initialize freetype2 lib, err code: %d\n",err); exit(err); } FT_Library_Version(library,&major,&minor,&patch); // in v2.1.0+ only :((( printf("freetype2 header version: %d.%d.%d library version: %d.%d.%d\n", FREETYPE_MAJOR,FREETYPE_MINOR,FREETYPE_PATCH, (int)major,(int)minor,(int)patch ); if (major!=FREETYPE_MAJOR || minor!=FREETYPE_MINOR) { printf("Library and header version mismatch! Fix it in your distribution!\n"); exit(1); } return 0; } x86_64-pc-linux-gnu-gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -Ilibdvdread4 -I. -D_REENTRANT -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -D_REENTRANT -ffast-math -lncurses -lsmbclient -lpng -lz -lmng -lz -ljpeg -lgif -lasound -ldl -lpthread -lcdio_cdda -lcdio -lcdio_paranoia -lXext -lX11 -lpthread -lXss -lXv -lXvMC -lXvMCW -lXxf86vm -lXxf86dga -lGL -ldl -laa -L/usr/lib64 -lcaca -lSDL -lpthread -lesd -laudio -lXt -lpulse -lopenal -o /tmp/portage/media-video/mplayer-1.0_rc2_p20090731/temp/mplayer-conf-6314-28555 /tmp/portage/media-video/mplayer-1.0_rc2_p20090731/temp/mplayer-conf-11210-28555.c -I/usr/include/freetype2 -lfreetype -lz ACCESS DENIED open_wr: /dev/snd/controlC0 ACCESS DENIED open_wr: /var/log/sandbox/sandbox-28493.log ACCESS DENIED open_wr: /var/log/sandbox/sandbox-28493.log (repeated a lot of times) ACCESS DENIED open_wr: /var/log/sandbox/sandbox-28493.log ACCESS DENIED open_wr: /var/log/sandbox/sandbox-28493.log Result is: no ########################################## Reproducible: Always Steps to Reproduce: 1. Try to emerge MPlayer with fontconfig support 2. The configure step fails to recognize freetype 3. MPlayer has no fontconfig support because it needs freetype Actual Results: MPlayer has no OSD support and neither displays external subtitles. Expected Results: MPlyaer should display both the OSD and external subtitles.
*** This bug has been marked as a duplicate of bug 291593 ***