Hey Everyone,
I've been working with slitaz for a few weeks now, and absolutely love it....building custom packages turned out to be a snap...
I've created a custom package receipt for asterisk 1.6.2.24 for building asterisk+app_rpt, at the end of my build i'm not getting a very descriptive error:
ERROR: cook failed
Debug information
=============================================================================================================================================================================================================================================
Cook date: 2014-02-28 23:16
ERROR: cook failed
ERROR: cook failed
=============================================================================================================================================================================================================================================
I have no errors in my asterisk build, it completes just fine. I'm trying to debug exactly where its failing as during the build nothing bad seems to happen, any insight into how to further debug it/get info on where its failing would be awesome and greatly appreciated, here is my receipt just incase:
# SliTaz package receipt.
PACKAGE="asterisk"
VERSION="1.6.2.24"
CATEGORY="misc"
SHORT_DESC="Asterisk 1.6.2.24 with App_rpt"
MAINTAINER="na@na.com"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.asterisk.org/"
WGET_URL="http://downloads.asterisk.org/pub/telephony/asterisk/releases/$TARBALL"
DEPENDS="openssl ncurses zlib libogg libvorbis curl newt libusb-compat alsa-lib speex iksemel spandsp \
nbs freetds popt dahdi libpri lua libcap attr net-snmp portaudio libkrb5 libcomerr3 libsdl-image"
BUILD_DEPENDS="gtk+-dev libxml2-dev libsdl-dev ncurses-dev \
gmime gmime-dev alsa-lib-dev \
dahdi-linux dahdi-tools dahdi-dev"
CONFIG_FILES="/etc/asterisk"
TAGS="telephony"
compile_rules()
{
cd $src
./configure --prefix=/usr --sysconfdir=/etc --without-pwlib --with-dahdi=$WOK/dahdi/$(ls $WOK/dahdi/taz)
make menuselect.makeopts
menuselect/menuselect --enable app_rpt
make &&
make DESTDIR=$DESTDIR install &&
make DESTDIR=$DESTDIR samples
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
mkdir -p $fs/usr
cp -a $_pkg/etc $fs
cp -a $_pkg/var $fs
cp -a $_pkg/usr/bin $fs/usr
cp -a $_pkg/usr/lib $fs/usr
cp -a $_pkg/usr/sbin $fs/usr
}
Thanks a bunch! the attached cook.txt is the complete build output if it helps...
Chris