Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46182 - Asterisk 0.7.2 ebuild broken for Voice webapp
Summary: Asterisk 0.7.2 ebuild broken for Voice webapp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-29 16:46 UTC by Stefan de Konink
Modified: 2004-04-16 15:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan de Konink 2004-03-29 16:46:07 UTC
While emergeing Asterisk a ebuild error occurs:
/usr/sbin/ebuild.sh: line 30: webapp-pkg_setup: command not found

This can be fixed in serveral ways, but none of the ones I used seems to be the correct one for this build. First you need to emerge webapp-config (it is not an dependency, so it breaks). The webapp-pkg_setup function exists in the webapp-apache.eclass, but this eclass is not inherited in the ebuild. Next to that function in the normal webapp.eclass a webapp_pkg_setup/config exists. I tryed both functions but both of them end up in:
 * Voicemail webapp will be installed into: /

I don't want the voicemail in root :) but thats the bug about ;)

Reproducible: Always
Steps to Reproduce:
1. emerge -O asterisk (O is preventing not usefull zaptel things to get in)
2. ctrl-c
3. watch

Actual Results:  
hilary root # emerge -O asterisk  
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/asterisk-0.7.2 to /
>>> md5 src_uri ;-) asterisk-0.7.2.tar.gz
/usr/sbin/ebuild.sh: line 30: webapp-pkg_setup: command not found
 * Voicemail webapp will be installed into: /
>>> Unpacking source...
>>> Unpacking asterisk-0.7.2.tar.gz to /var/tmp/portage/asterisk-0.7.2/work
Caught signal 2

/usr/portage/net-misc/asterisk/asterisk-0.7.2.ebuild: src_unpack aborted; exiting.


Expected Results:  
* Voicemail webapp will be installed into: /var/www/localhost/

Gentoo Base System version 1.4.3.13p1
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.2)
=================================================================
System uname: 2.6.2 i686 Intel(R) Celeron(TM) CPU                1200MHz
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/
http://212.219.247.18/sites/www.ibiblio.org/gentoo/ http://212.219.56.146/
sites/www.ibiblio.org/gentoo/
http://212.219.247.13/sites/www.ibiblio.org/gentoo/
http://194.83.57.7/sites/www.ibiblio.org/
gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://clarice.office.utelisys.net/gentoo-portage"
USE="X aalib alsa apm avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk2
imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss
pam pdflib perl png python quicktime readline slang spell ssl svga tcpd truetype
x86 x ml2 xv zlib"
Comment 1 Stefan Knoblich (RETIRED) gentoo-dev 2004-04-16 15:12:58 UTC
fixed in cvs