Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 6191

Summary: Lirc ebuild fails
Product: Gentoo Linux Reporter: Mark Trolley <fatwreckfan>
Component: New packagesAssignee: Brandon Low (RETIRED) <lostlogic>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ido, phosphan, vapier
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: lirc-0.6.5.ebuild

Description Mark Trolley 2002-08-07 22:58:33 UTC
Here is the error given when trying to install the lirc package:

lirc_parallel.c:48: #error "--- Sorry, this driver is not SMP safe. ---"
make[3]: *** [lirc_parallel.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_parallel'
make[2]: ***
[_mod_/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_parallel] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r7'
make[1]: *** [lirc_parallel.o] Error 2
make[1]: Leaving directory
`/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_parallel'
make: *** [all-recursive] Error 1
make: Leaving directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers'

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -34, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/app-misc/lirc/lirc-0.6.5.ebuild .
Comment 1 SpanKY gentoo-dev 2002-08-07 23:38:48 UTC
Created attachment 2913 [details]
lirc-0.6.5.ebuild

try this attached ebuild and see if it fixes your problem ...
Comment 2 Mark Trolley 2002-08-08 17:11:23 UTC
Same result.  Is there any other files I should delete before trying? (i.e. I
don't know where the lirc source is, but I know it didn't download it agian).
Comment 3 SpanKY gentoo-dev 2002-08-08 17:28:13 UTC
well then i come to the question, are you using an SMP system ?
or does your kernel have SMP enabled ?
Comment 4 Mark Trolley 2002-08-08 17:51:48 UTC
No and no.  Using the Gentoo kernel on a single processor Athlon 1.4GHz.  
That's what's confusing about the error.
Comment 5 Matt Keadle 2002-09-19 11:52:43 UTC
what version of gcc? I had some issues with it much earlier, but it finally
manages to work here (2.95).

also, lirc has drivers for *many* different styles of IR dongles and other such
things. as such, when you build it normally they actually turned their
./cofigure script into an ncurses based menu to make it easier to pick the
correct options. In one situation I had to edit the ebuild specificaly for the
IR dongle that was going to be used.

from your error is looks like it's possibly building the parallel IR dongle
interface (lirc_parallel.o). by default, the lirc ebuild tries to build as many
drivers for interface types as it can. if you don't have a parallel IR dongle,
it micht just take a quick bit of ebuild hacking.

btw, what kind of IR receiver /have/ you got? my hauppauge WinTV remote is
working great.
Comment 6 Mark Trolley 2002-09-19 13:12:54 UTC
I have a Leadtek TV2000XP, so the receiver plugs directly into it.  I have 
just done a fresh install of 1.4 rc1, so once I get around to trying to istall 
lirc again I'll post more comments.
Comment 7 SpanKY gentoo-dev 2003-01-25 13:32:18 UTC
*** Bug 14107 has been marked as a duplicate of this bug. ***
Comment 8 Patrick Kursawe (RETIRED) gentoo-dev 2003-04-28 09:49:34 UTC
Still didn't get around to install it? :-)
Comment 9 Mark Trolley 2003-04-28 10:00:04 UTC
Sorry, I lost my Gentoo install and haven't had time to redo it.  Hopefully someone else can shed some light on this.
Comment 10 Patrick Kursawe (RETIRED) gentoo-dev 2003-05-05 05:35:55 UTC
Since we have no tester who is able to reproduce the problem, I think it's ok to set this to WORKSFORME.