Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166679 - Please stable net-misc/zaptel-1.2.16 for 2.6.20 kernels
Summary: Please stable net-misc/zaptel-1.2.16 for 2.6.20 kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Developers for the x86 Architecture
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-13 16:24 UTC by Gabriele Altomare
Modified: 2007-04-27 11:06 UTC (History)
6 users (show)

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 Gabriele Altomare 2007-02-13 16:24:24 UTC
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.c:779: error: invalid use of undefined type 'struct module'
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.c:783: error: invalid use of undefined type 'struct module'
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.c:796: error: invalid use of undefined type 'struct module'
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.c:805: error: invalid use of undefined type 'struct module'
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.c:812: error: invalid use of undefined type 'struct module'
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.c:824: error: invalid use of undefined type 'struct module'
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.c: In function 'card_fxo_startup':
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.c:900: error: invalid use of undefined type 'struct module'
/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.c:900: error: invalid use of undefined type 'struct module'
make[3]: *** [/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp/card_fxo.o] Error 1
make[2]: *** [/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12/xpp] Error 2
make[1]: *** [_module_/var/tmp/portage/net-misc/zaptel-1.2.12-r1/work/zaptel-1.2.12] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-gentoo'
make: *** [linux26] Error 2

!!! ERROR: net-misc/zaptel-1.2.12-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4041:   Called src_compile
  zaptel-1.2.12-r1.ebuild, line 249:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-misc/zaptel-1.2.12-r1/temp/build.log'.

My emerge --info :

Portage 2.1.2-r9 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Intel(R) Pentium(R) D CPU 3.20GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 13 Feb 2007 14:00:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.61
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=nocona -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O3 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/"
LINGUAS="it_IT"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 bitmap-fonts bri cli cracklib crypt dba dlloader dri eds emboss fam florz foomaticdb gd gdbm gif gstreamer gtk2 iconv imlib isdnlog jpeg libg++ libwww midi mikmod mp3 mpeg mysql ncurses opengl pam pcre perl png pppd python qt3 qt4 quicktime readline reflection session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis x86 xml xv zaptel zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it_IT" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Reproducible: Always
Comment 1 Gabriele Altomare 2007-02-13 16:40:00 UTC
Maybe is an issue related to linux-headers 2.6.20 ?
I see on the asterisk website that zaptel-1.2.13 was released some days ago and the changelog contains : 

* All drivers updated to Linux kernel 2.6.20 API changes.
Comment 2 Nick Ellson 2007-02-24 16:42:35 UTC
Same issue here, I tried just bumping my rev to 1.2.13 in my overlay but the Gentoo diff needs updating for that trick to work. Is there a 1.2.13 diff for Gentoo on it's way?

Nick
Comment 3 Nick Ellson 2007-03-19 13:46:21 UTC
I went to digiums ftp site and downloaded zaptel 1.2.15 and it compiled from the src without issue, even with the OpenVox A1200 driver added to it. 

Asterisk loaded and is functional with my A1200 PBX card. 

I also saw a 1.4 train on the driver. Where is the Gentoo port heading? :)

Nick
Comment 4 Gustavo Zacarias (RETIRED) gentoo-dev 2007-03-19 14:17:25 UTC
1.4 is in the overlay pending testing/fixes.
Current zaptel in portage has junghanns's BRI patches which aren't available for 1.2.15 yet, so putting a stripped down 1.2.15 in portage would be reducing currently available funcionality.
Comment 5 Gabriele Altomare 2007-03-19 14:50:15 UTC
If you are interested, I modified the ebuild file of net-misc/zaptel-1.2.12-r1 to compile also ztgsm module wich is part of the bristuff patches from junghanns. This modules is used to interact with GSM (Uno/duo/quad) Pci cards from junghanns.
Comment 6 Gustavo Zacarias (RETIRED) gentoo-dev 2007-03-19 14:52:01 UTC
Gabriele: sure, submit it as a sepparate bug assigned to voip@ and with severity "Enhancement".
Comment 7 Christophe PEREZ 2007-04-19 13:27:27 UTC
Same problem here, impossible to compile net-misc/zaptel-1.2.12-r1 with sys-kernel/gentoo-sources-2.6.20-r6 which is now is the stable tree !
Something should quickly be done.
Comment 8 Gustavo Zacarias (RETIRED) gentoo-dev 2007-04-19 18:03:13 UTC
1.2.16 is in as ~arch, should go stable soonish.
Comment 9 Christophe PEREZ 2007-04-20 01:34:43 UTC
Works for me.
Comment 10 Gustavo Zacarias (RETIRED) gentoo-dev 2007-04-26 19:09:29 UTC
Stabilization request...
Comment 11 Gustavo Zacarias (RETIRED) gentoo-dev 2007-04-26 19:10:05 UTC
x86 please stable net-misc/zaptel-1.2.16 since previous stable won't build with the current stable kernel (2.6.20).
Comment 12 Raúl Porcel (RETIRED) gentoo-dev 2007-04-27 11:06:01 UTC
x86 stable, closing.