Tim, all,
kdevelop build fine, but I ran into a lvalue problem in kdewebdev. I'm building with:
msg "Starting cmake..." cmake ${srcdir}/${_svnmod} \ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DQT_VERSION=3 \ -DCMAKE_CXX_FLAGS="-fpermissive" \ -DWITH_T1LIB=ON \ -DWITH_LIBPAPER=ON \ -DWITH_TIFF=ON \ -DWITH_OPENEXR=ON \ -DWITH_PAM=ON \ -DBUILD_ALL=ON make
The error is:
[ 77%] Building CXX object quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o cd /build/src/build/quanta/parts/kafka && /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/parts/kafka -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/project -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o -c /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: In static member function 'static void kafkaCommon::fitsNodesPosition(Node*, int, int, int, int)': /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:745:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:746:55: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:747:57: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:748:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:752:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:753:57: error: using temporary as lvalue [-fpermissive] make[2]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
I'm not that swift at debugging, but I know enough to know an lvalue problem -- ain't in my build script :p
Le Sat, 14 May 2011 22:11:41 -0500, "David C. Rankin" drankinatty@suddenlinkmail.com a écrit :
Tim, all,
kdevelop build fine, but I ran into a lvalue problem in kdewebdev. I'm building with:
msg "Starting cmake..." cmake ${srcdir}/${_svnmod} \ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DQT_VERSION=3 \ -DCMAKE_CXX_FLAGS="-fpermissive" \ -DWITH_T1LIB=ON \ -DWITH_LIBPAPER=ON \ -DWITH_TIFF=ON \ -DWITH_OPENEXR=ON \ -DWITH_PAM=ON \ -DBUILD_ALL=ON make
The error is:
[ 77%] Building CXX object quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o cd /build/src/build/quanta/parts/kafka && /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/parts/kafka -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/project -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o -c /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: In static member function 'static void kafkaCommon::fitsNodesPosition(Node*, int, int, int, int)': /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:745:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:746:55: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:747:57: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:748:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:752:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:753:57: error: using temporary as lvalue [-fpermissive] make[2]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
I'm not that swift at debugging, but I know enough to know an lvalue problem -- ain't in my build script :p
The code is obviously wrong, I even wonder why older gcc allowed such code. Does this kludge^Wpatch help (the patch is attached)?
On 05/15/2011 06:13 AM, /dev/ammo42 wrote:
Le Sat, 14 May 2011 22:11:41 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
Tim, all,
kdevelop build fine, but I ran into a lvalue problem in kdewebdev.
I'm building with:
msg "Starting cmake..." cmake ${srcdir}/${_svnmod} \ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DQT_VERSION=3 \ -DCMAKE_CXX_FLAGS="-fpermissive" \ -DWITH_T1LIB=ON \ -DWITH_LIBPAPER=ON \ -DWITH_TIFF=ON \ -DWITH_OPENEXR=ON \ -DWITH_PAM=ON \ -DBUILD_ALL=ON make The error is:
[ 77%] Building CXX object quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o cd /build/src/build/quanta/parts/kafka&& /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/parts/kafka -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/project -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o -c /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: In static member function 'static void kafkaCommon::fitsNodesPosition(Node*, int, int, int, int)': /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:745:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:746:55: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:747:57: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:748:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:752:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:753:57: error: using temporary as lvalue [-fpermissive] make[2]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
I'm not that swift at debugging, but I know enough to know an
lvalue problem -- ain't in my build script :p
The code is obviously wrong, I even wonder why older gcc allowed such code. Does this kludge^Wpatch help (the patch is attached)?
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messsages on the Web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Patch applied, but it looks like it got worse :)
[ 10%] Building CXX object quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o cd /build/src/build/quanta/utility && /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/utility -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/dialogs/tagdialogs -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/messages -I/build/src/kdewebdev/quanta/parts/kafka -I/build/src/kdewebdev/quanta/project -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/utility-static.dir/quantacommon.cpp.o -c /build/src/kdewebdev/quanta/utility/quantacommon.cpp In file included from /build/src/kdewebdev/quanta/parsers/parser.h:28:0, from /build/src/kdewebdev/quanta/utility/quantacommon.h:23, from /build/src/kdewebdev/quanta/utility/quantacommon.cpp:57: /build/src/kdewebdev/quanta/parsers/tag.h: In member function 'TagAttr* Tag::getAttribute_gcc46(uint) const': /build/src/kdewebdev/quanta/parsers/tag.h:92:63: error: no match for 'operator+' in '((const Tag*)this)->Tag::attrs + index' /build/src/kdewebdev/quanta/parsers/tag.h:92:63: note: candidates are: /opt/qt/include/qvaluelist.h:615:34: note: QValueList<T> QValueList<T>::operator+(const QValueList<T>&) const [with T = TagAttr] /opt/qt/include/qvaluelist.h:615:34: note: no known conversion for argument 1 from 'uint' to 'const QValueList<TagAttr>&' /opt/qt/include/qcstring.h:355:32: note: const QCString operator+(const QCString&, const QCString&) /opt/qt/include/qcstring.h:355:32: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'const QCString&' /opt/qt/include/qcstring.h:363:32: note: const QCString operator+(const QCString&, const char*) /opt/qt/include/qcstring.h:363:32: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'const QCString&' /opt/qt/include/qcstring.h:370:32: note: const QCString operator+(const char*, const QCString&) /opt/qt/include/qcstring.h:370:32: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'const char*' /opt/qt/include/qcstring.h:377:32: note: const QCString operator+(const QCString&, char) /opt/qt/include/qcstring.h:377:32: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'const QCString&' /opt/qt/include/qcstring.h:384:32: note: const QCString operator+(char, const QCString&) /opt/qt/include/qcstring.h:384:32: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'char' /opt/qt/include/qstring.h:1038:31: note: const QString operator+(const QString&, const QString&) /opt/qt/include/qstring.h:1038:31: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'const QString&' /opt/qt/include/qstring.h:1046:31: note: const QString operator+(const QString&, const char*) /opt/qt/include/qstring.h:1046:31: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'const QString&' /opt/qt/include/qstring.h:1053:31: note: const QString operator+(const char*, const QString&) /opt/qt/include/qstring.h:1053:31: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'const char*' /opt/qt/include/qstring.h:1061:31: note: const QString operator+(const QString&, QChar) /opt/qt/include/qstring.h:1061:31: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'const QString&' /opt/qt/include/qstring.h:1068:31: note: const QString operator+(const QString&, char) /opt/qt/include/qstring.h:1068:31: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'const QString&' /opt/qt/include/qstring.h:1075:31: note: const QString operator+(QChar, const QString&) /opt/qt/include/qstring.h:1075:31: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'QChar' /opt/qt/include/qstring.h:1083:31: note: const QString operator+(char, const QString&) /opt/qt/include/qstring.h:1083:31: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'char' /opt/qt/include/qpoint.h:156:21: note: const QPoint operator+(const QPoint&, const QPoint&) /opt/qt/include/qpoint.h:156:21: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'const QPoint&' /opt/qt/include/qsize.h:170:20: note: const QSize operator+(const QSize&, const QSize&) /opt/qt/include/qsize.h:170:20: note: no known conversion for argument 1 from 'const QValueList<TagAttr>' to 'const QSize&' make[2]: *** [quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/utility/CMakeFiles/utility-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Le Sun, 15 May 2011 18:01:31 -0500, "David C. Rankin" drankinatty@suddenlinkmail.com a écrit :
On 05/15/2011 06:13 AM, /dev/ammo42 wrote:
Le Sat, 14 May 2011 22:11:41 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
Tim, all,
kdevelop build fine, but I ran into a lvalue problem in
kdewebdev. I'm building with:
msg "Starting cmake..." cmake ${srcdir}/${_svnmod} \ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DQT_VERSION=3 \ -DCMAKE_CXX_FLAGS="-fpermissive" \ -DWITH_T1LIB=ON \ -DWITH_LIBPAPER=ON \ -DWITH_TIFF=ON \ -DWITH_OPENEXR=ON \ -DWITH_PAM=ON \ -DBUILD_ALL=ON make The error is:
[ 77%] Building CXX object quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o cd /build/src/build/quanta/parts/kafka&& /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/parts/kafka -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/project -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o -c /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: In static member function 'static void kafkaCommon::fitsNodesPosition(Node*, int, int, int, int)': /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:745:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:746:55: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:747:57: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:748:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:752:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:753:57: error: using temporary as lvalue [-fpermissive] make[2]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
I'm not that swift at debugging, but I know enough to know an
lvalue problem -- ain't in my build script :p
The code is obviously wrong, I even wonder why older gcc allowed such code. Does this kludge^Wpatch help (the patch is attached)?
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messsages on the Web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Patch applied, but it looks like it got worse :)
Oops, bad programming on my side, my C-formatted mind told me that attrs + index == &attrs[index] :D Does this patch help better [still an attached one] ?
[ 10%] Building CXX object quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o cd /build/src/build/quanta/utility && /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/utility -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/dialogs/tagdialogs -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/messages -I/build/src/kdewebdev/quanta/parts/kafka -I/build/src/kdewebdev/quanta/project -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/utility-static.dir/quantacommon.cpp.o -c /build/src/kdewebdev/quanta/utility/quantacommon.cpp In file included from /build/src/kdewebdev/quanta/parsers/parser.h:28:0, from /build/src/kdewebdev/quanta/utility/quantacommon.h:23, from /build/src/kdewebdev/quanta/utility/quantacommon.cpp:57: /build/src/kdewebdev/quanta/parsers/tag.h: [...]
On 05/16/2011 01:51 AM, /dev/ammo42 wrote:
Le Sun, 15 May 2011 18:01:31 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
On 05/15/2011 06:13 AM, /dev/ammo42 wrote:
Le Sat, 14 May 2011 22:11:41 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
Tim, all,
kdevelop build fine, but I ran into a lvalue problem in
kdewebdev. I'm building with:
msg "Starting cmake..." cmake ${srcdir}/${_svnmod} \ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DQT_VERSION=3 \ -DCMAKE_CXX_FLAGS="-fpermissive" \ -DWITH_T1LIB=ON \ -DWITH_LIBPAPER=ON \ -DWITH_TIFF=ON \ -DWITH_OPENEXR=ON \ -DWITH_PAM=ON \ -DBUILD_ALL=ON make The error is:
[ 77%] Building CXX object quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o cd /build/src/build/quanta/parts/kafka&& /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/parts/kafka -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/project -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o -c /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: In static member function 'static void kafkaCommon::fitsNodesPosition(Node*, int, int, int, int)': /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:745:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:746:55: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:747:57: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:748:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:752:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:753:57: error: using temporary as lvalue [-fpermissive] make[2]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
I'm not that swift at debugging, but I know enough to know an
lvalue problem -- ain't in my build script :p
The code is obviously wrong, I even wonder why older gcc allowed such code. Does this kludge^Wpatch help (the patch is attached)?
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messsages on the Web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Patch applied, but it looks like it got worse :)
Oops, bad programming on my side, my C-formatted mind told me that attrs
- index ==&attrs[index] :D
Does this patch help better [still an attached one] ?
[ 10%] Building CXX object quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o cd /build/src/build/quanta/utility&& /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/utility -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/dialogs/tagdialogs -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/messages -I/build/src/kdewebdev/quanta/parts/kafka -I/build/src/kdewebdev/quanta/project -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/utility-static.dir/quantacommon.cpp.o -c /build/src/kdewebdev/quanta/utility/quantacommon.cpp In file included from /build/src/kdewebdev/quanta/parsers/parser.h:28:0, from /build/src/kdewebdev/quanta/utility/quantacommon.h:23, from /build/src/kdewebdev/quanta/utility/quantacommon.cpp:57: /build/src/kdewebdev/quanta/parsers/tag.h: [...]
Hmm.. Nope... didn't work either :)
[ 10%] Building CXX object quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o cd /build/src/build/quanta/utility && /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/utility -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/dialogs/tagdialogs -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/messages -I/build/src/kdewebdev/quanta/parts/kafka -I/build/src/kdewebdev/quanta/project -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/utility-static.dir/quantacommon.cpp.o -c /build/src/kdewebdev/quanta/utility/quantacommon.cpp In file included from /build/src/kdewebdev/quanta/parsers/parser.h:28:0, from /build/src/kdewebdev/quanta/utility/quantacommon.h:23, from /build/src/kdewebdev/quanta/utility/quantacommon.cpp:57: /build/src/kdewebdev/quanta/parsers/tag.h: In member function 'TagAttr* Tag::getAttribute_gcc46(uint) const': /build/src/kdewebdev/quanta/parsers/tag.h:92:69: error: invalid conversion from 'const TagAttr*' to 'TagAttr*' [-fpermissive] make[2]: *** [quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/utility/CMakeFiles/utility-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Build failed, check /dat_e/david/bld/david/build
How do we make it to 77% without the patch, but stop at 10% with the patch? What do you think we try next?
On 05/16/2011 03:51 PM, David C. Rankin wrote:
Hmm.. Nope... didn't work either :)
[ 10%] Building CXX object quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o cd /build/src/build/quanta/utility && /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/utility -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/dialogs/tagdialogs -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/messages -I/build/src/kdewebdev/quanta/parts/kafka -I/build/src/kdewebdev/quanta/project -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/utility-static.dir/quantacommon.cpp.o -c /build/src/kdewebdev/quanta/utility/quantacommon.cpp In file included from /build/src/kdewebdev/quanta/parsers/parser.h:28:0, from /build/src/kdewebdev/quanta/utility/quantacommon.h:23, from /build/src/kdewebdev/quanta/utility/quantacommon.cpp:57: /build/src/kdewebdev/quanta/parsers/tag.h: In member function 'TagAttr* Tag::getAttribute_gcc46(uint) const': /build/src/kdewebdev/quanta/parsers/tag.h:92:69: error: invalid conversion from 'const TagAttr*' to 'TagAttr*' [-fpermissive] make[2]: *** [quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/utility/CMakeFiles/utility-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Build failed, check /dat_e/david/bld/david/build
How do we make it to 77% without the patch, but stop at 10% with the patch? What do you think we try next?
C4?
Le Mon, 16 May 2011 14:51:11 -0500, "David C. Rankin" drankinatty@suddenlinkmail.com a écrit :
On 05/16/2011 01:51 AM, /dev/ammo42 wrote:
Le Sun, 15 May 2011 18:01:31 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
On 05/15/2011 06:13 AM, /dev/ammo42 wrote:
Le Sat, 14 May 2011 22:11:41 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
Tim, all,
kdevelop build fine, but I ran into a lvalue problem in
kdewebdev. I'm building with:
msg "Starting cmake..." cmake ${srcdir}/${_svnmod} \ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DQT_VERSION=3 \ -DCMAKE_CXX_FLAGS="-fpermissive" \ -DWITH_T1LIB=ON \ -DWITH_LIBPAPER=ON \ -DWITH_TIFF=ON \ -DWITH_OPENEXR=ON \ -DWITH_PAM=ON \ -DBUILD_ALL=ON make The error is:
[ 77%] Building CXX object quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o cd /build/src/build/quanta/parts/kafka&& /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/parts/kafka -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/project -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o -c /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: In static member function 'static void kafkaCommon::fitsNodesPosition(Node*, int, int, int, int)': /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:745:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:746:55: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:747:57: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:748:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:752:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:753:57: error: using temporary as lvalue [-fpermissive] make[2]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
I'm not that swift at debugging, but I know enough to know
an lvalue problem -- ain't in my build script :p
The code is obviously wrong, I even wonder why older gcc allowed such code. Does this kludge^Wpatch help (the patch is attached)?
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messsages on the Web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Patch applied, but it looks like it got worse :)
Oops, bad programming on my side, my C-formatted mind told me that attrs
- index ==&attrs[index] :D
Does this patch help better [still an attached one] ?
[ 10%] Building CXX object quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o cd /build/src/build/quanta/utility&& /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/utility -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/dialogs/tagdialogs -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/messages -I/build/src/kdewebdev/quanta/parts/kafka -I/build/src/kdewebdev/quanta/project -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/utility-static.dir/quantacommon.cpp.o -c /build/src/kdewebdev/quanta/utility/quantacommon.cpp In file included from /build/src/kdewebdev/quanta/parsers/parser.h:28:0, from /build/src/kdewebdev/quanta/utility/quantacommon.h:23, from /build/src/kdewebdev/quanta/utility/quantacommon.cpp:57: /build/src/kdewebdev/quanta/parsers/tag.h: [...]
Hmm.. Nope... didn't work either :)
[ 10%] Building CXX object quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o cd /build/src/build/quanta/utility && /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/utility -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/dialogs/tagdialogs -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/messages -I/build/src/kdewebdev/quanta/parts/kafka -I/build/src/kdewebdev/quanta/project -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/utility-static.dir/quantacommon.cpp.o -c /build/src/kdewebdev/quanta/utility/quantacommon.cpp In file included from /build/src/kdewebdev/quanta/parsers/parser.h:28:0, from /build/src/kdewebdev/quanta/utility/quantacommon.h:23, from /build/src/kdewebdev/quanta/utility/quantacommon.cpp:57: /build/src/kdewebdev/quanta/parsers/tag.h: In member function 'TagAttr* Tag::getAttribute_gcc46(uint) const': /build/src/kdewebdev/quanta/parsers/tag.h:92:69: error: invalid conversion from 'const TagAttr*' to 'TagAttr*' [-fpermissive] make[2]: *** [quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/utility/CMakeFiles/utility-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Build failed, check /dat_e/david/bld/david/build
How do we make it to 77% without the patch, but stop at 10% with the patch? What do you think we try next?
It stops at 10% because I had to edit a file other than the one to add a kludgey method — and the method I wrote ain't right. Does the (again) corrected and attached version of the patch work better ?
On 05/16/2011 04:17 PM, /dev/ammo42 wrote:
Le Mon, 16 May 2011 14:51:11 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
On 05/16/2011 01:51 AM, /dev/ammo42 wrote:
Le Sun, 15 May 2011 18:01:31 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
On 05/15/2011 06:13 AM, /dev/ammo42 wrote:
Le Sat, 14 May 2011 22:11:41 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
Tim, all,
kdevelop build fine, but I ran into a lvalue problem in
kdewebdev. I'm building with:
msg "Starting cmake..." cmake ${srcdir}/${_svnmod} \ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DQT_VERSION=3 \ -DCMAKE_CXX_FLAGS="-fpermissive" \ -DWITH_T1LIB=ON \ -DWITH_LIBPAPER=ON \ -DWITH_TIFF=ON \ -DWITH_OPENEXR=ON \ -DWITH_PAM=ON \ -DBUILD_ALL=ON make The error is:
[ 77%] Building CXX object quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o cd /build/src/build/quanta/parts/kafka&& /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/parts/kafka -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/project -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o -c /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: In static member function 'static void kafkaCommon::fitsNodesPosition(Node*, int, int, int, int)': /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:745:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:746:55: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:747:57: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:748:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:752:56: error: using temporary as lvalue [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:753:57: error: using temporary as lvalue [-fpermissive] make[2]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
I'm not that swift at debugging, but I know enough to know
an lvalue problem -- ain't in my build script :p
The code is obviously wrong, I even wonder why older gcc allowed such code. Does this kludge^Wpatch help (the patch is attached)?
Patch applied, but it looks like it got worse :)
Oops, bad programming on my side, my C-formatted mind told me that attrs
- index ==&attrs[index] :D
Does this patch help better [still an attached one] ?
[ 10%] Building CXX object quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o
<snip>
Hmm.. Nope... didn't work either :)
[ 10%] Building CXX object quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o cd /build/src/build/quanta/utility&& /usr/bin/c++ -DHAVE_CONFIG_H
<snip>
Build failed, check /dat_e/david/bld/david/build
How do we make it to 77% without the patch, but stop at 10% with
the patch? What do you think we try next?
It stops at 10% because I had to edit a file other than the one to add a kludgey method — and the method I wrote ain't right. Does the (again) corrected and attached version of the patch work better ?
HeHeHe :)
We are getting closer! Applied the patch and we made it past 10% no problem. But... it died again at 77% :)
[ 77%] Building CXX object quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o cd /build/src/build/quanta/parts/kafka && /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/parts/kafka -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/project -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o -c /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: In static member function 'static void kafkaCommon::fitsNodesPosition(Node*, int, int, int, int)': /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:743:26: error: 'class Node' has no member named 'tab' make[2]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Le Mon, 16 May 2011 16:29:10 -0500, "David C. Rankin" drankinatty@suddenlinkmail.com a écrit :
On 05/16/2011 04:17 PM, /dev/ammo42 wrote:
Le Mon, 16 May 2011 14:51:11 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
On 05/16/2011 01:51 AM, /dev/ammo42 wrote:
Le Sun, 15 May 2011 18:01:31 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
On 05/15/2011 06:13 AM, /dev/ammo42 wrote:
Le Sat, 14 May 2011 22:11:41 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
> Tim, all, > > kdevelop build fine, but I ran into a lvalue problem in > kdewebdev. I'm building with: > > msg "Starting cmake..." > cmake ${srcdir}/${_svnmod} \ > -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ > -DCMAKE_VERBOSE_MAKEFILE=ON \ > -DQT_VERSION=3 \ > -DCMAKE_CXX_FLAGS="-fpermissive" \ > -DWITH_T1LIB=ON \ > -DWITH_LIBPAPER=ON \ > -DWITH_TIFF=ON \ > -DWITH_OPENEXR=ON \ > -DWITH_PAM=ON \ > -DBUILD_ALL=ON > make > > The error is: > > [ 77%] Building CXX object > quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o > cd /build/src/build/quanta/parts/kafka&& /usr/bin/c++ > -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE > -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION > -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic > -O2 -pipe -include tqt.h -I/build/src/build/quanta/parts/kafka > -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src > -I/build/src/kdewebdev/quanta/project > -I/build/src/kdewebdev/quanta/parsers > -I/build/src/kdewebdev/quanta/utility > -I/build/src/kdewebdev/quanta/treeviews -I/opt/trinity/include > -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC > -o CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o > -c /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: > In static member function 'static void > kafkaCommon::fitsNodesPosition(Node*, int, int, int, > int)': /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:745:56: > error: using temporary as lvalue > [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:746:55: > error: using temporary as lvalue > [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:747:57: > error: using temporary as lvalue > [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:748:56: > error: using temporary as lvalue > [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:752:56: > error: using temporary as lvalue > [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:753:57: > error: using temporary as lvalue [-fpermissive] make[2]: *** > [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] > Error 1 make[2]: Leaving directory `/build/src/build' make[1]: > *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] > Error 2 make[1]: Leaving directory `/build/src/build' make: *** > [all] Error 2 ==> ERROR: A failure occurred in build(). > Aborting... > > I'm not that swift at debugging, but I know enough to > know an lvalue problem -- ain't in my build script :p The code is obviously wrong, I even wonder why older gcc allowed such code. Does this kludge^Wpatch help (the patch is attached)?
Patch applied, but it looks like it got worse :)
Oops, bad programming on my side, my C-formatted mind told me that attrs
- index ==&attrs[index] :D
Does this patch help better [still an attached one] ?
[ 10%] Building CXX object quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o
<snip> >> >> Hmm.. Nope... didn't work either :) >> >> [ 10%] Building CXX object >> quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o >> cd /build/src/build/quanta/utility&& /usr/bin/c++ >> -DHAVE_CONFIG_H <snip> >> Build failed, check /dat_e/david/bld/david/build >> >> How do we make it to 77% without the patch, but stop at 10% >> with the patch? What do you think we try next? > It stops at 10% because I had to edit a file other than the one to > add a kludgey method — and the method I wrote ain't right. > Does the (again) corrected and attached version of the patch work > better ? >>
HeHeHe :)
We are getting closer! Applied the patch and we made it past 10% no problem. But... it died again at 77% :)
[ 77%] Building CXX object quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o cd /build/src/build/quanta/parts/kafka && /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/parts/kafka -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/project -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o -c /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: In static member function 'static void kafkaCommon::fitsNodesPosition(Node*, int, int, int, int)': /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:743:26: error: 'class Node' has no member named 'tab' make[2]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
Fscking typo (I typed tab in place of tag). Here is the corrected patch (I would happily test my patches, but first have to build kdelibs successfully).
On 05/16/2011 05:31 PM, /dev/ammo42 wrote:
Le Mon, 16 May 2011 16:29:10 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
On 05/16/2011 04:17 PM, /dev/ammo42 wrote:
Le Mon, 16 May 2011 14:51:11 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
On 05/16/2011 01:51 AM, /dev/ammo42 wrote:
Le Sun, 15 May 2011 18:01:31 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
On 05/15/2011 06:13 AM, /dev/ammo42 wrote: > Le Sat, 14 May 2011 22:11:41 -0500, > "David C. Rankin"drankinatty@suddenlinkmail.com a écrit : > >> Tim, all, >> >> kdevelop build fine, but I ran into a lvalue problem in >> kdewebdev. I'm building with: >> >> msg "Starting cmake..." >> cmake ${srcdir}/${_svnmod} \ >> -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ >> -DCMAKE_VERBOSE_MAKEFILE=ON \ >> -DQT_VERSION=3 \ >> -DCMAKE_CXX_FLAGS="-fpermissive" \ >> -DWITH_T1LIB=ON \ >> -DWITH_LIBPAPER=ON \ >> -DWITH_TIFF=ON \ >> -DWITH_OPENEXR=ON \ >> -DWITH_PAM=ON \ >> -DBUILD_ALL=ON >> make >> >> The error is: >> >> [ 77%] Building CXX object >> quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o >> cd /build/src/build/quanta/parts/kafka&& /usr/bin/c++ >> -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE >> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION >> -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic >> -O2 -pipe -include tqt.h -I/build/src/build/quanta/parts/kafka >> -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src >> -I/build/src/kdewebdev/quanta/project >> -I/build/src/kdewebdev/quanta/parsers >> -I/build/src/kdewebdev/quanta/utility >> -I/build/src/kdewebdev/quanta/treeviews -I/opt/trinity/include >> -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC >> -o CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o >> -c /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: >> In static member function 'static void >> kafkaCommon::fitsNodesPosition(Node*, int, int, int, >> int)': /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:745:56: >> error: using temporary as lvalue >> [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:746:55: >> error: using temporary as lvalue >> [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:747:57: >> error: using temporary as lvalue >> [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:748:56: >> error: using temporary as lvalue >> [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:752:56: >> error: using temporary as lvalue >> [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:753:57: >> error: using temporary as lvalue [-fpermissive] make[2]: *** >> [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] >> Error 1 make[2]: Leaving directory `/build/src/build' make[1]: >> *** [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] >> Error 2 make[1]: Leaving directory `/build/src/build' make: *** >> [all] Error 2 ==> ERROR: A failure occurred in build(). >> Aborting... >> >> I'm not that swift at debugging, but I know enough to >> know an lvalue problem -- ain't in my build script :p > The code is obviously wrong, I even wonder why older gcc allowed > such code. > Does this kludge^Wpatch help (the patch is attached)? >
Patch applied, but it looks like it got worse :)
Oops, bad programming on my side, my C-formatted mind told me that attrs
- index ==&attrs[index] :D
Does this patch help better [still an attached one] ?
[ 10%] Building CXX object quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o
<snip> >> >> Hmm.. Nope... didn't work either :) >> >> [ 10%] Building CXX object >> quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o >> cd /build/src/build/quanta/utility&& /usr/bin/c++ >> -DHAVE_CONFIG_H <snip> >> Build failed, check /dat_e/david/bld/david/build >> >> How do we make it to 77% without the patch, but stop at 10% >> with the patch? What do you think we try next? > It stops at 10% because I had to edit a file other than the one to > add a kludgey method — and the method I wrote ain't right. > Does the (again) corrected and attached version of the patch work > better ? >>
HeHeHe :)
We are getting closer! Applied the patch and we made it past 10%
no problem. But... it died again at 77% :)
[ 77%] Building CXX object
<snip>
Fscking typo (I typed tab in place of tag). Here is the corrected patch (I would happily test my patches, but first have to build kdelibs successfully).
Ha!
I think your patch worked! But I think we ran into another CMake error:
[ 92%] Building CXX object quanta/project/CMakeFiles/project-static.dir/uploadprofilespage.cpp.o cd /build/src/build/quanta/project && /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/project -I/build/src/build/quanta/dialogs -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews -I/build/src/kdewebdev/quanta/dialogs -I/build/src/kdewebdev/quanta/dialogs/tagdialogs -I/build/src/kdewebdev/quanta/components/debugger -I/build/src/kdewebdev/quanta/components/debugger/interfaces -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/project-static.dir/uploadprofilespage.cpp.o -c /build/src/build/quanta/project/uploadprofilespage.cpp In file included from /build/src/build/quanta/project/uploadprofilespage.cpp:22:0: /build/src/build/quanta/project/uploadprofilespage.ui.h:23:27: fatal error: projectupload.h: No such file or directory compilation terminated. make[2]: *** [quanta/project/CMakeFiles/project-static.dir/uploadprofilespage.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/project/CMakeFiles/project-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
projectupload.h us NOT there in the code. Looks like it is one of the auto-generate things that isn't being auto generated??
Le Mon, 16 May 2011 17:47:30 -0500, "David C. Rankin" drankinatty@suddenlinkmail.com a écrit :
On 05/16/2011 05:31 PM, /dev/ammo42 wrote:
Le Mon, 16 May 2011 16:29:10 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
On 05/16/2011 04:17 PM, /dev/ammo42 wrote:
Le Mon, 16 May 2011 14:51:11 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
On 05/16/2011 01:51 AM, /dev/ammo42 wrote:
Le Sun, 15 May 2011 18:01:31 -0500, "David C. Rankin"drankinatty@suddenlinkmail.com a écrit :
> On 05/15/2011 06:13 AM, /dev/ammo42 wrote: >> Le Sat, 14 May 2011 22:11:41 -0500, >> "David C. Rankin"drankinatty@suddenlinkmail.com a >> écrit : >> >>> Tim, all, >>> >>> kdevelop build fine, but I ran into a lvalue problem >>> in kdewebdev. I'm building with: >>> >>> msg "Starting cmake..." >>> cmake ${srcdir}/${_svnmod} \ >>> -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ >>> -DCMAKE_VERBOSE_MAKEFILE=ON \ >>> -DQT_VERSION=3 \ >>> -DCMAKE_CXX_FLAGS="-fpermissive" \ >>> -DWITH_T1LIB=ON \ >>> -DWITH_LIBPAPER=ON \ >>> -DWITH_TIFF=ON \ >>> -DWITH_OPENEXR=ON \ >>> -DWITH_PAM=ON \ >>> -DBUILD_ALL=ON >>> make >>> >>> The error is: >>> >>> [ 77%] Building CXX object >>> quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o >>> cd /build/src/build/quanta/parts/kafka&& /usr/bin/c++ >>> -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE >>> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION >>> -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic >>> -O2 -pipe -include tqt.h >>> -I/build/src/build/quanta/parts/kafka >>> -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src >>> -I/build/src/kdewebdev/quanta/project >>> -I/build/src/kdewebdev/quanta/parsers >>> -I/build/src/kdewebdev/quanta/utility >>> -I/build/src/kdewebdev/quanta/treeviews >>> -I/opt/trinity/include -I/opt/qt/include >>> -I/opt/qt/include/tqt -include tqt.h -fPIC -o >>> CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o >>> -c /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp: >>> In static member function 'static void >>> kafkaCommon::fitsNodesPosition(Node*, int, int, int, >>> int)': /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:745:56: >>> error: using temporary as lvalue >>> [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:746:55: >>> error: using temporary as lvalue >>> [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:747:57: >>> error: using temporary as lvalue >>> [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:748:56: >>> error: using temporary as lvalue >>> [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:752:56: >>> error: using temporary as lvalue >>> [-fpermissive] /build/src/kdewebdev/quanta/parts/kafka/kafkacommon.cpp:753:57: >>> error: using temporary as lvalue [-fpermissive] make[2]: *** >>> [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/kafkacommon.cpp.o] >>> Error 1 make[2]: Leaving directory `/build/src/build' >>> make[1]: *** >>> [quanta/parts/kafka/CMakeFiles/kafkalibrary-static.dir/all] >>> Error 2 make[1]: Leaving directory `/build/src/build' make: >>> *** [all] Error 2 ==> ERROR: A failure occurred in >>> build(). Aborting... >>> >>> I'm not that swift at debugging, but I know enough to >>> know an lvalue problem -- ain't in my build script :p >> The code is obviously wrong, I even wonder why older gcc >> allowed such code. >> Does this kludge^Wpatch help (the patch is attached)? >> > > Patch applied, but it looks like it got worse :) Oops, bad programming on my side, my C-formatted mind told me that attrs
- index ==&attrs[index] :D
Does this patch help better [still an attached one] ? > > [ 10%] Building CXX object > quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o
<snip> >> >> Hmm.. Nope... didn't work either :) >> >> [ 10%] Building CXX object >> quanta/utility/CMakeFiles/utility-static.dir/quantacommon.cpp.o >> cd /build/src/build/quanta/utility&& /usr/bin/c++ >> -DHAVE_CONFIG_H <snip> >> Build failed, check /dat_e/david/bld/david/build >> >> How do we make it to 77% without the patch, but stop at 10% >> with the patch? What do you think we try next? > It stops at 10% because I had to edit a file other than the one to > add a kludgey method — and the method I wrote ain't right. > Does the (again) corrected and attached version of the patch work > better ? >>
HeHeHe :)
We are getting closer! Applied the patch and we made it past
10% no problem. But... it died again at 77% :)
[ 77%] Building CXX object
<snip> > Fscking typo (I typed tab in place of tag). Here is the corrected > patch (I would happily test my patches, but first have to build > kdelibs successfully). >
Ha!
I think your patch worked! But I think we ran into another CMake error:
[ 92%] Building CXX object quanta/project/CMakeFiles/project-static.dir/uploadprofilespage.cpp.o cd /build/src/build/quanta/project && /usr/bin/c++ -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -march=x86-64 -mtune=generic -O2 -pipe -include tqt.h -I/build/src/build/quanta/project -I/build/src/build/quanta/dialogs -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews -I/build/src/kdewebdev/quanta/dialogs -I/build/src/kdewebdev/quanta/dialogs/tagdialogs -I/build/src/kdewebdev/quanta/components/debugger -I/build/src/kdewebdev/quanta/components/debugger/interfaces -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt -include tqt.h -fPIC -o CMakeFiles/project-static.dir/uploadprofilespage.cpp.o -c /build/src/build/quanta/project/uploadprofilespage.cpp In file included from /build/src/build/quanta/project/uploadprofilespage.cpp:22:0: /build/src/build/quanta/project/uploadprofilespage.ui.h:23:27: fatal error: projectupload.h: No such file or directory compilation terminated. make[2]: *** [quanta/project/CMakeFiles/project-static.dir/uploadprofilespage.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [quanta/project/CMakeFiles/project-static.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
projectupload.h us NOT there in the code.
Yes it is. dd@darkstar:~/trinity/kdewebdev/quanta/project$ ls -l projectupload.h -rw-r--r-- 1 dd users 4009 mai 15 12:48 projectupload.h
Looks like it is one of the auto-generate things that isn't being auto generated??
On 05/16/2011 06:13 PM, /dev/ammo42 wrote:
projectupload.h us NOT there in the code.
Yes it is. dd@darkstar:~/trinity/kdewebdev/quanta/project$ ls -l projectupload.h -rw-r--r-- 1 dd users 4009 mai 15 12:48 projectupload.h
Looks like it is one of the auto-generate things that isn't being auto generated??
Hmm...
find /dat_e/david/bld/david/build/src/build/quanta/ -name projectupload.h <nothing>
hmm...
19:02 archangel:/dat_e/david/bld/trinity> find kdewebdev/ -name projectupload.h kdewebdev/quanta/project/projectupload.h
hmm...
tar -tzf kdewebdev-1232132.tar.gz | grep projectupload.h kdewebdev/quanta/project/projectupload.h
WTF??
l ../../david/build/src/kdewebdev/quanta/project/projectupload.h -rw-r--r-- 1 nobody nobody 4009 Oct 11 2010 ../../david/build/src/kdewebdev/quanta/project/projectupload.h
Hah!
-include tqt.h -I/build/src/build/quanta/project ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -I/build/src/build/quanta/dialogs -I/build/src/kdewebdev/lib -I/build/src/kdewebdev/quanta/src -I/build/src/kdewebdev/quanta/parsers -I/build/src/kdewebdev/quanta/utility -I/build/src/kdewebdev/quanta/treeviews -I/build/src/kdewebdev/quanta/dialogs -I/build/src/kdewebdev/quanta/dialogs/tagdialogs -I/build/src/kdewebdev/quanta/components/debugger -I/build/src/kdewebdev/quanta/components/debugger/interfaces -I/opt/trinity/include -I/opt/qt/include -I/opt/qt/include/tqt
but NO -I/build/src/kdewebdev/quanta/project
So for some reason the CMake files are not including the actual 'project' directory in the build. They include the out-of-source 'project' dir, but not the source 'project' dir.
So, let's add:
-DCMAKE_CXX_FLAGS="-I /build/src/kdewebdev/quanta/project" \
Hah!!
==> Tidying install... -> Purging other files... -> Compressing man and info pages... ==> Creating package... -> Generating .PKGINFO file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: trinity-kdewebdev-1222551-1 (Tue May 17 00:14:01 UTC 2011)
2365932 May 16 19:14 trinity-kdewebdev-1222551-1-x86_64.pkg.tar.xz