Package: lirc-modules-source
Version: 0.7.1pre2-2
Severity: serious
Justification: no longer builds from source


Hi,

the lirc-modules-source build process needs the kernel-sources.  Trying
to build using only the kernel-headers will fail with the following
error:

/usr/src/modules/lirc$ debian/rules binary-modules 
KSRC=/usr/src/linux-headers-2.6.12-1-powerpc/
sed -e "s!\$KVERS!`sed -n -e '/UTS_RELEASE/s/^[^"]*"\([^"]*\)".*$/\1/p' 
/usr/src/linux-headers-2.6.12-1-powerpc//include/linux/version.h`!g; 
s!\$KSRC!/usr/src/linux-headers-2.6.12-1-powerpc/!; s!\$KARCH!powerpc 
DEB_BUILD_ARCH_OS=linux DEB_BUILD_ARCH_CPU=powerpc!; s!\$KEMAIL!!; 
s!\$KMAINT!!; s!\$KDREV!"Custom.1.00"!; s!\$DEBDATE!Tue, 08 Nov 2005 22:29:38 
+0100!" debian/control.in > debian/control


... deleted successfull compile lines

/usr/bin/make -f scripts/Makefile.build 
obj=/usr/src/modules/lirc/drivers/lirc_gpio
  gcc -m32 -Wp,-MD,/usr/src/modules/lirc/drivers/lirc_gpio/.lirc_gpio.o.d  
-nostdinc -isystem /usr/lib/gcc/powerpc-linux-gnu/4.0.2/include -D__KERNEL__ 
-Iinclude  -Iarch/ppc -Wall -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -ffreestanding -O2     -fomit-frame-pointer 
-Iarch/ppc -msoft-float -pipe -ffixed-r2 -mmultiple -mstring -Wa,-maltivec 
-Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 
-DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I 
/usr/src/modules/lirc/drivers/lirc_gpio/../.. -I 
/usr/src/linux-headers-2.6.12-1-powerpc//include/  -DMODULE 
-DKBUILD_BASENAME=lirc_gpio -DKBUILD_MODNAME=lirc_gpio -c -o 
/usr/src/modules/lirc/drivers/lirc_gpio/.tmp_lirc_gpio.o 
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:52:41: error: 
../drivers/media/video/bttv.h: No such file or directory
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:53:42: error: 
../drivers/media/video/bttvp.h: No such file or directory
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:57:2: error: #error 
"*******************************************************"
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:58:2: error: #error " 
Sorry, this driver needs bttv version 0.7.45 or       "
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:59:2: error: #error " 
higher. If you are using the bttv package, copy it to "
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:60:2: error: #error " the 
kernel                                            "
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:61:2: error: #error 
"*******************************************************"
In file included from include/linux/i2c.h:34,
                 from 
/usr/src/modules/lirc/drivers/lirc_gpio/../../drivers/kcompat.h:167,
                 from /usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:64:
include/linux/device.h:421:1: warning: "MODULE_ALIAS_CHARDEV_MAJOR" redefined
In file included from /usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:64:
/usr/src/modules/lirc/drivers/lirc_gpio/../../drivers/kcompat.h:131:1: warning: 
this is the location of the previous definition
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:71: error: ‘BTTV_UNKNOWN’ 
undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:98: error: 
‘BTTV_PXELVWPLTVPAK’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:99: error: 
‘BTTV_PXELVWPLTVPRO’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:100: error: 
‘BTTV_PV_BT878P_9B’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:101: error: 
‘BTTV_PV_BT878P_PLUS’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:102: error: 
‘BTTV_AVERMEDIA’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:103: error: 
‘BTTV_AVPHONE98’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:104: error: 
‘BTTV_AVERMEDIA98’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:112: error: 
‘BTTV_CHRONOS_VS2’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:115: error: ‘BTTV_MIRO’ 
undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:116: error: ‘BTTV_DYNALINK’ 
undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:117: error: 
‘BTTV_WINVIEW_601’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:122: error: 
‘BTTV_MAGICTVIEW061’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:123: error: 
‘BTTV_MAGICTVIEW063’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:124: error: 
‘BTTV_PHOEBE_TVMAS’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:130: error: ‘BTTV_FLYVIDEO’ 
undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:131: error: 
‘BTTV_FLYVIDEO_98’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:132: error: 
‘BTTV_TYPHOON_TVIEW’ undeclared here (not in a function)
/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.c:142: error: 
‘BTTV_WINFAST2000’ undeclared here (not in a function)



... deleted unrelated warnings


make[5]: *** [/usr/src/modules/lirc/drivers/lirc_gpio/lirc_gpio.o] Error 1
make[4]: *** [_module_/usr/src/modules/lirc/drivers/lirc_gpio] Error 2
make[4]: Leaving directory `/usr/src/linux-headers-2.6.12-1-powerpc'
make[3]: *** [lirc_gpio.o] Error 2
make[3]: Leaving directory `/usr/src/modules/lirc/drivers/lirc_gpio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/modules/lirc/drivers'
make[1]: *** [gpio] Error 2
make[1]: Leaving directory `/usr/src/modules/lirc'
make: *** [build-stamp] Error 2


Discussion of this dependency with the lirc maintainer is to be found
under:

https://www.redhat.com/archives/fedora-devel-list/2005-March/msg01553.html




-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages lirc-modules-source depends on:
ii  debconf [debconf-2.0]         1.4.58     Debian configuration management sy
ii  debhelper                     4.9.13     helper programs for debian/rules
ii  debianutils                   2.15       Miscellaneous utilities specific t

Versions of packages lirc-modules-source recommends:
ii  dpkg-dev                      1.13.11    package building tools for Debian
ii  gcc [c-compiler]              4:4.0.2-1  The GNU C compiler
ii  gcc-3.3 [c-compiler]          1:3.3.6-7  The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0.2-2    The GNU C compiler
ii  kernel-package                9.008.4    A utility for building Linux kerne
ii  make                          3.80-11    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/not_needed:
  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/kernel-source-not-found:
  lirc-modules-source/sir_irq: 3


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to