Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216282 - apps-misc/lirc-0.8.3_pre1: only builds one kernel module.
Summary: apps-misc/lirc-0.8.3_pre1: only builds one kernel module.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-05 04:58 UTC by JPK
Modified: 2008-04-06 19:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JPK 2008-04-05 04:58:56 UTC
Using LIRC_DEVICES="imon mceusb2", LIRC only builds the mceusb2 module.  No errors are reported, but the imon module never gets built.

Reproducible: Always

Steps to Reproduce:
1. Enter "imon mceusb2" as LIRC_DEVICES in make.conf
2. emerge lirc
3. modprobe lirc-imon

Actual Results:  
FATAL: Module lirc_imon not found.

Expected Results:  
Built and loaded both the lirc_imon and lirc_mceusb2 drivers.

I can build both modules by compiling lirc twice, once with LIRC_DEVICES="mceusb2" and once with LIRC_DEVICES="imon", since the driver is not removed when I emerge the second time, but I don't believe this is correct behavior.  If it is, lirc should report an error and die when trying to build it with more than one receiver driver.
Comment 1 JPK 2008-04-05 04:59:35 UTC
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r4 i686)
=================================================================
System uname: 2.6.24-tuxonice-r4 i686 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz
Timestamp of tree: Sat, 05 Apr 2008 00:15:03 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bzip2 cli cracklib crypt cups curl dri dvb dvd fortran gdbm gpm iconv isdnlog joystick jpeg lirc lm_sensors midi mudflap mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python qt3 readline reflection session spl sqlite ssl tcpd truetype unicode usb v4l vim-syntax x86 xorg xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="imon" LIRC_DEVICES="imon mceusb2" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Matthias Schwarzott gentoo-dev 2008-04-06 19:33:57 UTC
This is an upstream issue.
Complain to them that "--with-driver=imon --with-driver=mceusb2" does not work.
Or better: convince them to make all stuff runtime configurable and delete all that ugly compile-time switches.

By the way: The ebuild prints this message:
 *
 * When selecting multiple devices for lirc to be supported,
 * it can not be garanteed that the drivers play nice together.
 *
 * If this is not intended, then abort emerge now with Ctrl-C,
 * Set LIRC_DEVICES and restart emerge.

You can try if LIRC_DEVICES="all" works.