| Summary: | net-misc/asterisk 1.07 builds with a broken app_voicemail.so on AMD64 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Salim Fadhley <sal> |
| Component: | New packages | Assignee: | voip herd (OBSOLETE) <voip+disabled> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
short explanation: asterisk + vmdbmysql use flag - configured and running database = *boom* (reference for configuration: http://www.voip-info.org/tiki-index.php?page=Asterisk%20voicemail%20database) closed |
net-misc/asterisk builds fine, however when the user attempts to start it for the first time, errors show in the console and the program quickly crashes. It appears as if there is some problem with the voicemail module. [app_voicemail.so] => (Comedian Mail (Voicemail System)) == Registered application 'VoiceMail' == Registered application 'VoiceMail2' == Registered application 'VoiceMailMain' == Registered application 'VoiceMailMain2' == Registered application 'MailboxExists' == Parsing '/etc/asterisk/voicemail.conf': Found -- Logging into database with user test, password test, and database vmdb Apr 6 16:51:32 WARNING[30948]: /var/tmp/portage/asterisk-1.0.7/work/asterisk-addons-1.0.7/mysql-vm-routines.h:20 mysql_login: Error Logging into database Apr 6 16:51:32 WARNING[30948]: app_voicemail.c:4370 load_module: SQL init Apr 6 16:51:32 WARNING[30948]: loader.c:345 ast_load_resource: app_voicemail.so: load_module failed, returning -1 == Unregistered application 'VoiceMail' == Unregistered application 'VoiceMail2' == Unregistered application 'VoiceMailMain' == Unregistered application 'VoiceMailMain2' == Unregistered application 'MailboxExists' Apr 6 16:51:32 WARNING[30948]: loader.c:440 load_modules: Loading module app_voicemail.so failed! imelda asterisk # Emerge info: Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r3 x86_64) ================================================================= System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 20:03:52)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/gdm /etc/gconf /etc/init.d /etc/sound /etc/terminfo /usr/kde /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="ftp://212.219.56.152/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.146/sites/www.ibiblio.org/gentoo/ http://212.219.56.152/sites/www.ibiblio.org/gentoo/ http://212.219.56.162/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.162/sites/www.ibiblio.org/gentoo/ ftp://194.117.143.69/mirrors/gentoo http://ftp.heanet.ie/pub/gentoo/ http://194.117.143.72 ftp://ftp.heanet.ie/pub/gentoo/ http://194.117.143.69" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="amd64 X aac alsa apache2 artswrappersuid asterisk audiofile avi bash-completion bootsplash cdparanoia cdrom codecs divx4linux dvd dvdr dvdread encodeethereal festival gd gtk2 icq icu imap innodb ithreads jabber jit joystick mng mozsvg mozxmlterm mp3 mpeg mplayer msn msql mysql mythtv no-old-linux nptl nvidia oav php png posix postgres postgresql povray python quicktime rar real resperl rogue rss rtc scanner sendfile serial sms smtp sndfile soap sounds sox spamassassin speedo speex spell spl sqlite3 svg theora threads v4l v4l2 vcd vcdimager vmdbmysql wmf xanim xemacs xfs xine xinerama xscreensaver xvid xvmcyahoo zaptel zeo" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS Reproducible: Always Steps to Reproduce: 1. Find an AMD64 computer 2. Build net-misc/asterisk and deps 3. Start it manually by typing asterisk -vvvc Actual Results: Asterisk terminated Expected Results: I would expect the modules to init and give me a normal console I am marking this as major because this bug might prevent all AMD64 users from using Asterisk.