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

Bug#368884: marked as done (FTBFS: invalid conversion; FT_Vector)



Your message dated Sun, 4 Jun 2006 01:09:22 +0200
with message-id <20060603230922.GA1529@hades.madism.org>
and subject line not 4.2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kdegraphics
Version: 4:3.5.2-1

Your package fails to build with GCC 4.2.  Version 4.2 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  The bug below is in your package
and not because I'm using a snapshot of the compiler so please take a
look at it.  You can reproduce this with the gcc-snapshot package.


> Automatic build of kdegraphics_4:3.5.2-1 on test.track.rz.uni-augsburg.de by sbuild/powerpc 0.44
...
>  g++ -DHAVE_CONFIG_H -I. -I/build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src -I../../../../.. -I/usr/include -I/usr/include/freetype2 -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -c libtext2path_la.all_cpp.cpp  -fPIC -DPIC -o .libs/libtext2path_la.all_cpp.o
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/GlyphTracer.cpp: In member function 'FT_Outline_Funcs* T2P::GlyphTracer::outlineFuncs()':
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/GlyphTracer.cpp:65: error: invalid conversion from 'int (*)(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)'
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/GlyphTracer.cpp:66: error: invalid conversion from 'int (*)(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)'
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/GlyphTracer.cpp:67: error: invalid conversion from 'int (*)(FT_Vector*, FT_Vector*, void*)' to 'int (*)(const FT_Vector*, const FT_Vector*, void*)'
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/GlyphTracer.cpp:68: error: invalid conversion from 'int (*)(FT_Vector*, FT_Vector*, FT_Vector*, void*)' to 'int (*)(const FT_Vector*, const FT_Vector*, const FT_Vector*, void*)'
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/Converter.cpp: In member function 'T2P::SharedGlyph T2P::Converter::calcGlyph(const T2P::GlyphRenderParams*, T2P::Affine&, bool)':
> /build/tbm/kdegraphics-3.5.2/./ksvg/impl/libs/libtext2path/src/Converter.cpp:195: warning: dereferencing type-punned pointer will break strict-aliasing rules
> make[7]: *** [libtext2path_la.all_cpp.lo] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/


--- End Message ---
--- Begin Message ---
Version: 4:3.5.3

On Sat, Jun 03, 2006 at 09:05:37PM +0200, Martin Michlmayr wrote:
> severity 369113 serious
> retitle 369113 FTBFS: invalid conversion; FT_Vector
> severity 368884 serious
> retitle 368884 FTBFS: invalid conversion; FT_Vector
> thanks
> 
> This has nothing to do with gcc 4.2.  It happens with gcc 4.0 too.
> It's because of a change in freetype2, see e.g. how it was fixed in
> lasi:
> 
>  lasi (1.0.5-3) unstable; urgency=low
>  .
>    * debian/patches/outline-funcs-prototypes.patch: Fixed definitions of
>      some functions such that they match the prototypes defined in
>      /usr/include/freetype2/freetype/ftimage.h.  The package now builds
>      correctly in Debian unstable with g++_4.0.3-3 (closes: #370112)

  in fact I missed that, but last kdegraphics upload fixed it.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: