SliTaz SliTaz Forum

You are not logged in.

#1 2014-03-06 05:32:27

cswilsn
Member
Registered: 2014-02-23
Posts: 2

Slitaz cook failing?

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

#2 2014-03-06 07:36:43

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: Slitaz cook failing?

Hi,

Have you checked the existing receipt:

http://cook.slitaz.org/cooker.cgi?receipt=asterisk

It may give you some hints.

Happy slitaz

Offline

#3 2014-03-06 08:12:36

cswilsn
Member
Registered: 2014-02-23
Posts: 2

Re: Slitaz cook failing?

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]