Summary: | app-misc/lirc-0.9.0 fails to emerge, because 'struct i2c_adapter’ has no member named ‘id’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | alecm_88, jesse, srgdts |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | /var/tmp/portage/app-misc/lirc-0.9.0/temp/build.log |
Description
Juergen Rose
2011-06-06 14:06:16 UTC
Created attachment 276017 [details]
/var/tmp/portage/app-misc/lirc-0.9.0/temp/build.log
It's due to removal of i2c_adapter.id in linux/i2c.h (http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c185a9420bd1c645252249018e6887a968d3e1de) Jarod Wilson from www.lirc.org wrote: Don't build lirc_i2c. Its deprecated, because its 100% redundant with the ir-kbd-i2c driver already in the kernel. :) Seriously. I'm going to remove lirc_i2c from the lirc git tree entirely at some point in the not too distant future. Privet Sergey, but what can I do as a user? There is no i2c USE flag for lirc, which can I remove. Juergen Two weeks later, any news? Almost three weeks later, any news? I'm having the same problem... # diff lirc-0.9.0.ebuild* 282,285d281 < < # don't build lirc_i2c < sed -i "s:lirc_i2c::g" drivers/Makefile.* < sed -i "s:lirc_i2c::g" configure* (In reply to comment #7) better: # diff -u lirc-0.9.0.ebuild.org lirc-0.9.0.ebuild --- lirc-0.9.0.ebuild.org 2011-12-05 20:42:52.734450040 -0800 +++ lirc-0.9.0.ebuild 2011-12-05 20:46:54.936422100 -0800 @@ -279,6 +279,10 @@ echo "#define LIRC_DRIVER_DEVICE \"${LIRC_DRIVER_DEVICE}\"" >> acconfig.h eautoreconf + + # don't build lirc_i2c + sed -i "s:lirc_i2c::g" drivers/Makefile.* + sed -i "s:lirc_i2c::g" configure* } src_install() { Patch in comments 7/8 above applied and now it compiles against kernel gentoo-soruces 3.1.5. Thanks! :) I can't reproduce this issue when building lirc-0.9.0-r1 against kernel 3.2.12 .. please test? (note - lirc_i2c is used by the following LIRC_DEVICES : all adaptec breakoutbox hauppauge hercules_smarttv_stereo knc_one leadtek_pvr2000 pixelview_bt878 provideo tvbox ) |