[Pkg-lirc-maint] Bug#447172: lirc-modules-source: More information

Matthew Gabeler-Lee cheetah at fastcat.org
Wed Nov 14 21:25:46 UTC 2007

Package: lirc-modules-source
Version: 0.8.2-1
Followup-For: Bug #447172

I saw this problem too.  It looks like it is including the
automake-generated makefile for drivers/Makefile, with no include to get the
kernel build rules.  Items in debian/rules and elsewhere indicate that there
were in the past some hacks to temporarly switch makefiles for the kernel
module build, but somehow those have been partially lost, or are no longer
being called.

After much hunting through the package build, I noticed that
drivers/Makefile was missing a ton of lines compared to the upstream
distribution.  I also I noticed this in the build output, just after running

/usr/src/lirc-build/lirc-0.8.2/missing: line 46: automake-1.6: command not /found
WARNING: `automake-1.6' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
cd .. && /bin/sh ./config.status drivers/Makefile
config.status: creating drivers/Makefile

Hmm ... what happens if I install automake-1.6 ... oh, hmm, automake is only
available in sarge!

What if I get the autogen.sh from lirc cvs and use it to recreate configure
and friends with a current automake ...

then applying patch 02_Makefile.in fails.

At any rate, I'm guessing the problem is related to recreating the makefiles
going wrong due to missing automake stuff, or automake running when it

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

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

Versions of packages lirc-modules-source recommends:
ii  dpkg-dev                      1.14.7     package building tools for Debian
ii  gcc [c-compiler]              4:4.2.1-6  The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.2-16   The GNU C compiler
ii  gcc-4.2 [c-compiler]          4.2.2-3    The GNU C compiler
ii  kernel-package                11.001     A utility for building Linux kerne
ii  make                          3.81-3     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: streamzap
  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