Package Details: ccdebug 1.3.3-3

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

Latest Comments

dreieck commented on 2022-07-27 07:43 (UTC)

Fails to download source:

  -> Downloading ccdebug_1.3.3_src.tgz...
--2022-07-27 09:34:59--  http://prdownloads.sourceforge.net/project/ccdebug/ccdebug_1.3.3_src.tgz
Resolving prdownloads.sourceforge.net (prdownloads.sourceforge.net)... 204.68.111.105
Connecting to prdownloads.sourceforge.net (prdownloads.sourceforge.net)|204.68.111.105|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-27 09:34:59 ERROR 404: Not Found.

==> ERROR: Failure while downloading http://prdownloads.sourceforge.net/project/ccdebug/ccdebug_1.3.3_src.tgz

int commented on 2020-03-30 18:16 (UTC)

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 (UTC)

It fails when checking the source MD5 sum. I've amended it as well improved the PKGBUILD: # Maintainer: M0Rf30 # Fix: devnull@libcrack.so 13/9/2015 pkgname=ccdebug pkgver=1.3.3 pkgrel=3 pkgdesc="A Qt-based graphical gdb debugger frontend" arch=('i686' 'x86_64') url="http://ccdebug.sourceforge.net/" license=('LGPL') depends=('qt4' 'gdb') source=("http://prdownloads.sourceforge.net/project/ccdebug/${pkgname}_${pkgver}_src.tgz") md5sums=('db6eb7e5c8175bd61495ed40568eee5f') prepare(){ 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 } build(){ cd $srcdir/${pkgname}_${pkgver} ./configure --prefix=/usr qmake-qt4 LINK_PREFIX=/usr PREFIX=/usr INSTALL_DIR=$pkgdir/usr/bin make cd migdbplugin/ make INSTALL_DIR=$pkgdir/usr/bin } package(){ 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 (UTC)

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 (UTC)

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 (UTC)

1.3.2 is out