Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938531 - media-tv/kodi-21.1 - [gcc-15] /.../IAddon.h: error: AddonInstanceId was not declared in this scope
Summary: media-tv/kodi-21.1 - [gcc-15] /.../IAddon.h: error: AddonInstanceId was not d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PullRequest
: 938720 (view as bug list)
Depends on:
Blocks: gcc-15 939611
  Show dependency tree
 
Reported: 2024-08-26 17:11 UTC by Toralf Förster
Modified: 2024-09-14 20:01 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.18 KB, text/plain)
2024-08-26 17:11 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,63.38 KB, application/x-xz)
2024-08-26 17:11 UTC, Toralf Förster
Details
environment.xz (environment.xz,53.52 KB, application/x-xz)
2024-08-26 17:12 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-08-26 17:12 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.65 KB, application/x-xz)
2024-08-26 17:12 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,13.02 KB, application/x-xz)
2024-08-26 17:12 UTC, Toralf Förster
Details
media-tv:kodi-21.1:20240825-213252.log.xz (media-tv:kodi-21.1:20240825-213252.log.xz,39.42 KB, application/x-xz)
2024-08-26 17:12 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,70.13 KB, application/x-xz)
2024-08-26 17:12 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,55.05 KB, application/x-xz)
2024-08-26 17:12 UTC, Toralf Förster
Details
Patch that includes cstdint where needed (0001-Include-missing-cstdint-includes.patch,4.24 KB, patch)
2024-09-14 12:12 UTC, Alfred Wingate
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 2024-08-26 17:11:56 UTC
      |           ^~~~~~~~~~~~~~~
      |           AddonInstanceSupport
/var/tmp/portage/media-tv/kodi-21.1/work/xbmc-21.1-Omega/xbmc/addons/IAddon.h:105:11: error: uint64_t does not name a type
  105 |   virtual uint64_t PackageSize() const = 0;
      |           ^~~~~~~~
/var/tmp/portage/media-tv/kodi-21.1/work/xbmc-21.1-Omega/xbmc/addons/IAddon.h:105:11: note: uint64_t is defined in header <cstdint>; this is probably fixable by adding #include <cstdint>
/var/tmp/portage/media-tv/kodi-21.1/work/xbmc-21.1-Omega/xbmc/addons/IAddon.h:109:23: error: AddonInstanceId was not declared in this scope; did you mean AddonInstanceSupport?
  109 |   virtual std::vector<AddonInstanceId> GetKnownInstanceIds() const = 0;
      |                       ^~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened-20240821-124009

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.80.1 *
GENTOO_VM=openjdk-bin-21  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-21.0.4_p7"
JAVACFLAGS="-source 21 -target 21" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  (none found)
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit fff075ca3381d296b87d8ae269952364553229f9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Aug 25 19:33:55 2024 +0000

    2024-08-25 19:33:55 UTC

emerge -qpvO =media-tv/kodi-21.1
[ebuild  N    ] media-tv/kodi-21.1  USE="caps css gbm optical system-ffmpeg udev xslt -X -airplay -alsa -bluetooth -bluray -cec -dbus -doc -eventclients -gles -lcms -libusb -lirc -mariadb -mysql -nfs -pipewire -pulseaudio -samba -soc -test -udf -upnp -vaapi -vdpau -wayland -webserver -zeroconf" CPU_FLAGS_X86="avx avx2 sse sse2 sse3 sse4_1 sse4_2" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-08-26 17:11:57 UTC
Created attachment 901271 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-26 17:11:59 UTC
Created attachment 901272 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-08-26 17:12:00 UTC
Created attachment 901273 [details]
environment.xz
Comment 4 Toralf Förster gentoo-dev 2024-08-26 17:12:00 UTC
Created attachment 901274 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-26 17:12:01 UTC
Created attachment 901275 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-26 17:12:02 UTC
Created attachment 901276 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-26 17:12:04 UTC
Created attachment 901277 [details]
media-tv:kodi-21.1:20240825-213252.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-26 17:12:06 UTC
Created attachment 901278 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-08-26 17:12:07 UTC
Created attachment 901279 [details]
temp.tar.xz
Comment 10 Andreas Sturmlechner gentoo-dev 2024-09-14 10:37:46 UTC
Alfred, maybe you could have a look at this?
Comment 11 Alfred Wingate 2024-09-14 12:12:49 UTC
Created attachment 902968 [details, diff]
Patch that includes cstdint where needed

Will see about double checking this again before making an upstream PR
Comment 12 Larry the Git Cow gentoo-dev 2024-09-14 19:56:02 UTC
The bug has been closed via the following commit(s):

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

commit 773ffba7ffaf7b9e33e3ac92a6871cfb39916383
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2024-09-14 14:33:51 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-09-14 19:55:53 +0000

    media-tv/kodi: fix gcc-15
    
    Closes: https://bugs.gentoo.org/938531
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38606
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-tv/kodi/files/kodi-21.1-fix-gcc15.patch | 116 ++++++++++++++++++++++++++
 media-tv/kodi/kodi-21.1.ebuild                |   1 +
 2 files changed, 117 insertions(+)
Comment 13 Andreas Sturmlechner gentoo-dev 2024-09-14 20:01:28 UTC
*** Bug 938720 has been marked as a duplicate of this bug. ***