[Pkg-lirc-maint] Bug#440514: lirc-modules-source: Modules do not build from source

Alexander Kotelnikov sacha at debian.org
Sun Sep 2 11:13:47 UTC 2007

Package: lirc-modules-source
Version: 0.8.0-12
Severity: important

Here is what I get:

15:11 pts/17 sacha at benington:/usr/src/linux-source-2.6.17 9> make-kpkg --rootcmd fakeroot 
--initrd --append-to-version -sacha -revision 3 modules-image
exec debian/rules  DEBIAN_REVISION=3  APPEND_TO_VERSION=-sacha  INITRD=YES  ROOT_CMD=faker
oot  modules-image 
for module in /usr/src/modules/lirc ; do                       \
          if test -d  $module; then                                \
            (cd $module;                                          \
              if ./debian/rules KVERS="2.6.17-sacha" KSRC="/usr/src/linux-source-2.6.17" \
                             KMAINT="Alexander Kotelnikov" KEMAIL="sacha at debian.org"      
                             KPKG_DEST_DIR="/usr/src/linux-source-2.6.17/.."       \
                             KPKG_MAINTAINER="Alexander Kotelnikov"        \
                             KPKG_EXTRAV_ARG="EXTRAVERSION=-sacha"        \
                             ARCH="i386"                  \
                             KDREV="3" kdist_image; then    \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   if [ "Xfakeroot" != "X" ]; then      \
                      echo "Perhaps $module does not understand --rootcmd?";  \
                      echo "If you see messages that indicate that it is not"; \
                      echo "in fact being built as root, please file a bug ";  \
                      echo "against $module.";                     \
                   fi;                                              \
                   echo "Hit return to Continue";                   \
                 read ans;                                        \
              fi;                                                   \
             );                                                    \
          else                                                      \
               echo "Module $module does not exist";               \
               echo "Hit return to Continue?";                      \
          fi;                                                       \
make[1]: Entering directory `/usr/src/modules/lirc'
fakeroot /usr/bin/make -w -f debian/rules binary-modules
make[2]: Entering directory `/usr/src/modules/lirc'
sed -e "s!\$KVERS!2.6.17-sacha!g; s!\$KSRC!/usr/src/linux-source-2.6.17!; s!\$KARCH!i386!;
 s!\$KEMAIL!sacha at debian.org!; s!\$KMAINT!Alexander Kotelnikov!; s!\$KDREV!3!; s!\$DEBDATE
!Sun, 02 Sep 2007 15:11:43 +0400!" debian/control.in > debian/control
# Add here commands to configure the package.
touch configure-stamp
# Add here commands to compile the package.
/usr/bin/make debconf
make[3]: Entering directory `/usr/src/modules/lirc'
mkdir modules
/usr/bin/make -C drivers SUBDIRS="lirc_dev"
make[4]: Entering directory `/usr/src/modules/lirc/drivers'
make[4]: *** No targets.  Stop.
make[4]: Leaving directory `/usr/src/modules/lirc/drivers'
make[3]: *** [dev] Error 2
make[3]: Leaving directory `/usr/src/modules/lirc'
make[2]: *** [build-stamp] Error 2
make[2]: Leaving directory `/usr/src/modules/lirc'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/lirc'
Module /usr/src/modules/lirc failed.
Perhaps /usr/src/modules/lirc 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/lirc.
Hit return to Continue

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-sacha
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages lirc-modules-source depends on:
ii  debconf [debconf-2.0]         1.5.11     Debian configuration management sy
ii  debhelper                     5.0.42     helper programs for debian/rules
ii  debianutils                   2.17       Miscellaneous utilities specific t
ii  ucf                           2.0020     Update Configuration File: preserv

Versions of packages lirc-modules-source recommends:
ii  dpkg-dev                      1.13.25    package building tools for Debian
ii  gcc [c-compiler]              4:4.1.1-15 The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.1-21   The GNU C compiler
ii  kernel-package                10.067     A utility for building Linux kerne
ii  make                          3.81-2     The GNU version of the "make" util

-- debconf information:
  lirc-modules-source/use_lirc_hints: true
  lirc-modules-source/parallel_irq: 7
  lirc-modules-source/do-build: false
  lirc-modules-source/parallel_timer: 65536
  lirc-modules-source/serial_transmitter: true
  lirc-modules-source/serial_port: 0x2f8
  lirc-modules-source/drivers: i2c, gpio
  lirc-modules-source/serial_irq: 3
  lirc-modules-source/serial_type: Other
  lirc-modules-source/kernel-source: /usr/src/linux/
* lirc-modules-source/sir_port: 0x2f8
  lirc-modules-source/parallel_port: 0x378
* lirc-modules-source/what_next:
* lirc-modules-source/sir_type: Other
  lirc-modules-source/serial_softcarrier: false
  lirc-modules-source/it87_type: Standard
* lirc-modules-source/sir_irq: 3

More information about the Pkg-lirc-maint mailing list