FS#40459 - [lib32-libxft] build fails

Attached to Project: Community Packages
Opened by Joel Teichroeb (klusark) - Tuesday, 20 May 2014, 03:09 GMT
Last edited by Florian Pritz (bluewind) - Saturday, 07 June 2014, 12:11 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

CC xftglyphs.lo
In file included from /usr/include/string.h:635:0,
from xftint.h:46,
from xftfreetype.c:23:
xftfreetype.c: In function '_XftGetFile':
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:48:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
if (!strcmp (f->file, (char *) file) && f->id == id)
^
xftfreetype.c:57:46: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
f = malloc (sizeof (XftFtFile) + strlen ((char *) file) + 1);
^
xftfreetype.c:61:61: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
XftMemAlloc (XFT_MEM_FILE, sizeof (XftFtFile) + strlen ((char *) file) + 1);
^
xftfreetype.c:71:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
strcpy (f->file, (char *) file);
^
xftfreetype.c: In function 'XftFontInfoFill':
xftfreetype.c:435:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
(filename ? filename : (FcChar8 *) "<none>"), id, dsize);
^
xftfreetype.c: In function 'XftFontInfoEqual':
xftfreetype.c:751:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
return memcmp ((void *) a, (void *) b, sizeof (XftFontInfo)) == 0;
^
xftfreetype.c:751:32: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
return memcmp ((void *) a, (void *) b, sizeof (XftFontInfo)) == 0;
^
xftglyphs.c:24:30: fatal error: freetype/ftoutln.h: No such file or directory
#include <freetype/ftoutln.h>
^
compilation terminated.
Makefile:403: recipe for target 'xftglyphs.lo' failed
make[2]: *** [xftglyphs.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/lib32-libxft/src/libXft-2.3.1/src'
Makefile:409: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/build/lib32-libxft/src/libXft-2.3.1'
Makefile:312: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...


Steps to reproduce:
sudo multilib-build
This task depends upon

Closed by  Florian Pritz (bluewind)
Saturday, 07 June 2014, 12:11 GMT
Reason for closing:  Fixed

Loading...