trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2012

tdebase FTBFS

From: Darrell Anderson <humanreadable@...>
Date: Tue, 10 Apr 2012 16:37:55 -0700 (PDT)
Latest GIT (April 10, short version 5566) broke building on Slackware 13.1.

Reversing patches 20fc5cd8, ffc39044, and 0f026179 allows building.

Configuration:

cd ${TMP}/${PRGNAM}.build
cmake $SOURCES_ROOT \
  -DCMAKE_C_FLAGS:STRING="$CPUOPT" \
  -DCMAKE_CXX_FLAGS:STRING="$CPUOPT $DEBUG_CMAKE_OPT" \
  -DCMAKE_INSTALL_PREFIX=${PREFIX} \
  -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \
  -DLIB_SUFFIX=${LIBDIRSUFFIX} \
  -DMAN_INSTALL_DIR=${MANDIR} \
  -DWITH_XCOMPOSITE=ON \
  -DWITH_XCURSOR=ON \
  -DWITH_XFIXES=ON \
  -DWITH_XRANDR=ON \
  -DWITH_ARTS=ON \
  -DWITH_XINERAMA=ON \
  -DWITH_XDMCP=ON \
  -DWITH_XRENDER=ON \
  -DWITH_XFIXES=ON \
  -DWITH_XDAMAGE=ON \
  -DWITH_XEXT=ON \
  -DWITH_XTEST=ON \
  -DWITH_SHADOW=ON \
  -DWITH_OPENEXR=ON \
  -DWITH_HAL=ON \
  -DWITH_SASL=ON \
  -DWITH_LDAP=ON \
  -DWITH_SAMBA=ON \
  -DWITH_LIBRAW1394=ON \
  -DBUILD_CRASHTEST=ON \
  -DWITH_GCC_VISIBILITY=ON \
  -DWITH_PAM=OFF \
  -DWITH_TDEHWLIB=OFF \
  -DWITH_USBIDS="/usr/share/misc/usb.ids" \
  -DBUILD_ALL=ON || exit 1

Failure:

[ 27%] Building CXX object kcontrol/displayconfig/CMakeFiles/kcm_displayconfig-module.dir/displayconfigbase.cpp.o
cd /dev/shm/tdebase.build/kcontrol/displayconfig && /usr/bin/c++   -Dkcm_displayconfig_module_EXPORTS -DHAVE_CONFIG_H -O2 -march=i486 -mtune=i686 -fvisibility=hidden -fvisibility-inlines-hidden  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/dev/shm/tdebase.build/kcontrol/displayconfig -I/dev/shm/tdebase.build -I/dev/shm/tdebase/kcontrol/displayconfig -I/opt/trinity/include -I/usr/include/tqt   -o CMakeFiles/kcm_displayconfig-module.dir/displayconfigbase.cpp.o -c /dev/shm/tdebase.build/kcontrol/displayconfig/displayconfigbase.cpp
/usr/bin/cmake -E cmake_progress_report /dev/shm/tdebase.build/CMakeFiles
[ 27%] Building CXX object kcontrol/hwmanager/CMakeFiles/kcm_hwmanager-module.dir/devicepropsdlg.cpp.o
cd /dev/shm/tdebase.build/kcontrol/hwmanager && /usr/bin/c++   -Dkcm_hwmanager_module_EXPORTS -DHAVE_CONFIG_H -O2 -march=i486 -mtune=i686 -fvisibility=hidden -fvisibility-inlines-hidden  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/dev/shm/tdebase/kcontrol/hwmanager -I/dev/shm/tdebase.build/kcontrol/hwmanager -I/dev/shm/tdebase.build -I/opt/trinity/include -I/usr/include/tqt   -o CMakeFiles/kcm_hwmanager-module.dir/devicepropsdlg.cpp.o -c /dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp
/dev/shm/tdebase/kcontrol/displayconfig/displayconfig.cpp: In member function 'KCModule* KDisplayConfig::addTab(TQString, TQString)':
/dev/shm/tdebase/kcontrol/displayconfig/displayconfig.cpp:1433: warning: 'static KCModule* KCModuleLoader::loadModule(const TQString&, TQWidget*, const char*, const TQStringList&)' is deprecated (declared at /opt/trinity/include/kcmoduleloader.h:78)
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp: In member function 'void DevicePropertiesDialog::populateDeviceInformation()':
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:147: error: 'TDECPUDevice' was not declared in this scope
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:147: error: 'cdevice' was not declared in this scope
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:147: error: expected type-specifier before 'TDECPUDevice'
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:147: error: expected '>' before 'TDECPUDevice'
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:147: error: expected '(' before 'TDECPUDevice'
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:147: error: expected primary-expression before '>' token
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:147: error: expected ')' before ';' token
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:184: error: 'TDESensorDevice' was not declared in this scope
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:184: error: 'sdevice' was not declared in this scope
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:184: error: expected type-specifier before 'TDESensorDevice'
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:184: error: expected '>' before 'TDESensorDevice'
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:184: error: expected '(' before 'TDESensorDevice'
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:184: error: expected primary-expression before '>' token
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:184: error: expected ')' before ';' token
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:191: error: 'TDESensorClusterMap' was not declared in this scope
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:191: error: expected ';' before 'map'
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:192: error: 'TDESensorClusterMap' is not a class or namespace
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:192: error: expected ';' before 'it'
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:193: error: 'it' was not declared in this scope
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:193: error: 'map' was not declared in this scope
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:196: error: 'TDESensorCluster' was not declared in this scope
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:196: error: expected ';' before 'values'
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:198: error: 'values' was not declared in this scope
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:205: error: 'values' was not declared in this scope
/dev/shm/tdebase/kcontrol/hwmanager/devicepropsdlg.cpp:208: error: 'values' was not declared in this scope
make[2]: *** [kcontrol/hwmanager/CMakeFiles/kcm_hwmanager-module.dir/devicepropsdlg.cpp.o] Error 1
make[2]: Leaving directory `/dev/shm/tdebase.build'
make[1]: *** [kcontrol/hwmanager/CMakeFiles/kcm_hwmanager-module.dir/all] Error 2


Darrell

Darrell