Package: labplot
Version: 1.5.1.6-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.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

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 labplot_1.5.1.6-2 on em64t by sbuild/amd64 0.53
...
>  g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DLVERSION=\"1.5.1\" 
> "-DLVERSION_DATE=\"Mar 27, 2006\"" -DHAVE_STRTOD=1 -DHAVE_LOG2=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_TIFF=1 -DHAVE_GSL=1 -DHAVE_GSL14=1 
> -DHAVE_GSL16=1 -DHAVE_GSL17=1 -DGSL_DISABLE_DEPRECATED=1 -DHAVE_FFTW3=1 
> -DHAVE_FFTW3_THREADS=1 -DHAVE_JASPER=1 -DHAVE_MAGICK=1 -DHAVE_AUDIOFILE=1 
> -DHAVE_GL=1 -DHAVE_UNDO=1 -DKDELIBSUFF=\"\" -DHAVE_DLFCN_H=1 -DHAVE_SGI_STL=1 
> -DHAVE_CRYPT=1 -Dkde_socklen_t=socklen_t -Dksize_t=socklen_t 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_BITYPES_H=1 
> -DHAVE_RES_INIT=1 -DHAVE_RES_INIT=1 -DHAVE_RES_INIT_PROTO=1 -DSIZEOF_INT=4 
> -DSIZEOF_SHORT=2 -DSIZEOF_LONG=8 -DSIZEOF_CHAR_P=8 -DSIZEOF_SIZE_T=8 
> -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_LIBZ=1 
> -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -I. -I. 
> -I/usr/include -I../qwtplot3d/ -I/usr/include/kde -I/usr/share/qt3/include 
> -I. -I../liborigin/ -I../libundo/ -DQT_THREAD_SUPPORT -D_REENTRANT 
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wconversion 
> -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -g -O2 
> -Wformat-security -Wmissing-format-attribute -fno-check-new -fno-common -MT 
> LTable.lo -MD -MP -MF .deps/LTable.Tpo -c LTable.cc  -fPIC -DPIC -o 
> .libs/LTable.o
> In file included from /usr/share/qt3/include/qwindowdefs.h:44,
>                  from /usr/share/qt3/include/qcolor.h:42,
>                  from /usr/share/qt3/include/qpainter.h:43,
>                  from LTable.cc:3:
> /usr/share/qt3/include/qstring.h: In member function 'char QChar::latin1() 
> const':
> /usr/share/qt3/include/qstring.h:194: warning: conversion to 'char' from 
> 'int' may alter its value
> /usr/share/qt3/include/qstring.h: In member function 'void 
> QChar::setCell(uchar)':
> /usr/share/qt3/include/qstring.h:219: warning: conversion to 'ushort' from 
> 'int' may alter its value
> /usr/share/qt3/include/qstring.h: In member function 'void 
> QChar::setRow(uchar)':
> /usr/share/qt3/include/qstring.h:220: warning: conversion to 'ushort' from 
> 'int' may alter its value
> /usr/share/qt3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
> /usr/share/qt3/include/qstring.h:264: warning: conversion to 'ushort' from 
> 'int' may alter its value
> /usr/share/qt3/include/qstring.h: In constructor 
> 'QStringData::QStringData(QChar*, uint, uint)':
> /usr/share/qt3/include/qstring.h:362: warning: conversion to 'unsigned 
> int:30' from 'uint' may alter its value
> /usr/share/qt3/include/qstring.h:362: warning: conversion to 'unsigned 
> int:30' from 'uint' may alter its value
> In file included from /usr/share/qt3/include/qobject.h:45,
>                  from /usr/share/qt3/include/qwidget.h:43,
>                  from /usr/share/qt3/include/qframe.h:42,
>                  from /usr/share/qt3/include/qscrollview.h:41,
>                  from /usr/share/qt3/include/qtable.h:41,
>                  from LTable.h:2,
>                  from LTable.cc:5:
> /usr/share/qt3/include/qevent.h: In member function 'void 
> QDropEvent::setAction(QDropEvent::Action)':
> /usr/share/qt3/include/qevent.h:520: warning: conversion to 'unsigned char' 
> from 'uint' may alter its value
> In file included from /usr/share/qt3/include/qwidget.h:49,
>                  from /usr/share/qt3/include/qframe.h:42,
>                  from /usr/share/qt3/include/qscrollview.h:41,
>                  from /usr/share/qt3/include/qtable.h:41,
>                  from LTable.h:2,
>                  from LTable.cc:5:
> /usr/share/qt3/include/qsizepolicy.h: In member function 'void 
> QSizePolicy::transpose()':
> /usr/share/qt3/include/qsizepolicy.h:122: warning: conversion to 'uchar' from 
> 'uint' may alter its value
> /usr/share/qt3/include/qsizepolicy.h:122: warning: conversion to 'uchar' from 
> 'uint' may alter its value
> LTable.cc: In member function 'void LTable::updateTable()':
> LTable.cc:21: error: 'realloc' was not declared in this scope
^^^^^^^^^^^^^^^^^^^^^^

> /usr/share/qt3/include/qmemarray.h: In constructor 
> 'QMemArray<type>::QMemArray(int) [with type = QPoint]':
> /usr/share/qt3/include/qpointarray.h:56:   instantiated from here
> /usr/share/qt3/include/qmemarray.h:59: warning: conversion to 'int' from 
> 'long unsigned int' may alter its value
> make[3]: *** [LTable.lo] Error 1
> make[3]: Leaving directory `/build/tbm/labplot-1.5.1.6/src'

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


Reply via email to