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

Bug#667263: linamc: ftbfs with GCC-4.7



Package: linamc
Version: 2.0rc5-2
Severity: important
Tags: sid wheezy
User: debian-gcc@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.

AxUnit.cpp:127:32: error: 'close' 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/linamc_2.0rc5-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.

[...]
QSettings: error creating /sbuild-nonexistent/.qt
QSettings: error creating /sbuild-nonexistent/.qt
/usr/share/qt3/bin/uic automark.ui -o automark.h
QSettings: error creating /sbuild-nonexistent/.qt
QSettings: error creating /sbuild-nonexistent/.qt
/usr/share/qt3/bin/uic finddialog.ui -o finddialog.h
QSettings: error creating /sbuild-nonexistent/.qt
QSettings: error creating /sbuild-nonexistent/.qt
/usr/share/qt3/bin/uic configw.ui -o configw.h
QSettings: error creating /sbuild-nonexistent/.qt
QSettings: error creating /sbuild-nonexistent/.qt
g++ -c -pipe -g -Wall -W -O0 -D_REENTRANT  -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 -o main.o main.cpp
g++ -c -pipe -g -Wall -W -O0 -D_REENTRANT  -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 -o utils.o utils.cpp
utils.cpp: In member function 'QString TUtils::substring(char, char, QString)':
utils.cpp:222:7: warning: variable 'cnt1' set but not used [-Wunused-but-set-variable]
g++ -c -pipe -g -Wall -W -O0 -D_REENTRANT  -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 -o AxUnit.o AxUnit.cpp
AxUnit.cpp: In member function 'int TAxUnit::WaitConnect(int)':
AxUnit.cpp:127:32: error: 'close' was not declared in this scope
AxUnit.cpp:95:6: warning: unused variable 'err' [-Wunused-variable]
AxUnit.cpp:96:19: warning: unused variable 'axinfo' [-Wunused-variable]
AxUnit.cpp: In member function 'bool TAxUnit::Telnet_BBS(QString)':
AxUnit.cpp:295:32: error: 'close' was not declared in this scope
AxUnit.cpp:310:42: error: 'read' was not declared in this scope
AxUnit.cpp: In member function 'void TAxUnit::DiscBBS()':
AxUnit.cpp:336:29: error: 'close' was not declared in this scope
make[2]: *** [AxUnit.o] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/src'
make[1]: *** [sub-src] Error 2
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



Reply to: