With Kernel >= 3.19 app-misc/lirc-0.9.0-r5 fails to compile due to a changed file structure. The appended patch fixes this issue Reproducible: Always Steps to Reproduce: 1. Use kernel >= 3.19 2. emerge -1 app-misc/lirc 3. failure due to missing dentry structure member Actual Results: fails Expected Results: Builds The appended patch fixes this issue.
Created attachment 402638 [details] emerge info lirc
Created attachment 402640 [details, diff] patch to fix the build issue
Thanks for the patch, it fixed a build error on my systems following an upgrade to gentoo-sources-4.0.5 (from 3.18.12).
I can confirm that this patch works for me. Portage 2.2.18 (python 2.7.9-final-0, hardened/linux/amd64, gcc-4.8.4, glibc-2.20-r2, 4.0.6-hardened x86_64) [ebuild R ] app-misc/lirc-0.9.0-r5::gentoo USE="X -debug -doc -hardware-carrier -static-libs -transmitter" LIRC_DEVICES="all -accent -act200l -act220l -adaptec -alsa_usb -animax -asusdh -atilibusb -atiusb -audio -audio_alsa -avermedia -avermedia98 -avermedia_vdomate -awlibusb -bestbuy -bestbuy2 -breakoutbox -bte -bw6130 -caraca -chronos -commandir -cph06x -creative -creative_infracd -devinput -digimatrix -dsp -dvico -ea65 -ene0100 -exaudio -flyvideo -ftdi -gvbctv5pci -hauppauge -hauppauge_dvb -hercules_smarttv_stereo -i2cuser -igorplugusb -iguanaIR -imon -imon_24g -imon_knob -imon_lcd -imon_pad -imon_rsc -inputlirc -irdeo -irdeo_remote -irlink -irman -irreal -it87 -ite8709 -knc_one -kworld -leadtek_0007 -leadtek_0010 -leadtek_pvr2000 -livedrive_midi -livedrive_seq -logitech -macmini -mediafocusI -mouseremote -mouseremote_ps2 -mp3anywhere -mplay -nslu2 -packard_bell -parallel -pcmak -pcmak_usb -pctv -pixelview_bt878 -pixelview_pak -pixelview_pro -provideo -realmagic -remote_wonder_plus -remotemaster -sa1100 -samsung -sasem -sb0540 -serial -serial_igor_cesko -silitek -sir -slinke -streamzap -tekram -tekram_bt829 -tira -ttusbir -tuxbox -tvbox -udp -uirt2 -uirt2_raw -usb_uirt_raw -usbirboy -usbx -userspace -wpc8769l -xboxusb -zotac" @Georg Vielen Dank!
*** Bug 552090 has been marked as a duplicate of this bug. ***
I needed this patch as well upgrading from sys-kernel/gentoo-sources-3.18.12 to sys-kernel/gentoo-sources-4.0.5 on x86 using lirc serial. Thanks!
still no patched ebuild in portage tree
any progress on this?
It probably won't get fixed. Check out bugs 568180, 515902 and comments there. This version of LIRC is quite obsolete, newer kernels carry their own modules for remotes.
emerge with LIRC_DEVICES=userspace to get working irsend/irw/lircd/etc. I don't think you need any patching if you only build userspace. Build the device-specific modules as part of the kernel build. Userspace lircd/irsend will work with the kernel modules. I'm using a serial IR blaster; I need lircd/irsend for the channel change script. Note if you don't list anything for LIRC_DEVICES lircd will fail with an error about "no hardware I can use". I'm still building with USE=transmitter X.
Is anyone willing to proxy maintain this package? https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
As of app-misc/lirc-0.9.4, lirc doesn't have LIRC_DEVICES or any kernel drivers (because, as stated in a previous comment, those are included in the kernel). So this issue is no longer relevant - please include whatever drivers you want/need using kernel configuration.