make all-recursive make[1]: Entering directory `/var/tmp/portage/app-office/taskjuggler-2.4.0/work/taskjuggler-2.4.0' Making all in taskjuggler make[2]: Entering directory `/var/tmp/portage/app-office/taskjuggler-2.4.0/work/taskjuggler-2.4.0/taskjuggler' if /bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -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 -Wwrite-strings -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT Utility.lo -MD -MP -MF ".deps/Utility.Tpo" -c -o Utility.lo Utility.cpp; \ then mv -f ".deps/Utility.Tpo" ".deps/Utility.Plo"; else rm -f ".deps/Utility.Tpo"; exit 1; fi if /bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -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 -Wwrite-strings -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT RealFormat.lo -MD -MP -MF ".deps/RealFormat.Tpo" -c -o RealFormat.lo RealFormat.cpp; \ then mv -f ".deps/RealFormat.Tpo" ".deps/RealFormat.Plo"; else rm -f ".deps/RealFormat.Tpo"; exit 1; fi In file included from RealFormat.h:17, from RealFormat.cpp:14: /usr/qt/3/include/qstring.h: In member function 'char QChar::latin1() const': /usr/qt/3/include/qstring.h:194: warning: conversion to 'char' from 'int' may alter its value /usr/qt/3/include/qstring.h: In member function 'void QChar::setCell(uchar)': /usr/qt/3/include/qstring.h:219: warning: conversion to 'ushort' from 'int' may alter its value /usr/qt/3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/qt/3/include/qstring.h:220: warning: conversion to 'ushort' from 'int' may alter its value /usr/qt/3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)': /usr/qt/3/include/qstring.h:264: warning: conversion to 'ushort' from 'int' may alter its value /usr/qt/3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/qt/3/include/qstring.h:362: warning: conversion to 'unsigned int:30' from 'uint' may alter its value /usr/qt/3/include/qstring.h:362: warning: conversion to 'unsigned int:30' from 'uint' may alter its value if /bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -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 -Wwrite-strings -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT Tokenizer.lo -MD -MP -MF ".deps/Tokenizer.Tpo" -c -o Tokenizer.lo Tokenizer.cpp; \ then mv -f ".deps/Tokenizer.Tpo" ".deps/Tokenizer.Plo"; else rm -f ".deps/Tokenizer.Tpo"; exit 1; fi In file included from /usr/qt/3/include/qtextstream.h:44, from FileToken.h:16, from Tokenizer.h:17, from Tokenizer.cpp:15: /usr/qt/3/include/qstring.h: In member function 'char QChar::latin1() const': /usr/qt/3/include/qstring.h:194: warning: conversion to 'char' from 'int' may alter its value /usr/qt/3/include/qstring.h: In member function 'void QChar::setCell(uchar)': /usr/qt/3/include/qstring.h:219: warning: conversion to 'ushort' from 'int' may alter its value /usr/qt/3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/qt/3/include/qstring.h:220: warning: conversion to 'ushort' from 'int' may alter its value /usr/qt/3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)': /usr/qt/3/include/qstring.h:264: warning: conversion to 'ushort' from 'int' may alter its value /usr/qt/3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/qt/3/include/qstring.h:362: warning: conversion to 'unsigned int:30' from 'uint' may alter its value /usr/qt/3/include/qstring.h:362: warning: conversion to 'unsigned int:30' from 'uint' may alter its value In file included from FileToken.h:19, from Tokenizer.h:17, from Tokenizer.cpp:15: MacroTable.h: At global scope: MacroTable.h:32: warning: type qualifiers ignored on function return type In file included from Tokenizer.h:17, from Tokenizer.cpp:15: FileToken.h:64: error: ISO C++ forbids declaration of 'auto_ptr' with no type FileToken.h:64: error: invalid use of '::' FileToken.h:64: error: expected ';' before '<' token In file included from /usr/qt/3/include/qobject.h:46, from TjMessageHandler.h:17, from Tokenizer.cpp:20: /usr/qt/3/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)': /usr/qt/3/include/qevent.h:520: warning: conversion to 'unsigned char' from 'uint' may alter its value In file included from ProjectFile.h:19, from Tokenizer.cpp:22: taskjuggler.h: At global scope: taskjuggler.h:21: warning: 'typedef' was ignored in this declaration taskjuggler.h:26: warning: 'typedef' was ignored in this declaration taskjuggler.h:32: warning: 'typedef' was ignored in this declaration taskjuggler.h:34: warning: 'typedef' was ignored in this declaration taskjuggler.h:39: warning: 'typedef' was ignored in this declaration Tokenizer.cpp: In member function 'bool Tokenizer::open()': Tokenizer.cpp:339: error: 'm_f' was not declared in this scope Tokenizer.cpp:347: error: 'm_f' was not declared in this scope Tokenizer.cpp:354: error: 'm_f' was not declared in this scope Tokenizer.cpp: In member function 'virtual QChar Tokenizer::getC(bool)': Tokenizer.cpp:384: error: 'm_f' was not declared in this scope make[2]: *** [Tokenizer.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from Utility.h:18, from Utility.cpp:14: /usr/qt/3/include/qstring.h: In member function 'char QChar::latin1() const': /usr/qt/3/include/qstring.h:194: warning: conversion to 'char' from 'int' may alter its value /usr/qt/3/include/qstring.h: In member function 'void QChar::setCell(uchar)': /usr/qt/3/include/qstring.h:219: warning: conversion to 'ushort' from 'int' may alter its value /usr/qt/3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/qt/3/include/qstring.h:220: warning: conversion to 'ushort' from 'int' may alter its value /usr/qt/3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)': /usr/qt/3/include/qstring.h:264: warning: conversion to 'ushort' from 'int' may alter its value /usr/qt/3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/qt/3/include/qstring.h:362: warning: conversion to 'unsigned int:30' from 'uint' may alter its value /usr/qt/3/include/qstring.h:362: warning: conversion to 'unsigned int:30' from 'uint' may alter its value In file included from /usr/qt/3/include/qobject.h:46, from TjMessageHandler.h:17, from Utility.cpp:24: /usr/qt/3/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)': /usr/qt/3/include/qevent.h:520: warning: conversion to 'unsigned char' from 'uint' may alter its value Utility.cpp: At global scope: Utility.cpp:206: warning: type qualifiers ignored on function return type Utility.cpp: In function 'int monthOfWeek(time_t, bool)': Utility.cpp:429: warning: suggest explicit braces to avoid ambiguous 'else' Utility.cpp:437: warning: suggest explicit braces to avoid ambiguous 'else' make[2]: Leaving directory `/var/tmp/portage/app-office/taskjuggler-2.4.0/work/taskjuggler-2.4.0/taskjuggler' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-office/taskjuggler-2.4.0/work/taskjuggler-2.4.0' make: *** [all] Error 2
Created attachment 151889 [details, diff] taskjuggler-2.4.0-gcc43.patch Fixes the problem. Snatched from Debian.
> Fixes the problem. Snatched from Debian. Sry, that would be "Snatched from Fedora."
Note: Correct solution will be a bump to 2.4.1, since that compiles w/o problems on gcc-4.3
+*taskjuggler-2.4.1 (27 Jul 2008) + + 27 Jul 2008; Peter Alfredsen <loki_val@gentoo.org> + -taskjuggler-2.4.0.ebuild, +taskjuggler-2.4.1.ebuild: + Bump, fixes bug #222153 and through it, bug #220309. +