[Pkg-phototools-devel] Bug#625024: pfstools: FTBFS: qvaluelist.h:91:13: error: 'ptrdiff_t' does not name a type

Rafal Mantiuk rafm at users.sourceforge.net
Mon May 2 15:22:03 UTC 2011


Hi Lucas,

The errors seem to come from the auto-generated qt moc files, which
could be from a different version of Qt. Please try:

cd src/pfsview
*.moc.cpp

and compile again.

pfstools-1.8.3 was ported to qt4, which may also resolve this issue.

I hope it helps,

Rafal

On Mon, May 2, 2011 at 13:36, Lucas Nussbaum <lucas at lucas-nussbaum.net> wrote:
> Source: pfstools
> Version: 1.8.1-2
> Severity: serious
> Tags: wheezy sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20110502 qa-ftbfs
> Justification: FTBFS on amd64
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
>
> Relevant part:
>> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/qt3   -I../../src/pfs/    -O3 -Wall    -MT main.moc.o -MD -MP -MF .deps/main.moc.Tpo -c -o main.moc.o main.moc.cpp
>> In file included from /usr/include/qt3/qmap.h:49:0,
>>                  from /usr/include/qt3/qmime.h:46,
>>                  from /usr/include/qt3/qevent.h:48,
>>                  from /usr/include/qt3/qobject.h:48,
>>                  from /usr/include/qt3/qwidget.h:46,
>>                  from /usr/include/qt3/qdesktopwidget.h:43,
>>                  from /usr/include/qt3/qapplication.h:45,
>>                  from main.h:31,
>>                  from main.moc.cpp:11:
>> /usr/include/qt3/qvaluelist.h:91:13: error: 'ptrdiff_t' does not name a type
>> /usr/include/qt3/qvaluelist.h:167:13: error: 'ptrdiff_t' does not name a type
>> In file included from /usr/include/qt3/qmap.h:49:0,
>>                  from /usr/include/qt3/qmime.h:46,
>>                  from /usr/include/qt3/qevent.h:48,
>>                  from /usr/include/qt3/qobject.h:48,
>>                  from /usr/include/qt3/qwidget.h:46,
>>                  from /usr/include/qt3/qdesktopwidget.h:43,
>>                  from /usr/include/qt3/qapplication.h:45,
>>                  from main.h:31,
>>                  from main.moc.cpp:11:
>> /usr/include/qt3/qvaluelist.h:427:13: error: 'ptrdiff_t' does not name a type
>> In file included from /usr/include/qt3/qmime.h:46:0,
>>                  from /usr/include/qt3/qevent.h:48,
>>                  from /usr/include/qt3/qobject.h:48,
>>                  from /usr/include/qt3/qwidget.h:46,
>>                  from /usr/include/qt3/qdesktopwidget.h:43,
>>                  from /usr/include/qt3/qapplication.h:45,
>>                  from main.h:31,
>>                  from main.moc.cpp:11:
>> /usr/include/qt3/qmap.h:110:13: error: 'ptrdiff_t' does not name a type
>> /usr/include/qt3/qmap.h:226:13: error: 'ptrdiff_t' does not name a type
>> In file included from /usr/include/qt3/qmime.h:46:0,
>>                  from /usr/include/qt3/qevent.h:48,
>>                  from /usr/include/qt3/qobject.h:48,
>>                  from /usr/include/qt3/qwidget.h:46,
>>                  from /usr/include/qt3/qdesktopwidget.h:43,
>>                  from /usr/include/qt3/qapplication.h:45,
>>                  from main.h:31,
>>                  from main.moc.cpp:11:
>> /usr/include/qt3/qmap.h:607:13: error: 'ptrdiff_t' does not name a type
>> In file included from pfsview_widget.h:33:0,
>>                  from main.h:41,
>>                  from main.moc.cpp:11:
>> /usr/include/qt3/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
>> /usr/include/qt3/qimage.h:61:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
>> In file included from main.moc.cpp:11:0:
>> main.h: At global scope:
>> main.h:48:12: warning: declaration 'struct pfs::Frame' does not declare anything [enabled by default]
>> make[5]: *** [main.moc.o] Error 1
>
> The full build log is available from:
>   http://people.debian.org/~lucas/logs/2011/05/02/pfstools_1.8.1-2_lsid64.buildlog
>
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
>
> About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
> of the Grid'5000 platform, using a clean chroot.  Internet was not
> accessible from the build systems.
>
> --
> | Lucas Nussbaum
> | lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
> | jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |
>
>
>
>





More information about the Pkg-phototools-devel mailing list