Package: silgraphite2.0
Version: 1:2.2.1-2
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  GCC 4.3 has converted a number
of warnings into errors.  With GCC 4.3, you're no longer to
just redefine a previous #define.  You need to either avoid
redefinitions directly or to use #ifndef to make sure that something
has not been defined already.  See
http://www.cyrius.com/journal/gcc/gcc-4.3-pedwarn.html

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of silgraphite2.0_1:2.2.1-2 on em64t by sbuild/amd64 0.53
...
>  g++ -DPACKAGE_NAME=\"silgraphite\" -DPACKAGE_TARNAME=\"silgraphite\" 
> -DPACKAGE_VERSION=\"2.2.1\" "-DPACKAGE_STRING=\"silgraphite 2.2.1\"" 
> -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"silgraphite\" 
> -DVERSION=\"2.2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
> -DSTDC_HEADERS=1 -DSIZEOF_WCHAR_T=4 -I. -I. -I../include/graphite 
> -I../src/generic -I../src/font -I../src/segment -g -Wall -O2 -DNDEBUG -c 
> ../src/font/TtfUtil.cpp  -fPIC -DPIC -o .libs/TtfUtil.o
> ../src/font/TtfUtil.cpp: In function 'int TtfUtil::PostLookup(const void*, 
> size_t, const void*, const char*)':
> ../src/font/TtfUtil.cpp:661: error: 'strcmp' was not declared in this scope
> ../src/font/TtfUtil.cpp:709: error: 'strlen' was not declared in this scope
> ../src/font/TtfUtil.cpp:721: error: 'strncmp' was not declared in this scope
> ../src/font/TtfUtil.cpp: In function 'bool TtfUtil::GlyfBox(gr::gid16, const 
> void*, const void*, size_t, const void*, int&, int&, int&, int&)':
> ../src/font/TtfUtil.cpp:1568: error: 'INT_MIN' was not declared in this scope
> ../src/font/TtfUtil.cpp: In function 'bool 
> TtfUtil::GlyfContourCount(gr::gid16, const void*, const void*, size_t, const 
> void*, size_t&)':
> ../src/font/TtfUtil.cpp:1587: error: 'INT_MIN' was not declared in this scope
> ../src/font/TtfUtil.cpp: In function 'bool 
> TtfUtil::GlyfContourEndPoints(gr::gid16, const void*, const void*, size_t, 
> const void*, int*, size_t)':
> ../src/font/TtfUtil.cpp:1641: error: 'INT_MIN' was not declared in this scope
> ../src/font/TtfUtil.cpp: In function 'bool TtfUtil::GlyfPoints(gr::gid16, 
> const void*, const void*, size_t, const void*, const int*, size_t, int*, 
> int*, bool*, size_t)':
> ../src/font/TtfUtil.cpp:1713: error: 'INT_MAX' was not declared in this scope
> make[2]: *** [TtfUtil.lo] Error 1
> make[2]: Leaving directory 
> `/build/tbm/silgraphite2.0-2.2.1/build-tree/silgraphite-2.2.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/build/tbm/silgraphite2.0-2.2.1/build-tree/silgraphite-2.2.1'
> make: *** [debian/stamp-makefile-build] Error 2

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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to