Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913866 - media-tv/mythtv-33.1: fails to build with sys-kernel/linux-headers-6.5 (.../ioprio.h: error: expected primary-expression before int)
Summary: media-tv/mythtv-33.1: fails to build with sys-kernel/linux-headers-6.5 (.../i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Wilson M. Michaels
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 913169
  Show dependency tree
 
Reported: 2023-09-08 15:01 UTC by Toralf Förster
Modified: 2024-01-19 11:17 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.90 KB, text/plain)
2023-09-08 15:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,183.35 KB, text/plain)
2023-09-08 15:01 UTC, Toralf Förster
Details
environment (environment,193.06 KB, text/plain)
2023-09-08 15:01 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-09-08 15:01 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.11 KB, application/x-xz)
2023-09-08 15:01 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,47.07 KB, application/x-xz)
2023-09-08 15:01 UTC, Toralf Förster
Details
media-tv:mythtv-33.1:20230908-022741.log (media-tv:mythtv-33.1:20230908-022741.log,255.94 KB, text/plain)
2023-09-08 15:02 UTC, Toralf Förster
Details
Patch for mythtv (7d6c7d605f87b697c7488d1eb4a3246b83e31f01.patch,1.23 KB, patch)
2023-09-25 18:07 UTC, Florian Evers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-09-08 15:01:53 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-g++ -c -pipe -D_FILE_OFFSET_BITS=64 -DPIC -O2 -march=native -fno-diagnostics-color -march=znver3 -std=c++17 -faligned-new -DNDEBUG -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050c00 -msse -pthread -I/usr/include/soundtouch -g -Wall -Wextra -Wpointer-arith -Wundef 
x86_64-pc-linux-gnu-g++ -c -pipe -D_FILE_OFFSET_BITS=64 -DPIC -O2 -march=native -fno-diagnostics-color -march=znver3 -std=c++17 -faligned-new -DNDEBUG -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050c00 -msse -pthread -I/usr/include/soundtouch -g -Wall -Wextra -Wpointer-arith -Wundef 
x86_64-pc-linux-gnu-g++ -c -pipe -D_FILE_OFFSET_BITS=64 -DPIC -O2 -march=native -fno-diagnostics-color -march=znver3 -std=c++17 -faligned-new -DNDEBUG -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050c00 -msse -pthread -I/usr/include/soundtouch -g -Wall -Wextra -Wpointer-arith -Wundef 
x86_64-pc-linux-gnu-g++ -c -pipe -D_FILE_OFFSET_BITS=64 -DPIC -O2 -march=native -fno-diagnostics-color -march=znver3 -std=c++17 -faligned-new -DNDEBUG -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050c00 -msse -pthread -I/usr/include/soundtouch -g -Wall -Wextra -Wpointer-arith -Wundef 
x86_64-pc-linux-gnu-g++ -c -pipe -D_FILE_OFFSET_BITS=64 -DPIC -O2 -march=native -fno-diagnostics-color -march=znver3 -std=c++17 -faligned-new -DNDEBUG -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050c00 -msse -pthread -I/usr/include/soundtouch -g -Wall -Wextra -Wpointer-arith -Wundef 
In file included from mythmiscutil.cpp:706:
/usr/include/linux/ioprio.h:110:43: error: expected primary-expression before int
  110 | static __always_inline __u16 ioprio_value(int class, int level, int hint)
      |                                           ^~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20230904-181042

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.72.0 *
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
The following VMs are available for generation-2:
1)	OpenJDK 11.0.19_p7 [openjdk-11]
2)	Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-11 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit 36600a5b3c04d73ad752be107d013d68f9227f5d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 8 00:47:25 2023 +0000

    2023-09-08 00:47:25 UTC

emerge -qpvO media-tv/mythtv
[ebuild  N    ] media-tv/mythtv-33.1  USE="X alsa cdda cdr dvd exif ieee1394 lame lirc opengl pulseaudio systemd wrapper x264 xml xvid -asi -autostart -cec -ceton -debug -dvb -fftw -hdhomerun -jack -java -lcd -libass -nvdec -oss -perl -python -raw -v4l -vaapi -vbox -vdpau -vpx -x265 -xmltv -zeroconf" INPUT_DEVICES="-joystick"
Comment 1 Toralf Förster gentoo-dev 2023-09-08 15:01:54 UTC
Created attachment 870098 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-08 15:01:55 UTC
Created attachment 870099 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-08 15:01:57 UTC
Created attachment 870100 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-08 15:01:57 UTC
Created attachment 870101 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-08 15:01:58 UTC
Created attachment 870102 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-08 15:01:59 UTC
Created attachment 870103 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-08 15:02:01 UTC
Created attachment 870104 [details]
media-tv:mythtv-33.1:20230908-022741.log
Comment 8 Florian Evers 2023-09-25 17:52:10 UTC
The commit to fix that is available here:

https://github.com/MythTV/mythtv/commit/7d6c7d605f87b697c7488d1eb4a3246b83e31f01

... struggling to convert this to a patch. Maybe I have to apply it manually for patch creation.

Regards,
Florian
Comment 9 Florian Evers 2023-09-25 17:55:07 UTC
https://github.com/MythTV/mythtv/issues/775
Comment 10 Florian Evers 2023-09-25 18:06:33 UTC
For anyone who is impatient: put the attached patch file 7d6c7d605f87b697c7488d1eb4a3246b83e31f01.patch to:

/etc/portage/patches/media-tv/mythtv-33.1

and give it a try. Compiled well here.

Regards,
Florian
Comment 11 Florian Evers 2023-09-25 18:07:25 UTC
Created attachment 871441 [details, diff]
Patch for mythtv

Patch for mythtv
Comment 12 Larry the Git Cow gentoo-dev 2023-09-27 02:40:20 UTC
The bug has been closed via the following commit(s):

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

commit 50a6bc2362bac481d07400cf53037fd42f9969dc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-09-27 02:37:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-27 02:37:40 +0000

    media-tv/mythtv: fix build w/ linux-headers-6.5
    
    And add the missing dep on linux-headers (which is how I didn't notice
    the failure to begin with).
    
    Closes: https://bugs.gentoo.org/913866
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/mythtv-33.1-linux-headers-6.5.patch      | 30 ++++++++++++++++++++++
 media-tv/mythtv/mythtv-33.1.ebuild                 |  2 ++
 2 files changed, 32 insertions(+)