[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#733385: xft: FTBFS: ../../src/xftglyphs.c:24:30: fatal error: freetype/ftoutln.h: No such file or directory



Source: xft
Version: 2.3.1-1
Severity: serious
Tags: jessie sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20131226 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

On the new 2.5 version the headers are located at
'/usr/include/freetype2/ftglyph.h' instead of
'/usr/include/freetype2/freetype/ftglyph.h' like in previous versions.

Relevant part (hopefully):
> make[3]: Entering directory `/«PKGBUILDDIR»/build/src'
>   CC       xftcolor.lo
>   CC       xftcore.lo
>   CC       xftdbg.lo
>   CC       xftdpy.lo
>   CC       xftdraw.lo
> ../../src/xftdraw.c: In function 'XftDrawSrcPicture':
> ../../src/xftdraw.c:327:15: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>       !memcmp ((void *) &color->color,
>                ^
>   CC       xftextent.lo
>   CC       xftfont.lo
> ../../src/xftfont.c: In function 'XftFontOpenName':
> ../../src/xftfont.c:123:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>      pat = FcNameParse ((FcChar8 *) name);
>                         ^
>   CC       xftfreetype.lo
> In file included from /usr/include/string.h:633:0,
>                  from ../../src/xftint.h:46,
>                  from ../../src/xftfreetype.c:23:
> ../../src/xftfreetype.c: In function '_XftGetFile':
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:48:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>   if (!strcmp (f->file, (char *) file) && f->id == id)
>                         ^
> ../../src/xftfreetype.c:57:46: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>      f = malloc (sizeof (XftFtFile) + strlen ((char *) file) + 1);
>                                               ^
> ../../src/xftfreetype.c:61:61: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>      XftMemAlloc (XFT_MEM_FILE, sizeof (XftFtFile) + strlen ((char *) file) + 1);
>                                                              ^
> ../../src/xftfreetype.c:71:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>      strcpy (f->file, (char *) file);
>                       ^
> ../../src/xftfreetype.c: In function 'XftFontInfoFill':
> ../../src/xftfreetype.c:435:26: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>    (filename ? filename : (FcChar8 *) "<none>"), id, dsize);
>                           ^
> ../../src/xftfreetype.c: In function 'XftFontInfoEqual':
> ../../src/xftfreetype.c:751:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>      return memcmp ((void *) a, (void *) b, sizeof (XftFontInfo)) == 0;
>                     ^
> ../../src/xftfreetype.c:751:32: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
>      return memcmp ((void *) a, (void *) b, sizeof (XftFontInfo)) == 0;
>                                 ^
>   CC       xftglyphs.lo
> ../../src/xftglyphs.c:24:30: fatal error: freetype/ftoutln.h: No such file or directory
>  #include <freetype/ftoutln.h>
>                               ^
> compilation terminated.
> make[3]: *** [xftglyphs.lo] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/12/26/xft_2.3.1-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: