Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548610 - app-misc/lirc-0.9.0-r5 fails to compile with kernel >= 3.19
Summary: app-misc/lirc-0.9.0-r5 fails to compile with kernel >= 3.19
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PATCH
: 552090 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-05-04 17:02 UTC by georg
Modified: 2016-07-31 22:10 UTC (History)
10 users (show)

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


Attachments
emerge info lirc (emerge-info-lirc.txt,6.28 KB, text/plain)
2015-05-04 17:02 UTC, georg
Details
patch to fix the build issue (0001-fix-file-dentry.patch,2.27 KB, patch)
2015-05-04 17:03 UTC, georg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description georg 2015-05-04 17:02:18 UTC
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.
Comment 1 georg 2015-05-04 17:02:41 UTC
Created attachment 402638 [details]
emerge info lirc
Comment 2 georg 2015-05-04 17:03:04 UTC
Created attachment 402640 [details, diff]
patch to fix the build issue
Comment 3 BobbyK 2015-06-20 15:36:08 UTC
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).
Comment 4 Frank Krömmelbein 2015-06-26 19:50:50 UTC
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!
Comment 5 Pacho Ramos gentoo-dev 2015-07-10 10:28:40 UTC
*** Bug 552090 has been marked as a duplicate of this bug. ***
Comment 6 Tom Dexter 2015-07-26 14:54:51 UTC
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!
Comment 7 zoulou99 2015-11-07 11:02:04 UTC
still no patched ebuild in portage tree
Comment 8 Oleh 2016-01-15 14:17:36 UTC
any progress on this?
Comment 9 Tomasz Golinski 2016-01-18 20:47:12 UTC
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.
Comment 10 runar.hovland 2016-02-17 06:57:12 UTC
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.
Comment 11 Pacho Ramos gentoo-dev 2016-02-18 10:21:53 UTC
Is anyone willing to proxy maintain this package?
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
Comment 12 Craig Andrews gentoo-dev 2016-07-31 22:10:14 UTC
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.