Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208190 - net-misc/zaptel-1.2.23 fails to compile with kernel 2.6.24
Summary: net-misc/zaptel-1.2.23 fails to compile with kernel 2.6.24
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords: STABLEREQ
: 207993 (view as bug list)
Depends on:
Blocks: kernel-2.6.24 213283
  Show dependency tree
 
Reported: 2008-01-30 16:49 UTC by Federico Cuello
Modified: 2008-08-25 17:11 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 Federico Cuello 2008-01-30 16:49:25 UTC
zaptel fails to compile with kernel 2.6.24

Reproducible: Always

Actual Results:  
cc -march=athlon64 -O2 -pipe -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -g -Wall -m64 -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o zttool zttool.o -lnewt
cc -march=athlon64 -O2 -pipe -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -g -Wall -m64 -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -shared -Wl,-soname,libtonezone.so.1.0 -o libtonezone.so zonedata.lo tonezone.lo  -lm
gcc -march=athlon64 -O2 -pipe -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -g -Wall -m64 -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o gendigits gendigits.c -lm
./gendigits > tones.h
gcc -march=athlon64 -O2 -pipe -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -DHOTPLUG_FIRMWARE -I. -g -Wall -m64 -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o makefw makefw.c
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/net-misc/zaptel-1.2.23/work/zaptel-1.2.23 HOTPLUG_FIRMWARE=yes modules
make[1]: se ingresa al directorio `/usr/src/linux-2.6.24-gentoo'
scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/net-misc/zaptel-1.2.23/work/zaptel-1.2.23/Makefile". Fix it to use EXTRA_CFLAGS.  Alto.
make[1]: *** [_module_/var/tmp/portage/net-misc/zaptel-1.2.23/work/zaptel-1.2.23] Error 2
make[1]: se sale del directorio `/usr/src/linux-2.6.24-gentoo'
make: *** [modules] Error 2



emerge --info
Portage 2.1.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo x86_64)
=================================================================
System uname: 2.6.24-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Wed, 30 Jan 2008 11:30:07 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_AR.UTF-8"
LINGUAS="es_AR es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aim alsa amd64 apache2 apm arts artswrappersuid bash-completion berkdb bitmap-fonts bzip2 cairo cddb cdr cli cracklib crypt cups dbus dga dmi dri dts dv dvb dvd dvdr dvdread eds emboss emerald encode esd evo exif extensions fam ffmpeg fftw firefox flac fortran gd gdbm gif glitz gnome gphoto2 gpm graphviz gstreamer gtk gtk2 hal iconv icq imagemagick imap ipod ipv6 isdnlog jabber jpeg kde kerberos kqemu ldap lirc lm_sensors mad maildir mailwrapper midi mikmod mmap mmx mmxext mp3 mpeg mplayer mpm-worker msn mudflap musicbrainz ncurses nforce2 nls nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp oss pam pcre pda pdf perl php pmu png pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection samba sasl scanner sdl session sharedext slang smp sms snortsam spell spl sse sse2 ssl stream subtitles svg symlink sysfs tcpd theora threads threadsafe tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vhosts vorbis x264 xcomposite xml xorg xv xvmc yahoo zaptel zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_AR es" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2008-01-30 22:48:47 UTC
patch at http://bugs.digium.com/view.php?id=11141
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2008-02-10 22:06:45 UTC
any news?
Comment 3 Thomas Stein 2008-02-11 13:38:53 UTC
I guess we are waiting for zaptel-1.2.24 and -1.4.9 which include the fix.
Comment 4 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2008-02-18 23:20:25 UTC
zaptel 1.2.24 released from upstream with kernel 2.6.24 compile fix:


The Asterisk.org development team has released Zaptel versions 1.2.24 and 1.4.9.

Zaptel 1.2.24 Highlights
* Linux kernel 2.6.24 compatibility
* New module parameters for tuning VPMADT032 echo canceller modules
* Improved interrupt handling in the wcte12xp driver

Zaptel 1.4.9 Highlights
* Linux kernel 2.6.24 compatibility
* New module parameters for tuning VPMADT032 echo canceller modules
* Improved interrupt handling in the wcte12xp driver
* Fixed TX/RX stream naming in ztmonitor
* Report battery loss on analog FXO ports as a channel alarm (only usable in
  Asterisk 1.6/trunk)
* Added optional ring detection method to better support UK CallerID reception

Thank you for your support!
Comment 5 Thomas Stein 2008-02-19 09:08:04 UTC
Just copy the ebuild and the patch to the new version. This works for 1.2.24.
Comment 6 Vieri 2008-02-20 12:07:38 UTC
Was wondering if more users could test this ebuild:
http://bugs.gentoo.org/show_bug.cgi?id=204057
before doing a simple version bump to 1.2.24 in the official tree.

(in case you're interested in oslec, of course)
Comment 7 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2008-02-24 20:56:14 UTC
net-misc/zaptel-1.2.24 in cvs.

x86, amd64: please stabilize as this version is needed to build on kernel 2.6.24.

Comment 8 Dawid Węgliński (RETIRED) gentoo-dev 2008-02-25 02:07:04 UTC
Why so hurry? 2.6.24 isn't stable at all hence we don't need to stabilize zaptel so soon. Readd x86 if you think different.
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2008-03-05 07:32:54 UTC
*** Bug 207993 has been marked as a duplicate of this bug. ***
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2008-03-05 07:33:38 UTC
So we should go for it now.
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2008-03-07 16:50:56 UTC
x86 stable
Comment 12 Santiago M. Mola (RETIRED) gentoo-dev 2008-03-15 16:45:48 UTC
zaptel-1.2.24 is not multilib-strict compliant:

Files matching a file type that is not allowed:
   usr/lib/libtonezone.so.1.0
Comment 13 Peter Volkov (RETIRED) gentoo-dev 2008-05-22 11:04:52 UTC
voip, please, take a look at multilib issue mentioned in comment 12.
Comment 14 Chí-Thanh Christopher Nguyễn gentoo-dev 2008-07-07 22:25:16 UTC
If stabilizing zaptel-1.2.24 on amd64 is not an option at this time: Could at least a check for kernel >=2.6.24 be added to the stable version, and the user referred to this bug?
Comment 15 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2008-08-24 19:32:03 UTC
net-misc/zaptel-1.2.26-r1 in cvs. should fix the multilib issue.

amd64: please test and stabilize.

Comment 16 Markus Meier gentoo-dev 2008-08-25 17:11:34 UTC
amd64 finally stable =)
all arches done -> closing.