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

Re: [FreeType] weird build failure on mipsel



Hi,

>>>>> In <[🔎] 20030610113235.GY17218@trinity.unimelb.edu.au> 
>>>>>	Daniel Stone <dstone@trinity.unimelb.edu.au> wrote:

>> Hi guys!
>> Could one of you please look at this and figure out what's happening?

>> mipsel is failing on FreeType (xc/lib/font/FreeType), specifically:
>> gcc -c -g -O2 -g -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes                        -Wmissing-prototypes -Wmissing-declarations                     -Wredundant-decls -Wnested-externs -Wundef  -I. -I../../../include/fonts -I../include -I../../../exports/include/X11            -I../../../programs/Xserver/include -I/usr/include/freetype2 -I/usr/include/freetype2/include -I../../../exports/include  -I../../.. -I../../../exports/include   -Dlinux -D__mips__ -D_POSIX_C_SOURCE=199309L                                -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                             -D_GNU_SOURCE                            -DFUNCPROTO=15 -DNARROWPROTO   -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH                          -DXFreeXDGA -DXvExtension                                -DXFree86Server                                -DXF86VIDMODE                           -DXvMCExtension                            
                                      -DSMART_SCHEDULE                                -DBUILDDEBUG -DXResExtension                            -DX_BYTE_ORDER=X_LITTLE_ENDIAN   ftfuncs.c
>> In file included from ftfuncs.c:48:
>> ft.h:73: warning: redundant redeclaration of `FreeTypeRegisterFontFileFunctions' in same scope
>> ../../../include/fonts/fontproto.h:91: warning: previous declaration of `FreeTypeRegisterFontFileFunctions'
>> ftfuncs.c: In function `FreeTypeAddProperties':
>> ftfuncs.c:966: error: pointer value used where a floating point value was expected
>> ftfuncs.c:968: error: pointer value used where a floating point value was expected
>>
>> I've just had a quick look at it, and here are the offending lines:
>>                 TRANSFORM_FUNITS_Y(t1info->underline_position);
>>                 TRANSFORM_FUNITS_Y(t1info->underline_thickness);
>>
>> I don't really have time to chase this down right at the moment, due to
>> exams, but if no-one figures out in the next few days, I'll have a bash
>> when they're finished.

 This problem is already discussed on debian-x ML ;-)
(A memo about this is updated, please refer
 people/ishikawa/memo.freetype)

 1) This compatibility problem is introduced by freetype2_2.1.4-3.
    and revert it after 2.1.4-4. Please upgrade freetype2 to 2.1.4-4

 2) I just commited #003 patch update to subversion branches/4.3.0/sid
    With this change, FontLibSharedFreeType will be always disable.
    Please update #003 patch.

-- 
ISHIKAWA Mutsumi
 <ishikawa@netvillage.co.jp>, <ishikawa@linux.or.jp>, <ishikawa@debian.org>



Reply to: