Bug 784941

Summary: telepathy-qt-0.9.0 build fails with gcc-4.7.0, 'intptr_t' was not declared in this scope
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: telepathy-qt4Assignee: Jaroslav Reznik <jreznik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aravindvijayan224185, jreznik, kevin, rdieter
Target Milestone: ---Keywords: Reopened, Upstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-09 18:37:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 784945    

Description Rex Dieter 2012-01-26 18:34:23 UTC
cd /builddir/build/BUILD/telepathy-qt-0.9.0/i686-redhat-linux-gnu/TelepathyQt
&& /usr/bin/c++   -Dtelepathy_qt4_EXPORTS -D_BSD_SOURCE -DQT_NO_CAST_FROM_ASCII
-DENABLE_DEBUG -DBUILDING_TP_QT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4  -m32 -march=i686
-mtune=atom -fasynchronous-unwind-tables   -Wall -Wextra -Wsign-compare
-Wpointer-arith -Wformat-security -Winit-self -Wnon-virtual-dtor
-Wno-missing-field-initializers -Wno-unused-parameter -fvisibility=hidden 
-Wdeprecated-declarations -DTP_QT_DEPRECATED_WARNINGS -O2 -ggdb -fPIC
-I/builddir/build/BUILD/telepathy-qt-0.9.0/i686-redhat-linux-gnu/TelepathyQt
-I/builddir/build/BUILD/telepathy-qt-0.9.0/TelepathyQt
-I/builddir/build/BUILD/telepathy-qt-0.9.0
-I/builddir/build/BUILD/telepathy-qt-0.9.0/i686-redhat-linux-gnu
-I/usr/include/QtDesigner -I/usr/include/QtDeclarative
-I/usr/include/QtScriptTools -I/usr/include/QtDBus -I/usr/include/QtXml
-I/usr/include/QtSql -I/usr/include/QtOpenGL -I/usr/include/QtMultimedia
-I/usr/include/QtNetwork -I/usr/include/QtXmlPatterns -I/usr/include/QtHelp
-I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtScript
-I/usr/include/QtSvg -I/usr/include/Qt3Support -I/usr/include/QtGui
-I/usr/include/QtCore -I/usr/lib/qt4/mkspecs/default    -o
CMakeFiles/telepathy-qt4.dir/connection-factory.cpp.o -c
/builddir/build/BUILD/telepathy-qt-0.9.0/TelepathyQt/connection-factory.cpp
/builddir/build/BUILD/telepathy-qt-0.9.0/TelepathyQt/client-registrar.cpp: In
member function 'bool Tp::ClientRegistrar::registerClient(const
AbstractClientPtr&, const QString&, bool)':
/builddir/build/BUILD/telepathy-qt-0.9.0/TelepathyQt/client-registrar.cpp:891:23:
error: 'intptr_t' was not declared in this scope

Comment 1 Rex Dieter 2012-01-26 18:34:46 UTC
filed upstream @ https://bugs.freedesktop.org/show_bug.cgi?id=45274

Comment 2 Rex Dieter 2012-01-28 14:57:17 UTC
Please keep this open, I was using it to track the rawhide FTBFS problem here. :)

Comment 3 Aravind vijayan 2012-01-28 15:40:45 UTC
Sorry , i have closed this because there exist an upstream link.

Comment 4 Rex Dieter 2012-01-28 17:07:35 UTC
No problem, thanks for helping. :)

Comment 5 Rex Dieter 2012-02-09 18:37:37 UTC
OK, patched in some well-placed
#include <stdint.h>
and all seems well.