Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103673 - emerge lirc doesn't install lircd.conf
Summary: emerge lirc doesn't install lircd.conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 111820
Blocks:
  Show dependency tree
 
Reported: 2005-08-25 01:25 UTC by Michael Cramer
Modified: 2006-02-05 08:49 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 Michael Cramer 2005-08-25 01:25:01 UTC
emerge lirc gives at the end of emerging these warrning:

>>> Completed installing lirc-0.7.2 into /var/tmp/portage/lirc-0.7.2/image/
cp: cannot stat `//etc/lircd.conf': No such file or directory

and when start lircmd, it complains about the missing file

 * Starting lircd ...                                                          
                                       [ ok ]
 * Starting lircmd ...
lircmd 0.7.2: could not open config file
lircmd 0.7.2: No such file or directory 

i personally think these lines in the ebuild are causing this:

pkg_preinst() {
        cp ${ROOT}/etc/lircd.conf ${IMAGE}/etc
}

would be nice if this gets fixed, an lircd.conf file is located in the tar.bz2
in the contrib directory perhaps this can be used.

and this problem occuors with all lirc versions in portage

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-08-25 03:41:16 UTC
as far as i see you have to generate your own lircd.conf because it's difference
for each remote control
Comment 2 Michael Cramer 2005-08-25 04:02:29 UTC
but then there should be a notice to do it at the end of the ebuild and the
pkg_preinst should be removed.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2005-11-17 23:47:10 UTC
Not correct Mike. Certain drivers come with pre-configured lircd.conf files
which is why that line is there.

Fix for this error is available in bug #111820.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-02-05 08:49:06 UTC
Fixed in 0.8.0_pre3