Bug#378864: zaptel-source 1.2.7 fails to build

Timur S. Sattarov timur at sattaroff.name
Thu Jul 27 14:52:31 UTC 2006


Hi,


Let me add my 5 cents


I've temporarily solve this problem by compiling whole package with 
following command


apt-get source zaptel


./debian/rules binary-arch

it fails with

dh_install -a --sourcedir=/usr/src/debian/zaptel/zaptel-1.2.7/debian/tmp
cp /usr/src/debian/zaptel/zaptel-1.2.7/debian/zaptel.permissions.rules \
          
/usr/src/debian/zaptel/zaptel-1.2.7/debian/zaptel/etc/udev/rules.d/zaptel.perms
cp: cannot create regular file 
`/usr/src/debian/zaptel/zaptel-1.2.7/debian/zaptel/etc/udev/rules.d/zaptel.perms': 
No such file or directory
make: *** [install-arch] Error 1


BTW


./debian/rules binary fails with

tar cjf debian/zaptel-source/usr/src/zaptel.tar.bz2 \
          -C /usr/src/debian/zaptel/zaptel-1.2.7/debian/tmp modules
tar: debian/zaptel-source/usr/src/zaptel.tar.bz2: Cannot open: No such 
file or directory
tar: Error is not recoverable: exiting now
make: *** [install-indep] Broken pipe

and then , when Makefile appeared




./debian/rules binary-modules KSRC=... KVERS=... KDREV=...

(which fails with

dh_installdeb
# Note: I don't want to edit the file in the debian/ directory itself.
# I figure that there must be existing fuctionality in dpkg/debhelper. How?
sed -i -e 's/_KVERS_/2.6.17/' \
          debian/zaptel-modules-2.6.17/DEBIAN/postinst \
          debian/zaptel-modules-2.6.17/DEBIAN/postrm
sed: can't read debian/zaptel-modules-2.6.17/DEBIAN/postinst: No such 
file or directory
sed: can't read debian/zaptel-modules-2.6.17/DEBIAN/postrm: No such file 
or directory
make: *** [binary-modules] Error 2
)

after that

all *.ko modules was copied into /lib/2.6.17/zaptel/

and depmod -a

then - I was able to modprobe it.


I hope it will help you

Thanks in advance



With best regards

Timur






More information about the Pkg-voip-maintainers mailing list