Package: qmf
Version: 1.0.7~2011w23.2-2
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.

messageserver.cpp:473:5: error: '::write' has not been declared

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/qmf_1.0.7~2011w23.2-2_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.

[...]
g++ -m64 -Wl,-O1 -shared -o libqmfsettings.so service.o settings.o 
storagelocations.o moc_service.o moc_settings.o   -L/usr/lib 
-L../../../libraries/qmfclient/build 
-L../../../libraries/qmfmessageserver/build -lqmfclient -lqmfmessageserver 
-lQtGui -lQtNetwork -lQtCore -lpthread  
mv -f libqmfsettings.so build/
make[2]: Leaving directory 
`/«PKGBUILDDIR»/src/plugins/messageservices/qmfsettings'
cd src/plugins/contentmanagers/qmfstoragemanager/ && /usr/bin/qmake 
/«PKGBUILDDIR»/src/plugins/contentmanagers/qmfstoragemanager/qmfstoragemanager.pro
 -nocache QMAKE_STRIP=: PREFIX=/usr QMF_INSTALL_ROOT=/usr CONFIG+=syslog -o 
Makefile
cd src/plugins/contentmanagers/qmfstoragemanager/ && make -f Makefile 
make[2]: Entering directory 
`/«PKGBUILDDIR»/src/plugins/contentmanagers/qmfstoragemanager'
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DPLUGIN_INTERNAL 
-DPLUGIN_INTERNAL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED 
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4 -I/usr/include/qt4/qmfclient -I. 
-I../../../libraries/qmfclient -I../../../libraries/qmfclient/support -I. -o 
qmfstoragemanager.o qmfstoragemanager.cpp
qmfstoragemanager.cpp:366:23: warning: unused parameter 'identifiers' 
[-Wunused-parameter]
/usr/bin/moc-qt4 -DPLUGIN_INTERNAL -DPLUGIN_INTERNAL -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. 
-I/usr/include/qt4/QtCore -I/usr/include/qt4 -I/usr/include/qt4/qmfclient -I. 
-I../../../libraries/qmfclient -I../../../libraries/qmfclient/support -I. 
qmfstoragemanager.h -o moc_qmfstoragemanager.cpp
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DPLUGIN_INTERNAL 
-DPLUGIN_INTERNAL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED 
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4 -I/usr/include/qt4/qmfclient -I. 
-I../../../libraries/qmfclient -I../../../libraries/qmfclient/support -I. -o 
moc_qmfstoragemanager.o moc_qmfstoragemanager.cpp
rm -f libqmfstoragemanager.so
g++ -m64 -Wl,-O1 -shared -o libqmfstoragemanager.so qmfstoragemanager.o 
moc_qmfstoragemanager.o   -L/usr/lib -L../../../libraries/qmfclient/build 
-lqmfclient -lQtCore -lpthread  
mv -f libqmfstoragemanager.so build/
make[2]: Leaving directory 
`/«PKGBUILDDIR»/src/plugins/contentmanagers/qmfstoragemanager'
cd src/tools/messageserver/ && /usr/bin/qmake 
/«PKGBUILDDIR»/src/tools/messageserver/messageserver.pro -nocache 
QMAKE_STRIP=: PREFIX=/usr QMF_INSTALL_ROOT=/usr CONFIG+=syslog -o Makefile
cd src/tools/messageserver/ && make -f Makefile 
make[2]: Entering directory `/«PKGBUILDDIR»/src/tools/messageserver'
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB 
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 
-I/usr/include/qt4/qmfmessageserver -I/usr/include/qt4/qmfclient -I. 
-I../../libraries/qmfclient -I../../libraries/qmfclient/support 
-I../../libraries/qmfmessageserver -I. -o mailmessageclient.o 
mailmessageclient.cpp
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB 
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 
-I/usr/include/qt4/qmfmessageserver -I/usr/include/qt4/qmfclient -I. 
-I../../libraries/qmfclient -I../../libraries/qmfclient/support 
-I../../libraries/qmfmessageserver -I. -o messageserver.o messageserver.cpp
messageserver.cpp: In static member function 'static void 
MessageServer::hupSignalHandler(int)':
messageserver.cpp:473:5: error: '::write' has not been declared
messageserver.cpp: In member function 'void MessageServer::handleSigHup()':
messageserver.cpp:480:5: error: '::read' has not been declared
make[2]: *** [messageserver.o] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/src/tools/messageserver'
make[1]: *** [sub-src-tools-messageserver-make_default-ordered] Error 2
dh_auto_build: make -j1 returned exit code 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1sfcti-0007is...@ravel.debian.org

Reply via email to