[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#672044: kdenetwork: FTBFS: ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc:284:49: error: 'gethostname' was not declared in this scope



Source: kdenetwork
Version: 4:4.7.4-2
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20120508 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> make[4]: Entering directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
> [  0%] Building CXX object kopete/protocols/jabber/googletalk/libjingle/talk/p2p/client/CMakeFiles/cricketp2pclient.dir/basicportallocator.o
> cd kopete/protocols/jabber/googletalk/libjingle/talk/p2p/client && /usr/bin/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=24 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -DIRIS_XMPP_JID_DEPRECATED -DHAVE_CONFIG_H -DPOSIX -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -I../../../../../../../../.. -I../../../../../../../.. -I../../../../../../.. -I../../../../../../../../../kopete/libkopete -I../../../../../../../libkopete -I../../../../../../../../../kopete/libkopete/ui -I../../../../../../../libkopete/ui -I../../../../../../../../../kopete/libkopete/private -I../../../../../../../../../kopete/libkopete/contactlist -I../../../../../../../../../kopete/libkopete/tasks -I../../../../../../../../../kopete/protocols/jabber/ui -I../../../../../../../../../kopete/protocols/jabber/tasks -I../../../../../../../../../kopete/protocols/jabber/libiris/include -I../../../../../../../../../kopete/protocols/jabber/libiris/iris -I../../../../../../../../../kopete/protocols/jabber/libiris/iris/xmpp/jingle -I../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle -I../../.. -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/QtCrypto    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cricketp2pclient.dir/basicportallocator.o -c ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/client/basicportallocator.cc
> Generating kopetegroup.moc
> In file included from ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/xmllite/xmlelement.h:34:0,
>                  from ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/xmpp/constants.cc:31:
> ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/xmllite/qname.h: In constructor 'buzz::QName::Data::Data(const string&, const string&)':
> ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/xmllite/qname.h:77:9: warning: 'buzz::QName::Data::refcount_' will be initialized after [-Wreorder]
> ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/xmllite/qname.h:70:17: warning:   'std::string buzz::QName::Data::namespace_' [-Wreorder]
> ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/xmllite/qname.h:63:5: warning:   when initialized here [-Wreorder]
> In file included from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.cc:29:0:
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.h:199:6: warning: "_MSC_VER" is not defined [-Wundef]
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.h:227:6: warning: "_MSC_VER" is not defined [-Wundef]
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.h:276:6: warning: "_MSC_VER" is not defined [-Wundef]
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.h:326:6: warning: "_MSC_VER" is not defined [-Wundef]
> Generating jabbercapabilitiesmanager.moc
> ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc:271:5: warning: "WIN32" is not defined [-Wundef]
> ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc:304:5: warning: "WIN32" is not defined [-Wundef]
> Generating s5b.moc
> Generating gaduaccount.moc
> Generating moc_kopete_unix_serial.cpp
> /«PKGBUILDDIR»/kopete/protocols/sms/services/kopete_unix_serial.h:0: Note: No relevant classes found. No output generated.
> make[4]: Leaving directory `/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
> In file included from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/messagequeue.h:36:0,
>                  from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/thread.h:39,
>                  from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/client/basicportallocator.h:31,
>                  from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/client/basicportallocator.cc:36:
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/criticalsection.h:43:5: warning: "CS_TRACK_OWNER" is not defined [-Wundef]
> Generating kopeteplugin.moc
> [  0%] Built target kopete_sms_automoc
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
> In file included from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/port.h:37:0,
>                  from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/portallocator.h:32,
>                  from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/client/basicportallocator.h:34,
>                  from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/client/basicportallocator.cc:36:
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.h:199:6: warning: "_MSC_VER" is not defined [-Wundef]
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.h:227:6: warning: "_MSC_VER" is not defined [-Wundef]
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.h:276:6: warning: "_MSC_VER" is not defined [-Wundef]
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.h:326:6: warning: "_MSC_VER" is not defined [-Wundef]
> [  0%] Building CXX object kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/CMakeFiles/cricketp2pbase.dir/port.o
> cd kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base && /usr/bin/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=24 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -DIRIS_XMPP_JID_DEPRECATED -DHAVE_CONFIG_H -DPOSIX -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -I../../../../../../../../.. -I../../../../../../../.. -I../../../../../../.. -I../../../../../../../../../kopete/libkopete -I../../../../../../../libkopete -I../../../../../../../../../kopete/libkopete/ui -I../../../../../../../libkopete/ui -I../../../../../../../../../kopete/libkopete/private -I../../../../../../../../../kopete/libkopete/contactlist -I../../../../../../../../../kopete/libkopete/tasks -I../../../../../../../../../kopete/protocols/jabber/ui -I../../../../../../../../../kopete/protocols/jabber/tasks -I../../../../../../../../../kopete/protocols/jabber/libiris/include -I../../../../../../../../../kopete/protocols/jabber/libiris/iris -I../../../../../../../../../kopete/protocols/jabber/libiris/iris/xmpp/jingle -I../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle -I../../.. -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/QtCrypto    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cricketp2pbase.dir/port.o -c ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/port.cc
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
> [  0%] Generating kopeteblacklister.moc
> Building CXX object kopete/protocols/jabber/googletalk/libjingle/talk/xmllite/CMakeFiles/cricketxmllite.dir/xmlbuilder.o
> cd kopete/protocols/jabber/googletalk/libjingle/talk/xmllite && /usr/bin/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=24 -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -DIRIS_XMPP_JID_DEPRECATED -DHAVE_CONFIG_H -DPOSIX -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -DNDEBUG -DQT_NO_DEBUG -I../../../../../../../.. -I../../../../../../.. -I../../../../../.. -I../../../../../../../../kopete/libkopete -I../../../../../../libkopete -I../../../../../../../../kopete/libkopete/ui -I../../../../../../libkopete/ui -I../../../../../../../../kopete/libkopete/private -I../../../../../../../../kopete/libkopete/contactlist -I../../../../../../../../kopete/libkopete/tasks -I../../../../../../../../kopete/protocols/jabber/ui -I../../../../../../../../kopete/protocols/jabber/tasks -I../../../../../../../../kopete/protocols/jabber/libiris/include -I../../../../../../../../kopete/protocols/jabber/libiris/iris -I../../../../../../../../kopete/protocols/jabber/libiris/iris/xmpp/jingle -I../../../../../../../../kopete/protocols/jabber/googletalk/libjingle -I../.. -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/QtCrypto    -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cricketxmllite.dir/xmlbuilder.o -c ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/xmllite/xmlbuilder.cc
> Generating jabberbookmarks.moc
> Generating kopeteaccountmanager.moc
> Generating jabbertransport.moc
> In file included from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/messagequeue.h:36:0,
>                  from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/thread.h:39,
>                  from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/port.h:35,
>                  from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/port.cc:46:
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/criticalsection.h:43:5: warning: "CS_TRACK_OWNER" is not defined [-Wundef]
> Generating avatarselectorwidget.moc
> ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc:211:6: warning: unused parameter 'len' [-Wunused-parameter]
> ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc:219:6: warning: unused parameter 'len' [-Wunused-parameter]
> In file included from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/port.h:37:0,
>                  from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/port.cc:46:
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.h:199:6: warning: "_MSC_VER" is not defined [-Wundef]
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.h:227:6: warning: "_MSC_VER" is not defined [-Wundef]
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.h:276:6: warning: "_MSC_VER" is not defined [-Wundef]
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/base/stun.h:326:6: warning: "_MSC_VER" is not defined [-Wundef]
> ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc: In static member function 'static std::string talk_base::SocketAddress::GetHostname()':
> ../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc:284:49: error: 'gethostname' was not declared in this scope
> In file included from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/host.h:33:0,
>                  from ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/p2p/client/basicportallocator.cc:34:
> ../../../../../../../../../kopete/protocols/jabber/googletalk/libjingle/talk/base/network.h:121:7: warning: 'class talk_base::NetworkSession' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
> Generating gadupubdir.moc
> make[4]: *** [kopete/protocols/jabber/googletalk/libjingle/talk/base/CMakeFiles/cricketbase.dir/socketaddress.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/08/kdenetwork_4.7.4-2_unstable.log

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.



Reply to: