You are not logged in.
Pages: 1
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
Offline
Hi,
Have you checked the existing receipt:
http://cook.slitaz.org/cooker.cgi?receipt=asterisk
It may give you some hints.
Happy slitaz
Offline
I actually based it off that receipt, I've tried a few different even the last 1.6.x receipt available.
everything builds fine, when it finishes is when I get the error. No other indications.
Thanks for the response!!
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]