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

Bug#667313: openmsx-debugger: ftbfs with GCC-4.7



Package: openmsx-debugger
Version: 0.0.0.svn20110306-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.

src/ConnectDialog.cpp:34:38: error: 'getuid' 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/openmsx-debugger_0.0.0.svn20110306-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.

[...]
make[1]: Leaving directory `/«PKGBUILDDIR»'
make[1]: Entering directory `/«PKGBUILDDIR»'
Generating ui_BitMapViewer.h...
Generating ui_BreakpointDialog.h...
Generating ui_ConnectDialog.h...
Generating ui_PreferencesDialog.h...
Generating ui_SymbolManager.h...
Generating ui_VDPCommandRegisters.h...
Generating ui_VDPRegistersExplained.h...
Generating ui_VDPStatusRegisters.h...
Creating derived/src/Version.ii...
Compiling BitMapViewer.cpp...
Compiling BreakpointDialog.cpp...
Compiling CPURegs.cpp...
Compiling CPURegsViewer.cpp...
Compiling CommClient.cpp...
Compiling ConnectDialog.cpp...
src/ConnectDialog.cpp: In function 'QString getUserName()':
src/ConnectDialog.cpp:34:38: error: 'getuid' was not declared in this scope
src/ConnectDialog.cpp: In function 'bool checkSocketDir(const QDir&)':
src/ConnectDialog.cpp:47:31: error: 'getuid' was not declared in this scope
src/ConnectDialog.cpp: In function 'bool checkSocket(const QFileInfo&)':
src/ConnectDialog.cpp:76:31: error: 'getuid' was not declared in this scope
src/ConnectDialog.cpp: In function 'OpenMSXConnection* createConnection(const QDir&, const QString&)':
src/ConnectDialog.cpp:129:13: error: 'close' was not declared in this scope
src/ConnectDialog.cpp:133:12: error: 'close' was not declared in this scope
make[1]: *** [derived/obj/ConnectDialog.o] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



Reply to: