Package Details: ccdebug 1.3.3-3

Git Clone URL: https://aur.archlinux.org/ccdebug.git (read-only)
Package Base: ccdebug
Description: A Qt-based graphical gdb debugger frontend
Upstream URL: http://ccdebug.sourceforge.net/
Licenses: LGPL
Submitter: M0Rf30
Maintainer: M0Rf30
Last Packager: M0Rf30
Votes: 4
Popularity: 0.005545
First Submitted: 2011-04-02 00:34
Last Updated: 2015-10-13 16:30

Latest Comments

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: 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

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