Package Details: ccdebug 1.3.3-3

Git Clone URL: (read-only, click to copy)
Package Base: ccdebug
Description: A Qt-based graphical gdb debugger frontend
Upstream URL:
Licenses: LGPL
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 4
Popularity: 0.000000
First Submitted: 2011-04-02 00:34
Last Updated: 2017-11-18 19:08

Latest Comments

int commented on 2020-03-30 18:16

Package doesn't build anymore and probably doesn't work anylonger. I tried to fix at least the compiler errors by:

--- a/CDebugHelpDlg.cpp 2020-03-30 19:45:07.054571710 +0200 +++ b/CDebugHelpDlg.cpp 2020-03-30 19:43:11.681233329 +0200 @@ -28,7 +28,7 @@ #include "CDebugHelpDlg.h" #include "CEdWidget.h"

-#define tabRow(a, b) "<tr><td valign=\"top\">"a"</td><td>"b"</td></tr>" // Creates a HTML table cell +#define tabRow(a, b) "<tr><td valign=\"top\">" a "</td><td>" b "</td></tr>" // Creates a HTML table cell

static const char* s_Help = //"<h3>Debugger</h3>"//Gets inserted with version numbers below// --- a/CEd.cpp 2020-03-30 19:45:07.054571710 +0200 +++ b/CEd.cpp 2020-03-30 19:43:11.681233329 +0200 @@ -782,7 +782,7 @@ } else { - done = fstrm.get(ch) == 0; + done = static_cast<bool>(fstrm.get(ch)); if (!done && isEncoded) { ch = encode(ch);

borja commented on 2015-09-13 00:55

It fails when checking the source MD5 sum. I've amended it as well improved the PKGBUILD:

# Maintainer: M0Rf30
# Fix: 13/9/2015

pkgdesc="A Qt-based graphical gdb debugger frontend"
arch=('i686' 'x86_64')
depends=('qt4' 'gdb')

cd $srcdir/${pkgname}_${pkgver}
# Add missing header for 'access'
sed -i '27i#include <unistd.h>' strutil.h

# Add missing header for 'getpid'
sed -i '27i#include <unistd.h>' migdbplugin/MiGdbUtil.h

# Fix 'setDatum' to 'this->setDatum'
sed -i 's|setDatum|this->setDatum|' CUndo.h
sed -i 's|void this->setDatum|void setDatum|' CUndo.h

cd $srcdir/${pkgname}_${pkgver}

./configure --prefix=/usr
qmake-qt4 LINK_PREFIX=/usr PREFIX=/usr INSTALL_DIR=$pkgdir/usr/bin

cd migdbplugin/
make INSTALL_DIR=$pkgdir/usr/bin

cd $srcdir/${pkgname}_${pkgver}

make INSTALL_ROOT="${pkgdir}" install
mv $pkgdir/usr/local/bin $pkgdir/usr/ && rm -r $pkgdir/usr/local

cd migdbplugin/
make INSTALL_DIR=$pkgdir/usr/bin install

Alister.Hood commented on 2013-11-26 12:57

Still fails for me, but with an error that ‘access’ was not declared in this scope, and then a bunch of the same about ‘setDatum’

Alister.Hood commented on 2012-06-30 03:39

Building fails for me :(

g++ -c -pipe -pthread -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -W -Wno-non-virtual-dtor -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -o CDebugSessionDlg.o CDebugSessionDlg.cpp
CDebugSessionDlg.cpp: In function ‘bool {anonymous}::isSameUserProcess(pid_t)’:
CDebugSessionDlg.cpp:102:106: error: ‘getuid’ was not declared in this scope
CDebugSessionDlg.cpp: In function ‘int {anonymous}::getPidFromProcDir(int&, QString&, const string&)’:
CDebugSessionDlg.cpp:125:24: error: ‘getpid’ was not declared in this scope
CDebugSessionDlg.cpp: In member function ‘bool CDebugSessionDlg::trySigGenRemoteCrossDebug()’:
CDebugSessionDlg.cpp:909:38: error: ‘chdir’ was not declared in this scope
make: *** [CDebugSessionDlg.o] Error 1

katafractari commented on 2012-02-02 04:13

1.3.2 is out