Package: tora
Version: 2.1.3-1
Severity: important
Tags: sid wheezy
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

toextract.cpp:690:27: error: 'gethostname' was not declared in this scope

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/tora_2.1.3-1_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/g++   -DCMAKE_BUILD 
-DTOMONOLITHIC -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB 
-DQT_CORE_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_LIB -DTO_NO_ORACLE 
-DLIBPQ_DECL_CANCEL -DHAVE_POSTGRESQL_LIBPQ_FE_H -DHAVE_DLFCN_H -DHAVE_UNISTD_H 
-DHAVE_CONFIG_H -DQT_NO_DEBUG -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-Wall -O2  -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src -I/«PKGBUILDDIR»/src 
-I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore 
-I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative 
-I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus 
-I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp 
-I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
-I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default 
-I/«PKGBUILDDIR»/src/loki/include -I/«PKGBUILDDIR»/src/otl 
-I/usr/include/postgresql -I/usr/include/qt4/Qsci    -DTOVERSION=\"2.1.3\" 
-DDEFAULT_PLUGIN_DIR=\"/usr/share/tora/\" -DQT -DSCI_LEXER  -include 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/precompiled.h -Winvalid-pch  -o 
CMakeFiles/tora.dir/tocurrent.o -c /«PKGBUILDDIR»/src/tocurrent.cpp
/usr/bin/cmake -E cmake_progress_report 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
[ 73%] Building CXX object src/CMakeFiles/tora.dir/todatatype.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/g++   -DCMAKE_BUILD 
-DTOMONOLITHIC -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB 
-DQT_CORE_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_LIB -DTO_NO_ORACLE 
-DLIBPQ_DECL_CANCEL -DHAVE_POSTGRESQL_LIBPQ_FE_H -DHAVE_DLFCN_H -DHAVE_UNISTD_H 
-DHAVE_CONFIG_H -DQT_NO_DEBUG -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-Wall -O2  -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src -I/«PKGBUILDDIR»/src 
-I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore 
-I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative 
-I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus 
-I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp 
-I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
-I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default 
-I/«PKGBUILDDIR»/src/loki/include -I/«PKGBUILDDIR»/src/otl 
-I/usr/include/postgresql -I/usr/include/qt4/Qsci    -DTOVERSION=\"2.1.3\" 
-DDEFAULT_PLUGIN_DIR=\"/usr/share/tora/\" -DQT -DSCI_LEXER  -include 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/precompiled.h -Winvalid-pch  -o 
CMakeFiles/tora.dir/todatatype.o -c /«PKGBUILDDIR»/src/todatatype.cpp
/usr/bin/cmake -E cmake_progress_report 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 36
[ 74%] Building CXX object src/CMakeFiles/tora.dir/todebug.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/g++   -DCMAKE_BUILD 
-DTOMONOLITHIC -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB 
-DQT_CORE_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_LIB -DTO_NO_ORACLE 
-DLIBPQ_DECL_CANCEL -DHAVE_POSTGRESQL_LIBPQ_FE_H -DHAVE_DLFCN_H -DHAVE_UNISTD_H 
-DHAVE_CONFIG_H -DQT_NO_DEBUG -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-Wall -O2  -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src -I/«PKGBUILDDIR»/src 
-I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore 
-I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative 
-I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus 
-I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp 
-I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
-I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default 
-I/«PKGBUILDDIR»/src/loki/include -I/«PKGBUILDDIR»/src/otl 
-I/usr/include/postgresql -I/usr/include/qt4/Qsci    -DTOVERSION=\"2.1.3\" 
-DDEFAULT_PLUGIN_DIR=\"/usr/share/tora/\" -DQT -DSCI_LEXER  -include 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/precompiled.h -Winvalid-pch  -o 
CMakeFiles/tora.dir/todebug.o -c /«PKGBUILDDIR»/src/todebug.cpp
/usr/bin/cmake -E cmake_progress_report 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
[ 74%] Building CXX object src/CMakeFiles/tora.dir/todebugtext.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/g++   -DCMAKE_BUILD 
-DTOMONOLITHIC -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB 
-DQT_CORE_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_LIB -DTO_NO_ORACLE 
-DLIBPQ_DECL_CANCEL -DHAVE_POSTGRESQL_LIBPQ_FE_H -DHAVE_DLFCN_H -DHAVE_UNISTD_H 
-DHAVE_CONFIG_H -DQT_NO_DEBUG -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-Wall -O2  -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src -I/«PKGBUILDDIR»/src 
-I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore 
-I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative 
-I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus 
-I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp 
-I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
-I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default 
-I/«PKGBUILDDIR»/src/loki/include -I/«PKGBUILDDIR»/src/otl 
-I/usr/include/postgresql -I/usr/include/qt4/Qsci    -DTOVERSION=\"2.1.3\" 
-DDEFAULT_PLUGIN_DIR=\"/usr/share/tora/\" -DQT -DSCI_LEXER  -include 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/precompiled.h -Winvalid-pch  -o 
CMakeFiles/tora.dir/todebugtext.o -c /«PKGBUILDDIR»/src/todebugtext.cpp
/usr/bin/cmake -E cmake_progress_report 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
[ 74%] Building CXX object src/CMakeFiles/tora.dir/todescribe.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/g++   -DCMAKE_BUILD 
-DTOMONOLITHIC -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB 
-DQT_CORE_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_LIB -DTO_NO_ORACLE 
-DLIBPQ_DECL_CANCEL -DHAVE_POSTGRESQL_LIBPQ_FE_H -DHAVE_DLFCN_H -DHAVE_UNISTD_H 
-DHAVE_CONFIG_H -DQT_NO_DEBUG -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-Wall -O2  -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src -I/«PKGBUILDDIR»/src 
-I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore 
-I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative 
-I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus 
-I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp 
-I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
-I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default 
-I/«PKGBUILDDIR»/src/loki/include -I/«PKGBUILDDIR»/src/otl 
-I/usr/include/postgresql -I/usr/include/qt4/Qsci    -DTOVERSION=\"2.1.3\" 
-DDEFAULT_PLUGIN_DIR=\"/usr/share/tora/\" -DQT -DSCI_LEXER  -include 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/precompiled.h -Winvalid-pch  -o 
CMakeFiles/tora.dir/todescribe.o -c /«PKGBUILDDIR»/src/todescribe.cpp
/usr/bin/cmake -E cmake_progress_report 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
[ 74%] Building CXX object src/CMakeFiles/tora.dir/toeditextensions.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/g++   -DCMAKE_BUILD 
-DTOMONOLITHIC -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB 
-DQT_CORE_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_LIB -DTO_NO_ORACLE 
-DLIBPQ_DECL_CANCEL -DHAVE_POSTGRESQL_LIBPQ_FE_H -DHAVE_DLFCN_H -DHAVE_UNISTD_H 
-DHAVE_CONFIG_H -DQT_NO_DEBUG -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-Wall -O2  -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src -I/«PKGBUILDDIR»/src 
-I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore 
-I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative 
-I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus 
-I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp 
-I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
-I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default 
-I/«PKGBUILDDIR»/src/loki/include -I/«PKGBUILDDIR»/src/otl 
-I/usr/include/postgresql -I/usr/include/qt4/Qsci    -DTOVERSION=\"2.1.3\" 
-DDEFAULT_PLUGIN_DIR=\"/usr/share/tora/\" -DQT -DSCI_LEXER  -include 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/precompiled.h -Winvalid-pch  -o 
CMakeFiles/tora.dir/toeditextensions.o -c 
/«PKGBUILDDIR»/src/toeditextensions.cpp
/usr/bin/cmake -E cmake_progress_report 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
[ 74%] Building CXX object src/CMakeFiles/tora.dir/toeditwidget.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/g++   -DCMAKE_BUILD 
-DTOMONOLITHIC -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB 
-DQT_CORE_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_LIB -DTO_NO_ORACLE 
-DLIBPQ_DECL_CANCEL -DHAVE_POSTGRESQL_LIBPQ_FE_H -DHAVE_DLFCN_H -DHAVE_UNISTD_H 
-DHAVE_CONFIG_H -DQT_NO_DEBUG -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-Wall -O2  -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src -I/«PKGBUILDDIR»/src 
-I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore 
-I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative 
-I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus 
-I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp 
-I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
-I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default 
-I/«PKGBUILDDIR»/src/loki/include -I/«PKGBUILDDIR»/src/otl 
-I/usr/include/postgresql -I/usr/include/qt4/Qsci    -DTOVERSION=\"2.1.3\" 
-DDEFAULT_PLUGIN_DIR=\"/usr/share/tora/\" -DQT -DSCI_LEXER  -include 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/precompiled.h -Winvalid-pch  -o 
CMakeFiles/tora.dir/toeditwidget.o -c /«PKGBUILDDIR»/src/toeditwidget.cpp
/usr/bin/cmake -E cmake_progress_report 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 37
[ 75%] Building CXX object src/CMakeFiles/tora.dir/toextract.o
cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src && /usr/bin/g++   -DCMAKE_BUILD 
-DTOMONOLITHIC -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB 
-DQT_CORE_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_LIB -DTO_NO_ORACLE 
-DLIBPQ_DECL_CANCEL -DHAVE_POSTGRESQL_LIBPQ_FE_H -DHAVE_DLFCN_H -DHAVE_UNISTD_H 
-DHAVE_CONFIG_H -DQT_NO_DEBUG -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-Wall -O2  -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src -I/«PKGBUILDDIR»/src 
-I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore 
-I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu 
-I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative 
-I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus 
-I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtHelp 
-I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest 
-I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default 
-I/«PKGBUILDDIR»/src/loki/include -I/«PKGBUILDDIR»/src/otl 
-I/usr/include/postgresql -I/usr/include/qt4/Qsci    -DTOVERSION=\"2.1.3\" 
-DDEFAULT_PLUGIN_DIR=\"/usr/share/tora/\" -DQT -DSCI_LEXER  -include 
/«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/precompiled.h -Winvalid-pch  -o 
CMakeFiles/tora.dir/toextract.o -c /«PKGBUILDDIR»/src/toextract.cpp
/«PKGBUILDDIR»/src/toextract.cpp: In member function 'QString 
toExtract::generateHeading(const QString&, std::list<QString, 
std::allocator<QString> >&)':
/«PKGBUILDDIR»/src/toextract.cpp:690:27: error: 'gethostname' was not 
declared in this scope
make[3]: *** [src/CMakeFiles/tora.dir/toextract.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
make[2]: *** [src/CMakeFiles/tora.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to