Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 847886 - app-misc/lirc-0.10.1-r4: fails to compile with sys-kernel/linux-headers-5.18 (lircd.cpp: error: LIRC_CAN_SET_REC_FILTER was not declared in this scope)
Summary: app-misc/lirc-0.10.1-r4: fails to compile with sys-kernel/linux-headers-5.18 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-28 08:26 UTC by Toralf Förster
Modified: 2022-06-05 22:06 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.64 KB, text/plain)
2022-05-28 08:26 UTC, Toralf Förster
Details
app-misc:lirc-0.10.1-r4:20220528-053116.log (app-misc:lirc-0.10.1-r4:20220528-053116.log,40.12 KB, text/plain)
2022-05-28 08:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,42.70 KB, text/plain)
2022-05-28 08:26 UTC, Toralf Förster
Details
environment (environment,139.98 KB, text/plain)
2022-05-28 08:27 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,5.71 KB, application/x-bzip)
2022-05-28 08:27 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.98 KB, application/x-bzip)
2022-05-28 08:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.57 KB, application/x-bzip)
2022-05-28 08:27 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-05-28 08:26:55 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../lib -std=c++11 -Wp,-D_FORTIFY_SOURCE=2 -Wall    -pipe -march=native -fno-diagnostics-color -O2 -c -o lircd.o lircd.cpp
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
lircd.cpp: In function int setup_hardware()’:
lircd.cpp:489:49: error: LIRC_CAN_SET_REC_FILTER’ was not declared in this scope; did you mean LIRC_CAN_SET_REC_CARRIER’?
  489 |                     || (curr_driver->features & LIRC_CAN_SET_REC_FILTER)) {
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20220527-185431

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.3
Python 3.9.13
Available Rust versions:
  [1]   rust-bin-1.61.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4 *
  [2]   php8.0

  HEAD of ::gentoo
commit e3a7b074bb2c64e99e9e9d0cc261ff33b6bedab0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat May 28 04:33:23 2022 +0000

    2022-05-28 04:33:22 UTC

emerge -qpvO app-misc/lirc
[ebuild  N    ] app-misc/lirc-0.10.1-r4  USE="X devinput gtk uinput usb -audio -doc -ftdi -inputlirc -static-libs -systemd" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-05-28 08:26:56 UTC
Created attachment 781163 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-28 08:26:58 UTC
Created attachment 781166 [details]
app-misc:lirc-0.10.1-r4:20220528-053116.log
Comment 3 Toralf Förster gentoo-dev 2022-05-28 08:26:59 UTC
Created attachment 781169 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-05-28 08:27:01 UTC
Created attachment 781172 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-05-28 08:27:02 UTC
Created attachment 781175 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-28 08:27:03 UTC
Created attachment 781178 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-05-28 08:27:04 UTC
Created attachment 781181 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-05 21:35:31 UTC
It's linux-headers-5.18 breakage:
- https://www.spinics.net/lists/linux-media/msg212801.html
- https://www.spinics.net/lists/linux-media/msg212809.html (it's going to be adopted/forked)
Comment 9 Larry the Git Cow gentoo-dev 2022-06-05 22:06:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b718ced4b6731c9b273ec13fd3b1450a5e4a1e

commit e7b718ced4b6731c9b273ec13fd3b1450a5e4a1e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-05 22:03:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-05 22:06:27 +0000

    sys-kernel/linux-headers: add 5.18 patch for lirc build breakage
    
    Closes: https://bugs.gentoo.org/847886
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-kernel/linux-headers/Manifest                  |  1 +
 .../linux-headers/linux-headers-5.18-r1.ebuild     | 62 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab4399b6f0f8414aa93ee706331a40baa120f9c1

commit ab4399b6f0f8414aa93ee706331a40baa120f9c1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-05 22:05:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-05 22:06:27 +0000

    app-misc/lirc: add 0.10.1_p7 (use Debian patches)
    
    Upstream is apparently mostly unmaintained and someone might
    be looking to fork it from the kernel side, but let's
    pick up the Debian patches for now.
    
    May or may not fix the Python build issue which I can't
    reproduce, but it brings us into a better state.
    
    Bug: https://bugs.gentoo.org/847886
    Bug: https://bugs.gentoo.org/849788
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/lirc/Manifest              |   1 +
 app-misc/lirc/lirc-0.10.1_p7.ebuild | 180 ++++++++++++++++++++++++++++++++++++
 2 files changed, 181 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-06-05 22:06:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/toolchain/linux-headers-patches.git/commit/?id=cd2868872be117fc86f21b69025411d9511ade1b

commit cd2868872be117fc86f21b69025411d9511ade1b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-05 22:02:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-05 22:02:56 +0000

    5.18: add 00_all_0003-media-lirc-restore-defines.patch
    
    Closes: https://bugs.gentoo.org/847886
    Signed-off-by: Sam James <sam@gentoo.org>

 5.18/00_all_0003-media-lirc-restore-defines.patch | 61 +++++++++++++++++++++++
 1 file changed, 61 insertions(+)