Bug#672059: guymager: FTBFS: util.cpp:117:23: error: '_SC_PHYS_PAGES' was not declared in this scope

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue May 8 11:38:24 UTC 2012


Source: guymager
Version: 0.6.7-1
Severity: serious
Tags: wheezy sid
User: debian-qa at 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:
> g++ -c -m64 -pipe -g -Wall -W -fmessage-length=0 -fno-strict-aliasing -D_REENTRANT -DSPLASH_DIR='"/usr/share/guymager"' -DLANGUAGE_DIR='"/usr/share/guymager"' -DLANGUAGE_DIR_QT='"/usr/share/qt4/translations"' -DQT_GUI_LIB -DQT_CORE_LIB -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/QtDBus -I/usr/include/libguytools2 -Imoc -o util.o util.cpp
> util.cpp: In function 'long long unsigned int UtilGetInstalledRAM()':
> util.cpp:117:23: error: '_SC_PHYS_PAGES' was not declared in this scope
> util.cpp:117:37: error: 'sysconf' was not declared in this scope
> util.cpp:118:23: error: '_SC_PAGESIZE' was not declared in this scope
> util.cpp: In function 'unsigned int UtilGetNumberOfCPUs()':
> util.cpp:138:19: error: '_SC_NPROCESSORS_ONLN' was not declared in this scope
> util.cpp:138:40: error: 'sysconf' was not declared in this scope
> make[1]: *** [util.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/08/guymager_0.6.7-1_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.





More information about the forensics-devel mailing list