Bug#474869: kchmviewer: FTBFS: libchmfileimpl.h:33: error: expected `)' before 't'

2008-04-09 Thread Chris Lamb
tags 474869 + patch
thanks

Patch attached.


Regards,

-- 
Chris Lamb, UK   [EMAIL PROTECTED]
GPG: 0x634F9A20
diff -urNad kchmviewer-3.1.orig/lib/libchmfile/libchmfileimpl.h 
kchmviewer-3.1/lib/libchmfile/libchmfileimpl.h
--- kchmviewer-3.1.orig/lib/libchmfile/libchmfileimpl.h 2008-04-09 
17:33:13.0 +0100
+++ kchmviewer-3.1/lib/libchmfile/libchmfileimpl.h  2008-04-09 
17:33:59.0 +0100
@@ -25,6 +25,8 @@
 #include libchmfile.h
 #include libchmtocimage.h
 
+#include sys/types.h /* for u_int{32,64}_t */
+
 //! Keeps the intermediate search result
 class LCHMSearchProgressResult
 {


signature.asc
Description: PGP signature


Bug#474869: kchmviewer: FTBFS: libchmfileimpl.h:33: error: expected `)' before 't'

2008-04-09 Thread José Luis Tallón
tags 474869 + pending
thanks


Chris Lamb wrote:
 tags 474869 + patch
 thanks

   
Thank you, Chris :-)


J.L.




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



Processed: Re: Bug#474869: kchmviewer: FTBFS: libchmfileimpl.h:33: error: expected `)' before 't'

2008-04-09 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tags 474869 + pending
Bug#474869: kchmviewer: FTBFS: libchmfileimpl.h:33: error: expected `)' before 
't'
Tags were: patch
Tags added: pending

 thanks
Stopping processing here.

Please contact me if you need assistance.

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


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



Bug#474869: kchmviewer: FTBFS: libchmfileimpl.h:33: error: expected `)' before 't'

2008-04-07 Thread Lucas Nussbaum
Package: kchmviewer
Version: 3.1-1
Severity: serious
User: [EMAIL PROTECTED]
Usertags: qa-ftbfs-20080407 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on i386.

This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3 is now
the default on most architectures (even if it's not the case on i386 yet).
Feel free to downgrade this bug to 'important' if your package is only built
on i386, and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).

Relevant part:
 if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../src 
 -I/usr/share/qt3/include  -I/usr/include/kde  -DQT_THREAD_SUPPORT  
 -D_REENTRANT  -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 -Wformat-security -Wmissing-format-attribute 
 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -MT 
 libchmfile.o -MD -MP -MF .deps/libchmfile.Tpo -c -o libchmfile.o 
 libchmfile.cpp; \
   then mv -f .deps/libchmfile.Tpo .deps/libchmfile.Po; else rm -f 
 .deps/libchmfile.Tpo; exit 1; fi
 In file included from libchmfile.h:25,
  from libchmfile.cpp:22:
 /usr/share/qt3/include/qstring.h: In member function 'char QChar::latin1() 
 const':
 /usr/share/qt3/include/qstring.h:197: 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:222: 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:223: 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:267: 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:365: warning: conversion to 'unsigned 
 int:30' from 'uint' may alter its value
 /usr/share/qt3/include/qstring.h:365: warning: conversion to 'unsigned 
 int:30' from 'uint' may alter its value
 In file included from /usr/share/qt3/include/qobject.h:48,
  from /usr/share/qt3/include/qwidget.h:46,
  from /usr/share/qt3/include/qframe.h:45,
  from /usr/share/qt3/include/qscrollview.h:44,
  from /usr/share/qt3/include/qlistview.h:45,
  from libchmfile.h:27,
  from libchmfile.cpp:22:
 /usr/share/qt3/include/qevent.h: In member function 'void 
 QDropEvent::setAction(QDropEvent::Action)':
 /usr/share/qt3/include/qevent.h:523: warning: conversion to 'unsigned char' 
 from 'uint' may alter its value
 In file included from /usr/share/qt3/include/qwidget.h:52,
  from /usr/share/qt3/include/qframe.h:45,
  from /usr/share/qt3/include/qscrollview.h:44,
  from /usr/share/qt3/include/qlistview.h:45,
  from libchmfile.h:27,
  from libchmfile.cpp:22:
 /usr/share/qt3/include/qsizepolicy.h: In member function 'void 
 QSizePolicy::transpose()':
 /usr/share/qt3/include/qsizepolicy.h:125: warning: conversion to 'uchar' from 
 'uint' may alter its value
 /usr/share/qt3/include/qsizepolicy.h:125: warning: conversion to 'uchar' from 
 'uint' may alter its value
 In file included from libchmfile.h:33,
  from libchmfile.cpp:22:
 libchmtextencoding.h: At global scope:
 libchmtextencoding.h:37: warning: 'typedef' was ignored in this declaration
 In file included from libchmfile.cpp:23:
 libchmfileimpl.h:33: error: expected `)' before 't'
 libchmfileimpl.h:35: error: 'u_int64_t' was not declared in this scope
 libchmfileimpl.h:35: error: template argument 1 is invalid
 libchmfileimpl.h:36: error: 'u_int32_t' does not name a type
 libchmfileimpl.h:37: error: 'u_int32_t' does not name a type
 libchmfileimpl.h:135: error: 'u_int32_t' does not name a type
 libchmfileimpl.h:141: error: 'u_int64_t' has not been declared
 libchmfileimpl.h:142: error: 'u_int64_t' has not been declared
 libchmfileimpl.h:143: error: 'u_int32_t' has not been declared
 make[3]: *** [libchmfile.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2008/04/07

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 containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: