Package: zaptel-source
Version: 1:1.0.2-2
Severity: normal
Tags: patch

I get the following error messages from make-kpkg:

####

mkdir -p \
  /usr/src/modules/zaptel/debian/zaptel-modules-2.6.9.skas-2/usr/include/linux
install -m 644 zaptel.h \
  /usr/src/modules/zaptel/debian/zaptel-modules-2.6.9.skas-2/usr/include/linux
install -m 644 torisa.h \
  /usr/src/modules/zaptel/debian/zaptel-modules-2.6.9.skas-2/usr/include/linux
( cd /usr/src/modules/zaptel/debian/zaptel-modules-2.6.9.skas-2/usr/lib
; rm -f libtonezone.so ; ln -sf libtonezone.so.1.0 libtonezone.so )
/bin/sh: line 0: cd:
/usr/src/modules/zaptel/debian/zaptel-modules-2.6.9.skas-2/usr/lib: No
such file or directory
/sbin/ldconfig
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~:
Permission denied
make[3]: *** [install-modules] Error 1
make[3]: Leaving directory `/usr/src/modules/zaptel'
make[2]: *** [binary-modules] Error 2
make[2]: Leaving directory `/usr/src/modules/zaptel'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/zaptel'
Module /usr/src/modules/zaptel failed.
Perhaps /usr/src/modules/zaptel does not understand --rootcmd?
If you see messages that indicate that it is not
in fact being built as root, please file a bug 
against /usr/src/modules/zaptel.

####

Since libtonezone is split off into its own package, I think the
'rm -f'/'ln -sf' commands and ldconfig can be removed from the Makefile.

(I included the tail end of the message in case others are searching for
it, but further investigation seems to indicate that this has nothing to
do with --rootcmd (fakeroot, in this case)).

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9.skas-2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968)

-- no debconf information
--- zaptel/Makefile.dist        2005-01-17 18:19:08.000000000 -0500
+++ zaptel/Makefile     2005-01-27 21:01:03.000000000 -0500
@@ -304,8 +304,8 @@
        install -m 644 zaptel.h $(DESTDIR)$(INSTALL_PREFIX)/usr/include/linux
        install -m 644 torisa.h $(DESTDIR)$(INSTALL_PREFIX)/usr/include/linux
 #      install -m 644 tonezone.h $(DESTDIR)$(INSTALL_PREFIX)/usr/include
-       ( cd $(DESTDIR)$(INSTALL_PREFIX)/usr/lib ; rm -f libtonezone.so ; ln 
-sf $(LIBTONEZONE) libtonezone.so )
-       /sbin/ldconfig
+#      ( cd $(DESTDIR)$(INSTALL_PREFIX)/usr/lib ; rm -f libtonezone.so ; ln 
-sf $(LIBTONEZONE) libtonezone.so )
+#      /sbin/ldconfig
 
 install-modconf:
        if [ -f $(MODCONF) ]; then mv -f $(MODCONF) $(MODCONF).bak ; fi

Reply via email to